PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4b.r4@0.0.1-snapshot-1
    http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition
description: This cross-version extension represents PackagedProductDefinition from http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition|4.3.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver-r4b.r4
derivation: constraint
name: ext_R4B_PackagedProductDefinition
type: Extension
elements:
  extension:
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        description:
          match: {url: null}
          schema:
            short: Textual description. Note that this is not the name of the package or product
            isModifier: false
            index: 25
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Textual description. Note that this is not the name of the package or product
                choices: [valueMarkdown]
                index: 27
              valueMarkdown:
                base: {path: 'Extension.value[x]'}
                type: markdown
                short: Textual description. Note that this is not the name of the package or product
                choiceOf: value
                index: 28
        package:
          match: {url: null}
          schema:
            short: A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap
            isModifier: false
            index: 76
            extensions:
              package:
                url: null
                short: Allows containers (and parts of containers) within containers, still a single packaged product
                isModifier: false
                array: true
                index: 150
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    index: 151
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: PackagedProductDefinition.package}
                        choices: [valueString]
                        type: string
                        index: 153
                      valueString:
                        type: string
                        pattern: {type: string, value: PackagedProductDefinition.package}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 154
                    required: [value, valueString]
                elements:
                  extension:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 151
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 151
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: PackagedProductDefinition.package}
                                choices: [valueString]
                                type: string
                                index: 153
                              valueString:
                                type: string
                                pattern: {type: string, value: PackagedProductDefinition.package}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 154
                            required: [value, valueString]
              shelfLifeStorage:
                url: null
                short: Shelf Life and storage information
                isModifier: false
                array: true
                index: 98
                extensions:
                  type:
                    url: null
                    short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                    isModifier: false
                    index: 100
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                        choices: [valueCodeableConcept]
                        index: 102
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                        choiceOf: value
                        index: 103
                  period[x]:
                    url: null
                    short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                    isModifier: false
                    index: 104
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choices: [valueDuration, valueString]
                        index: 106
                      valueDuration:
                        base: {path: 'Extension.value[x]'}
                        type: Duration
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choiceOf: value
                        index: 107
                      valueString:
                        base: {path: 'Extension.value[x]'}
                        type: string
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choiceOf: value
                        index: 108
                  specialPrecautionsForStorage:
                    url: null
                    short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                    isModifier: false
                    array: true
                    index: 109
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                        choices: [valueCodeableConcept]
                        index: 111
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                        choiceOf: value
                        index: 112
                elements:
                  extension:
                    array: true
                    index: 99
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        type:
                          match: {url: null}
                          schema:
                            short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                            isModifier: false
                            index: 100
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                choices: [valueCodeableConcept]
                                index: 102
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                choiceOf: value
                                index: 103
                        period[x]:
                          match: {url: null}
                          schema:
                            short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                            isModifier: false
                            index: 104
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choices: [valueDuration, valueString]
                                index: 106
                              valueDuration:
                                base: {path: 'Extension.value[x]'}
                                type: Duration
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choiceOf: value
                                index: 107
                              valueString:
                                base: {path: 'Extension.value[x]'}
                                type: string
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choiceOf: value
                                index: 108
                        specialPrecautionsForStorage:
                          match: {url: null}
                          schema:
                            short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                            isModifier: false
                            array: true
                            index: 109
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                choices: [valueCodeableConcept]
                                index: 111
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                choiceOf: value
                                index: 112
              property:
                url: null
                short: General characteristics of this item
                isModifier: false
                array: true
                index: 117
                extensions:
                  type:
                    url: null
                    short: A code expressing the type of characteristic
                    isModifier: false
                    _required: true
                    index: 119
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 121
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 122
                  value[x]:
                    url: null
                    short: A value for the characteristic
                    isModifier: false
                    index: 123
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 125
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 126
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 127
                      valueDate:
                        base: {path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 128
                      valueBoolean:
                        base: {path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 129
                      valueAttachment:
                        base: {path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 130
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 118
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        type:
                          match: {url: null}
                          schema:
                            short: A code expressing the type of characteristic
                            isModifier: false
                            _required: true
                            index: 119
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 121
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 122
                        value[x]:
                          match: {url: null}
                          schema:
                            short: A value for the characteristic
                            isModifier: false
                            index: 123
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 125
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 126
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 127
                              valueDate:
                                base: {path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 128
                              valueBoolean:
                                base: {path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 129
                              valueAttachment:
                                base: {path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 130
                required: [extension]
              alternateMaterial:
                url: null
                short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                isModifier: false
                array: true
                index: 94
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                    choices: [valueCodeableConcept]
                    index: 96
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                    choiceOf: value
                    index: 97
              type:
                url: null
                short: The physical type of the container of the items
                isModifier: false
                index: 82
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The physical type of the container of the items
                    choices: [valueCodeableConcept]
                    index: 84
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The physical type of the container of the items
                    choiceOf: value
                    index: 85
              material:
                url: null
                short: Material type of the package item
                isModifier: false
                array: true
                index: 90
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 92
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 93
              identifier:
                url: null
                short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                isModifier: false
                array: true
                index: 78
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                    choices: [valueIdentifier]
                    index: 80
                  valueIdentifier:
                    base: {path: 'Extension.value[x]'}
                    type: Identifier
                    short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                    choiceOf: value
                    index: 81
              manufacturer:
                url: null
                short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                isModifier: false
                array: true
                index: 113
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choices: [valueReference]
                    index: 115
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                    index: 116
              containedItem:
                url: null
                short: The item(s) within the packaging
                isModifier: false
                array: true
                index: 131
                extensions:
                  item:
                    url: null
                    short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
                    isModifier: false
                    _required: true
                    index: 133
                    extensions:
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        index: 134
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 136
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 137
                        required: [value, valueString]
                      concept:
                        url: null
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 138
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 140
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 141
                      reference:
                        url: null
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 142
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 144
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 145
                    elements:
                      extension:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 134
                        slicing:
                          slices:
                            _datatype:
                              match: {}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 134
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 136
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 137
                                required: [value, valueString]
                            concept:
                              match: {}
                              schema:
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 138
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 140
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 141
                            reference:
                              match: {}
                              schema:
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 142
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 144
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 145
                  amount:
                    url: null
                    short: The number of this type of item within this packaging
                    isModifier: false
                    index: 146
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging
                        choices: [valueQuantity]
                        index: 148
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging
                        choiceOf: value
                        index: 149
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 132
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        item:
                          match: {url: null}
                          schema:
                            short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
                            isModifier: false
                            _required: true
                            index: 133
                            extensions:
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                index: 134
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 136
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 137
                                required: [value, valueString]
                              concept:
                                url: null
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 138
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 140
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 141
                              reference:
                                url: null
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 142
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 144
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 145
                            elements:
                              extension:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 134
                                slicing:
                                  slices:
                                    _datatype:
                                      match: {}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 134
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 136
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 137
                                        required: [value, valueString]
                                    concept:
                                      match: {}
                                      schema:
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 138
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 140
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 141
                                    reference:
                                      match: {}
                                      schema:
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 142
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 144
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 145
                        amount:
                          match: {url: null}
                          schema:
                            short: The number of this type of item within this packaging
                            isModifier: false
                            index: 146
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging
                                choices: [valueQuantity]
                                index: 148
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging
                                choiceOf: value
                                index: 149
                required: [extension]
              quantity:
                url: null
                short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                isModifier: false
                index: 86
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                    choices: [valueInteger]
                    index: 88
                  valueInteger:
                    base: {path: 'Extension.value[x]'}
                    type: integer
                    short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                    choiceOf: value
                    index: 89
            elements:
              extension:
                array: true
                index: 77
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    package:
                      match: {url: null}
                      schema:
                        short: Allows containers (and parts of containers) within containers, still a single packaged product
                        isModifier: false
                        array: true
                        index: 150
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            type: Extension
                            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                            index: 151
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: PackagedProductDefinition.package}
                                choices: [valueString]
                                type: string
                                index: 153
                              valueString:
                                type: string
                                pattern: {type: string, value: PackagedProductDefinition.package}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 154
                            required: [value, valueString]
                        elements:
                          extension:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 151
                            slicing:
                              slices:
                                _datatype:
                                  match: {}
                                  schema:
                                    type: Extension
                                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                                    index: 151
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        pattern: {type: string, value: PackagedProductDefinition.package}
                                        choices: [valueString]
                                        type: string
                                        index: 153
                                      valueString:
                                        type: string
                                        pattern: {type: string, value: PackagedProductDefinition.package}
                                        base: {path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 154
                                    required: [value, valueString]
                    shelfLifeStorage:
                      match: {url: null}
                      schema:
                        short: Shelf Life and storage information
                        isModifier: false
                        array: true
                        index: 98
                        extensions:
                          type:
                            url: null
                            short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                            isModifier: false
                            index: 100
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                choices: [valueCodeableConcept]
                                index: 102
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                choiceOf: value
                                index: 103
                          period[x]:
                            url: null
                            short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                            isModifier: false
                            index: 104
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choices: [valueDuration, valueString]
                                index: 106
                              valueDuration:
                                base: {path: 'Extension.value[x]'}
                                type: Duration
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choiceOf: value
                                index: 107
                              valueString:
                                base: {path: 'Extension.value[x]'}
                                type: string
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choiceOf: value
                                index: 108
                          specialPrecautionsForStorage:
                            url: null
                            short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                            isModifier: false
                            array: true
                            index: 109
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                choices: [valueCodeableConcept]
                                index: 111
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                choiceOf: value
                                index: 112
                        elements:
                          extension:
                            array: true
                            index: 99
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                type:
                                  match: {url: null}
                                  schema:
                                    short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                    isModifier: false
                                    index: 100
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                        choices: [valueCodeableConcept]
                                        index: 102
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                        choiceOf: value
                                        index: 103
                                period[x]:
                                  match: {url: null}
                                  schema:
                                    short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                    isModifier: false
                                    index: 104
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                        choices: [valueDuration, valueString]
                                        index: 106
                                      valueDuration:
                                        base: {path: 'Extension.value[x]'}
                                        type: Duration
                                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                        choiceOf: value
                                        index: 107
                                      valueString:
                                        base: {path: 'Extension.value[x]'}
                                        type: string
                                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                        choiceOf: value
                                        index: 108
                                specialPrecautionsForStorage:
                                  match: {url: null}
                                  schema:
                                    short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                    isModifier: false
                                    array: true
                                    index: 109
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                        choices: [valueCodeableConcept]
                                        index: 111
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                        choiceOf: value
                                        index: 112
                    property:
                      match: {url: null}
                      schema:
                        short: General characteristics of this item
                        isModifier: false
                        array: true
                        index: 117
                        extensions:
                          type:
                            url: null
                            short: A code expressing the type of characteristic
                            isModifier: false
                            _required: true
                            index: 119
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 121
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 122
                          value[x]:
                            url: null
                            short: A value for the characteristic
                            isModifier: false
                            index: 123
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 125
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 126
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 127
                              valueDate:
                                base: {path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 128
                              valueBoolean:
                                base: {path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 129
                              valueAttachment:
                                base: {path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 130
                        elements:
                          extension:
                            array: true
                            min: 1
                            index: 118
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                type:
                                  match: {url: null}
                                  schema:
                                    short: A code expressing the type of characteristic
                                    isModifier: false
                                    _required: true
                                    index: 119
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: A code expressing the type of characteristic
                                        choices: [valueCodeableConcept]
                                        index: 121
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: A code expressing the type of characteristic
                                        choiceOf: value
                                        index: 122
                                value[x]:
                                  match: {url: null}
                                  schema:
                                    short: A value for the characteristic
                                    isModifier: false
                                    index: 123
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: A value for the characteristic
                                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                        index: 125
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 126
                                      valueQuantity:
                                        base: {path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 127
                                      valueDate:
                                        base: {path: 'Extension.value[x]'}
                                        type: date
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 128
                                      valueBoolean:
                                        base: {path: 'Extension.value[x]'}
                                        type: boolean
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 129
                                      valueAttachment:
                                        base: {path: 'Extension.value[x]'}
                                        type: Attachment
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 130
                        required: [extension]
                    alternateMaterial:
                      match: {url: null}
                      schema:
                        short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                        isModifier: false
                        array: true
                        index: 94
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                            choices: [valueCodeableConcept]
                            index: 96
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                            choiceOf: value
                            index: 97
                    type:
                      match: {url: null}
                      schema:
                        short: The physical type of the container of the items
                        isModifier: false
                        index: 82
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The physical type of the container of the items
                            choices: [valueCodeableConcept]
                            index: 84
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The physical type of the container of the items
                            choiceOf: value
                            index: 85
                    material:
                      match: {url: null}
                      schema:
                        short: Material type of the package item
                        isModifier: false
                        array: true
                        index: 90
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Material type of the package item
                            choices: [valueCodeableConcept]
                            index: 92
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Material type of the package item
                            choiceOf: value
                            index: 93
                    identifier:
                      match: {url: null}
                      schema:
                        short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                        isModifier: false
                        array: true
                        index: 78
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                            choices: [valueIdentifier]
                            index: 80
                          valueIdentifier:
                            base: {path: 'Extension.value[x]'}
                            type: Identifier
                            short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                            choiceOf: value
                            index: 81
                    manufacturer:
                      match: {url: null}
                      schema:
                        short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                        isModifier: false
                        array: true
                        index: 113
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                            choices: [valueReference]
                            index: 115
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                            index: 116
                    containedItem:
                      match: {url: null}
                      schema:
                        short: The item(s) within the packaging
                        isModifier: false
                        array: true
                        index: 131
                        extensions:
                          item:
                            url: null
                            short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
                            isModifier: false
                            _required: true
                            index: 133
                            extensions:
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                index: 134
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 136
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 137
                                required: [value, valueString]
                              concept:
                                url: null
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 138
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 140
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 141
                              reference:
                                url: null
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 142
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 144
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 145
                            elements:
                              extension:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 134
                                slicing:
                                  slices:
                                    _datatype:
                                      match: {}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 134
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 136
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 137
                                        required: [value, valueString]
                                    concept:
                                      match: {}
                                      schema:
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 138
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 140
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 141
                                    reference:
                                      match: {}
                                      schema:
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 142
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 144
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 145
                          amount:
                            url: null
                            short: The number of this type of item within this packaging
                            isModifier: false
                            index: 146
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging
                                choices: [valueQuantity]
                                index: 148
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging
                                choiceOf: value
                                index: 149
                        elements:
                          extension:
                            array: true
                            min: 1
                            index: 132
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                item:
                                  match: {url: null}
                                  schema:
                                    short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
                                    isModifier: false
                                    _required: true
                                    index: 133
                                    extensions:
                                      _datatype:
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        index: 134
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 136
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 137
                                        required: [value, valueString]
                                      concept:
                                        url: null
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 138
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 140
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 141
                                      reference:
                                        url: null
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 142
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 144
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 145
                                    elements:
                                      extension:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 134
                                        slicing:
                                          slices:
                                            _datatype:
                                              match: {}
                                              schema:
                                                type: Extension
                                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                                index: 134
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    pattern: {type: string, value: CodeableReference}
                                                    choices: [valueString]
                                                    type: string
                                                    index: 136
                                                  valueString:
                                                    type: string
                                                    pattern: {type: string, value: CodeableReference}
                                                    base: {path: 'Extension.value[x]'}
                                                    choiceOf: value
                                                    index: 137
                                                required: [value, valueString]
                                            concept:
                                              match: {}
                                              schema:
                                                short: Reference to a concept (by class)
                                                isModifier: false
                                                index: 138
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: Reference to a concept (by class)
                                                    choices: [valueCodeableConcept]
                                                    index: 140
                                                  valueCodeableConcept:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: CodeableConcept
                                                    short: Reference to a concept (by class)
                                                    choiceOf: value
                                                    index: 141
                                            reference:
                                              match: {}
                                              schema:
                                                short: Reference to a resource (by instance)
                                                isModifier: false
                                                index: 142
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: Reference to a resource (by instance)
                                                    choices: [valueReference]
                                                    index: 144
                                                  valueReference:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: Reference
                                                    short: Reference to a resource (by instance)
                                                    choiceOf: value
                                                    index: 145
                                amount:
                                  match: {url: null}
                                  schema:
                                    short: The number of this type of item within this packaging
                                    isModifier: false
                                    index: 146
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: The number of this type of item within this packaging
                                        choices: [valueQuantity]
                                        index: 148
                                      valueQuantity:
                                        base: {path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: The number of this type of item within this packaging
                                        choiceOf: value
                                        index: 149
                        required: [extension]
                    quantity:
                      match: {url: null}
                      schema:
                        short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                        isModifier: false
                        index: 86
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                            choices: [valueInteger]
                            index: 88
                          valueInteger:
                            base: {path: 'Extension.value[x]'}
                            type: integer
                            short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                            choiceOf: value
                            index: 89
        packageFor:
          match: {url: null}
          schema:
            short: The product that this is a pack for
            isModifier: false
            array: true
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The product that this is a pack for
                choices: [valueReference]
                index: 11
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: The product that this is a pack for
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition']
                index: 12
        name:
          match: {url: null}
          schema:
            short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
            isModifier: false
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
                choices: [valueString]
                index: 3
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
                choiceOf: value
                index: 4
        copackagedIndicator:
          match: {url: null}
          schema:
            short: If the drug product is supplied with another item such as a diluent or adjuvant
            isModifier: false
            index: 68
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: If the drug product is supplied with another item such as a diluent or adjuvant
                choices: [valueBoolean]
                index: 70
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: If the drug product is supplied with another item such as a diluent or adjuvant
                choiceOf: value
                index: 71
        type:
          match: {url: null}
          schema:
            short: A high level category e.g. medicinal product, raw material, shipping container etc
            isModifier: false
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A high level category e.g. medicinal product, raw material, shipping container etc
                choices: [valueCodeableConcept]
                index: 7
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A high level category e.g. medicinal product, raw material, shipping container etc
                choiceOf: value
                index: 8
        characteristic:
          match: {url: null}
          schema:
            short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
            isModifier: false
            array: true
            index: 64
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
                choices: [valueCodeableConcept]
                index: 66
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
                choiceOf: value
                index: 67
        marketingStatus:
          match: {url: null}
          schema:
            short: Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated
            isModifier: false
            array: true
            index: 39
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
                index: 40
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: MarketingStatus}
                    choices: [valueString]
                    type: string
                    index: 42
                  valueString:
                    type: string
                    pattern: {type: string, value: MarketingStatus}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 43
                required: [value, valueString]
              country:
                url: null
                short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                isModifier: false
                index: 44
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choices: [valueCodeableConcept]
                    index: 46
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choiceOf: value
                    index: 47
              jurisdiction:
                url: null
                short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                isModifier: false
                index: 48
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choices: [valueCodeableConcept]
                    index: 50
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choiceOf: value
                    index: 51
              status:
                url: null
                short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                isModifier: false
                _required: true
                index: 52
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                    choices: [valueCodeableConcept]
                    index: 54
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                    choiceOf: value
                    index: 55
              dateRange:
                url: null
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                isModifier: false
                index: 56
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valuePeriod]
                    index: 58
                  valuePeriod:
                    base: {path: 'Extension.value[x]'}
                    type: Period
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 59
              restoreDate:
                url: null
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                isModifier: false
                index: 60
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valueDateTime]
                    index: 62
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 63
            elements:
              extension:
                type: Extension
                short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 40
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 40
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: MarketingStatus}
                            choices: [valueString]
                            type: string
                            index: 42
                          valueString:
                            type: string
                            pattern: {type: string, value: MarketingStatus}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 43
                        required: [value, valueString]
                    country:
                      match: {}
                      schema:
                        short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                        isModifier: false
                        index: 44
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                            choices: [valueCodeableConcept]
                            index: 46
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                            choiceOf: value
                            index: 47
                    jurisdiction:
                      match: {}
                      schema:
                        short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                        isModifier: false
                        index: 48
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                            choices: [valueCodeableConcept]
                            index: 50
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                            choiceOf: value
                            index: 51
                    status:
                      match: {}
                      schema:
                        short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                        isModifier: false
                        _required: true
                        index: 52
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                            choices: [valueCodeableConcept]
                            index: 54
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                            choiceOf: value
                            index: 55
                    dateRange:
                      match: {}
                      schema:
                        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                        isModifier: false
                        index: 56
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choices: [valuePeriod]
                            index: 58
                          valuePeriod:
                            base: {path: 'Extension.value[x]'}
                            type: Period
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choiceOf: value
                            index: 59
                    restoreDate:
                      match: {}
                      schema:
                        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                        isModifier: false
                        index: 60
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choices: [valueDateTime]
                            index: 62
                          valueDateTime:
                            base: {path: 'Extension.value[x]'}
                            type: dateTime
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choiceOf: value
                            index: 63
        status:
          match: {url: null}
          schema:
            isModifier: true
            short: The status within the lifecycle of this item. High level - not intended to duplicate details elsewhere e.g. legal status, or authorization/marketing status
            isModifierReason: This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid
            index: 13
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The status within the lifecycle of this item. High level - not intended to duplicate details elsewhere e.g. legal status, or authorization/marketing status
                choices: [valueCodeableConcept]
                index: 15
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The status within the lifecycle of this item. High level - not intended to duplicate details elsewhere e.g. legal status, or authorization/marketing status
                choiceOf: value
                index: 16
        containedItemQuantity:
          match: {url: null}
          schema:
            short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
            isModifier: false
            array: true
            index: 21
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
                choices: [valueQuantity]
                index: 23
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
                choiceOf: value
                index: 24
        statusDate:
          match: {url: null}
          schema:
            short: The date at which the given status became applicable
            isModifier: false
            index: 17
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The date at which the given status became applicable
                choices: [valueDateTime]
                index: 19
              valueDateTime:
                base: {path: 'Extension.value[x]'}
                type: dateTime
                short: The date at which the given status became applicable
                choiceOf: value
                index: 20
        manufacturer:
          match: {url: null}
          schema:
            short: Manufacturer of this package type (multiple means these are all possible manufacturers)
            isModifier: false
            array: true
            index: 72
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Manufacturer of this package type (multiple means these are all possible manufacturers)
                choices: [valueReference]
                index: 74
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: Manufacturer of this package type (multiple means these are all possible manufacturers)
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                index: 75
        legalStatusOfSupply:
          match: {url: null}
          schema:
            short: The legal status of supply of the packaged item as classified by the regulator
            isModifier: false
            array: true
            index: 29
            extensions:
              code:
                url: null
                short: The actual status of supply. In what situation this package type may be supplied for use
                isModifier: false
                index: 31
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The actual status of supply. In what situation this package type may be supplied for use
                    choices: [valueCodeableConcept]
                    index: 33
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The actual status of supply. In what situation this package type may be supplied for use
                    choiceOf: value
                    index: 34
              jurisdiction:
                url: null
                short: The place where the legal status of supply applies
                isModifier: false
                index: 35
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The place where the legal status of supply applies
                    choices: [valueCodeableConcept]
                    index: 37
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The place where the legal status of supply applies
                    choiceOf: value
                    index: 38
            elements:
              extension:
                array: true
                index: 30
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    code:
                      match: {url: null}
                      schema:
                        short: The actual status of supply. In what situation this package type may be supplied for use
                        isModifier: false
                        index: 31
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The actual status of supply. In what situation this package type may be supplied for use
                            choices: [valueCodeableConcept]
                            index: 33
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The actual status of supply. In what situation this package type may be supplied for use
                            choiceOf: value
                            index: 34
                    jurisdiction:
                      match: {url: null}
                      schema:
                        short: The place where the legal status of supply applies
                        isModifier: false
                        index: 35
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The place where the legal status of supply applies
                            choices: [valueCodeableConcept]
                            index: 37
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The place where the legal status of supply applies
                            choiceOf: value
                            index: 38
  url:
    pattern: {type: uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition'}
    type: uri
    index: 155
package_version: 0.0.1-snapshot-1
extensions:
  description:
    url: null
    short: Textual description. Note that this is not the name of the package or product
    isModifier: false
    index: 25
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Textual description. Note that this is not the name of the package or product
        choices: [valueMarkdown]
        index: 27
      valueMarkdown:
        base: {path: 'Extension.value[x]'}
        type: markdown
        short: Textual description. Note that this is not the name of the package or product
        choiceOf: value
        index: 28
  package:
    url: null
    short: A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap
    isModifier: false
    index: 76
    extensions:
      package:
        url: null
        short: Allows containers (and parts of containers) within containers, still a single packaged product
        isModifier: false
        array: true
        index: 150
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            type: Extension
            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
            index: 151
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                pattern: {type: string, value: PackagedProductDefinition.package}
                choices: [valueString]
                type: string
                index: 153
              valueString:
                type: string
                pattern: {type: string, value: PackagedProductDefinition.package}
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 154
            required: [value, valueString]
        elements:
          extension:
            type: Extension
            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            index: 151
            slicing:
              slices:
                _datatype:
                  match: {}
                  schema:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 151
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: PackagedProductDefinition.package}
                        choices: [valueString]
                        type: string
                        index: 153
                      valueString:
                        type: string
                        pattern: {type: string, value: PackagedProductDefinition.package}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 154
                    required: [value, valueString]
      shelfLifeStorage:
        url: null
        short: Shelf Life and storage information
        isModifier: false
        array: true
        index: 98
        extensions:
          type:
            url: null
            short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
            isModifier: false
            index: 100
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                choices: [valueCodeableConcept]
                index: 102
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                choiceOf: value
                index: 103
          period[x]:
            url: null
            short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
            isModifier: false
            index: 104
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                choices: [valueDuration, valueString]
                index: 106
              valueDuration:
                base: {path: 'Extension.value[x]'}
                type: Duration
                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                choiceOf: value
                index: 107
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                choiceOf: value
                index: 108
          specialPrecautionsForStorage:
            url: null
            short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
            isModifier: false
            array: true
            index: 109
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                choices: [valueCodeableConcept]
                index: 111
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                choiceOf: value
                index: 112
        elements:
          extension:
            array: true
            index: 99
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                type:
                  match: {url: null}
                  schema:
                    short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                    isModifier: false
                    index: 100
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                        choices: [valueCodeableConcept]
                        index: 102
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                        choiceOf: value
                        index: 103
                period[x]:
                  match: {url: null}
                  schema:
                    short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                    isModifier: false
                    index: 104
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choices: [valueDuration, valueString]
                        index: 106
                      valueDuration:
                        base: {path: 'Extension.value[x]'}
                        type: Duration
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choiceOf: value
                        index: 107
                      valueString:
                        base: {path: 'Extension.value[x]'}
                        type: string
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choiceOf: value
                        index: 108
                specialPrecautionsForStorage:
                  match: {url: null}
                  schema:
                    short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                    isModifier: false
                    array: true
                    index: 109
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                        choices: [valueCodeableConcept]
                        index: 111
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                        choiceOf: value
                        index: 112
      property:
        url: null
        short: General characteristics of this item
        isModifier: false
        array: true
        index: 117
        extensions:
          type:
            url: null
            short: A code expressing the type of characteristic
            isModifier: false
            _required: true
            index: 119
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A code expressing the type of characteristic
                choices: [valueCodeableConcept]
                index: 121
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A code expressing the type of characteristic
                choiceOf: value
                index: 122
          value[x]:
            url: null
            short: A value for the characteristic
            isModifier: false
            index: 123
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A value for the characteristic
                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                index: 125
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A value for the characteristic
                choiceOf: value
                index: 126
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: A value for the characteristic
                choiceOf: value
                index: 127
              valueDate:
                base: {path: 'Extension.value[x]'}
                type: date
                short: A value for the characteristic
                choiceOf: value
                index: 128
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: A value for the characteristic
                choiceOf: value
                index: 129
              valueAttachment:
                base: {path: 'Extension.value[x]'}
                type: Attachment
                short: A value for the characteristic
                choiceOf: value
                index: 130
        elements:
          extension:
            array: true
            min: 1
            index: 118
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                type:
                  match: {url: null}
                  schema:
                    short: A code expressing the type of characteristic
                    isModifier: false
                    _required: true
                    index: 119
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 121
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 122
                value[x]:
                  match: {url: null}
                  schema:
                    short: A value for the characteristic
                    isModifier: false
                    index: 123
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 125
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 126
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 127
                      valueDate:
                        base: {path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 128
                      valueBoolean:
                        base: {path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 129
                      valueAttachment:
                        base: {path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 130
        required: [extension]
      alternateMaterial:
        url: null
        short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
        isModifier: false
        array: true
        index: 94
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
            choices: [valueCodeableConcept]
            index: 96
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
            choiceOf: value
            index: 97
      type:
        url: null
        short: The physical type of the container of the items
        isModifier: false
        index: 82
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The physical type of the container of the items
            choices: [valueCodeableConcept]
            index: 84
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The physical type of the container of the items
            choiceOf: value
            index: 85
      material:
        url: null
        short: Material type of the package item
        isModifier: false
        array: true
        index: 90
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Material type of the package item
            choices: [valueCodeableConcept]
            index: 92
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Material type of the package item
            choiceOf: value
            index: 93
      identifier:
        url: null
        short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
        isModifier: false
        array: true
        index: 78
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
            choices: [valueIdentifier]
            index: 80
          valueIdentifier:
            base: {path: 'Extension.value[x]'}
            type: Identifier
            short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
            choiceOf: value
            index: 81
      manufacturer:
        url: null
        short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
        isModifier: false
        array: true
        index: 113
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
            choices: [valueReference]
            index: 115
          valueReference:
            base: {path: 'Extension.value[x]'}
            type: Reference
            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
            choiceOf: value
            refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
            index: 116
      containedItem:
        url: null
        short: The item(s) within the packaging
        isModifier: false
        array: true
        index: 131
        extensions:
          item:
            url: null
            short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
            isModifier: false
            _required: true
            index: 133
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                index: 134
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: CodeableReference}
                    choices: [valueString]
                    type: string
                    index: 136
                  valueString:
                    type: string
                    pattern: {type: string, value: CodeableReference}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 137
                required: [value, valueString]
              concept:
                url: null
                short: Reference to a concept (by class)
                isModifier: false
                index: 138
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 140
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 141
              reference:
                url: null
                short: Reference to a resource (by instance)
                isModifier: false
                index: 142
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 144
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 145
            elements:
              extension:
                type: Extension
                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 134
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 134
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 136
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 137
                        required: [value, valueString]
                    concept:
                      match: {}
                      schema:
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 138
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 140
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 141
                    reference:
                      match: {}
                      schema:
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 142
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 144
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 145
          amount:
            url: null
            short: The number of this type of item within this packaging
            isModifier: false
            index: 146
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The number of this type of item within this packaging
                choices: [valueQuantity]
                index: 148
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: The number of this type of item within this packaging
                choiceOf: value
                index: 149
        elements:
          extension:
            array: true
            min: 1
            index: 132
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                item:
                  match: {url: null}
                  schema:
                    short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
                    isModifier: false
                    _required: true
                    index: 133
                    extensions:
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        index: 134
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 136
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 137
                        required: [value, valueString]
                      concept:
                        url: null
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 138
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 140
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 141
                      reference:
                        url: null
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 142
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 144
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 145
                    elements:
                      extension:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 134
                        slicing:
                          slices:
                            _datatype:
                              match: {}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 134
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 136
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 137
                                required: [value, valueString]
                            concept:
                              match: {}
                              schema:
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 138
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 140
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 141
                            reference:
                              match: {}
                              schema:
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 142
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 144
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 145
                amount:
                  match: {url: null}
                  schema:
                    short: The number of this type of item within this packaging
                    isModifier: false
                    index: 146
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging
                        choices: [valueQuantity]
                        index: 148
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging
                        choiceOf: value
                        index: 149
        required: [extension]
      quantity:
        url: null
        short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
        isModifier: false
        index: 86
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
            choices: [valueInteger]
            index: 88
          valueInteger:
            base: {path: 'Extension.value[x]'}
            type: integer
            short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
            choiceOf: value
            index: 89
    elements:
      extension:
        array: true
        index: 77
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            package:
              match: {url: null}
              schema:
                short: Allows containers (and parts of containers) within containers, still a single packaged product
                isModifier: false
                array: true
                index: 150
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    index: 151
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: PackagedProductDefinition.package}
                        choices: [valueString]
                        type: string
                        index: 153
                      valueString:
                        type: string
                        pattern: {type: string, value: PackagedProductDefinition.package}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 154
                    required: [value, valueString]
                elements:
                  extension:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 151
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 151
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: PackagedProductDefinition.package}
                                choices: [valueString]
                                type: string
                                index: 153
                              valueString:
                                type: string
                                pattern: {type: string, value: PackagedProductDefinition.package}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 154
                            required: [value, valueString]
            shelfLifeStorage:
              match: {url: null}
              schema:
                short: Shelf Life and storage information
                isModifier: false
                array: true
                index: 98
                extensions:
                  type:
                    url: null
                    short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                    isModifier: false
                    index: 100
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                        choices: [valueCodeableConcept]
                        index: 102
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                        choiceOf: value
                        index: 103
                  period[x]:
                    url: null
                    short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                    isModifier: false
                    index: 104
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choices: [valueDuration, valueString]
                        index: 106
                      valueDuration:
                        base: {path: 'Extension.value[x]'}
                        type: Duration
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choiceOf: value
                        index: 107
                      valueString:
                        base: {path: 'Extension.value[x]'}
                        type: string
                        short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                        choiceOf: value
                        index: 108
                  specialPrecautionsForStorage:
                    url: null
                    short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                    isModifier: false
                    array: true
                    index: 109
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                        choices: [valueCodeableConcept]
                        index: 111
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                        choiceOf: value
                        index: 112
                elements:
                  extension:
                    array: true
                    index: 99
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        type:
                          match: {url: null}
                          schema:
                            short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                            isModifier: false
                            index: 100
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                choices: [valueCodeableConcept]
                                index: 102
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
                                choiceOf: value
                                index: 103
                        period[x]:
                          match: {url: null}
                          schema:
                            short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                            isModifier: false
                            index: 104
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choices: [valueDuration, valueString]
                                index: 106
                              valueDuration:
                                base: {path: 'Extension.value[x]'}
                                type: Duration
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choiceOf: value
                                index: 107
                              valueString:
                                base: {path: 'Extension.value[x]'}
                                type: string
                                short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                                choiceOf: value
                                index: 108
                        specialPrecautionsForStorage:
                          match: {url: null}
                          schema:
                            short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                            isModifier: false
                            array: true
                            index: 109
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                choices: [valueCodeableConcept]
                                index: 111
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary. The controlled term and the controlled term identifier shall be specified
                                choiceOf: value
                                index: 112
            property:
              match: {url: null}
              schema:
                short: General characteristics of this item
                isModifier: false
                array: true
                index: 117
                extensions:
                  type:
                    url: null
                    short: A code expressing the type of characteristic
                    isModifier: false
                    _required: true
                    index: 119
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 121
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 122
                  value[x]:
                    url: null
                    short: A value for the characteristic
                    isModifier: false
                    index: 123
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 125
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 126
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 127
                      valueDate:
                        base: {path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 128
                      valueBoolean:
                        base: {path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 129
                      valueAttachment:
                        base: {path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 130
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 118
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        type:
                          match: {url: null}
                          schema:
                            short: A code expressing the type of characteristic
                            isModifier: false
                            _required: true
                            index: 119
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 121
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 122
                        value[x]:
                          match: {url: null}
                          schema:
                            short: A value for the characteristic
                            isModifier: false
                            index: 123
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 125
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 126
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 127
                              valueDate:
                                base: {path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 128
                              valueBoolean:
                                base: {path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 129
                              valueAttachment:
                                base: {path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 130
                required: [extension]
            alternateMaterial:
              match: {url: null}
              schema:
                short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                isModifier: false
                array: true
                index: 94
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                    choices: [valueCodeableConcept]
                    index: 96
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                    choiceOf: value
                    index: 97
            type:
              match: {url: null}
              schema:
                short: The physical type of the container of the items
                isModifier: false
                index: 82
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The physical type of the container of the items
                    choices: [valueCodeableConcept]
                    index: 84
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The physical type of the container of the items
                    choiceOf: value
                    index: 85
            material:
              match: {url: null}
              schema:
                short: Material type of the package item
                isModifier: false
                array: true
                index: 90
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 92
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 93
            identifier:
              match: {url: null}
              schema:
                short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                isModifier: false
                array: true
                index: 78
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                    choices: [valueIdentifier]
                    index: 80
                  valueIdentifier:
                    base: {path: 'Extension.value[x]'}
                    type: Identifier
                    short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                    choiceOf: value
                    index: 81
            manufacturer:
              match: {url: null}
              schema:
                short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                isModifier: false
                array: true
                index: 113
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choices: [valueReference]
                    index: 115
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                    index: 116
            containedItem:
              match: {url: null}
              schema:
                short: The item(s) within the packaging
                isModifier: false
                array: true
                index: 131
                extensions:
                  item:
                    url: null
                    short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
                    isModifier: false
                    _required: true
                    index: 133
                    extensions:
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        index: 134
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 136
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 137
                        required: [value, valueString]
                      concept:
                        url: null
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 138
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 140
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 141
                      reference:
                        url: null
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 142
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 144
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 145
                    elements:
                      extension:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 134
                        slicing:
                          slices:
                            _datatype:
                              match: {}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 134
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 136
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 137
                                required: [value, valueString]
                            concept:
                              match: {}
                              schema:
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 138
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 140
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 141
                            reference:
                              match: {}
                              schema:
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 142
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 144
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 145
                  amount:
                    url: null
                    short: The number of this type of item within this packaging
                    isModifier: false
                    index: 146
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging
                        choices: [valueQuantity]
                        index: 148
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging
                        choiceOf: value
                        index: 149
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 132
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        item:
                          match: {url: null}
                          schema:
                            short: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package
                            isModifier: false
                            _required: true
                            index: 133
                            extensions:
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                index: 134
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 136
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 137
                                required: [value, valueString]
                              concept:
                                url: null
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 138
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 140
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 141
                              reference:
                                url: null
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 142
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 144
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 145
                            elements:
                              extension:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 134
                                slicing:
                                  slices:
                                    _datatype:
                                      match: {}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 134
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 136
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 137
                                        required: [value, valueString]
                                    concept:
                                      match: {}
                                      schema:
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 138
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 140
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 141
                                    reference:
                                      match: {}
                                      schema:
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 142
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 144
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 145
                        amount:
                          match: {url: null}
                          schema:
                            short: The number of this type of item within this packaging
                            isModifier: false
                            index: 146
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging
                                choices: [valueQuantity]
                                index: 148
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging
                                choiceOf: value
                                index: 149
                required: [extension]
            quantity:
              match: {url: null}
              schema:
                short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                isModifier: false
                index: 86
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                    choices: [valueInteger]
                    index: 88
                  valueInteger:
                    base: {path: 'Extension.value[x]'}
                    type: integer
                    short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                    choiceOf: value
                    index: 89
  packageFor:
    url: null
    short: The product that this is a pack for
    isModifier: false
    array: true
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The product that this is a pack for
        choices: [valueReference]
        index: 11
      valueReference:
        base: {path: 'Extension.value[x]'}
        type: Reference
        short: The product that this is a pack for
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition']
        index: 12
  name:
    url: null
    short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
    isModifier: false
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
        choices: [valueString]
        index: 3
      valueString:
        base: {path: 'Extension.value[x]'}
        type: string
        short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
        choiceOf: value
        index: 4
  copackagedIndicator:
    url: null
    short: If the drug product is supplied with another item such as a diluent or adjuvant
    isModifier: false
    index: 68
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: If the drug product is supplied with another item such as a diluent or adjuvant
        choices: [valueBoolean]
        index: 70
      valueBoolean:
        base: {path: 'Extension.value[x]'}
        type: boolean
        short: If the drug product is supplied with another item such as a diluent or adjuvant
        choiceOf: value
        index: 71
  type:
    url: null
    short: A high level category e.g. medicinal product, raw material, shipping container etc
    isModifier: false
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: A high level category e.g. medicinal product, raw material, shipping container etc
        choices: [valueCodeableConcept]
        index: 7
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: A high level category e.g. medicinal product, raw material, shipping container etc
        choiceOf: value
        index: 8
  characteristic:
    url: null
    short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
    isModifier: false
    array: true
    index: 64
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
        choices: [valueCodeableConcept]
        index: 66
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
        choiceOf: value
        index: 67
  marketingStatus:
    url: null
    short: Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated
    isModifier: false
    array: true
    index: 39
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
        index: 40
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            pattern: {type: string, value: MarketingStatus}
            choices: [valueString]
            type: string
            index: 42
          valueString:
            type: string
            pattern: {type: string, value: MarketingStatus}
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 43
        required: [value, valueString]
      country:
        url: null
        short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
        isModifier: false
        index: 44
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
            choices: [valueCodeableConcept]
            index: 46
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
            choiceOf: value
            index: 47
      jurisdiction:
        url: null
        short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
        isModifier: false
        index: 48
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
            choices: [valueCodeableConcept]
            index: 50
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
            choiceOf: value
            index: 51
      status:
        url: null
        short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
        isModifier: false
        _required: true
        index: 52
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
            choices: [valueCodeableConcept]
            index: 54
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
            choiceOf: value
            index: 55
      dateRange:
        url: null
        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
        isModifier: false
        index: 56
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choices: [valuePeriod]
            index: 58
          valuePeriod:
            base: {path: 'Extension.value[x]'}
            type: Period
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choiceOf: value
            index: 59
      restoreDate:
        url: null
        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
        isModifier: false
        index: 60
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choices: [valueDateTime]
            index: 62
          valueDateTime:
            base: {path: 'Extension.value[x]'}
            type: dateTime
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choiceOf: value
            index: 63
    elements:
      extension:
        type: Extension
        short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        index: 40
        slicing:
          slices:
            _datatype:
              match: {}
              schema:
                type: Extension
                short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 40
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: MarketingStatus}
                    choices: [valueString]
                    type: string
                    index: 42
                  valueString:
                    type: string
                    pattern: {type: string, value: MarketingStatus}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 43
                required: [value, valueString]
            country:
              match: {}
              schema:
                short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                isModifier: false
                index: 44
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choices: [valueCodeableConcept]
                    index: 46
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choiceOf: value
                    index: 47
            jurisdiction:
              match: {}
              schema:
                short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                isModifier: false
                index: 48
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choices: [valueCodeableConcept]
                    index: 50
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choiceOf: value
                    index: 51
            status:
              match: {}
              schema:
                short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                isModifier: false
                _required: true
                index: 52
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                    choices: [valueCodeableConcept]
                    index: 54
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                    choiceOf: value
                    index: 55
            dateRange:
              match: {}
              schema:
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                isModifier: false
                index: 56
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valuePeriod]
                    index: 58
                  valuePeriod:
                    base: {path: 'Extension.value[x]'}
                    type: Period
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 59
            restoreDate:
              match: {}
              schema:
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                isModifier: false
                index: 60
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valueDateTime]
                    index: 62
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 63
  status:
    url: null
    isModifier: true
    short: The status within the lifecycle of this item. High level - not intended to duplicate details elsewhere e.g. legal status, or authorization/marketing status
    isModifierReason: This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid
    index: 13
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The status within the lifecycle of this item. High level - not intended to duplicate details elsewhere e.g. legal status, or authorization/marketing status
        choices: [valueCodeableConcept]
        index: 15
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: The status within the lifecycle of this item. High level - not intended to duplicate details elsewhere e.g. legal status, or authorization/marketing status
        choiceOf: value
        index: 16
  containedItemQuantity:
    url: null
    short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
    isModifier: false
    array: true
    index: 21
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
        choices: [valueQuantity]
        index: 23
      valueQuantity:
        base: {path: 'Extension.value[x]'}
        type: Quantity
        short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
        choiceOf: value
        index: 24
  statusDate:
    url: null
    short: The date at which the given status became applicable
    isModifier: false
    index: 17
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The date at which the given status became applicable
        choices: [valueDateTime]
        index: 19
      valueDateTime:
        base: {path: 'Extension.value[x]'}
        type: dateTime
        short: The date at which the given status became applicable
        choiceOf: value
        index: 20
  manufacturer:
    url: null
    short: Manufacturer of this package type (multiple means these are all possible manufacturers)
    isModifier: false
    array: true
    index: 72
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Manufacturer of this package type (multiple means these are all possible manufacturers)
        choices: [valueReference]
        index: 74
      valueReference:
        base: {path: 'Extension.value[x]'}
        type: Reference
        short: Manufacturer of this package type (multiple means these are all possible manufacturers)
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
        index: 75
  legalStatusOfSupply:
    url: null
    short: The legal status of supply of the packaged item as classified by the regulator
    isModifier: false
    array: true
    index: 29
    extensions:
      code:
        url: null
        short: The actual status of supply. In what situation this package type may be supplied for use
        isModifier: false
        index: 31
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The actual status of supply. In what situation this package type may be supplied for use
            choices: [valueCodeableConcept]
            index: 33
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The actual status of supply. In what situation this package type may be supplied for use
            choiceOf: value
            index: 34
      jurisdiction:
        url: null
        short: The place where the legal status of supply applies
        isModifier: false
        index: 35
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The place where the legal status of supply applies
            choices: [valueCodeableConcept]
            index: 37
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The place where the legal status of supply applies
            choiceOf: value
            index: 38
    elements:
      extension:
        array: true
        index: 30
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            code:
              match: {url: null}
              schema:
                short: The actual status of supply. In what situation this package type may be supplied for use
                isModifier: false
                index: 31
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The actual status of supply. In what situation this package type may be supplied for use
                    choices: [valueCodeableConcept]
                    index: 33
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The actual status of supply. In what situation this package type may be supplied for use
                    choiceOf: value
                    index: 34
            jurisdiction:
              match: {url: null}
              schema:
                short: The place where the legal status of supply applies
                isModifier: false
                index: 35
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The place where the legal status of supply applies
                    choices: [valueCodeableConcept]
                    index: 37
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The place where the legal status of supply applies
                    choiceOf: value
                    index: 38
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]