PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r5.r4-0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.chargeItem
description: This cross-version extension represents DeviceDefinition.chargeItem from http://hl7.org/fhir/StructureDefinition/DeviceDefinition|5.0.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: ext_R5_DeviceDefinition_chargeItem
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        chargeItemCode:
          match: {url: null}
          schema:
            short: The code or reference for the charge item
            isModifier: false
            _required: true
            index: 1
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
                index: 2
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 4
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 5
                required: [valueString, value]
              concept:
                url: null
                short: Reference to a concept (by class)
                isModifier: false
                index: 6
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 8
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 9
              reference:
                url: null
                short: Reference to a resource (by instance)
                isModifier: false
                index: 10
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 12
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 13
            elements:
              extension:
                type: Extension
                short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 2
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 2
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 4
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 5
                        required: [valueString, value]
                    concept:
                      match: {}
                      schema:
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 6
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 8
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 9
                    reference:
                      match: {}
                      schema:
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 10
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 12
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 13
        count:
          match: {url: null}
          schema:
            short: Coefficient applicable to the billing code
            isModifier: false
            _required: true
            index: 14
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Coefficient applicable to the billing code
                choices: [valueQuantity]
                index: 16
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: Coefficient applicable to the billing code
                choiceOf: value
                index: 17
        effectivePeriod:
          match: {url: null}
          schema:
            short: A specific time period in which this charge item applies
            isModifier: false
            index: 18
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A specific time period in which this charge item applies
                choices: [valuePeriod]
                index: 20
              valuePeriod:
                base: {path: 'Extension.value[x]'}
                type: Period
                short: A specific time period in which this charge item applies
                choiceOf: value
                index: 21
        useContext:
          match: {url: null}
          schema:
            short: The context to which this charge item applies
            isModifier: false
            array: true
            index: 22
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The context to which this charge item applies
                choices: [valueUsageContext]
                index: 24
              valueUsageContext:
                base: {path: 'Extension.value[x]'}
                type: UsageContext
                short: The context to which this charge item applies
                choiceOf: value
                index: 25
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.chargeItem'}
    index: 26
package_version: r5.r4-0.0.1-snapshot-1
extensions:
  chargeItemCode:
    url: null
    short: The code or reference for the charge item
    isModifier: false
    _required: true
    index: 1
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
        index: 2
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            pattern: {type: String, value: CodeableReference}
            choices: [valueString]
            index: 4
          valueString:
            type: string
            pattern: {type: String, value: CodeableReference}
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 5
        required: [valueString, value]
      concept:
        url: null
        short: Reference to a concept (by class)
        isModifier: false
        index: 6
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Reference to a concept (by class)
            choices: [valueCodeableConcept]
            index: 8
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Reference to a concept (by class)
            choiceOf: value
            index: 9
      reference:
        url: null
        short: Reference to a resource (by instance)
        isModifier: false
        index: 10
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Reference to a resource (by instance)
            choices: [valueReference]
            index: 12
          valueReference:
            base: {path: 'Extension.value[x]'}
            type: Reference
            short: Reference to a resource (by instance)
            choiceOf: value
            index: 13
    elements:
      extension:
        type: Extension
        short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        index: 2
        slicing:
          slices:
            _datatype:
              match: {}
              schema:
                type: Extension
                short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 2
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 4
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 5
                required: [valueString, value]
            concept:
              match: {}
              schema:
                short: Reference to a concept (by class)
                isModifier: false
                index: 6
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 8
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 9
            reference:
              match: {}
              schema:
                short: Reference to a resource (by instance)
                isModifier: false
                index: 10
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 12
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 13
  count:
    url: null
    short: Coefficient applicable to the billing code
    isModifier: false
    _required: true
    index: 14
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Coefficient applicable to the billing code
        choices: [valueQuantity]
        index: 16
      valueQuantity:
        base: {path: 'Extension.value[x]'}
        type: Quantity
        short: Coefficient applicable to the billing code
        choiceOf: value
        index: 17
  effectivePeriod:
    url: null
    short: A specific time period in which this charge item applies
    isModifier: false
    index: 18
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: A specific time period in which this charge item applies
        choices: [valuePeriod]
        index: 20
      valuePeriod:
        base: {path: 'Extension.value[x]'}
        type: Period
        short: A specific time period in which this charge item applies
        choiceOf: value
        index: 21
  useContext:
    url: null
    short: The context to which this charge item applies
    isModifier: false
    array: true
    index: 22
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The context to which this charge item applies
        choices: [valueUsageContext]
        index: 24
      valueUsageContext:
        base: {path: 'Extension.value[x]'}
        type: UsageContext
        short: The context to which this charge item applies
        choiceOf: value
        index: 25
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.chargeItem
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]