### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/ExplanationOfBenefit.json
### ----------------------------------------------------
### -- Chunk 49 of 54
 extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.processNote.number",
      "path" : "ExplanationOfBenefit.processNote.number",
      "short" : "Note instance identifier",
      "definition" : "A number to uniquely identify a note entry.",
      "requirements" : "Necessary to provide a mechanism to link from adjudications.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.processNote.number",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.processNote.type",
      "path" : "ExplanationOfBenefit.processNote.type",
      "short" : "display | print | printoper",
      "definition" : "The business purpose of the note text.",
      "requirements" : "To convey the expectation for when the text is used.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.processNote.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "NoteType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The presentation types of notes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/note-type|4.0.0"
      }
    },
    {
      "id" : "ExplanationOfBenefit.processNote.text",
      "path" : "ExplanationOfBenefit.processNote.text",
      "short" : "Note explanatory text",
      "definition" : "The explanation or description associated with the processing.",
      "requirements" : "Required to provide human readable explanation.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.processNote.text",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.processNote.language",
      "path" : "ExplanationOfBenefit.processNote.language",
      "short" : "Language of the text",
      "definition" : "A code to define the language used in the text of the note.",
      "comment" : "Only required if the language is different from the resource language.",
      "requirements" : "Note text may vary from the resource defined language.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.processNote.language",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "A human language.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "ExplanationOfBenefit.benefitPeriod",
      "path" : "ExplanationOfBenefit.benefitPeriod",
      "short" : "When the benefits are applicable",
      "definition" : "The term of the benefits documented in this response.",
      "comment" : "Not applicable when use=claim.",
      "requirements" : "Needed as coverages may be multi-year while benefits tend to be annual therefore a separate expression of the benefit period is needed.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitPeriod",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Period"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "BenefitBalance"
      }],
      "path" : "ExplanationOfBenefit.benefitBalance",
      "short" : "Balance by Benefit Category",
      "definition" : "Balance by Benefit Category.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.id",
      "path" : "ExplanationOfBenefit.benefitBalance.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.extension",
      "path" : "ExplanationOfBenefit.benefitBalance.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.modifierExtension",
      "path" : "ExplanationOfBenefit.benefitBalance.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.category",
      "path" : "ExplanationOfBenefit.benefitBalance.category",
      "short" : "Benefit classification",
      "definition" : "Code to identify the general type of benefits under which products and services are provided.",
      "comment" : "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.",
      "requirements" : "Needed to convey the category of service or product for which eligibility is sought.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.category",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "BenefitCategory"
        }],
        "strength" : "example",
        "description" : "Benefit categories such as: oral, medical, vision, oral-basic etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ex-benefitcategory"
      }
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.excluded",
      "path" : "ExplanationOfBenefit.benefitBalance.excluded",
      "short" : "Excluded from the plan",
      "definition" : "True if the indicated class of service is excluded from the plan, missing or False indicates the product or service is included in the coverage.",
      "requirements" : "Needed to identify items that are specifically excluded from the coverage.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.excluded",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.name",
      "path" : "ExplanationOfBenefit.benefitBalance.name",
      "short" : "Short name for the benefit",
      "definition" : "A short name or tag for the benefit.",
      "comment" : "For example: MED01, or DENT2.",
      "requirements" : "Required to align with other plan names.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.name",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.description",
      "path" : "ExplanationOfBenefit.benefitBalance.description",
      "short" : "Description of the benefit or services covered",
      "definition" : "A richer description of the benefit or services covered.",
      "comment" : "For example, 'DENT2 covers 100% of basic, 50% of major but excludes Ortho, Implants and Cosmetic services'.",
      "requirements" : "Needed for human readable reference.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.network",
      "path" : "ExplanationOfBenefit.benefitBalance.network",
      "short" : "In or out of network",
      "definition" : "Is a flag to indicate whether the benefits refer to in-network providers or out-of-network providers.",
      "requirements" : "Needed as in or out of network providers are treated differently under the coverage.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.network",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "BenefitNetwork"
        }],
        "strength" : "example",
        "description" : "Code to classify in or out of network services.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/benefit-network"
      }
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.unit",
      "path" : "ExplanationOfBenefit.benefitBalance.unit",
      "short" : "Individual or family",
      "definition" : "Indicates if the benefits apply to an individual or to the family.",
      "requirements" : "Needed for the understanding of the benefits.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.unit",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "BenefitUnit"
        }],
        "strength" : "example",
        "description" : "Unit covered/serviced - individual or family.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/benefit-unit"
      }
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.term",
      "path" : "ExplanationOfBenefit.benefitBalance.term",
      "short" : "Annual or lifetime",
      "definition" : "The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual visits'.",
      "requirements" : "Needed for the understanding of the benefits.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.term",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "BenefitTerm"
        }],
        "strength" : "example",
        "description" : "Coverage unit - annual, lifetime.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/benefit-term"
      }
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.financial",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Benefit"
      }],
      "path" : "ExplanationOfBenefit.benefitBalance.financial",
      "short" : "Benefit Summary",
      "definition" : "Benefits Used to date.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.financial",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.financial.id",
      "path" : "ExplanationOfBenefit.benefitBalance.financial.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.financial.extension",
      "path" : "ExplanationOfBenefit.benefitBalance.financial.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.financial.modifierExtension",
      "path" : "ExplanationOfBenefit.benefitBalance.financial.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.financial.type",
      "path" : "ExplanationOfBenefit.benefitBalance.financial.type",
      "short" : "Benefit classification",
      "definition" : "Classification of benefit being provided.",
      "comment" : "For example: deductible, visits, benefit amount.",
      "requirements" : "Needed to convey the nature of the benefit.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.financial.type",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "BenefitType"
        }],
        "strength" : "example",
        "description" : "Deductable, visits, co-pay, etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/benefit-type"
      }
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.financial.allowed[x]",
      "path" : "ExplanationOfBenefit.benefitBalance.financial.allowed[x]",
      "short" : "Benefits allowed",
      "definition" : "The quantity of the benefit which is permitted under the coverage.",
      "requirements" : "Needed to convey the benefits offered under the coverage.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.financial.allowed[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "unsignedInt"
      },
      {
        "code" : "string"
      },
      {
        "code" : "Money"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ExplanationOfBenefit.benefitBalance.financial.used[x]",
      "path" : "ExplanationOfBenefit.benefitBalance.financial.used[x]",
      "short" : "Benefits used",
      "definition" : "The quantity of the benefit which have been consumed to date.",
      "requirements" : "Needed to convey the benefits consumed to date.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ExplanationOfBenefit.benefitBalance.financial.used[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "unsignedInt"
      },
      {
        "code" : "Money"
      }],
      "isModifier" : false,
      "isSummary" : false
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "ExplanationOfBenefit",
      "path" : "ExplanationOfBenefit",
      "short" : "Explanation of Benefit resource",
      "definition" : "This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.",
      "alias" : ["EOB"],
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.identifier",
      "path" : "ExplanationOfBenefit.identifier",
      "short" : "Business Identifier for the resource",
      "definition" : "A unique identifier assigned to this explanation of benefit.",
      "requirements" : "Allows EOBs to be distinguished and referenced.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.status",
      "path" : "ExplanationOfBenefit.status",
      "short" : "active | cancelled | draft | entered-in-error",
      "definition" : "The status of the resource instance.",
      "comment" : "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "requirements" : "Need to track the status of the resource as 'draft' resources may undergo further edits while 'active' resources are immutable and may only have their status changed to 'cancelled'.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ExplanationOfBenefitStatus"
        }],
        "strength" : "required",
        "description" : "A code specifying the state of the resource instance.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/explanationofbenefit-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.type",
      "path" : "ExplanationOfBenefit.type",
      "short" : "Category or discipline",
      "definition" : "The category of claim, e.g. oral, pharmacy, vision, institutional, professional.",
      "comment" : "The majority of jurisdictions use: oral, pharmacy, vision, professional and institutional, or variants on those terms, as the general styles of claims. The valueset is extensible to accommodate other jurisdictional requirements.",
      "requirements" : "Claim type determine the general sets of business rules applied for information requirements and adjudication.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimType"
        }],
        "strength" : "extensible",
        "description" : "The type or discipline-style of the claim.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-type"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.code"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.subType",
      "path" : "ExplanationOfBenefit.subType",
      "short" : "More granular claim type",
      "definition" : "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.",
      "comment" : "This may contain the local bill type codes such as the US UB-04 bill type code.",
      "requirements" : "Some jurisdictions need a finer grained claim type for routing and adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimSubType"
        }],
        "strength" : "example",
        "description" : "A more granular claim typecode.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-subtype"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.use",
      "path" : "ExplanationOfBenefit.use",
      "short" : "claim | preauthorization | predetermination",
      "definition" : "A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.",
      "requirements" : "This element is required to understand the nature of the request for adjudication.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Use"
        }],
        "strength" : "required",
        "description" : "Complete, proposed, exploratory, other.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-use|4.0.0"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.patient",
      "path" : "ExplanationOfBenefit.patient",
      "short" : "The recipient of the products and services",
      "definition" : "The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for forecast reimbursement is sought.",
      "requirements" : "The patient must be supplied to the insurer so that confirmation of coverage and service history may be considered as part of the authorization and/or adjudiction.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "ExplanationOfBenefit.billablePeriod",
      "path" : "ExplanationOfBenefit.billablePeriod",
      "short" : "Relevant time frame for the claim",
      "definition" : "The period for which charges are being submitted.",
      "comment" : "Typically this would be today or in the past for a claim, and today or in the future for preauthorizations and prodeterminations. Typically line item dates of service should fall within the billing period if one is specified.",
      "requirements" : "A number jurisdictions required the submission of the billing period when submitting claims for example for hospital stays or long-term care.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "