ext-R4-ExplanationOfBenefit.add.det.subDetail
type: StructureDefinition
node role: treeRoot
id:
  v: ext-R4-ExplanationOfBenefit.add.det.subDetail
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ext-R4-ExplanationOfBenefit.add.det.subDetail Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..* Extension R4: Insurer added line items (new) #xD; Slices for extension 1..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:productOrService 1..1 Extension R4: Billing, service, product, or drug code (new) #xD; url 1..1 uri "productOrService" #xD; value[x] 1..1 CodeableConcept Billing, service, product, or drug code Binding: USCLS Codes (example): Allowable service and product codes. #xD; extension:modifier 0..* Extension R4: Service/Product billing modifiers (new) #xD; url 1..1 uri "modifier" #xD; value[x] 0..1 CodeableConcept Service/Product billing modifiers Binding: Modifier type Codes (example): Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. #xD; extension:quantity 0..1 Extension R4: Count of products or services (new) #xD; url 1..1 uri "quantity" #xD; value[x] 0..1 SimpleQuantity Count of products or services #xD; extension:unitPrice 0..1 Extension R4: Fee, charge or cost per item (new) #xD; url 1..1 uri "unitPrice" #xD; value[x] 0..1 Money Fee, charge or cost per item #xD; extension:factor 0..1 Extension R4: Price scaling factor (new) #xD; url 1..1 uri "factor" #xD; value[x] 0..1 decimal Price scaling factor #xD; extension:net 0..1 Extension R4: Total item cost (new) #xD; url 1..1 uri "net" #xD; value[x] 0..1 Money Total item cost #xD; extension:noteNumber 0..* Extension R4: Applicable note numbers (new) #xD; url 1..1 uri "noteNumber" #xD; value[x] 0..1 positiveInt Applicable note numbers #xD; extension:adjudication 0..* Extension R4: Added items adjudication (new) #xD; url 1..1 uri "http://hl7.org/fhir/4.0/StructureDefinition/extension-ExplanationOfBenefit.item.adjudication" #xD; value[x] 0..0 Value of extension #xD; url 1..1 uri "http:…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  extension:
    url:
      v: packageId
      l: packageId
    value: Id
      v: hl7.fhir.uv.xver-r4.r3
  extension:
    url:
      v: version
      l: version
    value: String
      v: 0.1.0
  extension:
    url:
      v: uri
      l: uri
    value: Uri
      v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3
      l: hl7.fhir.uv.xver-r4.r3
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
    l: package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3
        l: hl7.fhir.uv.xver-r4.r3
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3
        l: hl7.fhir.uv.xver-r4.r3
url:
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-ExplanationOfBenefit.addItem.detail.subDetail
  l: extension-ExplanationOfBenefit.addItem.detail.subDetail
version:
  v: 0.1.0
name:
  v: ExtensionExplanationOfBenefit_AddItem_Detail_SubDetail
title:
  v: R4: Insurer added line items (new)
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T21:02:03.8104715+00:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail` (new:BackboneElement)
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
purpose:
  v: This extension is part of the cross-version definitions generated to enable use of the element `ExplanationOfBenefit.addItem.detail.subDetail` as defined in FHIR R4 in FHIR STU3. The source element is defined as: `ExplanationOfBenefit.addItem.detail.subDetail` 0..* `BackboneElement` Following are the generation technical comments: Element `ExplanationOfBenefit.addItem.detail.subDetail` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: complex-type
abstract:
  v: false
context type:
  v: resource
context:
  v: ExplanationOfBenefit.addItem.detail
type:
  v: Extension
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Extension
    path:
      v: Extension
    short:
      v: R4: Insurer added line items (new)
    definition:
      v: R4: `ExplanationOfBenefit.addItem.detail.subDetail` (new:BackboneElement)
    comment:
      v: Element `ExplanationOfBenefit.addItem.detail.subDetail` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Extension
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() | (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    constraint:
      key:
        v: ext-1
      severity:
        v: error
      human:
        v: Must have either extensions or value[x], not both
      expression:
        v: extension.exists() != value.exists()
      xpath:
        v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      source:
        v: http://hl7.org/fhir/StructureDefinition/Extension
        l: Extension
    is modifier:
      v: false
  element:
    id:
      v: Extension.id
    path:
      v: Extension.id
    representation:
      v: xmlAttr
    short:
      v: xml:id (or equivalent in JSON)
    definition:
      v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1

code:
  v: string
  l: string

identity:
  v: rim
map:
  v: n/a

id:
  v: Extension.extension
path:
  v: Extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 1
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:productOrService
path:
  v: Extension.extension
slice name:
  v: productOrService
short:
  v: R4: Billing, service, product, or drug code (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` (new:CodeableConcept)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.
requirements:
  v: Necessary to state what was provided or done. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:productOrService.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:productOrService.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:productOrService.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: productOrService
  l: productOrService
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:productOrService.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Billing, service, product, or drug code
definition:
  v: When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.
comment:
  v: If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: example
  description:
    v: Allowable service and product codes.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/service-uscls|3.0.2
    l: http://hl7.org/fhir/ValueSet/service-uscls
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:modifier
path:
  v: Extension.extension
slice name:
  v: modifier
short:
  v: R4: Service/Product billing modifiers (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.modifier` (new:CodeableConcept)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.
requirements:
  v: To support inclusion of the item for adjudication or to charge an elevated fee. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:modifier.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:modifier.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:modifier.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: modifier
  l: modifier
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:modifier.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Service/Product billing modifiers
definition:
  v: Item typification or modifiers codes to convey additional context for the product or service.
comment:
  v: For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: example
  description:
    v: Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/claim-modifiers|3.0.2
    l: http://hl7.org/fhir/ValueSet/claim-modifiers
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:quantity
path:
  v: Extension.extension
slice name:
  v: quantity
short:
  v: R4: Count of products or services (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.quantity` (new:Quantity[SimpleQuantity])
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Required when the product or service code does not convey the quantity provided. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:quantity.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:quantity.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:quantity.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: quantity
  l: quantity
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:quantity.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Count of products or services
definition:
  v: The number of repetitions of a service or product.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    l: SimpleQuantity
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:unitPrice
path:
  v: Extension.extension
slice name:
  v: unitPrice
short:
  v: R4: Fee, charge or cost per item (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` (new:Money)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: The amount charged to the patient by the provider for a single unit. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:unitPrice.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:unitPrice.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:unitPrice.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: unitPrice
  l: unitPrice
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:unitPrice.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Fee, charge or cost per item
definition:
  v: If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Money
    l: Money
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:factor
path:
  v: Extension.extension
slice name:
  v: factor
short:
  v: R4: Price scaling factor (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.factor` (new:decimal)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).
requirements:
  v: When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:factor.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:factor.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:factor.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: factor
  l: factor
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:factor.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Price scaling factor
definition:
  v: A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
comment:
  v: To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:net
path:
  v: Extension.extension
slice name:
  v: net
short:
  v: R4: Total item cost (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.net` (new:Money)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.net` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). For example, the formula: quantity * unitPrice * factor = net. Quantity and factor are assumed to be 1 if not supplied.
requirements:
  v: Provides the total amount claimed for the group (if a grouper) or the line item. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:net.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:net.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:net.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: net
  l: net
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:net.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Total item cost
definition:
  v: The quantity times the unit price for an additional service or product or charge.
comment:
  v: For example, the formula: quantity * unitPrice * factor = net. Quantity and factor are assumed to be 1 if not supplied.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Money
    l: Money
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:noteNumber
path:
  v: Extension.extension
slice name:
  v: noteNumber
short:
  v: R4: Applicable note numbers (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` (new:positiveInt)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:noteNumber.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:noteNumber.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:noteNumber.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: noteNumber
  l: noteNumber
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:noteNumber.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Applicable note numbers
definition:
  v: The numbers associated with notes below which apply to the adjudication of this item.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
    l: positiveInt
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:adjudication
path:
  v: Extension.extension
slice name:
  v: adjudication
short:
  v: R4: Added items adjudication (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` (new:ExplanationOfBenefit.item.adjudication)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:adjudication.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:adjudication.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:adjudication.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-ExplanationOfBenefit.item.adjudication
  l: extension-ExplanationOfBenefit.item.adjudication
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:adjudication.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.url
path:
  v: Extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-ExplanationOfBenefit.addItem.detail.subDetail
  l: extension-ExplanationOfBenefit.addItem.detail.subDetail
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

element:
  id:
    v: Extension
  path:
    v: Extension
  short:
    v: R4: Insurer added line items (new)
  definition:
    v: R4: `ExplanationOfBenefit.addItem.detail.subDetail` (new:BackboneElement)
  comment:
    v: Element `ExplanationOfBenefit.addItem.detail.subDetail` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: Extension
    min:
      v: 0
    max:
      v: *
  is modifier:
    v: false
element:
  id:
    v: Extension.extension
  path:
    v: Extension.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 1
  max:
    v: *
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:productOrService
  path:
    v: Extension.extension
  slice name:
    v: productOrService
  short:
    v: R4: Billing, service, product, or drug code (new)
  definition:
    v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` (new:CodeableConcept)
  comment:
    v: Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.
  requirements:
    v: Necessary to state what was provided or done. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.productOrService` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:productOrService.url
  path:
    v: Extension.extension.url
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.url
    min:
      v: 1
    max:
      v: 1
  fixed: Uri
    v: productOrService
    l: productOrService
element:
  id:
    v: Extension.extension:productOrService.value[x]
  path:
    v: Extension.extension.value[x]
  short:
    v: Billing, service, product, or drug code
  definition:
    v: When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.
  comment:
    v: If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.value[x]
    min:
      v: 0
    max:
      v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  binding:
    strength:
      v: example
    description:
      v: Allowable service and product codes.
    value set: Uri
      v: http://hl7.org/fhir/ValueSet/service-uscls|3.0.2
      l: http://hl7.org/fhir/ValueSet/service-uscls
element:
  id:
    v: Extension.extension:modifier
  path:
    v: Extension.extension
  slice name:
    v: modifier
  short:
    v: R4: Service/Product billing modifiers (new)
  definition:
    v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.modifier` (new:CodeableConcept)
  comment:
    v: Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.
  requirements:
    v: To support inclusion of the item for adjudication or to charge an elevated fee. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:modifier.url
  path:
    v: Extension.extension.url
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.url
    min:
      v: 1
    max:
      v: 1
  fixed: Uri
    v: modifier
    l: modifier
element:
  id:
    v: Extension.extension:modifier.value[x]
  path:
    v: Extension.extension.value[x]
  short:
    v: Service/Product billing modifiers
  definition:
    v: Item typification or modifiers codes to convey additional context for the product or service.
  comment:
    v: For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension.value[x]
    min:
      v: 0
    max:
      v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  binding:
    strength:
      v: example
    value set: Uri

v: Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.

id:
  v: Extension.extension:quantity
path:
  v: Extension.extension
slice name:
  v: quantity
short:
  v: R4: Count of products or services (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.quantity` (new:Quantity[SimpleQuantity])
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Required when the product or service code does not convey the quantity provided. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.quantity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:quantity.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: quantity
  l: quantity

id:
  v: Extension.extension:quantity.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Count of products or services
definition:
  v: The number of repetitions of a service or product.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    l: SimpleQuantity

id:
  v: Extension.extension:unitPrice
path:
  v: Extension.extension
slice name:
  v: unitPrice
short:
  v: R4: Fee, charge or cost per item (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` (new:Money)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: The amount charged to the patient by the provider for a single unit. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.unitPrice` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:unitPrice.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: unitPrice
  l: unitPrice

id:
  v: Extension.extension:unitPrice.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Fee, charge or cost per item
definition:
  v: If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Money
    l: Money

id:
  v: Extension.extension:factor
path:
  v: Extension.extension
slice name:
  v: factor
short:
  v: R4: Price scaling factor (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.factor` (new:decimal)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).
requirements:
  v: When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.factor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:factor.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: factor
  l: factor

id:
  v: Extension.extension:factor.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Price scaling factor
definition:
  v: A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
comment:
  v: To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: Extension.extension:net
path:
  v: Extension.extension
slice name:
  v: net
short:
  v: R4: Total item cost (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.net` (new:Money)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.net` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). For example, the formula: quantity * unitPrice * factor = net. Quantity and factor are assumed to be 1 if not supplied.
requirements:
  v: Provides the total amount claimed for the group (if a grouper) or the line item. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.net` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:net.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: net
  l: net

id:
  v: Extension.extension:net.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Total item cost
definition:
  v: The quantity times the unit price for an additional service or product or charge.
comment:
  v: For example, the formula: quantity * unitPrice * factor = net. Quantity and factor are assumed to be 1 if not supplied.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Money
    l: Money

id:
  v: Extension.extension:noteNumber
path:
  v: Extension.extension
slice name:
  v: noteNumber
short:
  v: R4: Applicable note numbers (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` (new:positiveInt)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.noteNumber` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:noteNumber.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: noteNumber
  l: noteNumber

id:
  v: Extension.extension:noteNumber.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Applicable note numbers
definition:
  v: The numbers associated with notes below which apply to the adjudication of this item.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
    l: positiveInt

id:
  v: Extension.extension:adjudication
path:
  v: Extension.extension
slice name:
  v: adjudication
short:
  v: R4: Added items adjudication (new)
definition:
  v: R4: `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` (new:ExplanationOfBenefit.item.adjudication)
comment:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` is part of an existing definition because parent element `ExplanationOfBenefit.addItem.detail.subDetail` requires a cross-version extension. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has a context of ExplanationOfBenefit.addItem.detail based on following the parent source element upwards and mapping to `ExplanationOfBenefit`. Element `ExplanationOfBenefit.addItem.detail.subDetail.adjudication` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:adjudication.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-ExplanationOfBenefit.item.adjudication
  l: extension-ExplanationOfBenefit.item.adjudication

id:
  v: Extension.extension:adjudication.value[x]
path:
  v: Extension.extension.value[x]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1

id:
  v: Extension.url
path:
  v: Extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-ExplanationOfBenefit.addItem.detail.subDetail
  l: extension-ExplanationOfBenefit.addItem.detail.subDetail

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1