FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example StructureDefinition/ExplanationOfBenefit (Turtle)

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

StructureDefinition for explanationofbenefit

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition ;
  fhir:id [ fhir:v "ExplanationOfBenefit"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-04-25T12:40:28.725+00:00" ]
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fm" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "2" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ] ;
     fhir:value [ fhir:v "patient" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit"], [ fhir:v "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit"] ;
  fhir:version [ fhir:v "6.0.0-cibuild"], [ fhir:v "6.0.0-cibuild"] ;
  fhir:name [ fhir:v "ExplanationOfBenefit"], [ fhir:v "ExplanationOfBenefit"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2024-04-25T12:40:28+00:00"], [ fhir:v "2024-04-25T12:40:28+00:00"] ;
  fhir:publisher [ fhir:v "HL7 International / Financial Management"], [ fhir:v "HL7 International / Financial Management"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "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."], [ fhir:v "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."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:fhirVersion [ fhir:v "6.0.0-cibuild"] ;
  fhir:mapping ( [
     fhir:identity [ fhir:v "workflow" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/workflow" ] ;
     fhir:name [ fhir:v "Workflow Pattern" ]
  ] [
     fhir:identity [ fhir:v "w5" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/fivews" ] ;
     fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
  ] [
     fhir:identity [ fhir:v "v2" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v2" ] ;
     fhir:name [ fhir:v "HL7 V2 Mapping" ]
  ] [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v3" ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ;
  fhir:kind [ fhir:v "resource"] ;
  fhir:abstract [ fhir:v "false"] ;
  fhir:type [ fhir:v "ExplanationOfBenefit"] ;
  fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"] ;
  fhir:derivation [ fhir:v "specialization"] ;
  fhir:snapshot [
     fhir:element ( [
       fhir:id [ fhir:v "ExplanationOfBenefit" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit" ] ;
       fhir:short [ fhir:v "Explanation of Benefit resource" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "EOB" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "dom-2" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
         fhir:expression [ fhir:v "contained.contained.empty()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ] [
         fhir:key [ fhir:v "dom-3" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
         fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ] [
         fhir:key [ fhir:v "dom-4" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
         fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ] [
         fhir:key [ fhir:v "dom-5" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
         fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ] [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ] ;
           fhir:value [ fhir:v "true" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ] ;
           fhir:value [ fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ]
         ] ) ;
         fhir:key [ fhir:v "dom-6" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
         fhir:expression [ fhir:v "text.`div`.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "Entity, Role, or Act" ]
       ] [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "financial.other" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.id" ] ;
       fhir:short [ fhir:v "Logical id of this artifact" ] ;
       fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
       fhir:comment [ fhir:v "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "id" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.meta" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.meta" ] ;
       fhir:short [ fhir:v "Metadata about the resource" ] ;
       fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.meta" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Meta" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.implicitRules" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.implicitRules" ] ;
       fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
       fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ;
       fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.implicitRules" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "uri" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.language" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.language" ] ;
       fhir:short [ fhir:v "Language of the resource content" ] ;
       fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
       fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.language" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Language" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "IETF language tag for a human language" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-cibuild" ] ;
         fhir:additional ( [
           fhir:purpose [ fhir:v "starter" ] ;
           fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ]
         ] )
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.text" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.text" ] ;
       fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
       fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
       fhir:comment [ fhir:v "Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
       fhir:alias ( [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.text" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Narrative" ]
       ] ) ;
       fhir:condition ( [ fhir:v "dom-6" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "Act.text?" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.contained" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.contained" ] ;
       fhir:short [ fhir:v "Contained, inline Resources" ] ;
       fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning." ] ;
       fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels." ] ;
       fhir:alias ( [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.contained" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Resource" ]
       ] ) ;
       fhir:condition ( [ fhir:v "dom-2" ] [ fhir:v "dom-4" ] [ fhir:v "dom-3" ] [ fhir:v "dom-5" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.identifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.identifier" ] ;
       fhir:short [ fhir:v "Business Identifier for the resource" ] ;
       fhir:definition [ fhir:v "A unique identifier assigned to this explanation of benefit." ] ;
       fhir:requirements [ fhir:v "Allows EOBs to be distinguished and referenced." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.identifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.identifier" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.identifier" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.traceNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.status" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.status" ] ;
       fhir:short [ fhir:v "active | cancelled | draft | entered-in-error" ] ;
       fhir:definition [ fhir:v "The status of the resource instance." ] ;
       fhir:comment [ fhir:v "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." ] ;
       fhir:requirements [ fhir:v "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'." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.status" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "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" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ExplanationOfBenefitStatus" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "A code specifying the state of the resource instance." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/explanationofbenefit-status|6.0.0-cibuild" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.status" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.status" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.type" ] ;
       fhir:short [ fhir:v "Category or discipline" ] ;
       fhir:definition [ fhir:v "The category of claim, e.g. oral, pharmacy, vision, institutional, professional." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "Claim type determine the general sets of business rules applied for information requirements and adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.type" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ClaimType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The type or discipline-style of the claim." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-type" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.code" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.subType" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.subType" ] ;
       fhir:short [ fhir:v "More granular claim type" ] ;
       fhir:definition [ fhir:v "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service." ] ;
       fhir:comment [ fhir:v "This may contain the local bill type codes such as the US UB-04 bill type code." ] ;
       fhir:requirements [ fhir:v "Some jurisdictions need a finer grained claim type for routing and adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.subType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ClaimSubType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "A more granular claim typecode." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-subtype" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.use" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.use" ] ;
       fhir:short [ fhir:v "claim | preauthorization | predetermination" ] ;
       fhir:definition [ fhir:v "A code to indicate whether the nature of the request is: Claim - A request to an Insurer to adjudicate the supplied charges for health care goods and services under the identified policy and to pay the determined Benefit amount, if any; Preauthorization - A request to an Insurer to adjudicate the supplied proposed future charges for health care goods and services under the identified policy and to approve the services and provide the expected benefit amounts and potentially to reserve funds to pay the benefits when Claims for the indicated services are later submitted; or, Pre-determination - A request to an Insurer to adjudicate the supplied 'what if' charges for health care goods and services under the identified policy and report back what the Benefit payable would be had the services actually been provided." ] ;
       fhir:requirements [ fhir:v "This element is required to understand the nature of the request for adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.use" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Use" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "Complete, proposed, exploratory, other." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-use|6.0.0-cibuild" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.patient" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.patient" ] ;
       fhir:short [ fhir:v "The recipient of the products and services" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.patient" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.subject" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.subject[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.billablePeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.billablePeriod" ] ;
       fhir:short [ fhir:v "Relevant time frame for the claim" ] ;
       fhir:definition [ fhir:v "The period for which charges are being submitted." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "A number jurisdictions required the submission of the billing period when submitting claims for example for hospital stays or long-term care." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.billablePeriod" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.done[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.created" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.created" ] ;
       fhir:short [ fhir:v "Response creation date" ] ;
       fhir:definition [ fhir:v "The date this resource was created." ] ;
       fhir:requirements [ fhir:v "Need to record a timestamp for use by both the recipient and the issuer." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.created" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.occurrence[x]" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.recorded" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.enterer" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.enterer" ] ;
       fhir:short [ fhir:v "Author of the claim" ] ;
       fhir:definition [ fhir:v "Individual who created the claim, predetermination or preauthorization." ] ;
       fhir:requirements [ fhir:v "Some jurisdictions require the contact information for personnel completing claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.enterer" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.performer.agent" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.author" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurer" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurer" ] ;
       fhir:short [ fhir:v "Party responsible for reimbursement" ] ;
       fhir:definition [ fhir:v "The party responsible for authorization, adjudication and reimbursement." ] ;
       fhir:requirements [ fhir:v "To be a valid claim, preauthorization or predetermination there must be a party who is responsible for adjudicating the contents against a policy which provides benefits for the patient." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.insurer" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.performer.agent" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.author" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.provider" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.provider" ] ;
       fhir:short [ fhir:v "Party responsible for the claim" ] ;
       fhir:definition [ fhir:v "The provider which is responsible for the claim, predetermination or preauthorization." ] ;
       fhir:comment [ fhir:v "Typically this field would be 1..1 where this party is accountable for the data content within the claim but is not necessarily the facility, provider group or practitioner who provided the products and services listed within this claim resource. This field is the Billing Provider, for example, a facility, provider group, lab or practitioner." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.provider" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.source" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.priority" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.priority" ] ;
       fhir:short [ fhir:v "Desired processing urgency" ] ;
       fhir:definition [ fhir:v "The provider-required urgency of processing the request. Typical values include: stat, normal deferred." ] ;
       fhir:comment [ fhir:v "If a claim processor is unable to complete the processing as per the priority then they should generate an error and not process the request." ] ;
       fhir:requirements [ fhir:v "The provider may need to indicate their processing requirements so that the processor can indicate if they are unable to comply." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.priority" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProcessPriority" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The timeliness with which processing is required: stat, normal, deferred." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/process-priority" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "v2" ] ;
         fhir:map [ fhir:v "Request.priority" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.fundsReserveRequested" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.fundsReserveRequested" ] ;
       fhir:short [ fhir:v "For whom to reserve funds" ] ;
       fhir:definition [ fhir:v "A code to indicate whether and for whom funds are to be reserved for future claims." ] ;
       fhir:comment [ fhir:v "This field is only used for preauthorizations." ] ;
       fhir:requirements [ fhir:v "In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested." ] ;
       fhir:alias ( [ fhir:v "Fund pre-allocation" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.fundsReserveRequested" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "FundsReserve" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "For whom funds are to be reserved: (Patient, Provider, None)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fundsreserve" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.fundsReserve" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.fundsReserve" ] ;
       fhir:short [ fhir:v "Funds reserved status" ] ;
       fhir:definition [ fhir:v "A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom." ] ;
       fhir:comment [ fhir:v "Fund would be release by a future claim quoting the preAuthRef of this response. Examples of values include: provider, patient, none." ] ;
       fhir:requirements [ fhir:v "Needed to advise the submitting provider on whether the rquest for reservation of funds has been honored." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.fundsReserve" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "FundsReserve" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "For whom funds are to be reserved: (Patient, Provider, None)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fundsreserve" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "RelatedClaim" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related" ] ;
       fhir:short [ fhir:v "Prior or corollary claims" ] ;
       fhir:definition [ fhir:v "Other claims which are related to this claim such as prior submissions or claims for related services or for the same event." ] ;
       fhir:comment [ fhir:v "For example,  for the original treatment and follow-up exams." ] ;
       fhir:requirements [ fhir:v "For workplace or other accidents it is common to relate separate claims arising from the same event." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.related" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.claim" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.claim" ] ;
       fhir:short [ fhir:v "Reference to the related claim" ] ;
       fhir:definition [ fhir:v "Reference to a related claim." ] ;
       fhir:requirements [ fhir:v "For workplace or other accidents it is common to relate separate claims arising from the same event." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.related.claim" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Claim" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.relationship" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.relationship" ] ;
       fhir:short [ fhir:v "How the reference claim is related" ] ;
       fhir:definition [ fhir:v "A code to convey how the claims are related." ] ;
       fhir:comment [ fhir:v "For example, prior claim or umbrella." ] ;
       fhir:requirements [ fhir:v "Some insurers need a declaration of the type of relationship." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.related.relationship" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RelatedClaimRelationship" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Relationship of this claim to a related Claim." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/related-claim-relationship" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.reference" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.reference" ] ;
       fhir:short [ fhir:v "File or case reference" ] ;
       fhir:definition [ fhir:v "An alternate organizational reference to the case or file to which this particular claim pertains." ] ;
       fhir:comment [ fhir:v "For example, Property/Casualty insurer claim number or Workers Compensation case number." ] ;
       fhir:requirements [ fhir:v "In cases where an event-triggered claim is being submitted to an insurer which requires a reference number to be specified on all exchanges." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.related.reference" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.prescription" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.prescription" ] ;
       fhir:short [ fhir:v "Prescription authorizing services or products" ] ;
       fhir:definition [ fhir:v "Prescription is the document/authorization given to the claim author for them to provide products and services for which consideration (reimbursement) is sought. Could be a RX for medications, an 'order' for oxygen or wheelchair or physiotherapy treatments." ] ;
       fhir:requirements [ fhir:v "Required to authorize the dispensing of controlled substances and devices." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.prescription" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.originalPrescription" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.originalPrescription" ] ;
       fhir:short [ fhir:v "Original prescription if superceded by fulfiller" ] ;
       fhir:definition [ fhir:v "Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products." ] ;
       fhir:comment [ fhir:v "For example, a physician may prescribe a medication which the pharmacy determines is contraindicated, or for which the patient has an intolerance, and therefor issues a new prescription for an alternate medication which has the same therapeutic intent. The prescription from the pharmacy becomes the 'prescription' and that from the physician becomes the 'original prescription'." ] ;
       fhir:requirements [ fhir:v "Often required when a fulfiller varies what is fulfilled from that authorized on the original prescription." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.originalPrescription" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event" ] ;
       fhir:short [ fhir:v "Event information" ] ;
       fhir:definition [ fhir:v "Information code for an event with a corresponding date or period." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.event" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event.type" ] ;
       fhir:short [ fhir:v "Specific event" ] ;
       fhir:definition [ fhir:v "A coded event such as when a service is expected or a card printed." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.event.type" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DatesType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/datestype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event.when[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event.when[x]" ] ;
       fhir:short [ fhir:v "Occurance date or period" ] ;
       fhir:definition [ fhir:v "A date or period in the past or future indicating when the event occurred or is expectd to occur." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.event.when[x]" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Payee" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee" ] ;
       fhir:short [ fhir:v "Recipient of benefits payable" ] ;
       fhir:definition [ fhir:v "The party to be reimbursed for cost of the products and services according to the terms of the policy." ] ;
       fhir:comment [ fhir:v "Often providers agree to receive the benefits payable to reduce the near-term costs to the patient. The insurer may decline to pay the provider and may choose to pay the subscriber instead." ] ;
       fhir:requirements [ fhir:v "The provider needs to specify who they wish to be reimbursed and the claims processor needs express who they will reimburse." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payee" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee.type" ] ;
       fhir:short [ fhir:v "Category of recipient" ] ;
       fhir:definition [ fhir:v "Type of Party to be reimbursed: Subscriber, provider, other." ] ;
       fhir:requirements [ fhir:v "Need to know who should receive payment with the most common situations being the Provider (assignment of benefits) or the Subscriber." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payee.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PayeeType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "A code for the party to be reimbursed." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/payeetype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee.party" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee.party" ] ;
       fhir:short [ fhir:v "Recipient reference" ] ;
       fhir:definition [ fhir:v "Reference to the individual or organization to whom any payment will be made." ] ;
       fhir:comment [ fhir:v "Not required if the payee is 'subscriber' or 'provider'." ] ;
       fhir:requirements [ fhir:v "Need to provide demographics if the payee is not 'subscriber' nor 'provider'." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payee.party" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.referral" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.referral" ] ;
       fhir:short [ fhir:v "Treatment Referral" ] ;
       fhir:definition [ fhir:v "The referral information received by the claim author, it is not to be used when the author generates a referral for a patient. A copy of that referral may be provided as supporting information. Some insurers require proof of referral to pay for services or to pay specialist rates for services." ] ;
       fhir:comment [ fhir:v "The referral resource which lists the date, practitioner, reason and other supporting information." ] ;
       fhir:requirements [ fhir:v "Some insurers require proof of referral to pay for services or to pay specialist rates for services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.referral" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.cause" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.encounter" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.encounter" ] ;
       fhir:short [ fhir:v "Encounters associated with the listed treatments" ] ;
       fhir:definition [ fhir:v "Healthcare encounters related to this claim." ] ;
       fhir:requirements [ fhir:v "Used in some jurisdictions to link clinical events to claim items." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.encounter" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.facility" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.facility" ] ;
       fhir:short [ fhir:v "Servicing Facility" ] ;
       fhir:definition [ fhir:v "Facility where the services were provided." ] ;
       fhir:requirements [ fhir:v "Insurance adjudication can be dependant on where services were delivered." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.facility" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.performer.location" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.where[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.claim" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.claim" ] ;
       fhir:short [ fhir:v "Claim reference" ] ;
       fhir:definition [ fhir:v "The business identifier for the instance of the adjudication request: claim predetermination or preauthorization." ] ;
       fhir:requirements [ fhir:v "To provide a link to the original adjudication request." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.claim" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Claim" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.why[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.claimResponse" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.claimResponse" ] ;
       fhir:short [ fhir:v "Claim response reference" ] ;
       fhir:definition [ fhir:v "The business identifier for the instance of the adjudication response: claim, predetermination or preauthorization response." ] ;
       fhir:requirements [ fhir:v "To provide a link to the original adjudication response." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.claimResponse" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/ClaimResponse" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.outcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.outcome" ] ;
       fhir:short [ fhir:v "queued | complete | error | partial" ] ;
       fhir:definition [ fhir:v "The outcome of the claim, predetermination, or preauthorization processing." ] ;
       fhir:comment [ fhir:v "The resource may be used to indicate that the Claim/Preauthorization/Pre-determination has been received but processing has not begun (queued); that it has been processed and one or more errors have been detected (error); no errors were detected and some of the adjudication processing has been performed (partial); or all of the adjudication processing has completed without errors (complete)." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of an overall processing outcome." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.outcome" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ClaimOutcome" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "The result of the claim processing." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-outcome|6.0.0-cibuild" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.decision" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.decision" ] ;
       fhir:short [ fhir:v "Result of the adjudication" ] ;
       fhir:definition [ fhir:v "The result of the claim, predetermination, or preauthorization adjudication." ] ;
       fhir:comment [ fhir:v "The element is used to indicate the current state of the adjudication overall for the claim resource, for example: the request has been held (pended) for adjudication processing, for manual review or other reasons; that it has been processed and will be paid, or the outstanding paid, as submitted (approved); that no amount will be paid (denied); or that some amount between zero and the submitted amoutn will be paid (partial)." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of the result of the adjudication process." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.decision" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationDecision" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-decision" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.disposition" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.disposition" ] ;
       fhir:short [ fhir:v "Disposition Message" ] ;
       fhir:definition [ fhir:v "A human readable description of the status of the adjudication." ] ;
       fhir:requirements [ fhir:v "Provided for user display." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.disposition" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.preAuthRef" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.preAuthRef" ] ;
       fhir:short [ fhir:v "Preauthorization reference" ] ;
       fhir:definition [ fhir:v "Reference from the Insurer which is used in later communications which refers to this adjudication." ] ;
       fhir:comment [ fhir:v "This value is only present on preauthorization adjudications." ] ;
       fhir:requirements [ fhir:v "On subsequent claims, the insurer may require the provider to quote this value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.preAuthRef" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.preAuthRefPeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.preAuthRefPeriod" ] ;
       fhir:short [ fhir:v "Preauthorization in-effect period" ] ;
       fhir:definition [ fhir:v "The timeframe during which the supplied preauthorization reference may be quoted on claims to obtain the adjudication as provided." ] ;
       fhir:comment [ fhir:v "This value is only present on preauthorization adjudications." ] ;
       fhir:requirements [ fhir:v "On subsequent claims, the insurer may require the provider to quote this value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.preAuthRefPeriod" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosisRelatedGroup" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosisRelatedGroup" ] ;
       fhir:short [ fhir:v "Package billing code" ] ;
       fhir:definition [ fhir:v "A package billing code or bundle code used to group products and services to a particular health condition (such as heart attack) which is based on a predetermined grouping code system." ] ;
       fhir:comment [ fhir:v "For example DRG (Diagnosis Related Group) or a bundled billing code. A patient may have a diagnosis of a Myocardial Infarction and a DRG for HeartAttack would be assigned. The Claim item (and possible subsequent claims) would refer to the DRG for those line items that were for services related to the heart attack event." ] ;
       fhir:requirements [ fhir:v "Required to relate the current diagnosis to a package billing code that is then referenced on the individual claim items which are specific to the health condition covered by the package code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.diagnosisRelatedGroup" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DiagnosisRelatedGroup" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "CareTeam" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam" ] ;
       fhir:short [ fhir:v "Care Team members" ] ;
       fhir:definition [ fhir:v "The members of the team who provided the products and services." ] ;
       fhir:requirements [ fhir:v "Common to identify the responsible and supporting practitioners." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.careTeam" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.sequence" ] ;
       fhir:short [ fhir:v "Order of care team" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify care team entries." ] ;
       fhir:requirements [ fhir:v "Necessary to maintain the order of the care team and provide a mechanism to link individuals to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.sequence" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.provider" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.provider" ] ;
       fhir:short [ fhir:v "Practitioner or organization" ] ;
       fhir:definition [ fhir:v "Member of the team who provided the product or service." ] ;
       fhir:requirements [ fhir:v "Often a regulatory requirement to specify the responsible provider." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.provider" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.actor" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.responsible" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.responsible" ] ;
       fhir:short [ fhir:v "Indicator of the lead practitioner" ] ;
       fhir:definition [ fhir:v "The party who is billing and/or responsible for the claimed products or services." ] ;
       fhir:comment [ fhir:v "Responsible might not be required when there is only a single provider listed." ] ;
       fhir:requirements [ fhir:v "When multiple parties are present it is required to distinguish the lead or responsible individual." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.responsible" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.role" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.role" ] ;
       fhir:short [ fhir:v "Function within the team" ] ;
       fhir:definition [ fhir:v "The lead, assisting or supervising practitioner and their discipline if a multidisciplinary team." ] ;
       fhir:comment [ fhir:v "Role might not be required when there is only a single provider listed." ] ;
       fhir:requirements [ fhir:v "When multiple parties are present it is required to distinguish the roles performed by each member." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.role" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "CareTeamRole" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The role codes for the care team members." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-careteamrole" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.specialty" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.specialty" ] ;
       fhir:short [ fhir:v "Practitioner or provider specialization" ] ;
       fhir:definition [ fhir:v "The specialization of the practitioner or provider which is applicable for this service." ] ;
       fhir:requirements [ fhir:v "Need to specify which specialization a practitioner or provider acting under when delivering the product or service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.specialty" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProviderQualification" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/provider-qualification" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "SupportingInformation" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo" ] ;
       fhir:short [ fhir:v "Supporting information" ] ;
       fhir:definition [ fhir:v "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues." ] ;
       fhir:comment [ fhir:v "Often there are multiple jurisdiction specific valuesets which are required." ] ;
       fhir:requirements [ fhir:v "Typically these information codes are required to support the services rendered or the adjudication of the services rendered." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.sequence" ] ;
       fhir:short [ fhir:v "Information instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify supporting information entries." ] ;
       fhir:requirements [ fhir:v "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.sequence" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.category" ] ;
       fhir:short [ fhir:v "Classification of the supplied information" ] ;
       fhir:definition [ fhir:v "The general class of the information supplied: information; exception; accident, employment; onset, etc." ] ;
       fhir:comment [ fhir:v "This may contain a category for the local bill type codes." ] ;
       fhir:requirements [ fhir:v "Required to group or associate information items with common characteristics. For example: admission information or prior treatments." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.category" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "InformationCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The valuset used for additional information category codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-informationcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.code" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.code" ] ;
       fhir:short [ fhir:v "Type of information" ] ;
       fhir:definition [ fhir:v "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought." ] ;
       fhir:comment [ fhir:v "This may contain the local bill type codes such as the US UB-04 bill type code." ] ;
       fhir:requirements [ fhir:v "Required to identify the kind of additional information." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "InformationCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The valuset used for additional information codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-exception" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.timing[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.timing[x]" ] ;
       fhir:short [ fhir:v "When it occurred" ] ;
       fhir:definition [ fhir:v "The date when or period to which this information refers." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.timing[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.value[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.value[x]" ] ;
       fhir:short [ fhir:v "Data to be provided" ] ;
       fhir:definition [ fhir:v "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data." ] ;
       fhir:comment [ fhir:v "Could be used to provide references to other resources, document. For example, could contain a PDF in an Attachment of the Police Report for an Accident." ] ;
       fhir:requirements [ fhir:v "To convey the data content to be provided when the information is more than a simple code or period." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.value[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "Quantity" ]
       ] [
         fhir:code [ fhir:v "Attachment" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource" ] )
       ] [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.reason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.reason" ] ;
       fhir:short [ fhir:v "Explanation for the information" ] ;
       fhir:definition [ fhir:v "Provides the reason in the situation where a reason code is required in addition to the content." ] ;
       fhir:comment [ fhir:v "For example: the reason for the additional stay, or why a tooth is  missing." ] ;
       fhir:requirements [ fhir:v "Needed when the supporting information has both a date and amount/value and requires explanation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.reason" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Coding" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MissingReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Reason codes for the missing teeth." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/missing-tooth-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Diagnosis" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis" ] ;
       fhir:short [ fhir:v "Pertinent diagnosis information" ] ;
       fhir:definition [ fhir:v "Information about diagnoses relevant to the claim items." ] ;
       fhir:requirements [ fhir:v "Required for the adjudication by provided context for the services and product listed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.sequence" ] ;
       fhir:short [ fhir:v "Diagnosis instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify diagnosis entries." ] ;
       fhir:comment [ fhir:v "Diagnosis are presented in list order to their expected importance: primary, secondary, etc." ] ;
       fhir:requirements [ fhir:v "Necessary to maintain the order of the diagnosis items and provide a mechanism to link to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.sequence" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.diagnosis[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.diagnosis[x]" ] ;
       fhir:short [ fhir:v "Nature of illness or problem" ] ;
       fhir:definition [ fhir:v "The nature of illness or problem in a coded form or as a reference to an external defined Condition." ] ;
       fhir:requirements [ fhir:v "Provides health context for the evaluation of the products and/or services." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.diagnosis[x]" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ICD10" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "ICD10 Diagnostic codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/icd-10" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.type" ] ;
       fhir:short [ fhir:v "Timing or nature of the diagnosis" ] ;
       fhir:definition [ fhir:v "When the condition was observed or the relative ranking." ] ;
       fhir:comment [ fhir:v "For example: admitting, primary, secondary, discharge." ] ;
       fhir:requirements [ fhir:v "Often required to capture a particular diagnosis, for example: primary or discharge." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DiagnosisType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The type of the diagnosis: admitting, principal, discharge." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-diagnosistype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.onAdmission" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.onAdmission" ] ;
       fhir:short [ fhir:v "Present on admission" ] ;
       fhir:definition [ fhir:v "Indication of whether the diagnosis was present on admission to a facility." ] ;
       fhir:requirements [ fhir:v "Many systems need to understand for adjudication if the diagnosis was present a time of admission." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.onAdmission" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DiagnosisOnAdmission" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Present on admission." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Procedure" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure" ] ;
       fhir:short [ fhir:v "Clinical procedures performed" ] ;
       fhir:definition [ fhir:v "Procedures performed on the patient relevant to the billing items with the claim." ] ;
       fhir:requirements [ fhir:v "The specific clinical invention are sometimes required to be provided to justify billing a greater than customary amount for a service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.procedure" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.sequence" ] ;
       fhir:short [ fhir:v "Procedure instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify procedure entries." ] ;
       fhir:requirements [ fhir:v "Necessary to provide a mechanism to link to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.procedure.sequence" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.type" ] ;
       fhir:short [ fhir:v "Category of Procedure" ] ;
       fhir:definition [ fhir:v "When the condition was observed or the relative ranking." ] ;
       fhir:requirements [ fhir:v "Often required to capture a particular diagnosis, for example: primary or discharge." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.procedure.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProcedureType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Example procedure type codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-procedure-type" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.date" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.date" ] ;
       fhir:short [ fhir:v "When the procedure was performed" ] ;
       fhir:definition [ fhir:v "Date and optionally time the procedure was performed." ] ;
       fhir:requirements [ fhir:v "Required for auditing purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.procedure.date" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.procedure[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.procedure[x]" ] ;
       fhir:short [ fhir:v "Specific clinical procedure" ] ;
       fhir:definition [ fhir:v "The code or reference to a Procedure resource which identifies the clinical intervention performed." ] ;
       fhir:requirements [ fhir:v "This identifies the actual clinical procedure." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.procedure.procedure[x]" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Procedure" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ICD10_Procedures" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "ICD10 Procedure codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/icd-10-procedures" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.procedure.udi" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.precedence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.precedence" ] ;
       fhir:short [ fhir:v "Precedence (primary, secondary, etc.)" ] ;
       fhir:definition [ fhir:v "This indicates the relative order of a series of EOBs related to different coverages for the same suite of services." ] ;
       fhir:requirements [ fhir:v "Needed to coordinate between multiple EOBs for the same suite of services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.precedence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Insurance" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance" ] ;
       fhir:short [ fhir:v "Patient insurance information" ] ;
       fhir:definition [ fhir:v "Financial instruments for reimbursement for the health care products and services specified on the claim." ] ;
       fhir:comment [ fhir:v "All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'Coverage.subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim." ] ;
       fhir:requirements [ fhir:v "At least one insurer is required for a claim to be a claim." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.insurance" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "v2" ] ;
         fhir:map [ fhir:v "Coverage" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.focal" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.focal" ] ;
       fhir:short [ fhir:v "Coverage to be used for adjudication" ] ;
       fhir:definition [ fhir:v "A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true." ] ;
       fhir:comment [ fhir:v "A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example, a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies." ] ;
       fhir:requirements [ fhir:v "To identify which coverage in the list is being used to adjudicate this claim." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.insurance.focal" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.coverage" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.coverage" ] ;
       fhir:short [ fhir:v "Insurance information" ] ;
       fhir:definition [ fhir:v "Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system." ] ;
       fhir:requirements [ fhir:v "Required to allow the adjudicator to locate the correct policy and history within their information system." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.insurance.coverage" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Coverage" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.preAuthRef" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.preAuthRef" ] ;
       fhir:short [ fhir:v "Prior authorization reference number" ] ;
       fhir:definition [ fhir:v "Reference numbers previously provided by the insurer to the provider to be quoted on subsequent claims containing services or products related to the prior authorization." ] ;
       fhir:comment [ fhir:v "This value is an alphanumeric string that may be provided over the phone, via text, via paper, or within a ClaimResponse resource and is not a FHIR Identifier." ] ;
       fhir:requirements [ fhir:v "Providers must quote previously issued authorization reference numbers in order to obtain adjudication as previously advised on the Preauthorization." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.insurance.preAuthRef" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Accident" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident" ] ;
       fhir:short [ fhir:v "Details of the event" ] ;
       fhir:definition [ fhir:v "Details of a accident which resulted in injuries which required the products and services listed in the claim." ] ;
       fhir:requirements [ fhir:v "When healthcare products and services are accident related, benefits may be payable under accident provisions of policies, such as automotive, etc before they are payable under normal health insurance." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.accident" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.date" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.date" ] ;
       fhir:short [ fhir:v "When the incident occurred" ] ;
       fhir:definition [ fhir:v "Date of an accident event  related to the products and services contained in the claim." ] ;
       fhir:comment [ fhir:v "The date of the accident has to precede the dates of the products and services but within a reasonable timeframe." ] ;
       fhir:requirements [ fhir:v "Required for audit purposes and adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.accident.date" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.type" ] ;
       fhir:short [ fhir:v "The nature of the accident" ] ;
       fhir:definition [ fhir:v "The type or context of the accident event for the purposes of selection of potential insurance coverages and determination of coordination between insurers." ] ;
       fhir:requirements [ fhir:v "Coverage may be dependant on the type of accident." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.accident.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AccidentType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "Type of accident: work place, auto, etc." ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActIncidentCode" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.location[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.location[x]" ] ;
       fhir:short [ fhir:v "Where the event occurred" ] ;
       fhir:definition [ fhir:v "The physical location of the accident event." ] ;
       fhir:requirements [ fhir:v "Required for audit purposes and determination of applicable insurance liability." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.accident.location[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.patientPaid" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Item" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item" ] ;
       fhir:short [ fhir:v "Product or service provided" ] ;
       fhir:definition [ fhir:v "A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details." ] ;
       fhir:requirements [ fhir:v "The items to be processed for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.sequence" ] ;
       fhir:short [ fhir:v "Item instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify item entries." ] ;
       fhir:requirements [ fhir:v "Necessary to provide a mechanism to link to items from within the claim and within the adjudication details of the ClaimResponse." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.sequence" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.careTeamSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.careTeamSequence" ] ;
       fhir:short [ fhir:v "Applicable care team members" ] ;
       fhir:definition [ fhir:v "Care team members related to this service or product." ] ;
       fhir:requirements [ fhir:v "Need to identify the individuals and their roles in the provision of the product or service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.careTeamSequence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.diagnosisSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.diagnosisSequence" ] ;
       fhir:short [ fhir:v "Applicable diagnoses" ] ;
       fhir:definition [ fhir:v "Diagnoses applicable for this service or product." ] ;
       fhir:requirements [ fhir:v "Need to related the product or service to the associated diagnoses." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.diagnosisSequence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.procedureSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.procedureSequence" ] ;
       fhir:short [ fhir:v "Applicable procedures" ] ;
       fhir:definition [ fhir:v "Procedures applicable for this service or product." ] ;
       fhir:requirements [ fhir:v "Need to provide any listed specific procedures to support the product or service being claimed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.procedureSequence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.informationSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.informationSequence" ] ;
       fhir:short [ fhir:v "Applicable exception and supporting information" ] ;
       fhir:definition [ fhir:v "Exceptions, special conditions and supporting information applicable for this service or product." ] ;
       fhir:requirements [ fhir:v "Need to reference the supporting information items that relate directly to this product or service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.informationSequence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.traceNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.revenue" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.category" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.productOrService" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.productOrServiceEnd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.request" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.request" ] ;
       fhir:short [ fhir:v "Request or Referral for Service" ] ;
       fhir:definition [ fhir:v "Request or Referral for Goods or Service to be rendered." ] ;
       fhir:requirements [ fhir:v "May identify the service to be provided or provider authorization for the service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.request" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionOrder" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/SupplyRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.modifier" ] ;
       fhir:short [ fhir:v "Product or service billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.modifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.programCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.serviced[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.serviced[x]" ] ;
       fhir:short [ fhir:v "Date or dates of service or product delivery" ] ;
       fhir:definition [ fhir:v "The date or dates when the service or product was supplied, performed or completed." ] ;
       fhir:requirements [ fhir:v "Needed to determine whether the  service or product was provided during the term of the insurance coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.serviced[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.done[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.location[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.location[x]" ] ;
       fhir:short [ fhir:v "Place of service or where product was supplied" ] ;
       fhir:definition [ fhir:v "Where the product or service was provided." ] ;
       fhir:requirements [ fhir:v "The location can alter whether the item was acceptable for insurance purposes or impact the determination of the benefit amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.location[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServicePlace" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Place where the service is rendered." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-place" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.where[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.patientPaid" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.unitPrice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.factor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.tax" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the line item. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.net" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.udi" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "720;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "ItemBodySite" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite" ] ;
       fhir:short [ fhir:v "Anatomical location" ] ;
       fhir:definition [ fhir:v "Physical location where the service is performed or applies." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite.site" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.site" ] ;
       fhir:short [ fhir:v "Location" ] ;
       fhir:definition [ fhir:v "Physical service site on the patient (limb, tooth, etc.)." ] ;
       fhir:comment [ fhir:v "For example: Providing a tooth code, allows an insurer to identify a provider performing a filling on a tooth that was previously removed." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.site" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableReference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/BodyStructure" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "OralSites" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/tooth" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite.subSite" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.subSite" ] ;
       fhir:short [ fhir:v "Sub-location" ] ;
       fhir:definition [ fhir:v "A region or surface of the bodySite, e.g. limb region or tooth surface(s)." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.subSite" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Surface" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/surface" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.encounter" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.encounter" ] ;
       fhir:short [ fhir:v "Encounters associated with the listed treatments" ] ;
       fhir:definition [ fhir:v "Healthcare encounters related to this claim." ] ;
       fhir:requirements [ fhir:v "Used in some jurisdictions to link clinical events to claim items." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.encounter" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.noteNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:short [ fhir:v "Adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.decision" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.decision" ] ;
       fhir:short [ fhir:v "Result of the adjudication" ] ;
       fhir:definition [ fhir:v "The result of the claim, predetermination, or preauthorization adjudication." ] ;
       fhir:comment [ fhir:v "The element is used to indicate the current state of the adjudication overall for the claim resource, for example: the request has been held (pended) for adjudication processing, for manual review or other reasons; that it has been processed and will be paid, or the outstanding paid, as submitted (approved); that no amount will be paid (denied); or that some amount between zero and the submitted amount will be paid (partial)." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of the result of the adjudication process." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.decision" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationDecision" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-decision" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.reason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.reason" ] ;
       fhir:short [ fhir:v "Reason for result of the adjudication" ] ;
       fhir:definition [ fhir:v "The reasons for the result of the claim, predetermination, or preauthorization adjudication." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of the contributors to the result of the adjudication process." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.reason" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationDecisionReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-decision-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthRef" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthRef" ] ;
       fhir:short [ fhir:v "Preauthorization reference" ] ;
       fhir:definition [ fhir:v "Reference from the Insurer which is used in later communications which refers to this adjudication." ] ;
       fhir:comment [ fhir:v "This value is only present on preauthorization adjudications." ] ;
       fhir:requirements [ fhir:v "On subsequent claims, the insurer may require the provider to quote this value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthRef" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthPeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthPeriod" ] ;
       fhir:short [ fhir:v "Preauthorization reference effective period" ] ;
       fhir:definition [ fhir:v "The time frame during which this authorization is effective." ] ;
       fhir:requirements [ fhir:v "To convey to the provider when the authorized products and services must be supplied for the authorized adjudication to apply." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthPeriod" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Adjudication" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication" ] ;
       fhir:short [ fhir:v "Adjudication details" ] ;
       fhir:definition [ fhir:v "If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "The adjudication results conveys the insurer's assessment of the item provided in the claim under the terms of the patient's insurance coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.category" ] ;
       fhir:short [ fhir:v "Type of adjudication information" ] ;
       fhir:definition [ fhir:v "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in-aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item." ] ;
       fhir:comment [ fhir:v "For example, codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc." ] ;
       fhir:requirements [ fhir:v "Needed to enable understanding of the context of the other information in the adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.category" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Adjudication" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The adjudication codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/adjudication" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.reason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.reason" ] ;
       fhir:short [ fhir:v "Explanation of adjudication outcome" ] ;
       fhir:definition [ fhir:v "A code supporting the understanding of the adjudication result and explaining variance from expected amount." ] ;
       fhir:comment [ fhir:v "For example, may indicate that the funds for this benefit type have been exhausted." ] ;
       fhir:requirements [ fhir:v "To support understanding of variance from adjudication expectations." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.reason" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Adjudication reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/adjudication-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.amount" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.amount" ] ;
       fhir:short [ fhir:v "Monetary amount" ] ;
       fhir:definition [ fhir:v "Monetary amount associated with the category." ] ;
       fhir:comment [ fhir:v "For example, amount submitted, eligible amount, co-payment, and benefit payable." ] ;
       fhir:requirements [ fhir:v "Most adjudication categories convey a monetary amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.amount" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.quantity" ] ;
       fhir:short [ fhir:v "Non-monitary value" ] ;
       fhir:definition [ fhir:v "A non-monetary value associated with the category. Mutually exclusive to the amount element above." ] ;
       fhir:comment [ fhir:v "For example: eligible percentage or co-payment percentage." ] ;
       fhir:requirements [ fhir:v "Some adjudication categories convey a percentage or a fixed value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Detail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail" ] ;
       fhir:short [ fhir:v "Additional items" ] ;
       fhir:definition [ fhir:v "Second-tier of goods and services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.sequence" ] ;
       fhir:short [ fhir:v "Product or service provided" ] ;
       fhir:definition [ fhir:v "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items." ] ;
       fhir:requirements [ fhir:v "The items to be processed for adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.sequence" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.traceNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.revenue" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include: Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.category" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.productOrService" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.productOrServiceEnd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.modifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.programCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.patientPaid" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.unitPrice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.factor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.tax" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the line item.detail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.net" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.udi" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.noteNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Detail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.reviewOutcome" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.adjudication" ] ;
       fhir:short [ fhir:v "Detail level adjudication details" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.adjudication" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "SubDetail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail" ] ;
       fhir:short [ fhir:v "Additional items" ] ;
       fhir:definition [ fhir:v "Third-tier of goods and services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.sequence" ] ;
       fhir:short [ fhir:v "Product or service provided" ] ;
       fhir:definition [ fhir:v "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items." ] ;
       fhir:requirements [ fhir:v "The items to be processed for adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.sequence" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.traceNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.revenue" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.category" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrService" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrServiceEnd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.modifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.programCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.patientPaid" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.factor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.tax" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the line item.detail.subDetail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.net" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.udi" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Subdetail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.reviewOutcome" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.adjudication" ] ;
       fhir:short [ fhir:v "Subdetail level adjudication details" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.adjudication" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "740;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItem" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem" ] ;
       fhir:short [ fhir:v "Insurer added line items" ] ;
       fhir:definition [ fhir:v "The first-tier service adjudications for payor added product or service lines." ] ;
       fhir:requirements [ fhir:v "Insurers may redefine the provided product or service or may package and/or decompose groups of products and services. The addItems allows the insurer to provide their line item list with linkage to the submitted items/details/sub-details. In a preauthorization the insurer may use the addItem structure to provide additional information on authorized products and services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.itemSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.itemSequence" ] ;
       fhir:short [ fhir:v "Item sequence number" ] ;
       fhir:definition [ fhir:v "Claim items which this service line is intended to replace." ] ;
       fhir:requirements [ fhir:v "Provides references to the claim items." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.itemSequence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detailSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detailSequence" ] ;
       fhir:short [ fhir:v "Detail sequence number" ] ;
       fhir:definition [ fhir:v "The sequence number of the details within the claim item which this line is intended to replace." ] ;
       fhir:requirements [ fhir:v "Provides references to the claim details within the claim item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detailSequence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.subDetailSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.subDetailSequence" ] ;
       fhir:short [ fhir:v "Subdetail sequence number" ] ;
       fhir:definition [ fhir:v "The sequence number of the sub-details woithin the details within the claim item which this line is intended to replace." ] ;
       fhir:requirements [ fhir:v "Provides references to the claim sub-details within the claim detail." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.subDetailSequence" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.traceNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.provider" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.provider" ] ;
       fhir:short [ fhir:v "Authorized providers" ] ;
       fhir:definition [ fhir:v "The providers who are authorized for the services rendered to the patient." ] ;
       fhir:requirements [ fhir:v "Insurer may provide authorization specifically to a restricted set of providers rather than an open authorization." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.provider" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.source" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.revenue" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.productOrService" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.productOrServiceEnd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.request" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.request" ] ;
       fhir:short [ fhir:v "Request or Referral for Service" ] ;
       fhir:definition [ fhir:v "Request or Referral for Goods or Service to be rendered." ] ;
       fhir:requirements [ fhir:v "May identify the service to be provided or provider authorization for the service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.request" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionOrder" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/SupplyRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.modifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.programCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.serviced[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.serviced[x]" ] ;
       fhir:short [ fhir:v "Date or dates of service or product delivery" ] ;
       fhir:definition [ fhir:v "The date or dates when the service or product was supplied, performed or completed." ] ;
       fhir:requirements [ fhir:v "Needed to determine whether the  service or product was provided during the term of the insurance coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.serviced[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.done[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.location[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.location[x]" ] ;
       fhir:short [ fhir:v "Place of service or where product was supplied" ] ;
       fhir:definition [ fhir:v "Where the product or service was provided." ] ;
       fhir:requirements [ fhir:v "The location can alter whether the item was acceptable for insurance purposes or impact the determination of the benefit amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.location[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServicePlace" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Place where the service is rendered." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-place" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.where[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.patientPaid" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.unitPrice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.factor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.tax" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the addItem. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.net" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "780;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItemBodySite" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite" ] ;
       fhir:short [ fhir:v "Anatomical location" ] ;
       fhir:definition [ fhir:v "Physical location where the service is performed or applies." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite.site" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.site" ] ;
       fhir:short [ fhir:v "Location" ] ;
       fhir:definition [ fhir:v "Physical service site on the patient (limb, tooth, etc.)." ] ;
       fhir:comment [ fhir:v "For example, providing a tooth code allows an insurer to identify a provider performing a filling on a tooth that was previously removed." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.site" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableReference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/BodyStructure" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "OralSites" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/tooth" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite.subSite" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.subSite" ] ;
       fhir:short [ fhir:v "Sub-location" ] ;
       fhir:definition [ fhir:v "A region or surface of the bodySite, e.g. limb region or tooth surface(s)." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.subSite" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Surface" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/surface" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.noteNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.reviewOutcome" ] ;
       fhir:short [ fhir:v "Additem level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.reviewOutcome" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.adjudication" ] ;
       fhir:short [ fhir:v "Added items adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.adjudication" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "740;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItemDetail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail" ] ;
       fhir:short [ fhir:v "Insurer added line items" ] ;
       fhir:definition [ fhir:v "The second-tier service adjudications for payor added services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.traceNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.revenue" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrService" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrServiceEnd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.modifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.patientPaid" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.unitPrice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.factor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.tax" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the addItem.detail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.net" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.noteNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Additem detail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.reviewOutcome" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.adjudication" ] ;
       fhir:short [ fhir:v "Added items adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.adjudication" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "740;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItemDetailSubDetail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail" ] ;
       fhir:short [ fhir:v "Insurer added line items" ] ;
       fhir:definition [ fhir:v "The third-tier service adjudications for payor added services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.traceNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.revenue" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrService" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrServiceEnd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.modifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.patientPaid" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.unitPrice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.factor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.tax" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the addItem.detail.subDetail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.net" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.noteNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Additem subdetail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.reviewOutcome" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.adjudication" ] ;
       fhir:short [ fhir:v "Added items adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.adjudication" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.adjudication" ] ;
       fhir:short [ fhir:v "Header-level adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results which are presented at the header level rather than at the line-item or add-item levels." ] ;
       fhir:requirements [ fhir:v "Some insurers will receive line-items but provide the adjudication only at a summary or header-level." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.adjudication" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "'360;620" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Total" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total" ] ;
       fhir:short [ fhir:v "Adjudication totals" ] ;
       fhir:definition [ fhir:v "Categorized monetary totals for the adjudication." ] ;
       fhir:comment [ fhir:v "Totals for amounts submitted, co-pays, benefits payable etc." ] ;
       fhir:requirements [ fhir:v "To provide the requestor with financial totals by category for the adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.total" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total.category" ] ;
       fhir:short [ fhir:v "Type of adjudication information" ] ;
       fhir:definition [ fhir:v "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item." ] ;
       fhir:comment [ fhir:v "For example, codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc." ] ;
       fhir:requirements [ fhir:v "Needed to convey the type of total provided." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.total.category" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Adjudication" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The adjudication codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/adjudication" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total.amount" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total.amount" ] ;
       fhir:short [ fhir:v "Financial total for the category" ] ;
       fhir:definition [ fhir:v "Monetary total amount associated with the category." ] ;
       fhir:requirements [ fhir:v "Needed to convey the total monetary amount." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.total.amount" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "360;650" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Payment" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment" ] ;
       fhir:short [ fhir:v "Payment Details" ] ;
       fhir:definition [ fhir:v "Payment details for the adjudication of the claim." ] ;
       fhir:requirements [ fhir:v "Needed to convey references to the financial instrument that has been used if payment has been made." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payment" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.type" ] ;
       fhir:short [ fhir:v "Partial or complete payment" ] ;
       fhir:definition [ fhir:v "Whether this represents partial or complete payment of the benefits payable." ] ;
       fhir:requirements [ fhir:v "To advise the requestor when the insurer believes all payments to have been completed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payment.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PaymentType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The type (partial, complete) of the payment." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-paymenttype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.adjustment" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.adjustment" ] ;
       fhir:short [ fhir:v "Payment adjustment for non-claim issues" ] ;
       fhir:definition [ fhir:v "Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication." ] ;
       fhir:comment [ fhir:v "Insurers will deduct amounts owing from the provider (adjustment), such as a prior overpayment, from the amount owing to the provider (benefits payable) when payment is made to the provider." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of adjustments applied to the payment." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payment.adjustment" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.adjustmentReason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.adjustmentReason" ] ;
       fhir:short [ fhir:v "Explanation for the variance" ] ;
       fhir:definition [ fhir:v "Reason for the payment adjustment." ] ;
       fhir:requirements [ fhir:v "Needed to clarify the monetary adjustment." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payment.adjustmentReason" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PaymentAdjustmentReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Payment Adjustment reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/payment-adjustment-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.date" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.date" ] ;
       fhir:short [ fhir:v "Expected date of payment" ] ;
       fhir:definition [ fhir:v "Estimated date the payment will be issued or the actual issue date of payment." ] ;
       fhir:requirements [ fhir:v "To advise the payee when payment can be expected." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payment.date" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.amount" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.amount" ] ;
       fhir:short [ fhir:v "Payable amount after adjustment" ] ;
       fhir:definition [ fhir:v "Benefits payable less any payment adjustment." ] ;
       fhir:requirements [ fhir:v "Needed to provide the actual payment amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payment.amount" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.identifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.identifier" ] ;
       fhir:short [ fhir:v "Business identifier for the payment" ] ;
       fhir:definition [ fhir:v "Issuer's unique identifier for the payment instrument." ] ;
       fhir:comment [ fhir:v "For example: EFT number or check number." ] ;
       fhir:requirements [ fhir:v "Enable the receiver to reconcile when payment received." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.payment.identifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.formCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.formCode" ] ;
       fhir:short [ fhir:v "Printed form identifier" ] ;
       fhir:definition [ fhir:v "A code for the form to be used for printing the content." ] ;
       fhir:comment [ fhir:v "May be needed to identify specific jurisdictional forms." ] ;
       fhir:requirements [ fhir:v "Needed to specify the specific form used for producing output for this response." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.formCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Forms" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The forms codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/forms" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.form" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.form" ] ;
       fhir:short [ fhir:v "Printed reference or actual form" ] ;
       fhir:definition [ fhir:v "The actual form, by reference or inclusion, for printing the content or an EOB." ] ;
       fhir:comment [ fhir:v "Needed to permit insurers to include the actual form." ] ;
       fhir:requirements [ fhir:v "Needed to include the specific form used for producing output for this response." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.form" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Attachment" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Note" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote" ] ;
       fhir:short [ fhir:v "Note concerning adjudication" ] ;
       fhir:definition [ fhir:v "A note that describes or explains adjudication results in a human readable form." ] ;
       fhir:requirements [ fhir:v "Provides the insurer specific textual explanations associated with the processing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.processNote" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.number" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.number" ] ;
       fhir:short [ fhir:v "Note instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify a note entry." ] ;
       fhir:requirements [ fhir:v "Necessary to provide a mechanism to link from adjudications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.processNote.number" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.type" ] ;
       fhir:short [ fhir:v "Note purpose" ] ;
       fhir:definition [ fhir:v "The business purpose of the note text." ] ;
       fhir:requirements [ fhir:v "To convey the expectation for when the text is used." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.processNote.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "NoteType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The presentation types of notes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/note-type" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.text" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.text" ] ;
       fhir:short [ fhir:v "Note explanatory text" ] ;
       fhir:definition [ fhir:v "The explanation or description associated with the processing." ] ;
       fhir:requirements [ fhir:v "Required to provide human readable explanation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.processNote.text" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.language" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.language" ] ;
       fhir:short [ fhir:v "Language of the text" ] ;
       fhir:definition [ fhir:v "A code to define the language used in the text of the note." ] ;
       fhir:comment [ fhir:v "Only required if the language is different from the resource language." ] ;
       fhir:requirements [ fhir:v "Note text may vary from the resource defined language." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.processNote.language" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Language" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "IETF language tag for a human language" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-cibuild" ] ;
         fhir:additional ( [
           fhir:purpose [ fhir:v "starter" ] ;
           fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ]
         ] )
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitPeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitPeriod" ] ;
       fhir:short [ fhir:v "When the benefits are applicable" ] ;
       fhir:definition [ fhir:v "The term of the benefits documented in this response." ] ;
       fhir:comment [ fhir:v "Not applicable when use=claim." ] ;
       fhir:requirements [ fhir:v "Needed as coverages may be multi-year while benefits tend to be annual therefore a separate expression of the benefit period is needed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitPeriod" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "BenefitBalance" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance" ] ;
       fhir:short [ fhir:v "Balance by Benefit Category" ] ;
       fhir:definition [ fhir:v "Balance by Benefit Category." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed to convey the category of service or product for which eligibility is sought." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.category" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.excluded" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.excluded" ] ;
       fhir:short [ fhir:v "Excluded from the plan" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "Needed to identify items that are specifically excluded from the coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.excluded" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.name" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.name" ] ;
       fhir:short [ fhir:v "Short name for the benefit" ] ;
       fhir:definition [ fhir:v "A short name or tag for the benefit." ] ;
       fhir:comment [ fhir:v "For example: MED01, or DENT2." ] ;
       fhir:requirements [ fhir:v "Required to align with other plan names." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.name" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.description" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.description" ] ;
       fhir:short [ fhir:v "Description of the benefit or services covered" ] ;
       fhir:definition [ fhir:v "A richer description of the benefit or services covered." ] ;
       fhir:comment [ fhir:v "For example, 'DENT2 covers 100% of basic, 50% of major but excludes Ortho, Implants and Cosmetic services'." ] ;
       fhir:requirements [ fhir:v "Needed for human readable reference." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.description" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.network" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.network" ] ;
       fhir:short [ fhir:v "In or out of network" ] ;
       fhir:definition [ fhir:v "Is a flag to indicate whether the benefits refer to in-network providers or out-of-network providers." ] ;
       fhir:requirements [ fhir:v "Needed as in or out of network providers are treated differently under the coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.network" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitNetwork" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Code to classify in or out of network services." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-network" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.unit" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.unit" ] ;
       fhir:short [ fhir:v "Individual or family" ] ;
       fhir:definition [ fhir:v "Indicates if the benefits apply to an individual or to the family." ] ;
       fhir:requirements [ fhir:v "Needed for the understanding of the benefits." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.unit" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitUnit" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Unit covered/serviced - individual or family." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-unit" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.term" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.term" ] ;
       fhir:short [ fhir:v "Annual or lifetime" ] ;
       fhir:definition [ fhir:v "The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual visits'." ] ;
       fhir:requirements [ fhir:v "Needed for the understanding of the benefits." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.term" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitTerm" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Coverage unit - annual, lifetime." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-term" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Benefit" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial" ] ;
       fhir:short [ fhir:v "Benefit Summary" ] ;
       fhir:definition [ fhir:v "Benefits Used to date." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.id" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.extension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.modifierExtension" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.type" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Classification of benefit being provided." ] ;
       fhir:comment [ fhir:v "For example: deductible, visits, benefit amount." ] ;
       fhir:requirements [ fhir:v "Needed to convey the nature of the benefit." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.type" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Deductable, visits, co-pay, etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-type" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ] ;
       fhir:short [ fhir:v "Benefits allowed" ] ;
       fhir:definition [ fhir:v "The quantity of the benefit which is permitted under the coverage." ] ;
       fhir:requirements [ fhir:v "Needed to convey the benefits offered under the coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "unsignedInt" ]
       ] [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.used[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.used[x]" ] ;
       fhir:short [ fhir:v "Benefits used" ] ;
       fhir:definition [ fhir:v "The quantity of the benefit which have been consumed to date." ] ;
       fhir:requirements [ fhir:v "Needed to convey the benefits consumed to date." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.used[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "unsignedInt" ]
       ] [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] )
  ] ;
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "ExplanationOfBenefit" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit" ] ;
       fhir:short [ fhir:v "Explanation of Benefit resource" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "EOB" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "financial.other" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.identifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.identifier" ] ;
       fhir:short [ fhir:v "Business Identifier for the resource" ] ;
       fhir:definition [ fhir:v "A unique identifier assigned to this explanation of benefit." ] ;
       fhir:requirements [ fhir:v "Allows EOBs to be distinguished and referenced." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.identifier" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.identifier" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.status" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.status" ] ;
       fhir:short [ fhir:v "active | cancelled | draft | entered-in-error" ] ;
       fhir:definition [ fhir:v "The status of the resource instance." ] ;
       fhir:comment [ fhir:v "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." ] ;
       fhir:requirements [ fhir:v "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'." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "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" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ExplanationOfBenefitStatus" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "A code specifying the state of the resource instance." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/explanationofbenefit-status|6.0.0-cibuild" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.status" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.status" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.type" ] ;
       fhir:short [ fhir:v "Category or discipline" ] ;
       fhir:definition [ fhir:v "The category of claim, e.g. oral, pharmacy, vision, institutional, professional." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "Claim type determine the general sets of business rules applied for information requirements and adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ClaimType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The type or discipline-style of the claim." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-type" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.code" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.subType" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.subType" ] ;
       fhir:short [ fhir:v "More granular claim type" ] ;
       fhir:definition [ fhir:v "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service." ] ;
       fhir:comment [ fhir:v "This may contain the local bill type codes such as the US UB-04 bill type code." ] ;
       fhir:requirements [ fhir:v "Some jurisdictions need a finer grained claim type for routing and adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ClaimSubType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "A more granular claim typecode." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-subtype" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.use" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.use" ] ;
       fhir:short [ fhir:v "claim | preauthorization | predetermination" ] ;
       fhir:definition [ fhir:v "A code to indicate whether the nature of the request is: Claim - A request to an Insurer to adjudicate the supplied charges for health care goods and services under the identified policy and to pay the determined Benefit amount, if any; Preauthorization - A request to an Insurer to adjudicate the supplied proposed future charges for health care goods and services under the identified policy and to approve the services and provide the expected benefit amounts and potentially to reserve funds to pay the benefits when Claims for the indicated services are later submitted; or, Pre-determination - A request to an Insurer to adjudicate the supplied 'what if' charges for health care goods and services under the identified policy and report back what the Benefit payable would be had the services actually been provided." ] ;
       fhir:requirements [ fhir:v "This element is required to understand the nature of the request for adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Use" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "Complete, proposed, exploratory, other." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-use|6.0.0-cibuild" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.patient" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.patient" ] ;
       fhir:short [ fhir:v "The recipient of the products and services" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "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." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.subject" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.subject[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.billablePeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.billablePeriod" ] ;
       fhir:short [ fhir:v "Relevant time frame for the claim" ] ;
       fhir:definition [ fhir:v "The period for which charges are being submitted." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "A number jurisdictions required the submission of the billing period when submitting claims for example for hospital stays or long-term care." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.done[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.created" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.created" ] ;
       fhir:short [ fhir:v "Response creation date" ] ;
       fhir:definition [ fhir:v "The date this resource was created." ] ;
       fhir:requirements [ fhir:v "Need to record a timestamp for use by both the recipient and the issuer." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.occurrence[x]" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.recorded" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.enterer" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.enterer" ] ;
       fhir:short [ fhir:v "Author of the claim" ] ;
       fhir:definition [ fhir:v "Individual who created the claim, predetermination or preauthorization." ] ;
       fhir:requirements [ fhir:v "Some jurisdictions require the contact information for personnel completing claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.performer.agent" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.author" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurer" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurer" ] ;
       fhir:short [ fhir:v "Party responsible for reimbursement" ] ;
       fhir:definition [ fhir:v "The party responsible for authorization, adjudication and reimbursement." ] ;
       fhir:requirements [ fhir:v "To be a valid claim, preauthorization or predetermination there must be a party who is responsible for adjudicating the contents against a policy which provides benefits for the patient." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.performer.agent" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.author" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.provider" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.provider" ] ;
       fhir:short [ fhir:v "Party responsible for the claim" ] ;
       fhir:definition [ fhir:v "The provider which is responsible for the claim, predetermination or preauthorization." ] ;
       fhir:comment [ fhir:v "Typically this field would be 1..1 where this party is accountable for the data content within the claim but is not necessarily the facility, provider group or practitioner who provided the products and services listed within this claim resource. This field is the Billing Provider, for example, a facility, provider group, lab or practitioner." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.source" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.priority" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.priority" ] ;
       fhir:short [ fhir:v "Desired processing urgency" ] ;
       fhir:definition [ fhir:v "The provider-required urgency of processing the request. Typical values include: stat, normal deferred." ] ;
       fhir:comment [ fhir:v "If a claim processor is unable to complete the processing as per the priority then they should generate an error and not process the request." ] ;
       fhir:requirements [ fhir:v "The provider may need to indicate their processing requirements so that the processor can indicate if they are unable to comply." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProcessPriority" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The timeliness with which processing is required: stat, normal, deferred." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/process-priority" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "v2" ] ;
         fhir:map [ fhir:v "Request.priority" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.fundsReserveRequested" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.fundsReserveRequested" ] ;
       fhir:short [ fhir:v "For whom to reserve funds" ] ;
       fhir:definition [ fhir:v "A code to indicate whether and for whom funds are to be reserved for future claims." ] ;
       fhir:comment [ fhir:v "This field is only used for preauthorizations." ] ;
       fhir:requirements [ fhir:v "In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested." ] ;
       fhir:alias ( [ fhir:v "Fund pre-allocation" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "FundsReserve" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "For whom funds are to be reserved: (Patient, Provider, None)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fundsreserve" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.fundsReserve" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.fundsReserve" ] ;
       fhir:short [ fhir:v "Funds reserved status" ] ;
       fhir:definition [ fhir:v "A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom." ] ;
       fhir:comment [ fhir:v "Fund would be release by a future claim quoting the preAuthRef of this response. Examples of values include: provider, patient, none." ] ;
       fhir:requirements [ fhir:v "Needed to advise the submitting provider on whether the rquest for reservation of funds has been honored." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "FundsReserve" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "For whom funds are to be reserved: (Patient, Provider, None)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fundsreserve" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "RelatedClaim" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related" ] ;
       fhir:short [ fhir:v "Prior or corollary claims" ] ;
       fhir:definition [ fhir:v "Other claims which are related to this claim such as prior submissions or claims for related services or for the same event." ] ;
       fhir:comment [ fhir:v "For example,  for the original treatment and follow-up exams." ] ;
       fhir:requirements [ fhir:v "For workplace or other accidents it is common to relate separate claims arising from the same event." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.claim" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.claim" ] ;
       fhir:short [ fhir:v "Reference to the related claim" ] ;
       fhir:definition [ fhir:v "Reference to a related claim." ] ;
       fhir:requirements [ fhir:v "For workplace or other accidents it is common to relate separate claims arising from the same event." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Claim" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.relationship" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.relationship" ] ;
       fhir:short [ fhir:v "How the reference claim is related" ] ;
       fhir:definition [ fhir:v "A code to convey how the claims are related." ] ;
       fhir:comment [ fhir:v "For example, prior claim or umbrella." ] ;
       fhir:requirements [ fhir:v "Some insurers need a declaration of the type of relationship." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RelatedClaimRelationship" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Relationship of this claim to a related Claim." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/related-claim-relationship" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.related.reference" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.related.reference" ] ;
       fhir:short [ fhir:v "File or case reference" ] ;
       fhir:definition [ fhir:v "An alternate organizational reference to the case or file to which this particular claim pertains." ] ;
       fhir:comment [ fhir:v "For example, Property/Casualty insurer claim number or Workers Compensation case number." ] ;
       fhir:requirements [ fhir:v "In cases where an event-triggered claim is being submitted to an insurer which requires a reference number to be specified on all exchanges." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.prescription" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.prescription" ] ;
       fhir:short [ fhir:v "Prescription authorizing services or products" ] ;
       fhir:definition [ fhir:v "Prescription is the document/authorization given to the claim author for them to provide products and services for which consideration (reimbursement) is sought. Could be a RX for medications, an 'order' for oxygen or wheelchair or physiotherapy treatments." ] ;
       fhir:requirements [ fhir:v "Required to authorize the dispensing of controlled substances and devices." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.originalPrescription" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.originalPrescription" ] ;
       fhir:short [ fhir:v "Original prescription if superceded by fulfiller" ] ;
       fhir:definition [ fhir:v "Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products." ] ;
       fhir:comment [ fhir:v "For example, a physician may prescribe a medication which the pharmacy determines is contraindicated, or for which the patient has an intolerance, and therefor issues a new prescription for an alternate medication which has the same therapeutic intent. The prescription from the pharmacy becomes the 'prescription' and that from the physician becomes the 'original prescription'." ] ;
       fhir:requirements [ fhir:v "Often required when a fulfiller varies what is fulfilled from that authorized on the original prescription." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event" ] ;
       fhir:short [ fhir:v "Event information" ] ;
       fhir:definition [ fhir:v "Information code for an event with a corresponding date or period." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event.type" ] ;
       fhir:short [ fhir:v "Specific event" ] ;
       fhir:definition [ fhir:v "A coded event such as when a service is expected or a card printed." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DatesType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/datestype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.event.when[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.event.when[x]" ] ;
       fhir:short [ fhir:v "Occurance date or period" ] ;
       fhir:definition [ fhir:v "A date or period in the past or future indicating when the event occurred or is expectd to occur." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Payee" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee" ] ;
       fhir:short [ fhir:v "Recipient of benefits payable" ] ;
       fhir:definition [ fhir:v "The party to be reimbursed for cost of the products and services according to the terms of the policy." ] ;
       fhir:comment [ fhir:v "Often providers agree to receive the benefits payable to reduce the near-term costs to the patient. The insurer may decline to pay the provider and may choose to pay the subscriber instead." ] ;
       fhir:requirements [ fhir:v "The provider needs to specify who they wish to be reimbursed and the claims processor needs express who they will reimburse." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee.type" ] ;
       fhir:short [ fhir:v "Category of recipient" ] ;
       fhir:definition [ fhir:v "Type of Party to be reimbursed: Subscriber, provider, other." ] ;
       fhir:requirements [ fhir:v "Need to know who should receive payment with the most common situations being the Provider (assignment of benefits) or the Subscriber." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PayeeType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "A code for the party to be reimbursed." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/payeetype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payee.party" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payee.party" ] ;
       fhir:short [ fhir:v "Recipient reference" ] ;
       fhir:definition [ fhir:v "Reference to the individual or organization to whom any payment will be made." ] ;
       fhir:comment [ fhir:v "Not required if the payee is 'subscriber' or 'provider'." ] ;
       fhir:requirements [ fhir:v "Need to provide demographics if the payee is not 'subscriber' nor 'provider'." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.referral" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.referral" ] ;
       fhir:short [ fhir:v "Treatment Referral" ] ;
       fhir:definition [ fhir:v "The referral information received by the claim author, it is not to be used when the author generates a referral for a patient. A copy of that referral may be provided as supporting information. Some insurers require proof of referral to pay for services or to pay specialist rates for services." ] ;
       fhir:comment [ fhir:v "The referral resource which lists the date, practitioner, reason and other supporting information." ] ;
       fhir:requirements [ fhir:v "Some insurers require proof of referral to pay for services or to pay specialist rates for services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.cause" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.encounter" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.encounter" ] ;
       fhir:short [ fhir:v "Encounters associated with the listed treatments" ] ;
       fhir:definition [ fhir:v "Healthcare encounters related to this claim." ] ;
       fhir:requirements [ fhir:v "Used in some jurisdictions to link clinical events to claim items." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.facility" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.facility" ] ;
       fhir:short [ fhir:v "Servicing Facility" ] ;
       fhir:definition [ fhir:v "Facility where the services were provided." ] ;
       fhir:requirements [ fhir:v "Insurance adjudication can be dependant on where services were delivered." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Event.performer.location" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.where[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.claim" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.claim" ] ;
       fhir:short [ fhir:v "Claim reference" ] ;
       fhir:definition [ fhir:v "The business identifier for the instance of the adjudication request: claim predetermination or preauthorization." ] ;
       fhir:requirements [ fhir:v "To provide a link to the original adjudication request." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Claim" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.why[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.claimResponse" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.claimResponse" ] ;
       fhir:short [ fhir:v "Claim response reference" ] ;
       fhir:definition [ fhir:v "The business identifier for the instance of the adjudication response: claim, predetermination or preauthorization response." ] ;
       fhir:requirements [ fhir:v "To provide a link to the original adjudication response." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/ClaimResponse" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.outcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.outcome" ] ;
       fhir:short [ fhir:v "queued | complete | error | partial" ] ;
       fhir:definition [ fhir:v "The outcome of the claim, predetermination, or preauthorization processing." ] ;
       fhir:comment [ fhir:v "The resource may be used to indicate that the Claim/Preauthorization/Pre-determination has been received but processing has not begun (queued); that it has been processed and one or more errors have been detected (error); no errors were detected and some of the adjudication processing has been performed (partial); or all of the adjudication processing has completed without errors (complete)." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of an overall processing outcome." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ClaimOutcome" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "The result of the claim processing." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-outcome|6.0.0-cibuild" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.decision" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.decision" ] ;
       fhir:short [ fhir:v "Result of the adjudication" ] ;
       fhir:definition [ fhir:v "The result of the claim, predetermination, or preauthorization adjudication." ] ;
       fhir:comment [ fhir:v "The element is used to indicate the current state of the adjudication overall for the claim resource, for example: the request has been held (pended) for adjudication processing, for manual review or other reasons; that it has been processed and will be paid, or the outstanding paid, as submitted (approved); that no amount will be paid (denied); or that some amount between zero and the submitted amoutn will be paid (partial)." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of the result of the adjudication process." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationDecision" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-decision" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.disposition" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.disposition" ] ;
       fhir:short [ fhir:v "Disposition Message" ] ;
       fhir:definition [ fhir:v "A human readable description of the status of the adjudication." ] ;
       fhir:requirements [ fhir:v "Provided for user display." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.preAuthRef" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.preAuthRef" ] ;
       fhir:short [ fhir:v "Preauthorization reference" ] ;
       fhir:definition [ fhir:v "Reference from the Insurer which is used in later communications which refers to this adjudication." ] ;
       fhir:comment [ fhir:v "This value is only present on preauthorization adjudications." ] ;
       fhir:requirements [ fhir:v "On subsequent claims, the insurer may require the provider to quote this value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.preAuthRefPeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.preAuthRefPeriod" ] ;
       fhir:short [ fhir:v "Preauthorization in-effect period" ] ;
       fhir:definition [ fhir:v "The timeframe during which the supplied preauthorization reference may be quoted on claims to obtain the adjudication as provided." ] ;
       fhir:comment [ fhir:v "This value is only present on preauthorization adjudications." ] ;
       fhir:requirements [ fhir:v "On subsequent claims, the insurer may require the provider to quote this value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosisRelatedGroup" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosisRelatedGroup" ] ;
       fhir:short [ fhir:v "Package billing code" ] ;
       fhir:definition [ fhir:v "A package billing code or bundle code used to group products and services to a particular health condition (such as heart attack) which is based on a predetermined grouping code system." ] ;
       fhir:comment [ fhir:v "For example DRG (Diagnosis Related Group) or a bundled billing code. A patient may have a diagnosis of a Myocardial Infarction and a DRG for HeartAttack would be assigned. The Claim item (and possible subsequent claims) would refer to the DRG for those line items that were for services related to the heart attack event." ] ;
       fhir:requirements [ fhir:v "Required to relate the current diagnosis to a package billing code that is then referenced on the individual claim items which are specific to the health condition covered by the package code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DiagnosisRelatedGroup" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "CareTeam" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam" ] ;
       fhir:short [ fhir:v "Care Team members" ] ;
       fhir:definition [ fhir:v "The members of the team who provided the products and services." ] ;
       fhir:requirements [ fhir:v "Common to identify the responsible and supporting practitioners." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.sequence" ] ;
       fhir:short [ fhir:v "Order of care team" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify care team entries." ] ;
       fhir:requirements [ fhir:v "Necessary to maintain the order of the care team and provide a mechanism to link individuals to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.provider" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.provider" ] ;
       fhir:short [ fhir:v "Practitioner or organization" ] ;
       fhir:definition [ fhir:v "Member of the team who provided the product or service." ] ;
       fhir:requirements [ fhir:v "Often a regulatory requirement to specify the responsible provider." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.actor" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.responsible" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.responsible" ] ;
       fhir:short [ fhir:v "Indicator of the lead practitioner" ] ;
       fhir:definition [ fhir:v "The party who is billing and/or responsible for the claimed products or services." ] ;
       fhir:comment [ fhir:v "Responsible might not be required when there is only a single provider listed." ] ;
       fhir:requirements [ fhir:v "When multiple parties are present it is required to distinguish the lead or responsible individual." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.role" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.role" ] ;
       fhir:short [ fhir:v "Function within the team" ] ;
       fhir:definition [ fhir:v "The lead, assisting or supervising practitioner and their discipline if a multidisciplinary team." ] ;
       fhir:comment [ fhir:v "Role might not be required when there is only a single provider listed." ] ;
       fhir:requirements [ fhir:v "When multiple parties are present it is required to distinguish the roles performed by each member." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "CareTeamRole" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The role codes for the care team members." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-careteamrole" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.careTeam.specialty" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.careTeam.specialty" ] ;
       fhir:short [ fhir:v "Practitioner or provider specialization" ] ;
       fhir:definition [ fhir:v "The specialization of the practitioner or provider which is applicable for this service." ] ;
       fhir:requirements [ fhir:v "Need to specify which specialization a practitioner or provider acting under when delivering the product or service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProviderQualification" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/provider-qualification" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "SupportingInformation" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo" ] ;
       fhir:short [ fhir:v "Supporting information" ] ;
       fhir:definition [ fhir:v "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues." ] ;
       fhir:comment [ fhir:v "Often there are multiple jurisdiction specific valuesets which are required." ] ;
       fhir:requirements [ fhir:v "Typically these information codes are required to support the services rendered or the adjudication of the services rendered." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.sequence" ] ;
       fhir:short [ fhir:v "Information instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify supporting information entries." ] ;
       fhir:requirements [ fhir:v "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.category" ] ;
       fhir:short [ fhir:v "Classification of the supplied information" ] ;
       fhir:definition [ fhir:v "The general class of the information supplied: information; exception; accident, employment; onset, etc." ] ;
       fhir:comment [ fhir:v "This may contain a category for the local bill type codes." ] ;
       fhir:requirements [ fhir:v "Required to group or associate information items with common characteristics. For example: admission information or prior treatments." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "InformationCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The valuset used for additional information category codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-informationcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.code" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.code" ] ;
       fhir:short [ fhir:v "Type of information" ] ;
       fhir:definition [ fhir:v "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought." ] ;
       fhir:comment [ fhir:v "This may contain the local bill type codes such as the US UB-04 bill type code." ] ;
       fhir:requirements [ fhir:v "Required to identify the kind of additional information." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "InformationCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The valuset used for additional information codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-exception" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.timing[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.timing[x]" ] ;
       fhir:short [ fhir:v "When it occurred" ] ;
       fhir:definition [ fhir:v "The date when or period to which this information refers." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.value[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.value[x]" ] ;
       fhir:short [ fhir:v "Data to be provided" ] ;
       fhir:definition [ fhir:v "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data." ] ;
       fhir:comment [ fhir:v "Could be used to provide references to other resources, document. For example, could contain a PDF in an Attachment of the Police Report for an Accident." ] ;
       fhir:requirements [ fhir:v "To convey the data content to be provided when the information is more than a simple code or period." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "Quantity" ]
       ] [
         fhir:code [ fhir:v "Attachment" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource" ] )
       ] [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.supportingInfo.reason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.supportingInfo.reason" ] ;
       fhir:short [ fhir:v "Explanation for the information" ] ;
       fhir:definition [ fhir:v "Provides the reason in the situation where a reason code is required in addition to the content." ] ;
       fhir:comment [ fhir:v "For example: the reason for the additional stay, or why a tooth is  missing." ] ;
       fhir:requirements [ fhir:v "Needed when the supporting information has both a date and amount/value and requires explanation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Coding" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MissingReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Reason codes for the missing teeth." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/missing-tooth-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Diagnosis" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis" ] ;
       fhir:short [ fhir:v "Pertinent diagnosis information" ] ;
       fhir:definition [ fhir:v "Information about diagnoses relevant to the claim items." ] ;
       fhir:requirements [ fhir:v "Required for the adjudication by provided context for the services and product listed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.sequence" ] ;
       fhir:short [ fhir:v "Diagnosis instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify diagnosis entries." ] ;
       fhir:comment [ fhir:v "Diagnosis are presented in list order to their expected importance: primary, secondary, etc." ] ;
       fhir:requirements [ fhir:v "Necessary to maintain the order of the diagnosis items and provide a mechanism to link to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.diagnosis[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.diagnosis[x]" ] ;
       fhir:short [ fhir:v "Nature of illness or problem" ] ;
       fhir:definition [ fhir:v "The nature of illness or problem in a coded form or as a reference to an external defined Condition." ] ;
       fhir:requirements [ fhir:v "Provides health context for the evaluation of the products and/or services." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ICD10" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "ICD10 Diagnostic codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/icd-10" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.type" ] ;
       fhir:short [ fhir:v "Timing or nature of the diagnosis" ] ;
       fhir:definition [ fhir:v "When the condition was observed or the relative ranking." ] ;
       fhir:comment [ fhir:v "For example: admitting, primary, secondary, discharge." ] ;
       fhir:requirements [ fhir:v "Often required to capture a particular diagnosis, for example: primary or discharge." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DiagnosisType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The type of the diagnosis: admitting, principal, discharge." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-diagnosistype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.diagnosis.onAdmission" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.diagnosis.onAdmission" ] ;
       fhir:short [ fhir:v "Present on admission" ] ;
       fhir:definition [ fhir:v "Indication of whether the diagnosis was present on admission to a facility." ] ;
       fhir:requirements [ fhir:v "Many systems need to understand for adjudication if the diagnosis was present a time of admission." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DiagnosisOnAdmission" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Present on admission." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Procedure" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure" ] ;
       fhir:short [ fhir:v "Clinical procedures performed" ] ;
       fhir:definition [ fhir:v "Procedures performed on the patient relevant to the billing items with the claim." ] ;
       fhir:requirements [ fhir:v "The specific clinical invention are sometimes required to be provided to justify billing a greater than customary amount for a service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.sequence" ] ;
       fhir:short [ fhir:v "Procedure instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify procedure entries." ] ;
       fhir:requirements [ fhir:v "Necessary to provide a mechanism to link to claim details." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.type" ] ;
       fhir:short [ fhir:v "Category of Procedure" ] ;
       fhir:definition [ fhir:v "When the condition was observed or the relative ranking." ] ;
       fhir:requirements [ fhir:v "Often required to capture a particular diagnosis, for example: primary or discharge." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProcedureType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Example procedure type codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-procedure-type" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.date" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.date" ] ;
       fhir:short [ fhir:v "When the procedure was performed" ] ;
       fhir:definition [ fhir:v "Date and optionally time the procedure was performed." ] ;
       fhir:requirements [ fhir:v "Required for auditing purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.procedure[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.procedure[x]" ] ;
       fhir:short [ fhir:v "Specific clinical procedure" ] ;
       fhir:definition [ fhir:v "The code or reference to a Procedure resource which identifies the clinical intervention performed." ] ;
       fhir:requirements [ fhir:v "This identifies the actual clinical procedure." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Procedure" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ICD10_Procedures" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "ICD10 Procedure codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/icd-10-procedures" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.procedure.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.procedure.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.precedence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.precedence" ] ;
       fhir:short [ fhir:v "Precedence (primary, secondary, etc.)" ] ;
       fhir:definition [ fhir:v "This indicates the relative order of a series of EOBs related to different coverages for the same suite of services." ] ;
       fhir:requirements [ fhir:v "Needed to coordinate between multiple EOBs for the same suite of services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Insurance" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance" ] ;
       fhir:short [ fhir:v "Patient insurance information" ] ;
       fhir:definition [ fhir:v "Financial instruments for reimbursement for the health care products and services specified on the claim." ] ;
       fhir:comment [ fhir:v "All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'Coverage.subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim." ] ;
       fhir:requirements [ fhir:v "At least one insurer is required for a claim to be a claim." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "v2" ] ;
         fhir:map [ fhir:v "Coverage" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.focal" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.focal" ] ;
       fhir:short [ fhir:v "Coverage to be used for adjudication" ] ;
       fhir:definition [ fhir:v "A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true." ] ;
       fhir:comment [ fhir:v "A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example, a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies." ] ;
       fhir:requirements [ fhir:v "To identify which coverage in the list is being used to adjudicate this claim." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.coverage" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.coverage" ] ;
       fhir:short [ fhir:v "Insurance information" ] ;
       fhir:definition [ fhir:v "Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system." ] ;
       fhir:requirements [ fhir:v "Required to allow the adjudicator to locate the correct policy and history within their information system." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Coverage" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.insurance.preAuthRef" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.insurance.preAuthRef" ] ;
       fhir:short [ fhir:v "Prior authorization reference number" ] ;
       fhir:definition [ fhir:v "Reference numbers previously provided by the insurer to the provider to be quoted on subsequent claims containing services or products related to the prior authorization." ] ;
       fhir:comment [ fhir:v "This value is an alphanumeric string that may be provided over the phone, via text, via paper, or within a ClaimResponse resource and is not a FHIR Identifier." ] ;
       fhir:requirements [ fhir:v "Providers must quote previously issued authorization reference numbers in order to obtain adjudication as previously advised on the Preauthorization." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Accident" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident" ] ;
       fhir:short [ fhir:v "Details of the event" ] ;
       fhir:definition [ fhir:v "Details of a accident which resulted in injuries which required the products and services listed in the claim." ] ;
       fhir:requirements [ fhir:v "When healthcare products and services are accident related, benefits may be payable under accident provisions of policies, such as automotive, etc before they are payable under normal health insurance." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.date" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.date" ] ;
       fhir:short [ fhir:v "When the incident occurred" ] ;
       fhir:definition [ fhir:v "Date of an accident event  related to the products and services contained in the claim." ] ;
       fhir:comment [ fhir:v "The date of the accident has to precede the dates of the products and services but within a reasonable timeframe." ] ;
       fhir:requirements [ fhir:v "Required for audit purposes and adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.type" ] ;
       fhir:short [ fhir:v "The nature of the accident" ] ;
       fhir:definition [ fhir:v "The type or context of the accident event for the purposes of selection of potential insurance coverages and determination of coordination between insurers." ] ;
       fhir:requirements [ fhir:v "Coverage may be dependant on the type of accident." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AccidentType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "Type of accident: work place, auto, etc." ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActIncidentCode" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.accident.location[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.accident.location[x]" ] ;
       fhir:short [ fhir:v "Where the event occurred" ] ;
       fhir:definition [ fhir:v "The physical location of the accident event." ] ;
       fhir:requirements [ fhir:v "Required for audit purposes and determination of applicable insurance liability." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Item" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item" ] ;
       fhir:short [ fhir:v "Product or service provided" ] ;
       fhir:definition [ fhir:v "A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details." ] ;
       fhir:requirements [ fhir:v "The items to be processed for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.sequence" ] ;
       fhir:short [ fhir:v "Item instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify item entries." ] ;
       fhir:requirements [ fhir:v "Necessary to provide a mechanism to link to items from within the claim and within the adjudication details of the ClaimResponse." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.careTeamSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.careTeamSequence" ] ;
       fhir:short [ fhir:v "Applicable care team members" ] ;
       fhir:definition [ fhir:v "Care team members related to this service or product." ] ;
       fhir:requirements [ fhir:v "Need to identify the individuals and their roles in the provision of the product or service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.diagnosisSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.diagnosisSequence" ] ;
       fhir:short [ fhir:v "Applicable diagnoses" ] ;
       fhir:definition [ fhir:v "Diagnoses applicable for this service or product." ] ;
       fhir:requirements [ fhir:v "Need to related the product or service to the associated diagnoses." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.procedureSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.procedureSequence" ] ;
       fhir:short [ fhir:v "Applicable procedures" ] ;
       fhir:definition [ fhir:v "Procedures applicable for this service or product." ] ;
       fhir:requirements [ fhir:v "Need to provide any listed specific procedures to support the product or service being claimed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.informationSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.informationSequence" ] ;
       fhir:short [ fhir:v "Applicable exception and supporting information" ] ;
       fhir:definition [ fhir:v "Exceptions, special conditions and supporting information applicable for this service or product." ] ;
       fhir:requirements [ fhir:v "Need to reference the supporting information items that relate directly to this product or service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.request" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.request" ] ;
       fhir:short [ fhir:v "Request or Referral for Service" ] ;
       fhir:definition [ fhir:v "Request or Referral for Goods or Service to be rendered." ] ;
       fhir:requirements [ fhir:v "May identify the service to be provided or provider authorization for the service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionOrder" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/SupplyRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.modifier" ] ;
       fhir:short [ fhir:v "Product or service billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.serviced[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.serviced[x]" ] ;
       fhir:short [ fhir:v "Date or dates of service or product delivery" ] ;
       fhir:definition [ fhir:v "The date or dates when the service or product was supplied, performed or completed." ] ;
       fhir:requirements [ fhir:v "Needed to determine whether the  service or product was provided during the term of the insurance coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.done[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.location[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.location[x]" ] ;
       fhir:short [ fhir:v "Place of service or where product was supplied" ] ;
       fhir:definition [ fhir:v "Where the product or service was provided." ] ;
       fhir:requirements [ fhir:v "The location can alter whether the item was acceptable for insurance purposes or impact the determination of the benefit amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServicePlace" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Place where the service is rendered." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-place" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.where[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the line item. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "720;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "ItemBodySite" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite" ] ;
       fhir:short [ fhir:v "Anatomical location" ] ;
       fhir:definition [ fhir:v "Physical location where the service is performed or applies." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite.site" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.site" ] ;
       fhir:short [ fhir:v "Location" ] ;
       fhir:definition [ fhir:v "Physical service site on the patient (limb, tooth, etc.)." ] ;
       fhir:comment [ fhir:v "For example: Providing a tooth code, allows an insurer to identify a provider performing a filling on a tooth that was previously removed." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableReference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/BodyStructure" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "OralSites" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/tooth" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.bodySite.subSite" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.bodySite.subSite" ] ;
       fhir:short [ fhir:v "Sub-location" ] ;
       fhir:definition [ fhir:v "A region or surface of the bodySite, e.g. limb region or tooth surface(s)." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Surface" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/surface" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.encounter" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.encounter" ] ;
       fhir:short [ fhir:v "Encounters associated with the listed treatments" ] ;
       fhir:definition [ fhir:v "Healthcare encounters related to this claim." ] ;
       fhir:requirements [ fhir:v "Used in some jurisdictions to link clinical events to claim items." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:short [ fhir:v "Adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.decision" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.decision" ] ;
       fhir:short [ fhir:v "Result of the adjudication" ] ;
       fhir:definition [ fhir:v "The result of the claim, predetermination, or preauthorization adjudication." ] ;
       fhir:comment [ fhir:v "The element is used to indicate the current state of the adjudication overall for the claim resource, for example: the request has been held (pended) for adjudication processing, for manual review or other reasons; that it has been processed and will be paid, or the outstanding paid, as submitted (approved); that no amount will be paid (denied); or that some amount between zero and the submitted amount will be paid (partial)." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of the result of the adjudication process." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationDecision" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-decision" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.reason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.reason" ] ;
       fhir:short [ fhir:v "Reason for result of the adjudication" ] ;
       fhir:definition [ fhir:v "The reasons for the result of the claim, predetermination, or preauthorization adjudication." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of the contributors to the result of the adjudication process." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationDecisionReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-decision-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthRef" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthRef" ] ;
       fhir:short [ fhir:v "Preauthorization reference" ] ;
       fhir:definition [ fhir:v "Reference from the Insurer which is used in later communications which refers to this adjudication." ] ;
       fhir:comment [ fhir:v "This value is only present on preauthorization adjudications." ] ;
       fhir:requirements [ fhir:v "On subsequent claims, the insurer may require the provider to quote this value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthPeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.reviewOutcome.preAuthPeriod" ] ;
       fhir:short [ fhir:v "Preauthorization reference effective period" ] ;
       fhir:definition [ fhir:v "The time frame during which this authorization is effective." ] ;
       fhir:requirements [ fhir:v "To convey to the provider when the authorized products and services must be supplied for the authorized adjudication to apply." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Adjudication" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication" ] ;
       fhir:short [ fhir:v "Adjudication details" ] ;
       fhir:definition [ fhir:v "If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "The adjudication results conveys the insurer's assessment of the item provided in the claim under the terms of the patient's insurance coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.category" ] ;
       fhir:short [ fhir:v "Type of adjudication information" ] ;
       fhir:definition [ fhir:v "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in-aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item." ] ;
       fhir:comment [ fhir:v "For example, codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc." ] ;
       fhir:requirements [ fhir:v "Needed to enable understanding of the context of the other information in the adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Adjudication" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The adjudication codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/adjudication" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.reason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.reason" ] ;
       fhir:short [ fhir:v "Explanation of adjudication outcome" ] ;
       fhir:definition [ fhir:v "A code supporting the understanding of the adjudication result and explaining variance from expected amount." ] ;
       fhir:comment [ fhir:v "For example, may indicate that the funds for this benefit type have been exhausted." ] ;
       fhir:requirements [ fhir:v "To support understanding of variance from adjudication expectations." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "AdjudicationReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Adjudication reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/adjudication-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.amount" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.amount" ] ;
       fhir:short [ fhir:v "Monetary amount" ] ;
       fhir:definition [ fhir:v "Monetary amount associated with the category." ] ;
       fhir:comment [ fhir:v "For example, amount submitted, eligible amount, co-payment, and benefit payable." ] ;
       fhir:requirements [ fhir:v "Most adjudication categories convey a monetary amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.adjudication.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.adjudication.quantity" ] ;
       fhir:short [ fhir:v "Non-monitary value" ] ;
       fhir:definition [ fhir:v "A non-monetary value associated with the category. Mutually exclusive to the amount element above." ] ;
       fhir:comment [ fhir:v "For example: eligible percentage or co-payment percentage." ] ;
       fhir:requirements [ fhir:v "Some adjudication categories convey a percentage or a fixed value." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Detail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail" ] ;
       fhir:short [ fhir:v "Additional items" ] ;
       fhir:definition [ fhir:v "Second-tier of goods and services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.sequence" ] ;
       fhir:short [ fhir:v "Product or service provided" ] ;
       fhir:definition [ fhir:v "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items." ] ;
       fhir:requirements [ fhir:v "The items to be processed for adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include: Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the line item.detail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Detail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.adjudication" ] ;
       fhir:short [ fhir:v "Detail level adjudication details" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "SubDetail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail" ] ;
       fhir:short [ fhir:v "Additional items" ] ;
       fhir:definition [ fhir:v "Third-tier of goods and services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.sequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.sequence" ] ;
       fhir:short [ fhir:v "Product or service provided" ] ;
       fhir:definition [ fhir:v "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items." ] ;
       fhir:requirements [ fhir:v "The items to be processed for adjudication." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the line item.detail.subDetail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.udi" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.udi" ] ;
       fhir:short [ fhir:v "Unique device identifier" ] ;
       fhir:definition [ fhir:v "Unique Device Identifiers associated with this line item." ] ;
       fhir:requirements [ fhir:v "The UDI code allows the insurer to obtain device level information on the product supplied." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Subdetail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.item.detail.subDetail.adjudication" ] ;
       fhir:short [ fhir:v "Subdetail level adjudication details" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "740;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItem" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem" ] ;
       fhir:short [ fhir:v "Insurer added line items" ] ;
       fhir:definition [ fhir:v "The first-tier service adjudications for payor added product or service lines." ] ;
       fhir:requirements [ fhir:v "Insurers may redefine the provided product or service or may package and/or decompose groups of products and services. The addItems allows the insurer to provide their line item list with linkage to the submitted items/details/sub-details. In a preauthorization the insurer may use the addItem structure to provide additional information on authorized products and services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.itemSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.itemSequence" ] ;
       fhir:short [ fhir:v "Item sequence number" ] ;
       fhir:definition [ fhir:v "Claim items which this service line is intended to replace." ] ;
       fhir:requirements [ fhir:v "Provides references to the claim items." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detailSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detailSequence" ] ;
       fhir:short [ fhir:v "Detail sequence number" ] ;
       fhir:definition [ fhir:v "The sequence number of the details within the claim item which this line is intended to replace." ] ;
       fhir:requirements [ fhir:v "Provides references to the claim details within the claim item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.subDetailSequence" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.subDetailSequence" ] ;
       fhir:short [ fhir:v "Subdetail sequence number" ] ;
       fhir:definition [ fhir:v "The sequence number of the sub-details woithin the details within the claim item which this line is intended to replace." ] ;
       fhir:requirements [ fhir:v "Provides references to the claim sub-details within the claim detail." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.provider" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.provider" ] ;
       fhir:short [ fhir:v "Authorized providers" ] ;
       fhir:definition [ fhir:v "The providers who are authorized for the services rendered to the patient." ] ;
       fhir:requirements [ fhir:v "Insurer may provide authorization specifically to a restricted set of providers rather than an open authorization." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.source" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.request" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.request" ] ;
       fhir:short [ fhir:v "Request or Referral for Service" ] ;
       fhir:definition [ fhir:v "Request or Referral for Goods or Service to be rendered." ] ;
       fhir:requirements [ fhir:v "May identify the service to be provided or provider authorization for the service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionOrder" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/SupplyRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.programCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.programCode" ] ;
       fhir:short [ fhir:v "Program the product or service is provided under" ] ;
       fhir:definition [ fhir:v "Identifies the program under which this may be recovered." ] ;
       fhir:comment [ fhir:v "For example: Neonatal program, child dental program or drug users recovery program." ] ;
       fhir:requirements [ fhir:v "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ProgramCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Program specific reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-program-code" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.serviced[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.serviced[x]" ] ;
       fhir:short [ fhir:v "Date or dates of service or product delivery" ] ;
       fhir:definition [ fhir:v "The date or dates when the service or product was supplied, performed or completed." ] ;
       fhir:requirements [ fhir:v "Needed to determine whether the  service or product was provided during the term of the insurance coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.done[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.location[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.location[x]" ] ;
       fhir:short [ fhir:v "Place of service or where product was supplied" ] ;
       fhir:definition [ fhir:v "Where the product or service was provided." ] ;
       fhir:requirements [ fhir:v "The location can alter whether the item was acceptable for insurance purposes or impact the determination of the benefit amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServicePlace" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Place where the service is rendered." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-place" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.where[x]" ]
       ] )
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the addItem. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "780;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItemBodySite" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite" ] ;
       fhir:short [ fhir:v "Anatomical location" ] ;
       fhir:definition [ fhir:v "Physical location where the service is performed or applies." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite.site" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.site" ] ;
       fhir:short [ fhir:v "Location" ] ;
       fhir:definition [ fhir:v "Physical service site on the patient (limb, tooth, etc.)." ] ;
       fhir:comment [ fhir:v "For example, providing a tooth code allows an insurer to identify a provider performing a filling on a tooth that was previously removed." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableReference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/BodyStructure" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "OralSites" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/tooth" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.bodySite.subSite" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.bodySite.subSite" ] ;
       fhir:short [ fhir:v "Sub-location" ] ;
       fhir:definition [ fhir:v "A region or surface of the bodySite, e.g. limb region or tooth surface(s)." ] ;
       fhir:requirements [ fhir:v "Allows insurer to validate specific procedures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Surface" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/surface" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.reviewOutcome" ] ;
       fhir:short [ fhir:v "Additem level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.adjudication" ] ;
       fhir:short [ fhir:v "Added items adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "740;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItemDetail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail" ] ;
       fhir:short [ fhir:v "Insurer added line items" ] ;
       fhir:definition [ fhir:v "The second-tier service adjudications for payor added services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the group (if a grouper) or the addItem.detail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Additem detail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.adjudication" ] ;
       fhir:short [ fhir:v "Added items adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "740;600" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "AddedItemDetailSubDetail" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail" ] ;
       fhir:short [ fhir:v "Insurer added line items" ] ;
       fhir:definition [ fhir:v "The third-tier service adjudications for payor added services." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.traceNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.traceNumber" ] ;
       fhir:short [ fhir:v "Number for tracking" ] ;
       fhir:definition [ fhir:v "Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners." ] ;
       fhir:requirements [ fhir:v "Allows partners to uniquely identify components for tracking." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.revenue" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.revenue" ] ;
       fhir:short [ fhir:v "Revenue or cost center code" ] ;
       fhir:definition [ fhir:v "The type of revenue or cost center providing the product and/or service." ] ;
       fhir:requirements [ fhir:v "Needed in the processing of institutional claims." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "RevenueCenter" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codes for the revenue or cost centers supplying the service and/or products." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrService" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrService" ] ;
       fhir:short [ fhir:v "Billing, service, product, or drug code" ] ;
       fhir:definition [ fhir:v "When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used." ] ;
       fhir:comment [ fhir:v "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'." ] ;
       fhir:requirements [ fhir:v "Necessary to state what was provided or done." ] ;
       fhir:alias ( [ fhir:v "Drug Code" ] [ fhir:v "Bill Code" ] [ fhir:v "Service Code" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Allowable service and product codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrServiceEnd" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.productOrServiceEnd" ] ;
       fhir:short [ fhir:v "End of a range of codes" ] ;
       fhir:definition [ fhir:v "This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims." ] ;
       fhir:alias ( [ fhir:v "End of a range of Drug Code; Bill Code; Service Cod" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "ServiceProduct" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-uscls" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.modifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.modifier" ] ;
       fhir:short [ fhir:v "Service/Product billing modifiers" ] ;
       fhir:definition [ fhir:v "Item typification or modifiers codes to convey additional context for the product or service." ] ;
       fhir:comment [ fhir:v "For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours." ] ;
       fhir:requirements [ fhir:v "To support inclusion of the item for adjudication or to charge an elevated fee." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Modifiers" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/claim-modifiers" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.patientPaid" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.patientPaid" ] ;
       fhir:short [ fhir:v "Paid by the patient" ] ;
       fhir:definition [ fhir:v "The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services." ] ;
       fhir:requirements [ fhir:v "Necessary to demonstrate that copayments, co-insurance and similar patient payments have been made or accounted for." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.quantity" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.quantity" ] ;
       fhir:short [ fhir:v "Count of products or services" ] ;
       fhir:definition [ fhir:v "The number of repetitions of a service or product." ] ;
       fhir:requirements [ fhir:v "Required when the product or service code does not convey the quantity provided." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Quantity" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.unitPrice" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.unitPrice" ] ;
       fhir:short [ fhir:v "Fee, charge or cost per item" ] ;
       fhir:definition [ fhir:v "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group." ] ;
       fhir:requirements [ fhir:v "The amount charged to the patient by the provider for a single unit." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.factor" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.factor" ] ;
       fhir:short [ fhir:v "Price scaling factor" ] ;
       fhir:definition [ fhir:v "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." ] ;
       fhir:comment [ fhir:v "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)." ] ;
       fhir:requirements [ fhir:v "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "decimal" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.tax" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.tax" ] ;
       fhir:short [ fhir:v "Total tax" ] ;
       fhir:definition [ fhir:v "The total of taxes applicable for this product or service." ] ;
       fhir:requirements [ fhir:v "Required when taxes are not embedded in the unit price or provided as a separate service." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.net" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.net" ] ;
       fhir:short [ fhir:v "Total item cost" ] ;
       fhir:definition [ fhir:v "The total amount claimed for the addItem.detail.subDetail. Net = unit price * quantity * factor." ] ;
       fhir:comment [ fhir:v "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied." ] ;
       fhir:requirements [ fhir:v "Provides the total amount claimed  for the group (if a grouper) or the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.noteNumber" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.noteNumber" ] ;
       fhir:short [ fhir:v "Applicable note numbers" ] ;
       fhir:definition [ fhir:v "The numbers associated with notes below which apply to the adjudication of this item." ] ;
       fhir:requirements [ fhir:v "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.reviewOutcome" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.reviewOutcome" ] ;
       fhir:short [ fhir:v "Additem subdetail level adjudication results" ] ;
       fhir:definition [ fhir:v "The high-level results of the adjudication if adjudication has been performed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.reviewOutcome" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.addItem.detail.subDetail.adjudication" ] ;
       fhir:short [ fhir:v "Added items adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.adjudication" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.adjudication" ] ;
       fhir:short [ fhir:v "Header-level adjudication" ] ;
       fhir:definition [ fhir:v "The adjudication results which are presented at the header level rather than at the line-item or add-item levels." ] ;
       fhir:requirements [ fhir:v "Some insurers will receive line-items but provide the adjudication only at a summary or header-level." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:contentReference [ fhir:v "#ExplanationOfBenefit.item.adjudication" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "'360;620" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Total" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total" ] ;
       fhir:short [ fhir:v "Adjudication totals" ] ;
       fhir:definition [ fhir:v "Categorized monetary totals for the adjudication." ] ;
       fhir:comment [ fhir:v "Totals for amounts submitted, co-pays, benefits payable etc." ] ;
       fhir:requirements [ fhir:v "To provide the requestor with financial totals by category for the adjudication." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total.category" ] ;
       fhir:short [ fhir:v "Type of adjudication information" ] ;
       fhir:definition [ fhir:v "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item." ] ;
       fhir:comment [ fhir:v "For example, codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc." ] ;
       fhir:requirements [ fhir:v "Needed to convey the type of total provided." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Adjudication" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The adjudication codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/adjudication" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.total.amount" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.total.amount" ] ;
       fhir:short [ fhir:v "Financial total for the category" ] ;
       fhir:definition [ fhir:v "Monetary total amount associated with the category." ] ;
       fhir:requirements [ fhir:v "Needed to convey the total monetary amount." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ] ;
         fhir:value [ fhir:v "360;650" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Payment" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment" ] ;
       fhir:short [ fhir:v "Payment Details" ] ;
       fhir:definition [ fhir:v "Payment details for the adjudication of the claim." ] ;
       fhir:requirements [ fhir:v "Needed to convey references to the financial instrument that has been used if payment has been made." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.type" ] ;
       fhir:short [ fhir:v "Partial or complete payment" ] ;
       fhir:definition [ fhir:v "Whether this represents partial or complete payment of the benefits payable." ] ;
       fhir:requirements [ fhir:v "To advise the requestor when the insurer believes all payments to have been completed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PaymentType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The type (partial, complete) of the payment." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-paymenttype" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.adjustment" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.adjustment" ] ;
       fhir:short [ fhir:v "Payment adjustment for non-claim issues" ] ;
       fhir:definition [ fhir:v "Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication." ] ;
       fhir:comment [ fhir:v "Insurers will deduct amounts owing from the provider (adjustment), such as a prior overpayment, from the amount owing to the provider (benefits payable) when payment is made to the provider." ] ;
       fhir:requirements [ fhir:v "To advise the requestor of adjustments applied to the payment." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.adjustmentReason" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.adjustmentReason" ] ;
       fhir:short [ fhir:v "Explanation for the variance" ] ;
       fhir:definition [ fhir:v "Reason for the payment adjustment." ] ;
       fhir:requirements [ fhir:v "Needed to clarify the monetary adjustment." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PaymentAdjustmentReason" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Payment Adjustment reason codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/payment-adjustment-reason" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.date" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.date" ] ;
       fhir:short [ fhir:v "Expected date of payment" ] ;
       fhir:definition [ fhir:v "Estimated date the payment will be issued or the actual issue date of payment." ] ;
       fhir:requirements [ fhir:v "To advise the payee when payment can be expected." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.amount" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.amount" ] ;
       fhir:short [ fhir:v "Payable amount after adjustment" ] ;
       fhir:definition [ fhir:v "Benefits payable less any payment adjustment." ] ;
       fhir:requirements [ fhir:v "Needed to provide the actual payment amount." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.payment.identifier" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.payment.identifier" ] ;
       fhir:short [ fhir:v "Business identifier for the payment" ] ;
       fhir:definition [ fhir:v "Issuer's unique identifier for the payment instrument." ] ;
       fhir:comment [ fhir:v "For example: EFT number or check number." ] ;
       fhir:requirements [ fhir:v "Enable the receiver to reconcile when payment received." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.formCode" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.formCode" ] ;
       fhir:short [ fhir:v "Printed form identifier" ] ;
       fhir:definition [ fhir:v "A code for the form to be used for printing the content." ] ;
       fhir:comment [ fhir:v "May be needed to identify specific jurisdictional forms." ] ;
       fhir:requirements [ fhir:v "Needed to specify the specific form used for producing output for this response." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Forms" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "The forms codes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/forms" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.form" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.form" ] ;
       fhir:short [ fhir:v "Printed reference or actual form" ] ;
       fhir:definition [ fhir:v "The actual form, by reference or inclusion, for printing the content or an EOB." ] ;
       fhir:comment [ fhir:v "Needed to permit insurers to include the actual form." ] ;
       fhir:requirements [ fhir:v "Needed to include the specific form used for producing output for this response." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Attachment" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Note" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote" ] ;
       fhir:short [ fhir:v "Note concerning adjudication" ] ;
       fhir:definition [ fhir:v "A note that describes or explains adjudication results in a human readable form." ] ;
       fhir:requirements [ fhir:v "Provides the insurer specific textual explanations associated with the processing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.number" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.number" ] ;
       fhir:short [ fhir:v "Note instance identifier" ] ;
       fhir:definition [ fhir:v "A number to uniquely identify a note entry." ] ;
       fhir:requirements [ fhir:v "Necessary to provide a mechanism to link from adjudications." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "positiveInt" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.type" ] ;
       fhir:short [ fhir:v "Note purpose" ] ;
       fhir:definition [ fhir:v "The business purpose of the note text." ] ;
       fhir:requirements [ fhir:v "To convey the expectation for when the text is used." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "NoteType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The presentation types of notes." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/note-type" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.text" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.text" ] ;
       fhir:short [ fhir:v "Note explanatory text" ] ;
       fhir:definition [ fhir:v "The explanation or description associated with the processing." ] ;
       fhir:requirements [ fhir:v "Required to provide human readable explanation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.processNote.language" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.processNote.language" ] ;
       fhir:short [ fhir:v "Language of the text" ] ;
       fhir:definition [ fhir:v "A code to define the language used in the text of the note." ] ;
       fhir:comment [ fhir:v "Only required if the language is different from the resource language." ] ;
       fhir:requirements [ fhir:v "Note text may vary from the resource defined language." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Language" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "IETF language tag for a human language" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-cibuild" ] ;
         fhir:additional ( [
           fhir:purpose [ fhir:v "starter" ] ;
           fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ]
         ] )
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitPeriod" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitPeriod" ] ;
       fhir:short [ fhir:v "When the benefits are applicable" ] ;
       fhir:definition [ fhir:v "The term of the benefits documented in this response." ] ;
       fhir:comment [ fhir:v "Not applicable when use=claim." ] ;
       fhir:requirements [ fhir:v "Needed as coverages may be multi-year while benefits tend to be annual therefore a separate expression of the benefit period is needed." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "BenefitBalance" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance" ] ;
       fhir:short [ fhir:v "Balance by Benefit Category" ] ;
       fhir:definition [ fhir:v "Balance by Benefit Category." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.category" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.category" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Code to identify the general type of benefits under which products and services are provided." ] ;
       fhir:comment [ fhir:v "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage." ] ;
       fhir:requirements [ fhir:v "Needed to convey the category of service or product for which eligibility is sought." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitCategory" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Benefit categories such as: oral, medical, vision, oral-basic etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/ex-benefitcategory" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.excluded" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.excluded" ] ;
       fhir:short [ fhir:v "Excluded from the plan" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "Needed to identify items that are specifically excluded from the coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.name" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.name" ] ;
       fhir:short [ fhir:v "Short name for the benefit" ] ;
       fhir:definition [ fhir:v "A short name or tag for the benefit." ] ;
       fhir:comment [ fhir:v "For example: MED01, or DENT2." ] ;
       fhir:requirements [ fhir:v "Required to align with other plan names." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.description" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.description" ] ;
       fhir:short [ fhir:v "Description of the benefit or services covered" ] ;
       fhir:definition [ fhir:v "A richer description of the benefit or services covered." ] ;
       fhir:comment [ fhir:v "For example, 'DENT2 covers 100% of basic, 50% of major but excludes Ortho, Implants and Cosmetic services'." ] ;
       fhir:requirements [ fhir:v "Needed for human readable reference." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.network" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.network" ] ;
       fhir:short [ fhir:v "In or out of network" ] ;
       fhir:definition [ fhir:v "Is a flag to indicate whether the benefits refer to in-network providers or out-of-network providers." ] ;
       fhir:requirements [ fhir:v "Needed as in or out of network providers are treated differently under the coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitNetwork" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Code to classify in or out of network services." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-network" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.unit" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.unit" ] ;
       fhir:short [ fhir:v "Individual or family" ] ;
       fhir:definition [ fhir:v "Indicates if the benefits apply to an individual or to the family." ] ;
       fhir:requirements [ fhir:v "Needed for the understanding of the benefits." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitUnit" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Unit covered/serviced - individual or family." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-unit" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.term" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.term" ] ;
       fhir:short [ fhir:v "Annual or lifetime" ] ;
       fhir:definition [ fhir:v "The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual visits'." ] ;
       fhir:requirements [ fhir:v "Needed for the understanding of the benefits." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitTerm" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Coverage unit - annual, lifetime." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-term" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ] ;
         fhir:value [ fhir:v "Benefit" ]
       ] ) ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial" ] ;
       fhir:short [ fhir:v "Benefit Summary" ] ;
       fhir:definition [ fhir:v "Benefits Used to date." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.type" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.type" ] ;
       fhir:short [ fhir:v "Benefit classification" ] ;
       fhir:definition [ fhir:v "Classification of benefit being provided." ] ;
       fhir:comment [ fhir:v "For example: deductible, visits, benefit amount." ] ;
       fhir:requirements [ fhir:v "Needed to convey the nature of the benefit." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BenefitType" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Deductable, visits, co-pay, etc." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/benefit-type" ]
       ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ] ;
       fhir:short [ fhir:v "Benefits allowed" ] ;
       fhir:definition [ fhir:v "The quantity of the benefit which is permitted under the coverage." ] ;
       fhir:requirements [ fhir:v "Needed to convey the benefits offered under the coverage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "unsignedInt" ]
       ] [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] [
       fhir:id [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.used[x]" ] ;
       fhir:path [ fhir:v "ExplanationOfBenefit.benefitBalance.financial.used[x]" ] ;
       fhir:short [ fhir:v "Benefits used" ] ;
       fhir:definition [ fhir:v "The quantity of the benefit which have been consumed to date." ] ;
       fhir:requirements [ fhir:v "Needed to convey the benefits consumed to date." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "unsignedInt" ]
       ] [
         fhir:code [ fhir:v "Money" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ]
     ] )
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.