PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r2.r4@0.0.1-snapshot-1
    http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product
description: This cross-version extension represents Medication.product from http://hl7.org/fhir/StructureDefinition/Medication|1.0.2 for use in FHIR R4.
package_name: hl7.fhir.uv.xver-r2.r4
derivation: constraint
name: ext_R2_Medication_product
type: Extension
elements:
  extension:
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        form:
          match: {url: null}
          schema:
            isModifier: false
            short: powder | tablets | carton +
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: powder | tablets | carton +
                choices: [valueCodeableConcept]
                index: 3
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: powder | tablets | carton +
                choiceOf: value
                index: 4
        ingredient:
          match: {url: null}
          schema:
            isModifier: false
            short: Active or inactive ingredient
            array: true
            index: 5
            extensions:
              item:
                url: null
                isModifier: false
                short: The product contained
                _required: true
                index: 7
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The product contained
                    choices: [valueReference]
                    index: 9
                  valueReference:
                    short: The product contained
                    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
                    type: Reference
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 10
              amount:
                url: null
                isModifier: false
                short: Quantity of ingredient present
                index: 11
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Quantity of ingredient present
                    choices: [valueRatio]
                    index: 13
                  valueRatio:
                    base: {path: 'Extension.value[x]'}
                    type: Ratio
                    short: Quantity of ingredient present
                    choiceOf: value
                    index: 14
            elements:
              extension:
                array: true
                min: 1
                index: 6
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    item:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: The product contained
                        _required: true
                        index: 7
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The product contained
                            choices: [valueReference]
                            index: 9
                          valueReference:
                            short: The product contained
                            refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
                            type: Reference
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 10
                    amount:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Quantity of ingredient present
                        index: 11
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Quantity of ingredient present
                            choices: [valueRatio]
                            index: 13
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Quantity of ingredient present
                            choiceOf: value
                            index: 14
            required: [extension]
        batch:
          match: {url: null}
          schema:
            short: Information about a group of medication produced or packaged from one production run.
            isModifier: false
            array: true
            index: 15
            extensions:
              lotNumber:
                url: null
                short: The assigned lot number of a batch of the specified product.
                isModifier: false
                index: 17
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The assigned lot number of a batch of the specified product.
                    choices: [valueString]
                    index: 19
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: The assigned lot number of a batch of the specified product.
                    choiceOf: value
                    index: 20
              expirationDate:
                url: null
                short: When this specific batch of product will expire.
                isModifier: false
                index: 21
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: When this specific batch of product will expire.
                    choices: [valueDateTime]
                    index: 23
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: When this specific batch of product will expire.
                    choiceOf: value
                    index: 24
            elements:
              extension:
                array: true
                index: 16
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    lotNumber:
                      match: {url: null}
                      schema:
                        short: The assigned lot number of a batch of the specified product.
                        isModifier: false
                        index: 17
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The assigned lot number of a batch of the specified product.
                            choices: [valueString]
                            index: 19
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: The assigned lot number of a batch of the specified product.
                            choiceOf: value
                            index: 20
                    expirationDate:
                      match: {url: null}
                      schema:
                        short: When this specific batch of product will expire.
                        isModifier: false
                        index: 21
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: When this specific batch of product will expire.
                            choices: [valueDateTime]
                            index: 23
                          valueDateTime:
                            base: {path: 'Extension.value[x]'}
                            type: dateTime
                            short: When this specific batch of product will expire.
                            choiceOf: value
                            index: 24
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product'}
    index: 25
package_version: 0.0.1-snapshot-1
extensions:
  form:
    url: null
    isModifier: false
    short: powder | tablets | carton +
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: powder | tablets | carton +
        choices: [valueCodeableConcept]
        index: 3
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: powder | tablets | carton +
        choiceOf: value
        index: 4
  ingredient:
    url: null
    isModifier: false
    short: Active or inactive ingredient
    array: true
    index: 5
    extensions:
      item:
        url: null
        isModifier: false
        short: The product contained
        _required: true
        index: 7
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The product contained
            choices: [valueReference]
            index: 9
          valueReference:
            short: The product contained
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
            type: Reference
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 10
      amount:
        url: null
        isModifier: false
        short: Quantity of ingredient present
        index: 11
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Quantity of ingredient present
            choices: [valueRatio]
            index: 13
          valueRatio:
            base: {path: 'Extension.value[x]'}
            type: Ratio
            short: Quantity of ingredient present
            choiceOf: value
            index: 14
    elements:
      extension:
        array: true
        min: 1
        index: 6
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            item:
              match: {url: null}
              schema:
                isModifier: false
                short: The product contained
                _required: true
                index: 7
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The product contained
                    choices: [valueReference]
                    index: 9
                  valueReference:
                    short: The product contained
                    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
                    type: Reference
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 10
            amount:
              match: {url: null}
              schema:
                isModifier: false
                short: Quantity of ingredient present
                index: 11
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Quantity of ingredient present
                    choices: [valueRatio]
                    index: 13
                  valueRatio:
                    base: {path: 'Extension.value[x]'}
                    type: Ratio
                    short: Quantity of ingredient present
                    choiceOf: value
                    index: 14
    required: [extension]
  batch:
    url: null
    short: Information about a group of medication produced or packaged from one production run.
    isModifier: false
    array: true
    index: 15
    extensions:
      lotNumber:
        url: null
        short: The assigned lot number of a batch of the specified product.
        isModifier: false
        index: 17
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The assigned lot number of a batch of the specified product.
            choices: [valueString]
            index: 19
          valueString:
            base: {path: 'Extension.value[x]'}
            type: string
            short: The assigned lot number of a batch of the specified product.
            choiceOf: value
            index: 20
      expirationDate:
        url: null
        short: When this specific batch of product will expire.
        isModifier: false
        index: 21
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: When this specific batch of product will expire.
            choices: [valueDateTime]
            index: 23
          valueDateTime:
            base: {path: 'Extension.value[x]'}
            type: dateTime
            short: When this specific batch of product will expire.
            choiceOf: value
            index: 24
    elements:
      extension:
        array: true
        index: 16
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            lotNumber:
              match: {url: null}
              schema:
                short: The assigned lot number of a batch of the specified product.
                isModifier: false
                index: 17
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The assigned lot number of a batch of the specified product.
                    choices: [valueString]
                    index: 19
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: The assigned lot number of a batch of the specified product.
                    choiceOf: value
                    index: 20
            expirationDate:
              match: {url: null}
              schema:
                short: When this specific batch of product will expire.
                isModifier: false
                index: 21
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: When this specific batch of product will expire.
                    choices: [valueDateTime]
                    index: 23
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: When this specific batch of product will expire.
                    choiceOf: value
                    index: 24
class: extension
kind: complex-type
url: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]