PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r5.r4.r4b@0.0.1-snapshot-2
    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-r5.r4.r4b
derivation: constraint
name: Ext_R5_DeviceDefinition_chargeItem
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        chargeItemCode:
          match: {url: chargeItemCode}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The code or reference for the charge item
            _required: true
            index: 1
            extensions:
              concept:
                url: concept
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a concept (by class)
                index: 3
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 4
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 6
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 7
                required: [url]
              reference:
                url: reference
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a resource (by instance)
                index: 8
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 9
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 11
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 12
                required: [url]
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                type: Extension
                short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
                index: 13
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 15
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 16
                required: [valueString, value]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 2
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    concept:
                      match: {url: concept}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a concept (by class)
                        index: 3
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 4
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 6
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 7
                        required: [url]
                    reference:
                      match: {url: reference}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a resource (by instance)
                        index: 8
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 9
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 11
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 12
                        required: [url]
                    _datatype:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        index: 13
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 15
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 16
                        required: [valueString, value]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: chargeItemCode}
                index: 17
            required: [url]
        count:
          match: {url: count}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Coefficient applicable to the billing code
            _required: true
            index: 18
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: count}
                index: 19
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Coefficient applicable to the billing code
                choices: [valueQuantity]
                index: 21
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: Coefficient applicable to the billing code
                choiceOf: value
                index: 22
            required: [url]
        effectivePeriod:
          match: {url: effectivePeriod}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: A specific time period in which this charge item applies
            index: 23
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: effectivePeriod}
                index: 24
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A specific time period in which this charge item applies
                choices: [valuePeriod]
                index: 26
              valuePeriod:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Period
                short: A specific time period in which this charge item applies
                choiceOf: value
                index: 27
            required: [url]
        useContext:
          match: {url: useContext}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The context to which this charge item applies
            array: true
            index: 28
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: useContext}
                index: 29
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The context to which this charge item applies
                choices: [valueUsageContext]
                index: 31
              valueUsageContext:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: UsageContext
                short: The context to which this charge item applies
                choiceOf: value
                index: 32
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.chargeItem'}
    index: 33
package_version: 0.0.1-snapshot-2
extensions:
  chargeItemCode:
    url: chargeItemCode
    base: {max: '*', min: 0, path: Extension.extension}
    short: The code or reference for the charge item
    _required: true
    index: 1
    extensions:
      concept:
        url: concept
        base: {max: '*', min: 0, path: Extension.extension}
        short: Reference to a concept (by class)
        index: 3
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: concept}
            index: 4
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a concept (by class)
            choices: [valueCodeableConcept]
            index: 6
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Reference to a concept (by class)
            choiceOf: value
            index: 7
        required: [url]
      reference:
        url: reference
        base: {max: '*', min: 0, path: Extension.extension}
        short: Reference to a resource (by instance)
        index: 8
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: reference}
            index: 9
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a resource (by instance)
            choices: [valueReference]
            index: 11
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: Reference to a resource (by instance)
            choiceOf: value
            index: 12
        required: [url]
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
        type: Extension
        short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
        index: 13
        elements:
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            pattern: {type: String, value: CodeableReference}
            choices: [valueString]
            index: 15
          valueString:
            type: string
            pattern: {type: String, value: CodeableReference}
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 16
        required: [valueString, value]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 2
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            concept:
              match: {url: concept}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a concept (by class)
                index: 3
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 4
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 6
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 7
                required: [url]
            reference:
              match: {url: reference}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a resource (by instance)
                index: 8
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 9
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 11
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 12
                required: [url]
            _datatype:
              match: {url: null}
              schema:
                type: Extension
                short: Data type name for DeviceDefinition.chargeItem.chargeItemCode from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                index: 13
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 15
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 16
                required: [valueString, value]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: chargeItemCode}
        index: 17
    required: [url]
  count:
    url: count
    base: {max: '*', min: 0, path: Extension.extension}
    short: Coefficient applicable to the billing code
    _required: true
    index: 18
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: count}
        index: 19
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Coefficient applicable to the billing code
        choices: [valueQuantity]
        index: 21
      valueQuantity:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Quantity
        short: Coefficient applicable to the billing code
        choiceOf: value
        index: 22
    required: [url]
  effectivePeriod:
    url: effectivePeriod
    base: {max: '*', min: 0, path: Extension.extension}
    short: A specific time period in which this charge item applies
    index: 23
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: effectivePeriod}
        index: 24
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: A specific time period in which this charge item applies
        choices: [valuePeriod]
        index: 26
      valuePeriod:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Period
        short: A specific time period in which this charge item applies
        choiceOf: value
        index: 27
    required: [url]
  useContext:
    url: useContext
    base: {max: '*', min: 0, path: Extension.extension}
    short: The context to which this charge item applies
    array: true
    index: 28
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: useContext}
        index: 29
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The context to which this charge item applies
        choices: [valueUsageContext]
        index: 31
      valueUsageContext:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: UsageContext
        short: The context to which this charge item applies
        choiceOf: value
        index: 32
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.chargeItem
base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
version: 0.0.1-snapshot-2
required: [url]