PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r5.r4@0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-PackagedProductDefinition
description: This cross-version extension represents PackagedProductDefinition from http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition|5.0.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver-r5.r4
derivation: constraint
name: ext_R5_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
        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
        packaging:
          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:
              shelfLifeStorage:
                url: null
                short: Shelf Life and storage information
                isModifier: false
                array: true
                index: 102
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                    index: 103
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: ProductShelfLife}
                        choices: [valueString]
                        type: string
                        index: 105
                      valueString:
                        type: string
                        pattern: {type: string, value: ProductShelfLife}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 106
                    required: [value, valueString]
                  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: 107
                    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: 109
                      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: 110
                  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: 111
                    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: 113
                      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: 114
                      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: 115
                  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: 116
                    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: 118
                      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: 119
                elements:
                  extension:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 103
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 103
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: ProductShelfLife}
                                choices: [valueString]
                                type: string
                                index: 105
                              valueString:
                                type: string
                                pattern: {type: string, value: ProductShelfLife}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 106
                            required: [value, valueString]
                        type:
                          match: {}
                          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: 107
                            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: 109
                              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: 110
                        period[x]:
                          match: {}
                          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: 111
                            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: 113
                              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: 114
                              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: 115
                        specialPrecautionsForStorage:
                          match: {}
                          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: 116
                            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: 118
                              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: 119
              packaging:
                url: null
                short: Allows containers (and parts of containers) within containers, still as a part of single packaged product
                isModifier: false
                array: true
                index: 157
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                    index: 158
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                        choices: [valueString]
                        type: string
                        index: 160
                      valueString:
                        type: string
                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 161
                    required: [value, valueString]
                elements:
                  extension:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 158
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 158
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: PackagedProductDefinition.packaging}
                                choices: [valueString]
                                type: string
                                index: 160
                              valueString:
                                type: string
                                pattern: {type: string, value: PackagedProductDefinition.packaging}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 161
                            required: [value, valueString]
              property:
                url: null
                short: General characteristics of this item
                isModifier: false
                array: true
                index: 124
                extensions:
                  type:
                    url: null
                    short: A code expressing the type of characteristic
                    isModifier: false
                    _required: true
                    index: 126
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 128
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 129
                  value[x]:
                    url: null
                    short: A value for the characteristic
                    isModifier: false
                    index: 130
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 132
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 133
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 134
                      valueDate:
                        base: {path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 135
                      valueBoolean:
                        base: {path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 136
                      valueAttachment:
                        base: {path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 137
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 125
                    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: 126
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 128
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 129
                        value[x]:
                          match: {url: null}
                          schema:
                            short: A value for the characteristic
                            isModifier: false
                            index: 130
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 132
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 133
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 134
                              valueDate:
                                base: {path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 135
                              valueBoolean:
                                base: {path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 136
                              valueAttachment:
                                base: {path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 137
                required: [extension]
              componentPart:
                url: null
                short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                isModifier: false
                index: 86
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                    choices: [valueBoolean]
                    index: 88
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                    choiceOf: value
                    index: 89
              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: 98
                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: 100
                  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: 101
              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: 94
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 96
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 97
              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 packaging item (multiple means these are all potential manufacturers)
                isModifier: false
                array: true
                index: 120
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
                    choices: [valueReference]
                    index: 122
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                    index: 123
              containedItem:
                url: null
                short: The item(s) within the packaging
                isModifier: false
                array: true
                index: 138
                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: 140
                    extensions:
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        type: Extension
                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                        index: 141
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 143
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 144
                        required: [value, valueString]
                      concept:
                        url: null
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 145
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 147
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 148
                      reference:
                        url: null
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 149
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 151
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 152
                    elements:
                      extension:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 141
                        slicing:
                          slices:
                            _datatype:
                              match: {}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 141
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 143
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 144
                                required: [value, valueString]
                            concept:
                              match: {}
                              schema:
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 145
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 147
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 148
                            reference:
                              match: {}
                              schema:
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 149
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 151
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 152
                  amount:
                    url: null
                    short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                    isModifier: false
                    index: 153
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                        choices: [valueQuantity]
                        index: 155
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                        choiceOf: value
                        index: 156
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 139
                    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: 140
                            extensions:
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                index: 141
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 143
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 144
                                required: [value, valueString]
                              concept:
                                url: null
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 145
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 147
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 148
                              reference:
                                url: null
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 149
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 151
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 152
                            elements:
                              extension:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 141
                                slicing:
                                  slices:
                                    _datatype:
                                      match: {}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 141
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 143
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 144
                                        required: [value, valueString]
                                    concept:
                                      match: {}
                                      schema:
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 145
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 147
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 148
                                    reference:
                                      match: {}
                                      schema:
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 149
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 151
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 152
                        amount:
                          match: {url: null}
                          schema:
                            short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                            isModifier: false
                            index: 153
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                choices: [valueQuantity]
                                index: 155
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                choiceOf: value
                                index: 156
                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: 90
                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: 92
                  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: 93
            elements:
              extension:
                array: true
                index: 77
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    shelfLifeStorage:
                      match: {url: null}
                      schema:
                        short: Shelf Life and storage information
                        isModifier: false
                        array: true
                        index: 102
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                            index: 103
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: ProductShelfLife}
                                choices: [valueString]
                                type: string
                                index: 105
                              valueString:
                                type: string
                                pattern: {type: string, value: ProductShelfLife}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 106
                            required: [value, valueString]
                          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: 107
                            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: 109
                              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: 110
                          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: 111
                            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: 113
                              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: 114
                              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: 115
                          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: 116
                            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: 118
                              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: 119
                        elements:
                          extension:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 103
                            slicing:
                              slices:
                                _datatype:
                                  match: {}
                                  schema:
                                    type: Extension
                                    short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                                    index: 103
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        pattern: {type: string, value: ProductShelfLife}
                                        choices: [valueString]
                                        type: string
                                        index: 105
                                      valueString:
                                        type: string
                                        pattern: {type: string, value: ProductShelfLife}
                                        base: {path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 106
                                    required: [value, valueString]
                                type:
                                  match: {}
                                  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: 107
                                    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: 109
                                      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: 110
                                period[x]:
                                  match: {}
                                  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: 111
                                    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: 113
                                      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: 114
                                      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: 115
                                specialPrecautionsForStorage:
                                  match: {}
                                  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: 116
                                    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: 118
                                      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: 119
                    packaging:
                      match: {url: null}
                      schema:
                        short: Allows containers (and parts of containers) within containers, still as a part of single packaged product
                        isModifier: false
                        array: true
                        index: 157
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                            index: 158
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: PackagedProductDefinition.packaging}
                                choices: [valueString]
                                type: string
                                index: 160
                              valueString:
                                type: string
                                pattern: {type: string, value: PackagedProductDefinition.packaging}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 161
                            required: [value, valueString]
                        elements:
                          extension:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 158
                            slicing:
                              slices:
                                _datatype:
                                  match: {}
                                  schema:
                                    type: Extension
                                    short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                                    index: 158
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                                        choices: [valueString]
                                        type: string
                                        index: 160
                                      valueString:
                                        type: string
                                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                                        base: {path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 161
                                    required: [value, valueString]
                    property:
                      match: {url: null}
                      schema:
                        short: General characteristics of this item
                        isModifier: false
                        array: true
                        index: 124
                        extensions:
                          type:
                            url: null
                            short: A code expressing the type of characteristic
                            isModifier: false
                            _required: true
                            index: 126
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 128
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 129
                          value[x]:
                            url: null
                            short: A value for the characteristic
                            isModifier: false
                            index: 130
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 132
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 133
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 134
                              valueDate:
                                base: {path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 135
                              valueBoolean:
                                base: {path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 136
                              valueAttachment:
                                base: {path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 137
                        elements:
                          extension:
                            array: true
                            min: 1
                            index: 125
                            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: 126
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: A code expressing the type of characteristic
                                        choices: [valueCodeableConcept]
                                        index: 128
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: A code expressing the type of characteristic
                                        choiceOf: value
                                        index: 129
                                value[x]:
                                  match: {url: null}
                                  schema:
                                    short: A value for the characteristic
                                    isModifier: false
                                    index: 130
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: A value for the characteristic
                                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                        index: 132
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 133
                                      valueQuantity:
                                        base: {path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 134
                                      valueDate:
                                        base: {path: 'Extension.value[x]'}
                                        type: date
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 135
                                      valueBoolean:
                                        base: {path: 'Extension.value[x]'}
                                        type: boolean
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 136
                                      valueAttachment:
                                        base: {path: 'Extension.value[x]'}
                                        type: Attachment
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 137
                        required: [extension]
                    componentPart:
                      match: {url: null}
                      schema:
                        short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                        isModifier: false
                        index: 86
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                            choices: [valueBoolean]
                            index: 88
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                            choiceOf: value
                            index: 89
                    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: 98
                        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: 100
                          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: 101
                    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: 94
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Material type of the package item
                            choices: [valueCodeableConcept]
                            index: 96
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Material type of the package item
                            choiceOf: value
                            index: 97
                    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 packaging item (multiple means these are all potential manufacturers)
                        isModifier: false
                        array: true
                        index: 120
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
                            choices: [valueReference]
                            index: 122
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                            index: 123
                    containedItem:
                      match: {url: null}
                      schema:
                        short: The item(s) within the packaging
                        isModifier: false
                        array: true
                        index: 138
                        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: 140
                            extensions:
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                index: 141
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 143
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 144
                                required: [value, valueString]
                              concept:
                                url: null
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 145
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 147
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 148
                              reference:
                                url: null
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 149
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 151
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 152
                            elements:
                              extension:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 141
                                slicing:
                                  slices:
                                    _datatype:
                                      match: {}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 141
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 143
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 144
                                        required: [value, valueString]
                                    concept:
                                      match: {}
                                      schema:
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 145
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 147
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 148
                                    reference:
                                      match: {}
                                      schema:
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 149
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 151
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 152
                          amount:
                            url: null
                            short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                            isModifier: false
                            index: 153
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                choices: [valueQuantity]
                                index: 155
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                choiceOf: value
                                index: 156
                        elements:
                          extension:
                            array: true
                            min: 1
                            index: 139
                            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: 140
                                    extensions:
                                      _datatype:
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                        index: 141
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 143
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 144
                                        required: [value, valueString]
                                      concept:
                                        url: null
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 145
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 147
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 148
                                      reference:
                                        url: null
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 149
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 151
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 152
                                    elements:
                                      extension:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 141
                                        slicing:
                                          slices:
                                            _datatype:
                                              match: {}
                                              schema:
                                                type: Extension
                                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                                index: 141
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    pattern: {type: string, value: CodeableReference}
                                                    choices: [valueString]
                                                    type: string
                                                    index: 143
                                                  valueString:
                                                    type: string
                                                    pattern: {type: string, value: CodeableReference}
                                                    base: {path: 'Extension.value[x]'}
                                                    choiceOf: value
                                                    index: 144
                                                required: [value, valueString]
                                            concept:
                                              match: {}
                                              schema:
                                                short: Reference to a concept (by class)
                                                isModifier: false
                                                index: 145
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: Reference to a concept (by class)
                                                    choices: [valueCodeableConcept]
                                                    index: 147
                                                  valueCodeableConcept:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: CodeableConcept
                                                    short: Reference to a concept (by class)
                                                    choiceOf: value
                                                    index: 148
                                            reference:
                                              match: {}
                                              schema:
                                                short: Reference to a resource (by instance)
                                                isModifier: false
                                                index: 149
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: Reference to a resource (by instance)
                                                    choices: [valueReference]
                                                    index: 151
                                                  valueReference:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: Reference
                                                    short: Reference to a resource (by instance)
                                                    choiceOf: value
                                                    index: 152
                                amount:
                                  match: {url: null}
                                  schema:
                                    short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                    isModifier: false
                                    index: 153
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                        choices: [valueQuantity]
                                        index: 155
                                      valueQuantity:
                                        base: {path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                        choiceOf: value
                                        index: 156
                        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: 90
                        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: 92
                          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: 93
        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: Identifies if the drug product is supplied with another item such as a diluent or adjuvant
            isModifier: false
            index: 64
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Identifies if the drug product is supplied with another item such as a diluent or adjuvant
                choices: [valueBoolean]
                index: 66
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: Identifies if the drug product is supplied with another item such as a diluent or adjuvant
                choiceOf: value
                index: 67
        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: 162
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for PackagedProductDefinition.characteristic from FHIR R5
                index: 163
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: PackagedProductDefinition.packaging.property}
                    choices: [valueString]
                    type: string
                    index: 165
                  valueString:
                    type: string
                    pattern: {type: string, value: PackagedProductDefinition.packaging.property}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 166
                required: [value, valueString]
            elements:
              extension:
                type: Extension
                short: Data type name for PackagedProductDefinition.characteristic from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 163
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.characteristic from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 163
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: PackagedProductDefinition.packaging.property}
                            choices: [valueString]
                            type: string
                            index: 165
                          valueString:
                            type: string
                            pattern: {type: string, value: PackagedProductDefinition.packaging.property}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 166
                        required: [value, valueString]
        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 R5
                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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 R5
                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 R5
                        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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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. See also packaging.containedItem.amount (especially the long definition)
            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. See also packaging.containedItem.amount (especially the long definition)
                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. See also packaging.containedItem.amount (especially the long definition)
                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: 68
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Manufacturer of this package type (multiple means these are all possible manufacturers)
                choices: [valueReference]
                index: 70
              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: 71
        attachedDocument:
          match: {url: null}
          schema:
            short: Additional information or supporting documentation about the packaged product
            isModifier: false
            array: true
            index: 72
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Additional information or supporting documentation about the packaged product
                choices: [valueReference]
                index: 74
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: Additional information or supporting documentation about the packaged product
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
                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/5.0/StructureDefinition/extension-PackagedProductDefinition'}
    type: uri
    index: 167
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
  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
  packaging:
    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:
      shelfLifeStorage:
        url: null
        short: Shelf Life and storage information
        isModifier: false
        array: true
        index: 102
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            type: Extension
            short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
            index: 103
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                pattern: {type: string, value: ProductShelfLife}
                choices: [valueString]
                type: string
                index: 105
              valueString:
                type: string
                pattern: {type: string, value: ProductShelfLife}
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 106
            required: [value, valueString]
          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: 107
            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: 109
              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: 110
          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: 111
            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: 113
              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: 114
              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: 115
          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: 116
            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: 118
              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: 119
        elements:
          extension:
            type: Extension
            short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            index: 103
            slicing:
              slices:
                _datatype:
                  match: {}
                  schema:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 103
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: ProductShelfLife}
                        choices: [valueString]
                        type: string
                        index: 105
                      valueString:
                        type: string
                        pattern: {type: string, value: ProductShelfLife}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 106
                    required: [value, valueString]
                type:
                  match: {}
                  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: 107
                    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: 109
                      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: 110
                period[x]:
                  match: {}
                  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: 111
                    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: 113
                      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: 114
                      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: 115
                specialPrecautionsForStorage:
                  match: {}
                  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: 116
                    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: 118
                      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: 119
      packaging:
        url: null
        short: Allows containers (and parts of containers) within containers, still as a part of single packaged product
        isModifier: false
        array: true
        index: 157
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            type: Extension
            short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
            index: 158
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                pattern: {type: string, value: PackagedProductDefinition.packaging}
                choices: [valueString]
                type: string
                index: 160
              valueString:
                type: string
                pattern: {type: string, value: PackagedProductDefinition.packaging}
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 161
            required: [value, valueString]
        elements:
          extension:
            type: Extension
            short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            index: 158
            slicing:
              slices:
                _datatype:
                  match: {}
                  schema:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 158
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                        choices: [valueString]
                        type: string
                        index: 160
                      valueString:
                        type: string
                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 161
                    required: [value, valueString]
      property:
        url: null
        short: General characteristics of this item
        isModifier: false
        array: true
        index: 124
        extensions:
          type:
            url: null
            short: A code expressing the type of characteristic
            isModifier: false
            _required: true
            index: 126
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A code expressing the type of characteristic
                choices: [valueCodeableConcept]
                index: 128
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A code expressing the type of characteristic
                choiceOf: value
                index: 129
          value[x]:
            url: null
            short: A value for the characteristic
            isModifier: false
            index: 130
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A value for the characteristic
                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                index: 132
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A value for the characteristic
                choiceOf: value
                index: 133
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: A value for the characteristic
                choiceOf: value
                index: 134
              valueDate:
                base: {path: 'Extension.value[x]'}
                type: date
                short: A value for the characteristic
                choiceOf: value
                index: 135
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: A value for the characteristic
                choiceOf: value
                index: 136
              valueAttachment:
                base: {path: 'Extension.value[x]'}
                type: Attachment
                short: A value for the characteristic
                choiceOf: value
                index: 137
        elements:
          extension:
            array: true
            min: 1
            index: 125
            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: 126
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 128
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 129
                value[x]:
                  match: {url: null}
                  schema:
                    short: A value for the characteristic
                    isModifier: false
                    index: 130
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 132
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 133
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 134
                      valueDate:
                        base: {path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 135
                      valueBoolean:
                        base: {path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 136
                      valueAttachment:
                        base: {path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 137
        required: [extension]
      componentPart:
        url: null
        short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
        isModifier: false
        index: 86
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
            choices: [valueBoolean]
            index: 88
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
            choiceOf: value
            index: 89
      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: 98
        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: 100
          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: 101
      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: 94
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Material type of the package item
            choices: [valueCodeableConcept]
            index: 96
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Material type of the package item
            choiceOf: value
            index: 97
      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 packaging item (multiple means these are all potential manufacturers)
        isModifier: false
        array: true
        index: 120
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
            choices: [valueReference]
            index: 122
          valueReference:
            base: {path: 'Extension.value[x]'}
            type: Reference
            short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
            choiceOf: value
            refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
            index: 123
      containedItem:
        url: null
        short: The item(s) within the packaging
        isModifier: false
        array: true
        index: 138
        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: 140
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                index: 141
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: CodeableReference}
                    choices: [valueString]
                    type: string
                    index: 143
                  valueString:
                    type: string
                    pattern: {type: string, value: CodeableReference}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 144
                required: [value, valueString]
              concept:
                url: null
                short: Reference to a concept (by class)
                isModifier: false
                index: 145
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 147
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 148
              reference:
                url: null
                short: Reference to a resource (by instance)
                isModifier: false
                index: 149
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 151
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 152
            elements:
              extension:
                type: Extension
                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 141
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 141
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 143
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 144
                        required: [value, valueString]
                    concept:
                      match: {}
                      schema:
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 145
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 147
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 148
                    reference:
                      match: {}
                      schema:
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 149
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 151
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 152
          amount:
            url: null
            short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
            isModifier: false
            index: 153
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                choices: [valueQuantity]
                index: 155
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                choiceOf: value
                index: 156
        elements:
          extension:
            array: true
            min: 1
            index: 139
            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: 140
                    extensions:
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        type: Extension
                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                        index: 141
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 143
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 144
                        required: [value, valueString]
                      concept:
                        url: null
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 145
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 147
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 148
                      reference:
                        url: null
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 149
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 151
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 152
                    elements:
                      extension:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 141
                        slicing:
                          slices:
                            _datatype:
                              match: {}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 141
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 143
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 144
                                required: [value, valueString]
                            concept:
                              match: {}
                              schema:
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 145
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 147
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 148
                            reference:
                              match: {}
                              schema:
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 149
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 151
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 152
                amount:
                  match: {url: null}
                  schema:
                    short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                    isModifier: false
                    index: 153
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                        choices: [valueQuantity]
                        index: 155
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                        choiceOf: value
                        index: 156
        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: 90
        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: 92
          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: 93
    elements:
      extension:
        array: true
        index: 77
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            shelfLifeStorage:
              match: {url: null}
              schema:
                short: Shelf Life and storage information
                isModifier: false
                array: true
                index: 102
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                    index: 103
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: ProductShelfLife}
                        choices: [valueString]
                        type: string
                        index: 105
                      valueString:
                        type: string
                        pattern: {type: string, value: ProductShelfLife}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 106
                    required: [value, valueString]
                  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: 107
                    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: 109
                      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: 110
                  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: 111
                    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: 113
                      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: 114
                      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: 115
                  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: 116
                    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: 118
                      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: 119
                elements:
                  extension:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 103
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.shelfLifeStorage from FHIR R5
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 103
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: ProductShelfLife}
                                choices: [valueString]
                                type: string
                                index: 105
                              valueString:
                                type: string
                                pattern: {type: string, value: ProductShelfLife}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 106
                            required: [value, valueString]
                        type:
                          match: {}
                          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: 107
                            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: 109
                              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: 110
                        period[x]:
                          match: {}
                          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: 111
                            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: 113
                              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: 114
                              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: 115
                        specialPrecautionsForStorage:
                          match: {}
                          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: 116
                            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: 118
                              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: 119
            packaging:
              match: {url: null}
              schema:
                short: Allows containers (and parts of containers) within containers, still as a part of single packaged product
                isModifier: false
                array: true
                index: 157
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                    index: 158
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                        choices: [valueString]
                        type: string
                        index: 160
                      valueString:
                        type: string
                        pattern: {type: string, value: PackagedProductDefinition.packaging}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 161
                    required: [value, valueString]
                elements:
                  extension:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 158
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.packaging.packaging from FHIR R5
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 158
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: PackagedProductDefinition.packaging}
                                choices: [valueString]
                                type: string
                                index: 160
                              valueString:
                                type: string
                                pattern: {type: string, value: PackagedProductDefinition.packaging}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 161
                            required: [value, valueString]
            property:
              match: {url: null}
              schema:
                short: General characteristics of this item
                isModifier: false
                array: true
                index: 124
                extensions:
                  type:
                    url: null
                    short: A code expressing the type of characteristic
                    isModifier: false
                    _required: true
                    index: 126
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 128
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 129
                  value[x]:
                    url: null
                    short: A value for the characteristic
                    isModifier: false
                    index: 130
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 132
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 133
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 134
                      valueDate:
                        base: {path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 135
                      valueBoolean:
                        base: {path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 136
                      valueAttachment:
                        base: {path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 137
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 125
                    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: 126
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 128
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 129
                        value[x]:
                          match: {url: null}
                          schema:
                            short: A value for the characteristic
                            isModifier: false
                            index: 130
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 132
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 133
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 134
                              valueDate:
                                base: {path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 135
                              valueBoolean:
                                base: {path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 136
                              valueAttachment:
                                base: {path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 137
                required: [extension]
            componentPart:
              match: {url: null}
              schema:
                short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                isModifier: false
                index: 86
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                    choices: [valueBoolean]
                    index: 88
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial)
                    choiceOf: value
                    index: 89
            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: 98
                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: 100
                  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: 101
            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: 94
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 96
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 97
            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 packaging item (multiple means these are all potential manufacturers)
                isModifier: false
                array: true
                index: 120
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
                    choices: [valueReference]
                    index: 122
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this packaging item (multiple means these are all potential manufacturers)
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                    index: 123
            containedItem:
              match: {url: null}
              schema:
                short: The item(s) within the packaging
                isModifier: false
                array: true
                index: 138
                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: 140
                    extensions:
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        type: Extension
                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                        index: 141
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 143
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 144
                        required: [value, valueString]
                      concept:
                        url: null
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 145
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 147
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 148
                      reference:
                        url: null
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 149
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 151
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 152
                    elements:
                      extension:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 141
                        slicing:
                          slices:
                            _datatype:
                              match: {}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 141
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 143
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 144
                                required: [value, valueString]
                            concept:
                              match: {}
                              schema:
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 145
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 147
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 148
                            reference:
                              match: {}
                              schema:
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 149
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 151
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 152
                  amount:
                    url: null
                    short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                    isModifier: false
                    index: 153
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                        choices: [valueQuantity]
                        index: 155
                      valueQuantity:
                        base: {path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                        choiceOf: value
                        index: 156
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 139
                    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: 140
                            extensions:
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                index: 141
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    pattern: {type: string, value: CodeableReference}
                                    choices: [valueString]
                                    type: string
                                    index: 143
                                  valueString:
                                    type: string
                                    pattern: {type: string, value: CodeableReference}
                                    base: {path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 144
                                required: [value, valueString]
                              concept:
                                url: null
                                short: Reference to a concept (by class)
                                isModifier: false
                                index: 145
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 147
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 148
                              reference:
                                url: null
                                short: Reference to a resource (by instance)
                                isModifier: false
                                index: 149
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 151
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 152
                            elements:
                              extension:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                url: http://hl7.org/fhir/StructureDefinition/_datatype
                                index: 141
                                slicing:
                                  slices:
                                    _datatype:
                                      match: {}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.packaging.containedItem.item from FHIR R5
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                                        index: 141
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            pattern: {type: string, value: CodeableReference}
                                            choices: [valueString]
                                            type: string
                                            index: 143
                                          valueString:
                                            type: string
                                            pattern: {type: string, value: CodeableReference}
                                            base: {path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 144
                                        required: [value, valueString]
                                    concept:
                                      match: {}
                                      schema:
                                        short: Reference to a concept (by class)
                                        isModifier: false
                                        index: 145
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 147
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 148
                                    reference:
                                      match: {}
                                      schema:
                                        short: Reference to a resource (by instance)
                                        isModifier: false
                                        index: 149
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 151
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 152
                        amount:
                          match: {url: null}
                          schema:
                            short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                            isModifier: false
                            index: 153
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                choices: [valueQuantity]
                                index: 155
                              valueQuantity:
                                base: {path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging or for continuous items such as liquids it is the quantity (for example 25ml). See also PackagedProductDefinition.containedItemQuantity (especially the long definition)
                                choiceOf: value
                                index: 156
                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: 90
                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: 92
                  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: 93
  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: Identifies if the drug product is supplied with another item such as a diluent or adjuvant
    isModifier: false
    index: 64
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Identifies if the drug product is supplied with another item such as a diluent or adjuvant
        choices: [valueBoolean]
        index: 66
      valueBoolean:
        base: {path: 'Extension.value[x]'}
        type: boolean
        short: Identifies if the drug product is supplied with another item such as a diluent or adjuvant
        choiceOf: value
        index: 67
  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: 162
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: Data type name for PackagedProductDefinition.characteristic from FHIR R5
        index: 163
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            pattern: {type: string, value: PackagedProductDefinition.packaging.property}
            choices: [valueString]
            type: string
            index: 165
          valueString:
            type: string
            pattern: {type: string, value: PackagedProductDefinition.packaging.property}
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 166
        required: [value, valueString]
    elements:
      extension:
        type: Extension
        short: Data type name for PackagedProductDefinition.characteristic from FHIR R5
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        index: 163
        slicing:
          slices:
            _datatype:
              match: {}
              schema:
                type: Extension
                short: Data type name for PackagedProductDefinition.characteristic from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 163
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: PackagedProductDefinition.packaging.property}
                    choices: [valueString]
                    type: string
                    index: 165
                  valueString:
                    type: string
                    pattern: {type: string, value: PackagedProductDefinition.packaging.property}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 166
                required: [value, valueString]
  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 R5
        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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 R5
        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 R5
                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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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 Authorization 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. See also packaging.containedItem.amount (especially the long definition)
    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. See also packaging.containedItem.amount (especially the long definition)
        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. See also packaging.containedItem.amount (especially the long definition)
        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: 68
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Manufacturer of this package type (multiple means these are all possible manufacturers)
        choices: [valueReference]
        index: 70
      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: 71
  attachedDocument:
    url: null
    short: Additional information or supporting documentation about the packaged product
    isModifier: false
    array: true
    index: 72
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Additional information or supporting documentation about the packaged product
        choices: [valueReference]
        index: 74
      valueReference:
        base: {path: 'Extension.value[x]'}
        type: Reference
        short: Additional information or supporting documentation about the packaged product
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
        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/5.0/StructureDefinition/extension-PackagedProductDefinition
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]