PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r5.r4b@0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-ChargeItemDefinition.propertyGroup.priceComponent
description: This cross-version extension represents ChargeItemDefinition.propertyGroup.priceComponent from http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition|5.0.0 for use in FHIR R4B.
package_name: hl7.fhir.uv.xver-r5.r4b
derivation: constraint
name: ext_R5_ChargeItemDefinition_pr_priceComponent
type: Extension
elements:
  extension:
    type: Extension
    short: Data type name for ChargeItemDefinition.propertyGroup.priceComponent from FHIR R5
    url: http://hl7.org/fhir/StructureDefinition/_datatype
    index: 0
    slicing:
      slices:
        _datatype:
          match: {}
          schema:
            type: Extension
            short: Data type name for ChargeItemDefinition.propertyGroup.priceComponent from FHIR R5
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            index: 0
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                pattern: {type: string, value: MonetaryComponent}
                choices: [valueString]
                type: string
                index: 2
              valueString:
                type: string
                pattern: {type: string, value: MonetaryComponent}
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 3
            required: [value, valueString]
        type:
          match: {}
          schema:
            short: base | surcharge | deduction | discount | tax | informational
            isModifier: false
            _required: true
            index: 4
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: base | surcharge | deduction | discount | tax | informational
                choices: [valueCode]
                index: 6
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: base | surcharge | deduction | discount | tax | informational
                choiceOf: value
                index: 7
        code:
          match: {}
          schema:
            short: Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.
            isModifier: false
            index: 8
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.
                choices: [valueCodeableConcept]
                index: 10
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.
                choiceOf: value
                index: 11
        factor:
          match: {}
          schema:
            short: Factor used for calculating this component
            isModifier: false
            index: 12
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Factor used for calculating this component
                choices: [valueDecimal]
                index: 14
              valueDecimal:
                base: {path: 'Extension.value[x]'}
                type: decimal
                short: Factor used for calculating this component
                choiceOf: value
                index: 15
        amount:
          match: {}
          schema:
            short: Explicit value amount to be used
            isModifier: false
            index: 16
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Explicit value amount to be used
                choices: [valueMoney]
                index: 18
              valueMoney:
                base: {path: 'Extension.value[x]'}
                type: Money
                short: Explicit value amount to be used
                choiceOf: value
                index: 19
  url:
    pattern: {type: uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-ChargeItemDefinition.propertyGroup.priceComponent'}
    type: uri
    index: 20
package_version: 0.0.1-snapshot-1
extensions:
  _datatype:
    url: http://hl7.org/fhir/StructureDefinition/_datatype
    type: Extension
    short: Data type name for ChargeItemDefinition.propertyGroup.priceComponent from FHIR R5
    index: 0
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        pattern: {type: string, value: MonetaryComponent}
        choices: [valueString]
        type: string
        index: 2
      valueString:
        type: string
        pattern: {type: string, value: MonetaryComponent}
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 3
    required: [value, valueString]
  type:
    url: null
    short: base | surcharge | deduction | discount | tax | informational
    isModifier: false
    _required: true
    index: 4
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: base | surcharge | deduction | discount | tax | informational
        choices: [valueCode]
        index: 6
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: base | surcharge | deduction | discount | tax | informational
        choiceOf: value
        index: 7
  code:
    url: null
    short: Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.
    isModifier: false
    index: 8
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.
        choices: [valueCodeableConcept]
        index: 10
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.
        choiceOf: value
        index: 11
  factor:
    url: null
    short: Factor used for calculating this component
    isModifier: false
    index: 12
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Factor used for calculating this component
        choices: [valueDecimal]
        index: 14
      valueDecimal:
        base: {path: 'Extension.value[x]'}
        type: decimal
        short: Factor used for calculating this component
        choiceOf: value
        index: 15
  amount:
    url: null
    short: Explicit value amount to be used
    isModifier: false
    index: 16
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Explicit value amount to be used
        choices: [valueMoney]
        index: 18
      valueMoney:
        base: {path: 'Extension.value[x]'}
        type: Money
        short: Explicit value amount to be used
        choiceOf: value
        index: 19
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-ChargeItemDefinition.propertyGroup.priceComponent
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]