StructureDefinition-bluebutton-coverage
type: StructureDefinition
node role: treeRoot
resource.id:
  value: bluebutton-coverage
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Name Flags Card. Type Description & Constraints Coverage 0..* Coverage resource id 1.. meta ..0 implicitRules ..0 language ..0 text ..0 contained ..0 identifier ..0 status 1.. type 1.. coding 1..1 system 1.. version ..0 code 1.. display ..0 userSelected ..0 text ..0 policyHolder ..0 subscriber ..0 subscriberId ..0 beneficiary 1.. reference 1.. identifier ..0 display ..0 relationship ..0 period ..0 payor ..0 grouping 1.. id ..0 group ..0 groupDisplay ..0 subGroup 1.. subGroupDisplay ..0 plan ..0 planDisplay ..0 subPlan 1.. subPlanDisplay ..0 class ..0 classDisplay ..0 subClass ..0 subClassDisplay ..0 dependent ..0 sequence ..0 order ..0 network ..0 contract ..0 bluebutton-coverage-a-trm-cd-extension ..1 Coding Optional Extensions Element URL: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-a-trm-cd-extension Binding: Part A Termination Code (required) bluebutton-coverage-b-trm-cd-extension ..1 Coding Optional Extensions Element URL: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-b-trm-cd-extension Binding: Part B Termination Code (required) bluebutton-coverage-crec-extension ..1 Coding Optional Extensions Element URL: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-crec-extension Binding: Current Reason for Entitlement Code (required) bluebutton-coverage-esrd-ind-extension ..1 Coding Optional Extensions Element URL: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-esrd-ind-extension Binding: End-stage Renal Disease (ESRD) Indicator (required) bluebutton-coverage-ms-cd-extension ..1 Coding Optional Extensions Element URL: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-ms-cd-extension Binding: https://bluebutton.cms.gov/assets/ig/ValueSet-ms-cd (required) bluebutton-coverage-orec-extension ..1 Coding Optional Extensions Element URL: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-orec-extension Bi…
structure definition.url:
  value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage
structure definition.version:
  value: 1.1.1
structure definition.name:
  value: BluebuttonCoverage
structure definition.title:
  value: Blue Button Coverage Profile
structure definition.status:
  value: draft
structure definition.date:
  value: 2018-11-20T11:11:24.819-05:00
structure definition.publisher:
  value: CMS Blue Button 2.0 Team
structure definition.description:
  value: Coverage profile for the Blue Button project.
structure definition.fhir version:
  value: 3.0.1
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: Coverage
structure definition.base definition:
  value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Coverage
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Coverage
    element definition.path:
      value: Coverage
    element definition.short:
      value: Insurance or medical plan or a payment agreement
    element definition.definition:
      value: Financial instrument which may be used to reimburse or pay for health care products and services.
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Resource
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: Entity. Role, or Act
    element definition.mapping:
      index: 1
      element definition.mapping.identity:
        value: workflow
      element definition.mapping.map:
        value: Event
    element definition.mapping:
      index: 2
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: Coverage
    element definition.mapping:
      index: 3
      element definition.mapping.identity:
        value: w5
      element definition.mapping.map:
        value: financial.support
  structure definition.snapshot.element:
    index: 1
    element.id:
      value: Coverage.id
    element definition.path:
      value: Coverage.id
    element definition.short:
      value: Logical id of this artifact
    element definition.definition:
      value: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
    element definition.comment:
      value: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
    element definition.min:
      value: 1
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Resource.id
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element definition.type.code:
        value: id
    element definition.is summary:
      value: true
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a
  structure definition.snapshot.element:
    index: 2
    element.id:
      value: Coverage.meta
    element definition.path:
      value: Coverage.meta
    element definition.short:
      value: Metadata about the resource
    element definition.definition:
      value: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
    element definition.min:
      value: 0
    element definition.max:
      value: 0
    element definition.base:
      element definition.base.path:
        value: Resource.meta
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element definition.type.code:
        value: Meta
    element definition.is summary:
      value: true
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a
    element definition.mapping:
      index: 1
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: N/A
  structure definition.snapshot.element:
    index: 3
    element.id:
      value: Coverage.implicitRules
    element definition.path:
      value: Coverage.implicitRules
    element definition.short:
      value: A set of rules under which this content was created
    element definition.definition:
      value: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
    element definition.comment:
      value: 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. This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
    element definition.min:
      value: 0
    element definition.max:
      value: 0
    element definition.base:
      element definition.base.path:
        value: Resource.implicitRules
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element definition.type.code:
        value: uri
    element definition.is modifier:
      value: true
    element definition.is summary:
      value: true
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a
  structure definition.snapshot.element:
    index: 4
    element.id:
      value: Coverage.language
    element definition.path:
      value: Coverage.language
    element definition.short:
      value: Language of the resource content
    element definition.definition:
      value: The base language in which the resource is written.

value: 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).

value: 0

value: 0

element definition.base.path:
  value: Resource.language
element definition.base.min:
  value: 0
element definition.base.max:
  value: 1

index: 0
element definition.type.code:
  value: code

element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-maxValueSet
  extension.value reference:
    link: https://bluebutton.cms.gov/assets/ig/ValueSet-all-languages
    reference.reference:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-all-languages
element.extension:
  index: 1
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-bindingName
  extension.value string:
    value: Language
element.extension:
  index: 2
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-isCommonBinding
  extension.value boolean:
    value: true
element definition.binding.strength:
  value: extensible
element definition.binding.description:
  value: A human language.
element definition.binding.value set reference:
  link: https://bluebutton.cms.gov/assets/ig/ValueSet-languages
  reference.reference:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-languages

index: 0
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: n/a

index: 5
element.id:
  value: Coverage.text
element definition.path:
  value: Coverage.text
element definition.short:
  value: Text summary of the resource, for human interpretation
element definition.definition:
  value: A human-readable narrative that contains a summary of the resource, and may 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.
element definition.comment:
  value: Contained resources do not have 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 in formation is added later.
element definition.alias:
  value: narrative
  index: 0
element definition.alias:
  value: html
  index: 1
element definition.alias:
  value: xhtml
  index: 2
element definition.alias:
  value: display
  index: 3
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Narrative
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: 6
element.id:
  value: Coverage.contained
element definition.path:
  value: Coverage.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
element definition.comment:
  value: 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.
element definition.alias:
  value: inline resources
  index: 0
element definition.alias:
  value: anonymous resources
  index: 1
element definition.alias:
  value: contained resources
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Resource
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Entity. Role, or Act
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 7
element.id:
  value: Coverage.extension
element definition.path:
  value: Coverage.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 8
element.id:
  value: Coverage.extension:bluebutton-coverage-a-trm-cd-extension
element definition.path:
  value: Coverage.extension
element definition.slice name:
  value: bluebutton-coverage-a-trm-cd-extension
element definition.short:
  value: Optional Extensions Element
element definition.definition:
  value: Optional Extension Element - found in all resources.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-a-trm-cd-extension
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Part A Termination Code
  element definition.binding.value set uri:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-a-trm-cd
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 9
element.id:
  value: Coverage.extension:bluebutton-coverage-b-trm-cd-extension
element definition.path:
  value: Coverage.extension
element definition.slice name:
  value: bluebutton-coverage-b-trm-cd-extension
element definition.short:
  value: Optional Extensions Element
element definition.definition:
  value: Optional Extension Element - found in all resources.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-b-trm-cd-extension
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Part B Termination Code
  element definition.binding.value set uri:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-b-trm-cd
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 10
element.id:
  value: Coverage.extension:bluebutton-coverage-crec-extension
element definition.path:
  value: Coverage.extension
element definition.slice name:
  value: bluebutton-coverage-crec-extension
element definition.short:
  value: Optional Extensions Element
element definition.definition:
  value: Optional Extension Element - found in all resources.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-crec-extension
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Current Reason for Entitlement Code
  element definition.binding.value set uri:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-crec
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 11
element.id:
  value: Coverage.extension:bluebutton-coverage-esrd-ind-extension
element definition.path:
  value: Coverage.extension
element definition.slice name:
  value: bluebutton-coverage-esrd-ind-extension
element definition.short:
  value: Optional Extensions Element
element definition.definition:
  value: Optional Extension Element - found in all resources.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-esrd-ind-extension
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: End-stage Renal Disease (ESRD) Indicator
  element definition.binding.value set uri:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-esrd-ind
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 12
element.id:
  value: Coverage.extension:bluebutton-coverage-ms-cd-extension
element definition.path:
  value: Coverage.extension
element definition.slice name:
  value: bluebutton-coverage-ms-cd-extension
element definition.short:
  value: Optional Extensions Element
element definition.definition:
  value: Optional Extension Element - found in all resources.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-ms-cd-extension
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Medicare Status Code
  element definition.binding.value set uri:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-ms-cd
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 13
element.id:
  value: Coverage.extension:bluebutton-coverage-orec-extension
element definition.path:
  value: Coverage.extension
element definition.slice name:
  value: bluebutton-coverage-orec-extension
element definition.short:
  value: Optional Extensions Element
element definition.definition:
  value: Optional Extension Element - found in all resources.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-orec-extension
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Original Reason for Entitlement Code
  element definition.binding.value set uri:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-orec
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 14
element.id:
  value: Coverage.modifierExtension
element definition.path:
  value: Coverage.modifierExtension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: 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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 15
element.id:
  value: Coverage.identifier
element definition.path:
  value: Coverage.identifier
element definition.short:
  value: The primary coverage ID
element definition.definition:
  value: The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Certificate number, Personal Health Number or Case ID. May be constructed as the concatination of the Coverage.SubscriberID and the Coverage.dependent.
element definition.requirements:
  value: This value may uniquely identify the coverage or it may be used in conjunction with the additional identifiers below.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX / EI (occasionally, more often EI maps to a resource id or a URL)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Identifier
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Event.identifier
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C02
element definition.mapping:
  index: 6
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-2
element definition.mapping:
  index: 7
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.32, C.33, C.39
element definition.mapping:
  index: 8
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: id

index: 16
element.id:
  value: Coverage.status
element definition.path:
  value: Coverage.status
element definition.short:
  value: active | cancelled | draft | entered-in-error
element definition.definition:
  value: The status of the resource instance.
element definition.comment:
  value: This element is labeled as a modifier because the status contains the code entered-in-error that marks the coverage as not currently valid.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coverage.status
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-bindingName
    extension.value string:
      value: CoverageStatus
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: A code specifying the state of the resource instance.
  element definition.binding.value set reference:
    link: https://bluebutton.cms.gov/assets/ig/ValueSet-fm-status
    reference.reference:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-fm-status
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Event.status
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: status

index: 17
element.id:
  value: Coverage.type
element definition.path:
  value: Coverage.type
element definition.short:
  value: Type of coverage such as medical or accident
element definition.definition:
  value: The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.
element definition.comment:
  value: Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
element definition.requirements:
  value: The order of application of coverages is dependent on the types of coverage.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coverage.type
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-bindingName
    extension.value string:
      value: CoverageType
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: The type of insurance: public health, worker compensation; private accident, auto, private health, etc.) or a direct payment by an individual or organization.
  element definition.binding.value set reference:
    link: https://bluebutton.cms.gov/assets/ig/ValueSet-coverage-type
    reference.reference:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-coverage-type
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CE/CNE/CWE
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CD
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:CodeableConcept rdfs:subClassOf dt:CD
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-15
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: class

index: 18
element.id:
  value: Coverage.type.id
element definition.path:
  value: Coverage.type.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 19
element.id:
  value: Coverage.type.extension
element definition.path:
  value: Coverage.type.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 20
element.id:
  value: Coverage.type.coding
element definition.path:
  value: Coverage.type.coding
element definition.short:
  value: Code defined by a terminology system
element definition.definition:
  value: A reference to a code defined by a terminology system.
element definition.comment:
  value: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
element definition.requirements:
  value: Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CodeableConcept.coding
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CV
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:Coding rdfs:subClassOf dt:CDCoding
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.1-8, C*E.10-22
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: union(., ./translation)
element definition.mapping:
  index: 6
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

index: 21
element.id:
  value: Coverage.type.coding.id
element definition.path:
  value: Coverage.type.coding.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 22
element.id:
  value: Coverage.type.coding.extension
element definition.path:
  value: Coverage.type.coding.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 23
element.id:
  value: Coverage.type.coding.system
element definition.path:
  value: Coverage.type.coding.system
element definition.short:
  value: Identity of the terminology system
element definition.definition:
  value: The identification of the code system that defines the meaning of the symbol in the code.
element definition.comment:
  value: The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.
element definition.requirements:
  value: Need to be unambiguous about the source of the definition of the symbol.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coding.system
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.3
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: ./codeSystem
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem

index: 24
element.id:
  value: Coverage.type.coding.version
element definition.path:
  value: Coverage.type.coding.version
element definition.short:
  value: Version of the system - if relevant
element definition.definition:
  value: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
element definition.comment:
  value: Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coding.version
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.7
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: ./codeSystemVersion
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion

index: 25
element.id:
  value: Coverage.type.coding.code
element definition.path:
  value: Coverage.type.coding.code
element definition.short:
  value: Symbol in syntax defined by the system
element definition.definition:
  value: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.requirements:
  value: Need to refer to a particular code in the system.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coding.code
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.1
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: ./code
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code

index: 26
element.id:
  value: Coverage.type.coding.display
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-translatable
  extension.value boolean:
    value: true
element definition.path:
  value: Coverage.type.coding.display
element definition.short:
  value: Representation defined by the system
element definition.definition:
  value: A representation of the meaning of the code in the system, following the rules of the system.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.requirements:
  value: Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coding.display
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.2 - but note this is not well followed
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CV.displayName
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName

index: 27
element.id:
  value: Coverage.type.coding.userSelected
element definition.path:
  value: Coverage.type.coding.userSelected
element definition.short:
  value: If this coding was chosen directly by the user
element definition.definition:
  value: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
element definition.comment:
  value: Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
element definition.requirements:
  value: This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coding.userSelected
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Sometimes implied by being first
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CD.codingRationale
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]

index: 28
element.id:
  value: Coverage.type.text
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-translatable
  extension.value boolean:
    value: true
element definition.path:
  value: Coverage.type.text
element definition.short:
  value: Plain text representation of the concept
element definition.definition:
  value: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
element definition.comment:
  value: Very often the text is the same as a displayName of one of the codings.
element definition.requirements:
  value: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: CodeableConcept.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: C*E.9. But note many systems use C*E.2 for this
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: ./originalText[mediaType/code="text/plain"]/data
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

index: 29
element.id:
  value: Coverage.policyHolder
element definition.path:
  value: Coverage.policyHolder
element definition.short:
  value: Owner of the policy
element definition.definition:
  value: The party who 'owns' the insurance policy, may be an individual, corporation or the subscriber's employer.
element definition.comment:
  value: References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.policyHolder
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Patient
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-RelatedPerson
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Organization
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ref-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: SHALL have a contained resource if a local reference is provided
  element definition.constraint.expression:
    value: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
  element definition.constraint.xpath:
    value: not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: D01 through D09
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-16, 18, 19-name of insured, address, date of birth
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.35
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.focus

index: 30
element.id:
  value: Coverage.subscriber
element definition.path:
  value: Coverage.subscriber
element definition.short:
  value: Subscriber to the policy
element definition.definition:
  value: The party who has signed-up for or 'owns' the contractual relationship to the policy or to whom the benefit of the policy for services rendered to them or their family is due.
element definition.comment:
  value: References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.subscriber
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Patient
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-RelatedPerson
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ref-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: SHALL have a contained resource if a local reference is provided
  element definition.constraint.expression:
    value: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
  element definition.constraint.xpath:
    value: not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: D01 through D09
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-16, 18, 19-name of insured, address, date of birth
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.35
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.focus

index: 31
element.id:
  value: Coverage.subscriberId
element definition.path:
  value: Coverage.subscriberId
element definition.short:
  value: ID assigned to the Subscriber
element definition.definition:
  value: The insurer assigned ID for the Subscriber.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.subscriberId
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: D01 through D09
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-16, 18, 19-name of insured, address, date of birth
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.35
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.focus

index: 32
element.id:
  value: Coverage.beneficiary
element definition.path:
  value: Coverage.beneficiary
element definition.short:
  value: Plan Beneficiary
element definition.definition:
  value: The party who benefits from the insurance coverage., the patient when services are provided.
element definition.comment:
  value: References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coverage.beneficiary
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Patient
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ref-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: SHALL have a contained resource if a local reference is provided
  element definition.constraint.expression:
    value: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
  element definition.constraint.xpath:
    value: not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Event.subject
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: D01 through D09
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-16, 18, 19-name of insured, address, date of birth
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.35
element definition.mapping:
  index: 6
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.focus

index: 33
element.id:
  value: Coverage.beneficiary.id
element definition.path:
  value: Coverage.beneficiary.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 34
element.id:
  value: Coverage.beneficiary.extension
element definition.path:
  value: Coverage.beneficiary.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 35
element.id:
  value: Coverage.beneficiary.reference
element definition.path:
  value: Coverage.beneficiary.reference
element definition.short:
  value: Literal reference, Relative, internal or absolute URL
element definition.definition:
  value: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
element definition.comment:
  value: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Reference.reference
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 36
element.id:
  value: Coverage.beneficiary.identifier
element definition.path:
  value: Coverage.beneficiary.identifier
element definition.short:
  value: Logical reference, when literal reference is not known
element definition.definition:
  value: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
element definition.comment:
  value: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Reference.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX / EI (occasionally, more often EI maps to a resource id or a URL)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Identifier
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .identifier

index: 37
element.id:
  value: Coverage.beneficiary.display
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-translatable
  extension.value boolean:
    value: true
element definition.path:
  value: Coverage.beneficiary.display
element definition.short:
  value: Text alternative for the resource
element definition.definition:
  value: Plain text narrative that identifies the resource in addition to the resource reference.
element definition.comment:
  value: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Reference.display
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 38
element.id:
  value: Coverage.relationship
element definition.path:
  value: Coverage.relationship
element definition.short:
  value: Beneficiary relationship to the Subscriber
element definition.definition:
  value: The relationship of beneficiary (patient) to the subscriber.
element definition.comment:
  value: Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
element definition.requirements:
  value: To determine relationship between the patient and the subscriber.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.relationship
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-bindingName
    extension.value string:
      value: Relationship
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: The relationship between the Policyholder and the Beneficiary (insured/covered party/patient).
  element definition.binding.value set reference:
    link: https://bluebutton.cms.gov/assets/ig/ValueSet-policyholder-relationship
    reference.reference:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-policyholder-relationship
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CE/CNE/CWE
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CD
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: orim
  element definition.mapping.map:
    value: fhir:CodeableConcept rdfs:subClassOf dt:CD
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C03

index: 39
element.id:
  value: Coverage.period
element definition.path:
  value: Coverage.period
element definition.short:
  value: Coverage start and end dates
element definition.definition:
  value: Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.
element definition.comment:
  value: This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). If duration is required, specify the type as Interval|Duration.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.period
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: per-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If present, start SHALL have a lower value than end
  element definition.constraint.expression:
    value: start.empty() or end.empty() or (start <= end)
  element definition.constraint.xpath:
    value: not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: DR
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Event.occurrence
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-12 / IN1-13
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: when.done

index: 40
element.id:
  value: Coverage.payor
element definition.path:
  value: Coverage.payor
element definition.short:
  value: Identifier for the plan or agreement issuer
element definition.definition:
  value: The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements. May provide multiple identifiers such as insurance company identifier or business identifier (BIN number).
element definition.comment:
  value: References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
element definition.requirements:
  value: Need to identify the issuer to target for processing and for coordination of benefit processing.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.payor
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Organization
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Patient
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-RelatedPerson
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ref-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: SHALL have a contained resource if a local reference is provided
  element definition.constraint.expression:
    value: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
  element definition.constraint.xpath:
    value: not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: A05
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-3
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.30
element definition.mapping:
  index: 5
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.author

index: 41
element.id:
  value: Coverage.grouping
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-structuredefinition-explicit-type-name
  extension.value string:
    value: Group
element definition.path:
  value: Coverage.grouping
element definition.short:
  value: Additional coverage classifications
element definition.definition:
  value: A suite of underwrite specific classifiers, for example may be used to identify a class of coverage or employer group, Policy, Plan.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coverage.grouping
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 42
element.id:
  value: Coverage.grouping.id
element definition.path:
  value: Coverage.grouping.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 43
element.id:
  value: Coverage.grouping.extension
element definition.path:
  value: Coverage.grouping.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 44
element.id:
  value: Coverage.grouping.modifierExtension
element definition.path:
  value: Coverage.grouping.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: 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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 45
element.id:
  value: Coverage.grouping.group
element definition.path:
  value: Coverage.grouping.group
element definition.short:
  value: An identifier for the group
element definition.definition:
  value: Identifies a style or collective of coverage issued by the underwriter, for example may be used to identify an employer group. May also be referred to as a Policy or Group ID.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.group
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C11 (Division,Section)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-8
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.31

index: 46
element.id:
  value: Coverage.grouping.groupDisplay
element definition.path:
  value: Coverage.grouping.groupDisplay
element definition.short:
  value: Display text for an identifier for the group
element definition.definition:
  value: A short description for the group.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.groupDisplay
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C11 (Division,Section)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-8
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.31

index: 47
element.id:
  value: Coverage.grouping.subGroup
element definition.path:
  value: Coverage.grouping.subGroup
element definition.short:
  value: An identifier for the subsection of the group
element definition.definition:
  value: Identifies a style or collective of coverage issued by the underwriter, for example may be used to identify a subset of an employer group.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.subGroup
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-8

index: 48
element.id:
  value: Coverage.grouping.subGroupDisplay
element definition.path:
  value: Coverage.grouping.subGroupDisplay
element definition.short:
  value: Display text for the subsection of the group
element definition.definition:
  value: A short description for the subgroup.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.subGroupDisplay
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-8

index: 49
element.id:
  value: Coverage.grouping.plan
element definition.path:
  value: Coverage.grouping.plan
element definition.short:
  value: An identifier for the plan
element definition.definition:
  value: Identifies a style or collective of coverage issued by the underwriter, for example may be used to identify a collection of benefits provided to employees. May be referred to as a Section or Division ID.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.plan
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C01
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-35

index: 50
element.id:
  value: Coverage.grouping.planDisplay
element definition.path:
  value: Coverage.grouping.planDisplay
element definition.short:
  value: Display text for the plan
element definition.definition:
  value: A short description for the plan.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.planDisplay
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C01
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-35

index: 51
element.id:
  value: Coverage.grouping.subPlan
element definition.path:
  value: Coverage.grouping.subPlan
element definition.short:
  value: An identifier for the subsection of the plan
element definition.definition:
  value: Identifies a sub-style or sub-collective of coverage issued by the underwriter, for example may be used to identify a subset of a collection of benefits provided to employees.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.subPlan
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-10

index: 52
element.id:
  value: Coverage.grouping.subPlanDisplay
element definition.path:
  value: Coverage.grouping.subPlanDisplay
element definition.short:
  value: Display text for the subsection of the plan
element definition.definition:
  value: A short description for the subplan.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.subPlanDisplay
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-10

index: 53
element.id:
  value: Coverage.grouping.class
element definition.path:
  value: Coverage.grouping.class
element definition.short:
  value: An identifier for the class
element definition.definition:
  value: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage such as a level of deductibles or co-payment.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.class
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C01
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-35

index: 54
element.id:
  value: Coverage.grouping.classDisplay
element definition.path:
  value: Coverage.grouping.classDisplay
element definition.short:
  value: Display text for the class
element definition.definition:
  value: A short description for the class.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.classDisplay
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C01
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-35

index: 55
element.id:
  value: Coverage.grouping.subClass
element definition.path:
  value: Coverage.grouping.subClass
element definition.short:
  value: An identifier for the subsection of the class
element definition.definition:
  value: Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a subclass of coverage such as a sub-level of deductibles or co-payment.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.subClass
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C01
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-35

index: 56
element.id:
  value: Coverage.grouping.subClassDisplay
element definition.path:
  value: Coverage.grouping.subClassDisplay
element definition.short:
  value: Display text for the subsection of the subclass
element definition.definition:
  value: A short description for the subclass.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.grouping.subClassDisplay
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C01
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-35

index: 57
element.id:
  value: Coverage.dependent
element definition.path:
  value: Coverage.dependent
element definition.short:
  value: Dependent number
element definition.definition:
  value: A unique identifier for a dependent under the coverage.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.requirements:
  value: For some coverage a single identifier is issued to the Subscriber and a dependent number issued to each beneficiary.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.dependent
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: C17
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: - No exact HL7 v2 equivalent concept seems to exist;

index: 58
element.id:
  value: Coverage.sequence
element definition.path:
  value: Coverage.sequence
element definition.short:
  value: The plan instance or sequence counter
element definition.definition:
  value: An optional counter for a particular instance of the identified coverage which increments upon each renewal.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.requirements:
  value: Some coverage, for example social plans, may be offered in short time increments, for example for a week or a month at a time, so while the rest of the plan details and identifiers may remain constant over time, the instance is incremented with each renewal and provided to the covered party on their 'card'.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.sequence
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: D11
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: No HL7 v2 equivalent concept seems to exist

index: 59
element.id:
  value: Coverage.order
element definition.path:
  value: Coverage.order
element definition.short:
  value: Relative order of the coverage
element definition.definition:
  value: The order of applicability of this coverage relative to other coverages which are currently inforce. Note, there may be gaps in the numbering and this does not imply primary, secondard etc. as the specific positioning of coverages depends upon the episode of care.
element definition.comment:
  value: 32 bit number; for values larger than this, use decimal
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.order
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: positiveInt
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: - No exact HL7 v2 equivalent concept seems to exist;

index: 60
element.id:
  value: Coverage.network
element definition.path:
  value: Coverage.network
element definition.short:
  value: Insurer network
element definition.definition:
  value: The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' terms and conditions apply.
element definition.comment:
  value: Note that FHIR strings may not exceed 1MB in size
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.network
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: D10

index: 61
element.id:
  value: Coverage.contract
element definition.path:
  value: Coverage.contract
element definition.short:
  value: Contract details
element definition.definition:
  value: The policy(s) which constitute this insurance coverage.
element definition.comment:
  value: References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Coverage.contract
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-Contract
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ref-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: SHALL have a contained resource if a local reference is provided
  element definition.constraint.expression:
    value: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
  element definition.constraint.xpath:
    value: not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cdanetv4
  element definition.mapping.map:
    value: D01 through D09
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: IN1-16, 18, 19
element definition.mapping:
  index: 4
  element definition.mapping.identity:
    value: cpha3pharm
  element definition.mapping.map:
    value: C.35

structure definition.differential.element:
  index: 0
  element.id:
    value: Coverage
  element definition.path:
    value: Coverage
  element definition.short:
    value: Coverage resource
  element definition.definition:
    value: This resource provides the profile for the Coverage information.
  element definition.alias:
    value: COV
    index: 0
  element definition.min:
    value: 0
  element definition.max:
    value: *
  element definition.base:
    element definition.base.path:
      value: Resource
    element definition.base.min:
      value: 0
    element definition.base.max:
      value: *
structure definition.differential.element:
  index: 1
  element.id:
    value: Coverage.id
  element definition.path:
    value: Coverage.id
  element definition.min:
    value: 1
structure definition.differential.element:
  index: 2
  element.id:
    value: Coverage.meta
  element definition.path:
    value: Coverage.meta
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 3
  element.id:
    value: Coverage.implicitRules
  element definition.path:
    value: Coverage.implicitRules
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 4
  element.id:
    value: Coverage.language
  element definition.path:
    value: Coverage.language
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 5
  element.id:
    value: Coverage.text
  element definition.path:
    value: Coverage.text
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 6
  element.id:
    value: Coverage.contained
  element definition.path:
    value: Coverage.contained
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 7
  element.id:
    value: Coverage.extension
  element definition.path:
    value: Coverage.extension
  element definition.slicing:
    element definition.slicing.discriminator:
      index: 0
      element definition.slicing.discriminator.type:
        value: value
      element definition.slicing.discriminator.path:
        value: url
    element definition.slicing.rules:
      value: open
structure definition.differential.element:
  index: 8
  element.id:
    value: Coverage.extension:bluebutton-coverage-a-trm-cd-extension
  element definition.path:
    value: Coverage.extension
  element definition.slice name:
    value: bluebutton-coverage-a-trm-cd-extension
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-a-trm-cd-extension
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.description:
      value: Part A Termination Code
    element definition.binding.value set uri:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-a-trm-cd
structure definition.differential.element:
  index: 9
  element.id:
    value: Coverage.extension:bluebutton-coverage-b-trm-cd-extension
  element definition.path:
    value: Coverage.extension
  element definition.slice name:
    value: bluebutton-coverage-b-trm-cd-extension
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-b-trm-cd-extension
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.description:
      value: Part B Termination Code
    element definition.binding.value set uri:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-b-trm-cd
structure definition.differential.element:
  index: 10
  element.id:
    value: Coverage.extension:bluebutton-coverage-crec-extension
  element definition.path:
    value: Coverage.extension
  element definition.slice name:
    value: bluebutton-coverage-crec-extension
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-crec-extension
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.description:
      value: Current Reason for Entitlement Code
    element definition.binding.value set uri:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-crec
structure definition.differential.element:
  index: 11
  element.id:
    value: Coverage.extension:bluebutton-coverage-esrd-ind-extension
  element definition.path:
    value: Coverage.extension
  element definition.slice name:
    value: bluebutton-coverage-esrd-ind-extension
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-esrd-ind-extension
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.description:
      value: End-stage Renal Disease (ESRD) Indicator
    element definition.binding.value set uri:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-esrd-ind
structure definition.differential.element:
  index: 12
  element.id:
    value: Coverage.extension:bluebutton-coverage-ms-cd-extension
  element definition.path:
    value: Coverage.extension
  element definition.slice name:
    value: bluebutton-coverage-ms-cd-extension
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-ms-cd-extension
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.description:
      value: Medicare Status Code
    element definition.binding.value set uri:
      value: https://bluebutton.cms.gov/assets/ig/ValueSet-ms-cd

index: 13
element.id:
  value: Coverage.extension:bluebutton-coverage-orec-extension
element definition.path:
  value: Coverage.extension
element definition.slice name:
  value: bluebutton-coverage-orec-extension
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-bluebutton-coverage-orec-extension
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Original Reason for Entitlement Code
  element definition.binding.value set uri:
    value: https://bluebutton.cms.gov/assets/ig/ValueSet-orec

index: 14
element.id:
  value: Coverage.identifier
element definition.path:
  value: Coverage.identifier
element definition.max:
  value: 0

index: 15
element.id:
  value: Coverage.status
element definition.path:
  value: Coverage.status
element definition.min:
  value: 1

index: 16
element.id:
  value: Coverage.type
element definition.path:
  value: Coverage.type
element definition.min:
  value: 1

index: 17
element.id:
  value: Coverage.type.coding
element definition.path:
  value: Coverage.type.coding
element definition.min:
  value: 1
element definition.max:
  value: 1

index: 18
element.id:
  value: Coverage.type.coding.system
element definition.path:
  value: Coverage.type.coding.system
element definition.min:
  value: 1

index: 19
element.id:
  value: Coverage.type.coding.version
element definition.path:
  value: Coverage.type.coding.version
element definition.max:
  value: 0

index: 20
element.id:
  value: Coverage.type.coding.code
element definition.path:
  value: Coverage.type.coding.code
element definition.min:
  value: 1

index: 21
element.id:
  value: Coverage.type.coding.display
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-translatable
  extension.value boolean:
    value: true
element definition.path:
  value: Coverage.type.coding.display
element definition.max:
  value: 0

index: 22
element.id:
  value: Coverage.type.coding.userSelected
element definition.path:
  value: Coverage.type.coding.userSelected
element definition.max:
  value: 0

index: 23
element.id:
  value: Coverage.type.text
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-translatable
  extension.value boolean:
    value: true
element definition.path:
  value: Coverage.type.text
element definition.max:
  value: 0

index: 24
element.id:
  value: Coverage.policyHolder
element definition.path:
  value: Coverage.policyHolder
element definition.max:
  value: 0

index: 25
element.id:
  value: Coverage.subscriber
element definition.path:
  value: Coverage.subscriber
element definition.max:
  value: 0

index: 26
element.id:
  value: Coverage.subscriberId
element definition.path:
  value: Coverage.subscriberId
element definition.max:
  value: 0

index: 27
element.id:
  value: Coverage.beneficiary
element definition.path:
  value: Coverage.beneficiary
element definition.min:
  value: 1

index: 28
element.id:
  value: Coverage.beneficiary.reference
element definition.path:
  value: Coverage.beneficiary.reference
element definition.min:
  value: 1

index: 29
element.id:
  value: Coverage.beneficiary.identifier
element definition.path:
  value: Coverage.beneficiary.identifier
element definition.max:
  value: 0

index: 30
element.id:
  value: Coverage.beneficiary.display
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-elementdefinition-translatable
  extension.value boolean:
    value: true
element definition.path:
  value: Coverage.beneficiary.display
element definition.max:
  value: 0

index: 31
element.id:
  value: Coverage.relationship
element definition.path:
  value: Coverage.relationship
element definition.max:
  value: 0

index: 32
element.id:
  value: Coverage.period
element definition.path:
  value: Coverage.period
element definition.max:
  value: 0

index: 33
element.id:
  value: Coverage.payor
element definition.path:
  value: Coverage.payor
element definition.max:
  value: 0

index: 34
element.id:
  value: Coverage.grouping
element.extension:
  index: 0
  extension.url:
    value: https://bluebutton.cms.gov/assets/ig/StructureDefinition-structuredefinition-explicit-type-name
  extension.value string:
    value: Group
element definition.path:
  value: Coverage.grouping
element definition.min:
  value: 1

index: 35
element.id:
  value: Coverage.grouping.id
element definition.path:
  value: Coverage.grouping.id
element definition.max:
  value: 0

index: 36
element.id:
  value: Coverage.grouping.group
element definition.path:
  value: Coverage.grouping.group
element definition.max:
  value: 0

index: 37
element.id:
  value: Coverage.grouping.groupDisplay
element definition.path:
  value: Coverage.grouping.groupDisplay
element definition.max:
  value: 0

index: 38
element.id:
  value: Coverage.grouping.subGroup
element definition.path:
  value: Coverage.grouping.subGroup
element definition.min:
  value: 1

index: 39
element.id:
  value: Coverage.grouping.subGroupDisplay
element definition.path:
  value: Coverage.grouping.subGroupDisplay
element definition.max:
  value: 0

index: 40
element.id:
  value: Coverage.grouping.plan
element definition.path:
  value: Coverage.grouping.plan
element definition.max:
  value: 0

index: 41
element.id:
  value: Coverage.grouping.planDisplay
element definition.path:
  value: Coverage.grouping.planDisplay
element definition.max:
  value: 0

index: 42
element.id:
  value: Coverage.grouping.subPlan
element definition.path:
  value: Coverage.grouping.subPlan
element definition.min:
  value: 1

index: 43
element.id:
  value: Coverage.grouping.subPlanDisplay
element definition.path:
  value: Coverage.grouping.subPlanDisplay
element definition.max:
  value: 0

index: 44
element.id:
  value: Coverage.grouping.class
element definition.path:
  value: Coverage.grouping.class
element definition.max:
  value: 0

index: 45
element.id:
  value: Coverage.grouping.classDisplay
element definition.path:
  value: Coverage.grouping.classDisplay
element definition.max:
  value: 0

index: 46
element.id:
  value: Coverage.grouping.subClass
element definition.path:
  value: Coverage.grouping.subClass
element definition.max:
  value: 0

index: 47
element.id:
  value: Coverage.grouping.subClassDisplay
element definition.path:
  value: Coverage.grouping.subClassDisplay
element definition.max:
  value: 0

index: 48
element.id:
  value: Coverage.dependent
element definition.path:
  value: Coverage.dependent
element definition.max:
  value: 0

index: 49
element.id:
  value: Coverage.sequence
element definition.path:
  value: Coverage.sequence
element definition.max:
  value: 0

index: 50
element.id:
  value: Coverage.order
element definition.path:
  value: Coverage.order
element definition.max:
  value: 0

index: 51
element.id:
  value: Coverage.network
element definition.path:
  value: Coverage.network
element definition.max:
  value: 0

index: 52
element.id:
  value: Coverage.contract
element definition.path:
  value: Coverage.contract
element definition.max:
  value: 0