PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r4b.r4-0.0.1-snapshot-2
    http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition
description: This cross-version extension represents PackagedProductDefinition from http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition|4.3.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: Ext_R4B_PackagedProductDefinition
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        description:
          match: {url: description}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Textual description. Note that this is not the name of the package or product
            index: 31
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: description}
                index: 32
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Textual description. Note that this is not the name of the package or product
                choices: [valueMarkdown]
                index: 34
              valueMarkdown:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: markdown
                short: Textual description. Note that this is not the name of the package or product
                choiceOf: value
                index: 35
            required: [url]
        package:
          match: {url: package}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            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
            index: 96
            extensions:
              package:
                url: package
                base: {max: '*', min: 0, path: Extension.extension}
                short: Allows containers (and parts of containers) within containers, still a single packaged product
                array: true
                index: 189
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    index: 191
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: PackagedProductDefinition.package}
                        choices: [valueString]
                        index: 193
                      valueString:
                        type: string
                        pattern: {type: String, value: PackagedProductDefinition.package}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 194
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 190
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 191
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: PackagedProductDefinition.package}
                                choices: [valueString]
                                index: 193
                              valueString:
                                type: string
                                pattern: {type: String, value: PackagedProductDefinition.package}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 194
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: package}
                    index: 195
                required: [url]
              shelfLifeStorage:
                url: shelfLifeStorage
                base: {max: '*', min: 0, path: Extension.extension}
                short: Shelf Life and storage information
                array: true
                index: 123
                extensions:
                  type:
                    url: type
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    index: 125
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 126
                      value:
                        base: {max: '1', min: 0, 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: 128
                      valueCodeableConcept:
                        base: {max: '1', min: 0, 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: 129
                    required: [url]
                  period[x]:
                    url: period[x]
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    index: 130
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'period[x]'}
                        index: 131
                      value:
                        base: {max: '1', min: 0, 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: 133
                      valueDuration:
                        base: {max: '1', min: 0, 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: 134
                      valueString:
                        base: {max: '1', min: 0, 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: 135
                    required: [url]
                  specialPrecautionsForStorage:
                    url: specialPrecautionsForStorage
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    array: true
                    index: 136
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                        index: 137
                      value:
                        base: {max: '1', min: 0, 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: 139
                      valueCodeableConcept:
                        base: {max: '1', min: 0, 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: 140
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 124
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        type:
                          match: {url: type}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            index: 125
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 126
                              value:
                                base: {max: '1', min: 0, 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: 128
                              valueCodeableConcept:
                                base: {max: '1', min: 0, 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: 129
                            required: [url]
                        period[x]:
                          match: {url: 'period[x]'}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            index: 130
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'period[x]'}
                                index: 131
                              value:
                                base: {max: '1', min: 0, 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: 133
                              valueDuration:
                                base: {max: '1', min: 0, 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: 134
                              valueString:
                                base: {max: '1', min: 0, 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: 135
                            required: [url]
                        specialPrecautionsForStorage:
                          match: {url: specialPrecautionsForStorage}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            array: true
                            index: 136
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: specialPrecautionsForStorage}
                                index: 137
                              value:
                                base: {max: '1', min: 0, 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: 139
                              valueCodeableConcept:
                                base: {max: '1', min: 0, 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: 140
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: shelfLifeStorage}
                    index: 141
                required: [url]
              property:
                url: property
                base: {max: '*', min: 0, path: Extension.extension}
                short: General characteristics of this item
                array: true
                index: 147
                extensions:
                  type:
                    url: type
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: A code expressing the type of characteristic
                    _required: true
                    index: 149
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 150
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 152
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 153
                    required: [url]
                  value[x]:
                    url: value[x]
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: A value for the characteristic
                    index: 154
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'value[x]'}
                        index: 155
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 157
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 158
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 159
                      valueDate:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 160
                      valueBoolean:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 161
                      valueAttachment:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 162
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 1
                    index: 148
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        type:
                          match: {url: type}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: A code expressing the type of characteristic
                            _required: true
                            index: 149
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 150
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 152
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 153
                            required: [url]
                        value[x]:
                          match: {url: 'value[x]'}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: A value for the characteristic
                            index: 154
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'value[x]'}
                                index: 155
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 157
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 158
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 159
                              valueDate:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 160
                              valueBoolean:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 161
                              valueAttachment:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 162
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: property}
                    index: 163
                required: [url, extension]
              alternateMaterial:
                url: alternateMaterial
                base: {max: '*', min: 0, path: Extension.extension}
                short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                array: true
                index: 118
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: alternateMaterial}
                    index: 119
                  value:
                    base: {max: '1', min: 0, 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: 121
                  valueCodeableConcept:
                    base: {max: '1', min: 0, 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: 122
                required: [url]
              type:
                url: type
                base: {max: '*', min: 0, path: Extension.extension}
                short: The physical type of the container of the items
                index: 103
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 104
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The physical type of the container of the items
                    choices: [valueCodeableConcept]
                    index: 106
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The physical type of the container of the items
                    choiceOf: value
                    index: 107
                required: [url]
              material:
                url: material
                base: {max: '*', min: 0, path: Extension.extension}
                short: Material type of the package item
                array: true
                index: 113
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: material}
                    index: 114
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 116
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 117
                required: [url]
              identifier:
                url: identifier
                base: {max: '*', min: 0, path: Extension.extension}
                short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                array: true
                index: 98
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 99
                  value:
                    base: {max: '1', min: 0, 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: 101
                  valueIdentifier:
                    base: {max: '1', min: 0, 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: 102
                required: [url]
              manufacturer:
                url: manufacturer
                base: {max: '*', min: 0, path: Extension.extension}
                short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                array: true
                index: 142
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: manufacturer}
                    index: 143
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choices: [valueReference]
                    index: 145
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choiceOf: value
                    index: 146
                required: [url]
              containedItem:
                url: containedItem
                base: {max: '*', min: 0, path: Extension.extension}
                short: The item(s) within the packaging
                array: true
                index: 164
                extensions:
                  item:
                    url: item
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    _required: true
                    index: 166
                    extensions:
                      concept:
                        url: concept
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a concept (by class)
                        index: 168
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 169
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 171
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 172
                        required: [url]
                      reference:
                        url: reference
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a resource (by instance)
                        index: 173
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 174
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 176
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 177
                        required: [url]
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        index: 178
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 180
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 181
                        required: [valueString, value]
                    elements:
                      extension:
                        base: {max: '*', min: 0, path: Extension.extension}
                        array: true
                        index: 167
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            concept:
                              match: {url: concept}
                              schema:
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a concept (by class)
                                index: 168
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: concept}
                                    index: 169
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 171
                                  valueCodeableConcept:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 172
                                required: [url]
                            reference:
                              match: {url: reference}
                              schema:
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a resource (by instance)
                                index: 173
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: reference}
                                    index: 174
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 176
                                  valueReference:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 177
                                required: [url]
                            _datatype:
                              match: {url: null}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                index: 178
                                elements:
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    pattern: {type: String, value: CodeableReference}
                                    choices: [valueString]
                                    index: 180
                                  valueString:
                                    type: string
                                    pattern: {type: String, value: CodeableReference}
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 181
                                required: [valueString, value]
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: item}
                        index: 182
                    required: [url]
                  amount:
                    url: amount
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: The number of this type of item within this packaging
                    index: 183
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: amount}
                        index: 184
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging
                        choices: [valueQuantity]
                        index: 186
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging
                        choiceOf: value
                        index: 187
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 1
                    index: 165
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        item:
                          match: {url: item}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            _required: true
                            index: 166
                            extensions:
                              concept:
                                url: concept
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a concept (by class)
                                index: 168
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: concept}
                                    index: 169
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 171
                                  valueCodeableConcept:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 172
                                required: [url]
                              reference:
                                url: reference
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a resource (by instance)
                                index: 173
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: reference}
                                    index: 174
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 176
                                  valueReference:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 177
                                required: [url]
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                index: 178
                                elements:
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    pattern: {type: String, value: CodeableReference}
                                    choices: [valueString]
                                    index: 180
                                  valueString:
                                    type: string
                                    pattern: {type: String, value: CodeableReference}
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 181
                                required: [valueString, value]
                            elements:
                              extension:
                                base: {max: '*', min: 0, path: Extension.extension}
                                array: true
                                index: 167
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    concept:
                                      match: {url: concept}
                                      schema:
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a concept (by class)
                                        index: 168
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: concept}
                                            index: 169
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 171
                                          valueCodeableConcept:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 172
                                        required: [url]
                                    reference:
                                      match: {url: reference}
                                      schema:
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a resource (by instance)
                                        index: 173
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: reference}
                                            index: 174
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 176
                                          valueReference:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 177
                                        required: [url]
                                    _datatype:
                                      match: {url: null}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                        index: 178
                                        elements:
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            pattern: {type: String, value: CodeableReference}
                                            choices: [valueString]
                                            index: 180
                                          valueString:
                                            type: string
                                            pattern: {type: String, value: CodeableReference}
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 181
                                        required: [valueString, value]
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: item}
                                index: 182
                            required: [url]
                        amount:
                          match: {url: amount}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: The number of this type of item within this packaging
                            index: 183
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: amount}
                                index: 184
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging
                                choices: [valueQuantity]
                                index: 186
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging
                                choiceOf: value
                                index: 187
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: containedItem}
                    index: 188
                required: [url, extension]
              quantity:
                url: quantity
                base: {max: '*', min: 0, path: Extension.extension}
                short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                index: 108
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: quantity}
                    index: 109
                  value:
                    base: {max: '1', min: 0, 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: 111
                  valueInteger:
                    base: {max: '1', min: 0, 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: 112
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 97
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    package:
                      match: {url: package}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Allows containers (and parts of containers) within containers, still a single packaged product
                        array: true
                        index: 189
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            type: Extension
                            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                            index: 191
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: PackagedProductDefinition.package}
                                choices: [valueString]
                                index: 193
                              valueString:
                                type: string
                                pattern: {type: String, value: PackagedProductDefinition.package}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 194
                            required: [valueString, value]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            index: 190
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                _datatype:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                    index: 191
                                    elements:
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        pattern: {type: String, value: PackagedProductDefinition.package}
                                        choices: [valueString]
                                        index: 193
                                      valueString:
                                        type: string
                                        pattern: {type: String, value: PackagedProductDefinition.package}
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 194
                                    required: [valueString, value]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: package}
                            index: 195
                        required: [url]
                    shelfLifeStorage:
                      match: {url: shelfLifeStorage}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Shelf Life and storage information
                        array: true
                        index: 123
                        extensions:
                          type:
                            url: type
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            index: 125
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 126
                              value:
                                base: {max: '1', min: 0, 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: 128
                              valueCodeableConcept:
                                base: {max: '1', min: 0, 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: 129
                            required: [url]
                          period[x]:
                            url: period[x]
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            index: 130
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'period[x]'}
                                index: 131
                              value:
                                base: {max: '1', min: 0, 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: 133
                              valueDuration:
                                base: {max: '1', min: 0, 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: 134
                              valueString:
                                base: {max: '1', min: 0, 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: 135
                            required: [url]
                          specialPrecautionsForStorage:
                            url: specialPrecautionsForStorage
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            array: true
                            index: 136
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: specialPrecautionsForStorage}
                                index: 137
                              value:
                                base: {max: '1', min: 0, 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: 139
                              valueCodeableConcept:
                                base: {max: '1', min: 0, 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: 140
                            required: [url]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            index: 124
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                type:
                                  match: {url: type}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    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
                                    index: 125
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: type}
                                        index: 126
                                      value:
                                        base: {max: '1', min: 0, 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: 128
                                      valueCodeableConcept:
                                        base: {max: '1', min: 0, 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: 129
                                    required: [url]
                                period[x]:
                                  match: {url: 'period[x]'}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    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
                                    index: 130
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: 'period[x]'}
                                        index: 131
                                      value:
                                        base: {max: '1', min: 0, 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: 133
                                      valueDuration:
                                        base: {max: '1', min: 0, 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: 134
                                      valueString:
                                        base: {max: '1', min: 0, 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: 135
                                    required: [url]
                                specialPrecautionsForStorage:
                                  match: {url: specialPrecautionsForStorage}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    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
                                    array: true
                                    index: 136
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                                        index: 137
                                      value:
                                        base: {max: '1', min: 0, 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: 139
                                      valueCodeableConcept:
                                        base: {max: '1', min: 0, 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: 140
                                    required: [url]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: shelfLifeStorage}
                            index: 141
                        required: [url]
                    property:
                      match: {url: property}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: General characteristics of this item
                        array: true
                        index: 147
                        extensions:
                          type:
                            url: type
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: A code expressing the type of characteristic
                            _required: true
                            index: 149
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 150
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 152
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 153
                            required: [url]
                          value[x]:
                            url: value[x]
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: A value for the characteristic
                            index: 154
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'value[x]'}
                                index: 155
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 157
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 158
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 159
                              valueDate:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 160
                              valueBoolean:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 161
                              valueAttachment:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 162
                            required: [url]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            min: 1
                            index: 148
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                type:
                                  match: {url: type}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: A code expressing the type of characteristic
                                    _required: true
                                    index: 149
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: type}
                                        index: 150
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: A code expressing the type of characteristic
                                        choices: [valueCodeableConcept]
                                        index: 152
                                      valueCodeableConcept:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: A code expressing the type of characteristic
                                        choiceOf: value
                                        index: 153
                                    required: [url]
                                value[x]:
                                  match: {url: 'value[x]'}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: A value for the characteristic
                                    index: 154
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: 'value[x]'}
                                        index: 155
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: A value for the characteristic
                                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                        index: 157
                                      valueCodeableConcept:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 158
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 159
                                      valueDate:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: date
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 160
                                      valueBoolean:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: boolean
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 161
                                      valueAttachment:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Attachment
                                        short: A value for the characteristic
                                        choiceOf: value
                                        index: 162
                                    required: [url]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: property}
                            index: 163
                        required: [url, extension]
                    alternateMaterial:
                      match: {url: alternateMaterial}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                        array: true
                        index: 118
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: alternateMaterial}
                            index: 119
                          value:
                            base: {max: '1', min: 0, 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: 121
                          valueCodeableConcept:
                            base: {max: '1', min: 0, 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: 122
                        required: [url]
                    type:
                      match: {url: type}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The physical type of the container of the items
                        index: 103
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: type}
                            index: 104
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The physical type of the container of the items
                            choices: [valueCodeableConcept]
                            index: 106
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The physical type of the container of the items
                            choiceOf: value
                            index: 107
                        required: [url]
                    material:
                      match: {url: material}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Material type of the package item
                        array: true
                        index: 113
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: material}
                            index: 114
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Material type of the package item
                            choices: [valueCodeableConcept]
                            index: 116
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Material type of the package item
                            choiceOf: value
                            index: 117
                        required: [url]
                    identifier:
                      match: {url: identifier}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                        array: true
                        index: 98
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: identifier}
                            index: 99
                          value:
                            base: {max: '1', min: 0, 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: 101
                          valueIdentifier:
                            base: {max: '1', min: 0, 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: 102
                        required: [url]
                    manufacturer:
                      match: {url: manufacturer}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                        array: true
                        index: 142
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: manufacturer}
                            index: 143
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                            choices: [valueReference]
                            index: 145
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                            choiceOf: value
                            index: 146
                        required: [url]
                    containedItem:
                      match: {url: containedItem}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The item(s) within the packaging
                        array: true
                        index: 164
                        extensions:
                          item:
                            url: item
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            _required: true
                            index: 166
                            extensions:
                              concept:
                                url: concept
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a concept (by class)
                                index: 168
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: concept}
                                    index: 169
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 171
                                  valueCodeableConcept:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 172
                                required: [url]
                              reference:
                                url: reference
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a resource (by instance)
                                index: 173
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: reference}
                                    index: 174
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 176
                                  valueReference:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 177
                                required: [url]
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                index: 178
                                elements:
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    pattern: {type: String, value: CodeableReference}
                                    choices: [valueString]
                                    index: 180
                                  valueString:
                                    type: string
                                    pattern: {type: String, value: CodeableReference}
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 181
                                required: [valueString, value]
                            elements:
                              extension:
                                base: {max: '*', min: 0, path: Extension.extension}
                                array: true
                                index: 167
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    concept:
                                      match: {url: concept}
                                      schema:
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a concept (by class)
                                        index: 168
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: concept}
                                            index: 169
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 171
                                          valueCodeableConcept:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 172
                                        required: [url]
                                    reference:
                                      match: {url: reference}
                                      schema:
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a resource (by instance)
                                        index: 173
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: reference}
                                            index: 174
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 176
                                          valueReference:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 177
                                        required: [url]
                                    _datatype:
                                      match: {url: null}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                        index: 178
                                        elements:
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            pattern: {type: String, value: CodeableReference}
                                            choices: [valueString]
                                            index: 180
                                          valueString:
                                            type: string
                                            pattern: {type: String, value: CodeableReference}
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 181
                                        required: [valueString, value]
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: item}
                                index: 182
                            required: [url]
                          amount:
                            url: amount
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: The number of this type of item within this packaging
                            index: 183
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: amount}
                                index: 184
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging
                                choices: [valueQuantity]
                                index: 186
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging
                                choiceOf: value
                                index: 187
                            required: [url]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            min: 1
                            index: 165
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                item:
                                  match: {url: item}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    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
                                    _required: true
                                    index: 166
                                    extensions:
                                      concept:
                                        url: concept
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a concept (by class)
                                        index: 168
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: concept}
                                            index: 169
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 171
                                          valueCodeableConcept:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 172
                                        required: [url]
                                      reference:
                                        url: reference
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a resource (by instance)
                                        index: 173
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: reference}
                                            index: 174
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 176
                                          valueReference:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 177
                                        required: [url]
                                      _datatype:
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        index: 178
                                        elements:
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            pattern: {type: String, value: CodeableReference}
                                            choices: [valueString]
                                            index: 180
                                          valueString:
                                            type: string
                                            pattern: {type: String, value: CodeableReference}
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 181
                                        required: [valueString, value]
                                    elements:
                                      extension:
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        array: true
                                        index: 167
                                        slicing:
                                          rules: closed
                                          ordered: false
                                          discriminator:
                                          - {path: url, type: value}
                                          min: 0
                                          slices:
                                            concept:
                                              match: {url: concept}
                                              schema:
                                                base: {max: '*', min: 0, path: Extension.extension}
                                                short: Reference to a concept (by class)
                                                index: 168
                                                elements:
                                                  url:
                                                    base: {max: '1', min: 1, path: Extension.url}
                                                    pattern: {type: Uri, value: concept}
                                                    index: 169
                                                  value:
                                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                                    short: Reference to a concept (by class)
                                                    choices: [valueCodeableConcept]
                                                    index: 171
                                                  valueCodeableConcept:
                                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                                    type: CodeableConcept
                                                    short: Reference to a concept (by class)
                                                    choiceOf: value
                                                    index: 172
                                                required: [url]
                                            reference:
                                              match: {url: reference}
                                              schema:
                                                base: {max: '*', min: 0, path: Extension.extension}
                                                short: Reference to a resource (by instance)
                                                index: 173
                                                elements:
                                                  url:
                                                    base: {max: '1', min: 1, path: Extension.url}
                                                    pattern: {type: Uri, value: reference}
                                                    index: 174
                                                  value:
                                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                                    short: Reference to a resource (by instance)
                                                    choices: [valueReference]
                                                    index: 176
                                                  valueReference:
                                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                                    type: Reference
                                                    short: Reference to a resource (by instance)
                                                    choiceOf: value
                                                    index: 177
                                                required: [url]
                                            _datatype:
                                              match: {url: null}
                                              schema:
                                                type: Extension
                                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                                index: 178
                                                elements:
                                                  value:
                                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                                    pattern: {type: String, value: CodeableReference}
                                                    choices: [valueString]
                                                    index: 180
                                                  valueString:
                                                    type: string
                                                    pattern: {type: String, value: CodeableReference}
                                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                                    choiceOf: value
                                                    index: 181
                                                required: [valueString, value]
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: item}
                                        index: 182
                                    required: [url]
                                amount:
                                  match: {url: amount}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: The number of this type of item within this packaging
                                    index: 183
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: amount}
                                        index: 184
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: The number of this type of item within this packaging
                                        choices: [valueQuantity]
                                        index: 186
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: The number of this type of item within this packaging
                                        choiceOf: value
                                        index: 187
                                    required: [url]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: containedItem}
                            index: 188
                        required: [url, extension]
                    quantity:
                      match: {url: quantity}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                        index: 108
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: quantity}
                            index: 109
                          value:
                            base: {max: '1', min: 0, 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: 111
                          valueInteger:
                            base: {max: '1', min: 0, 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: 112
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: package}
                index: 196
            required: [url]
        packageFor:
          match: {url: packageFor}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The product that this is a pack for
            array: true
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: packageFor}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The product that this is a pack for
                choices: [valueReference]
                index: 14
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: The product that this is a pack for
                choiceOf: value
                index: 15
            required: [url]
        name:
          match: {url: name}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: name}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
                choices: [valueString]
                index: 4
              valueString:
                base: {max: '1', min: 0, 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: 5
            required: [url]
        copackagedIndicator:
          match: {url: copackagedIndicator}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: If the drug product is supplied with another item such as a diluent or adjuvant
            index: 86
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: copackagedIndicator}
                index: 87
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: If the drug product is supplied with another item such as a diluent or adjuvant
                choices: [valueBoolean]
                index: 89
              valueBoolean:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: boolean
                short: If the drug product is supplied with another item such as a diluent or adjuvant
                choiceOf: value
                index: 90
            required: [url]
        type:
          match: {url: type}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: A high level category e.g. medicinal product, raw material, shipping container etc
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A high level category e.g. medicinal product, raw material, shipping container etc
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A high level category e.g. medicinal product, raw material, shipping container etc
                choiceOf: value
                index: 10
            required: [url]
        characteristic:
          match: {url: characteristic}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
            array: true
            index: 81
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: characteristic}
                index: 82
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
                choices: [valueCodeableConcept]
                index: 84
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
                choiceOf: value
                index: 85
            required: [url]
        marketingStatus:
          match: {url: marketingStatus}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated
            array: true
            index: 49
            extensions:
              country:
                url: country
                base: {max: '*', min: 0, path: Extension.extension}
                short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                index: 51
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: country}
                    index: 52
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choices: [valueCodeableConcept]
                    index: 54
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choiceOf: value
                    index: 55
                required: [url]
              jurisdiction:
                url: jurisdiction
                base: {max: '*', min: 0, path: Extension.extension}
                short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                index: 56
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: jurisdiction}
                    index: 57
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choices: [valueCodeableConcept]
                    index: 59
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choiceOf: value
                    index: 60
                required: [url]
              status:
                url: status
                base: {max: '*', min: 0, path: Extension.extension}
                short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                _required: true
                index: 61
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: status}
                    index: 62
                  value:
                    base: {max: '1', min: 0, 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: 64
                  valueCodeableConcept:
                    base: {max: '1', min: 0, 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: 65
                required: [url]
              dateRange:
                url: dateRange
                base: {max: '*', min: 0, path: Extension.extension}
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                index: 66
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: dateRange}
                    index: 67
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valuePeriod]
                    index: 69
                  valuePeriod:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Period
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 70
                required: [url]
              restoreDate:
                url: restoreDate
                base: {max: '*', min: 0, path: Extension.extension}
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                index: 71
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: restoreDate}
                    index: 72
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valueDateTime]
                    index: 74
                  valueDateTime:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 75
                required: [url]
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                type: Extension
                short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
                index: 76
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: MarketingStatus}
                    choices: [valueString]
                    index: 78
                  valueString:
                    type: string
                    pattern: {type: String, value: MarketingStatus}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 79
                required: [valueString, value]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 50
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    country:
                      match: {url: country}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                        index: 51
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: country}
                            index: 52
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                            choices: [valueCodeableConcept]
                            index: 54
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                            choiceOf: value
                            index: 55
                        required: [url]
                    jurisdiction:
                      match: {url: jurisdiction}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                        index: 56
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: jurisdiction}
                            index: 57
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                            choices: [valueCodeableConcept]
                            index: 59
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                            choiceOf: value
                            index: 60
                        required: [url]
                    status:
                      match: {url: status}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                        _required: true
                        index: 61
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: status}
                            index: 62
                          value:
                            base: {max: '1', min: 0, 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: 64
                          valueCodeableConcept:
                            base: {max: '1', min: 0, 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: 65
                        required: [url]
                    dateRange:
                      match: {url: dateRange}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                        index: 66
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: dateRange}
                            index: 67
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choices: [valuePeriod]
                            index: 69
                          valuePeriod:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Period
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choiceOf: value
                            index: 70
                        required: [url]
                    restoreDate:
                      match: {url: restoreDate}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                        index: 71
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: restoreDate}
                            index: 72
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choices: [valueDateTime]
                            index: 74
                          valueDateTime:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: dateTime
                            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                            choiceOf: value
                            index: 75
                        required: [url]
                    _datatype:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        index: 76
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: MarketingStatus}
                            choices: [valueString]
                            index: 78
                          valueString:
                            type: string
                            pattern: {type: String, value: MarketingStatus}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 79
                        required: [valueString, value]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: marketingStatus}
                index: 80
            required: [url, extension]
        status:
          match: {url: status}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            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
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: status}
                index: 17
              value:
                base: {max: '1', min: 0, 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: 19
              valueCodeableConcept:
                base: {max: '1', min: 0, 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: 20
            required: [url]
        containedItemQuantity:
          match: {url: containedItemQuantity}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            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
            array: true
            index: 26
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: containedItemQuantity}
                index: 27
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
                choices: [valueQuantity]
                index: 29
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
                choiceOf: value
                index: 30
            required: [url]
        statusDate:
          match: {url: statusDate}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The date at which the given status became applicable
            index: 21
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: statusDate}
                index: 22
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The date at which the given status became applicable
                choices: [valueDateTime]
                index: 24
              valueDateTime:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: dateTime
                short: The date at which the given status became applicable
                choiceOf: value
                index: 25
            required: [url]
        manufacturer:
          match: {url: manufacturer}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Manufacturer of this package type (multiple means these are all possible manufacturers)
            array: true
            index: 91
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: manufacturer}
                index: 92
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Manufacturer of this package type (multiple means these are all possible manufacturers)
                choices: [valueReference]
                index: 94
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Manufacturer of this package type (multiple means these are all possible manufacturers)
                choiceOf: value
                index: 95
            required: [url]
        legalStatusOfSupply:
          match: {url: legalStatusOfSupply}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The legal status of supply of the packaged item as classified by the regulator
            array: true
            index: 36
            extensions:
              code:
                url: code
                base: {max: '*', min: 0, path: Extension.extension}
                short: The actual status of supply. In what situation this package type may be supplied for use
                index: 38
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: code}
                    index: 39
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The actual status of supply. In what situation this package type may be supplied for use
                    choices: [valueCodeableConcept]
                    index: 41
                  valueCodeableConcept:
                    base: {max: '1', min: 0, 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: 42
                required: [url]
              jurisdiction:
                url: jurisdiction
                base: {max: '*', min: 0, path: Extension.extension}
                short: The place where the legal status of supply applies
                index: 43
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: jurisdiction}
                    index: 44
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The place where the legal status of supply applies
                    choices: [valueCodeableConcept]
                    index: 46
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The place where the legal status of supply applies
                    choiceOf: value
                    index: 47
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 37
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    code:
                      match: {url: code}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The actual status of supply. In what situation this package type may be supplied for use
                        index: 38
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: code}
                            index: 39
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The actual status of supply. In what situation this package type may be supplied for use
                            choices: [valueCodeableConcept]
                            index: 41
                          valueCodeableConcept:
                            base: {max: '1', min: 0, 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: 42
                        required: [url]
                    jurisdiction:
                      match: {url: jurisdiction}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The place where the legal status of supply applies
                        index: 43
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: jurisdiction}
                            index: 44
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The place where the legal status of supply applies
                            choices: [valueCodeableConcept]
                            index: 46
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The place where the legal status of supply applies
                            choiceOf: value
                            index: 47
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: legalStatusOfSupply}
                index: 48
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition'}
    index: 197
package_version: r4b.r4-0.0.1-snapshot-2
extensions:
  description:
    url: description
    base: {max: '*', min: 0, path: Extension.extension}
    short: Textual description. Note that this is not the name of the package or product
    index: 31
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: description}
        index: 32
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Textual description. Note that this is not the name of the package or product
        choices: [valueMarkdown]
        index: 34
      valueMarkdown:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: markdown
        short: Textual description. Note that this is not the name of the package or product
        choiceOf: value
        index: 35
    required: [url]
  package:
    url: package
    base: {max: '*', min: 0, path: Extension.extension}
    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
    index: 96
    extensions:
      package:
        url: package
        base: {max: '*', min: 0, path: Extension.extension}
        short: Allows containers (and parts of containers) within containers, still a single packaged product
        array: true
        index: 189
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
            type: Extension
            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
            index: 191
            elements:
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: PackagedProductDefinition.package}
                choices: [valueString]
                index: 193
              valueString:
                type: string
                pattern: {type: String, value: PackagedProductDefinition.package}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 194
            required: [valueString, value]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            index: 190
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                _datatype:
                  match: {url: null}
                  schema:
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    index: 191
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: PackagedProductDefinition.package}
                        choices: [valueString]
                        index: 193
                      valueString:
                        type: string
                        pattern: {type: String, value: PackagedProductDefinition.package}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 194
                    required: [valueString, value]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: package}
            index: 195
        required: [url]
      shelfLifeStorage:
        url: shelfLifeStorage
        base: {max: '*', min: 0, path: Extension.extension}
        short: Shelf Life and storage information
        array: true
        index: 123
        extensions:
          type:
            url: type
            base: {max: '*', min: 0, path: Extension.extension}
            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
            index: 125
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 126
              value:
                base: {max: '1', min: 0, 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: 128
              valueCodeableConcept:
                base: {max: '1', min: 0, 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: 129
            required: [url]
          period[x]:
            url: period[x]
            base: {max: '*', min: 0, path: Extension.extension}
            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
            index: 130
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: 'period[x]'}
                index: 131
              value:
                base: {max: '1', min: 0, 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: 133
              valueDuration:
                base: {max: '1', min: 0, 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: 134
              valueString:
                base: {max: '1', min: 0, 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: 135
            required: [url]
          specialPrecautionsForStorage:
            url: specialPrecautionsForStorage
            base: {max: '*', min: 0, path: Extension.extension}
            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
            array: true
            index: 136
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: specialPrecautionsForStorage}
                index: 137
              value:
                base: {max: '1', min: 0, 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: 139
              valueCodeableConcept:
                base: {max: '1', min: 0, 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: 140
            required: [url]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            index: 124
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                type:
                  match: {url: type}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    index: 125
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 126
                      value:
                        base: {max: '1', min: 0, 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: 128
                      valueCodeableConcept:
                        base: {max: '1', min: 0, 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: 129
                    required: [url]
                period[x]:
                  match: {url: 'period[x]'}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    index: 130
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'period[x]'}
                        index: 131
                      value:
                        base: {max: '1', min: 0, 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: 133
                      valueDuration:
                        base: {max: '1', min: 0, 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: 134
                      valueString:
                        base: {max: '1', min: 0, 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: 135
                    required: [url]
                specialPrecautionsForStorage:
                  match: {url: specialPrecautionsForStorage}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    array: true
                    index: 136
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                        index: 137
                      value:
                        base: {max: '1', min: 0, 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: 139
                      valueCodeableConcept:
                        base: {max: '1', min: 0, 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: 140
                    required: [url]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: shelfLifeStorage}
            index: 141
        required: [url]
      property:
        url: property
        base: {max: '*', min: 0, path: Extension.extension}
        short: General characteristics of this item
        array: true
        index: 147
        extensions:
          type:
            url: type
            base: {max: '*', min: 0, path: Extension.extension}
            short: A code expressing the type of characteristic
            _required: true
            index: 149
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 150
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A code expressing the type of characteristic
                choices: [valueCodeableConcept]
                index: 152
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A code expressing the type of characteristic
                choiceOf: value
                index: 153
            required: [url]
          value[x]:
            url: value[x]
            base: {max: '*', min: 0, path: Extension.extension}
            short: A value for the characteristic
            index: 154
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: 'value[x]'}
                index: 155
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A value for the characteristic
                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                index: 157
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A value for the characteristic
                choiceOf: value
                index: 158
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: A value for the characteristic
                choiceOf: value
                index: 159
              valueDate:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: date
                short: A value for the characteristic
                choiceOf: value
                index: 160
              valueBoolean:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: boolean
                short: A value for the characteristic
                choiceOf: value
                index: 161
              valueAttachment:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Attachment
                short: A value for the characteristic
                choiceOf: value
                index: 162
            required: [url]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            min: 1
            index: 148
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                type:
                  match: {url: type}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: A code expressing the type of characteristic
                    _required: true
                    index: 149
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 150
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 152
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 153
                    required: [url]
                value[x]:
                  match: {url: 'value[x]'}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: A value for the characteristic
                    index: 154
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'value[x]'}
                        index: 155
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 157
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 158
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 159
                      valueDate:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 160
                      valueBoolean:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 161
                      valueAttachment:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 162
                    required: [url]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: property}
            index: 163
        required: [url, extension]
      alternateMaterial:
        url: alternateMaterial
        base: {max: '*', min: 0, path: Extension.extension}
        short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
        array: true
        index: 118
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: alternateMaterial}
            index: 119
          value:
            base: {max: '1', min: 0, 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: 121
          valueCodeableConcept:
            base: {max: '1', min: 0, 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: 122
        required: [url]
      type:
        url: type
        base: {max: '*', min: 0, path: Extension.extension}
        short: The physical type of the container of the items
        index: 103
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: type}
            index: 104
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The physical type of the container of the items
            choices: [valueCodeableConcept]
            index: 106
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The physical type of the container of the items
            choiceOf: value
            index: 107
        required: [url]
      material:
        url: material
        base: {max: '*', min: 0, path: Extension.extension}
        short: Material type of the package item
        array: true
        index: 113
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: material}
            index: 114
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Material type of the package item
            choices: [valueCodeableConcept]
            index: 116
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Material type of the package item
            choiceOf: value
            index: 117
        required: [url]
      identifier:
        url: identifier
        base: {max: '*', min: 0, path: Extension.extension}
        short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
        array: true
        index: 98
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: identifier}
            index: 99
          value:
            base: {max: '1', min: 0, 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: 101
          valueIdentifier:
            base: {max: '1', min: 0, 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: 102
        required: [url]
      manufacturer:
        url: manufacturer
        base: {max: '*', min: 0, path: Extension.extension}
        short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
        array: true
        index: 142
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: manufacturer}
            index: 143
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
            choices: [valueReference]
            index: 145
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
            choiceOf: value
            index: 146
        required: [url]
      containedItem:
        url: containedItem
        base: {max: '*', min: 0, path: Extension.extension}
        short: The item(s) within the packaging
        array: true
        index: 164
        extensions:
          item:
            url: item
            base: {max: '*', min: 0, path: Extension.extension}
            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
            _required: true
            index: 166
            extensions:
              concept:
                url: concept
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a concept (by class)
                index: 168
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 169
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 171
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 172
                required: [url]
              reference:
                url: reference
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a resource (by instance)
                index: 173
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 174
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 176
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 177
                required: [url]
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                type: Extension
                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                index: 178
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 180
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 181
                required: [valueString, value]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 167
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    concept:
                      match: {url: concept}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a concept (by class)
                        index: 168
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 169
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 171
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 172
                        required: [url]
                    reference:
                      match: {url: reference}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a resource (by instance)
                        index: 173
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 174
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 176
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 177
                        required: [url]
                    _datatype:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        index: 178
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 180
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 181
                        required: [valueString, value]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: item}
                index: 182
            required: [url]
          amount:
            url: amount
            base: {max: '*', min: 0, path: Extension.extension}
            short: The number of this type of item within this packaging
            index: 183
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: amount}
                index: 184
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The number of this type of item within this packaging
                choices: [valueQuantity]
                index: 186
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: The number of this type of item within this packaging
                choiceOf: value
                index: 187
            required: [url]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            min: 1
            index: 165
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                item:
                  match: {url: item}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    _required: true
                    index: 166
                    extensions:
                      concept:
                        url: concept
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a concept (by class)
                        index: 168
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 169
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 171
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 172
                        required: [url]
                      reference:
                        url: reference
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a resource (by instance)
                        index: 173
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 174
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 176
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 177
                        required: [url]
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        index: 178
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 180
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 181
                        required: [valueString, value]
                    elements:
                      extension:
                        base: {max: '*', min: 0, path: Extension.extension}
                        array: true
                        index: 167
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            concept:
                              match: {url: concept}
                              schema:
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a concept (by class)
                                index: 168
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: concept}
                                    index: 169
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 171
                                  valueCodeableConcept:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 172
                                required: [url]
                            reference:
                              match: {url: reference}
                              schema:
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a resource (by instance)
                                index: 173
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: reference}
                                    index: 174
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 176
                                  valueReference:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 177
                                required: [url]
                            _datatype:
                              match: {url: null}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                index: 178
                                elements:
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    pattern: {type: String, value: CodeableReference}
                                    choices: [valueString]
                                    index: 180
                                  valueString:
                                    type: string
                                    pattern: {type: String, value: CodeableReference}
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 181
                                required: [valueString, value]
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: item}
                        index: 182
                    required: [url]
                amount:
                  match: {url: amount}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: The number of this type of item within this packaging
                    index: 183
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: amount}
                        index: 184
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging
                        choices: [valueQuantity]
                        index: 186
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging
                        choiceOf: value
                        index: 187
                    required: [url]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: containedItem}
            index: 188
        required: [url, extension]
      quantity:
        url: quantity
        base: {max: '*', min: 0, path: Extension.extension}
        short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
        index: 108
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: quantity}
            index: 109
          value:
            base: {max: '1', min: 0, 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: 111
          valueInteger:
            base: {max: '1', min: 0, 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: 112
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 97
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            package:
              match: {url: package}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Allows containers (and parts of containers) within containers, still a single packaged product
                array: true
                index: 189
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                    index: 191
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: PackagedProductDefinition.package}
                        choices: [valueString]
                        index: 193
                      valueString:
                        type: string
                        pattern: {type: String, value: PackagedProductDefinition.package}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 194
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 190
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for PackagedProductDefinition.package.package from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 191
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: PackagedProductDefinition.package}
                                choices: [valueString]
                                index: 193
                              valueString:
                                type: string
                                pattern: {type: String, value: PackagedProductDefinition.package}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 194
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: package}
                    index: 195
                required: [url]
            shelfLifeStorage:
              match: {url: shelfLifeStorage}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Shelf Life and storage information
                array: true
                index: 123
                extensions:
                  type:
                    url: type
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    index: 125
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 126
                      value:
                        base: {max: '1', min: 0, 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: 128
                      valueCodeableConcept:
                        base: {max: '1', min: 0, 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: 129
                    required: [url]
                  period[x]:
                    url: period[x]
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    index: 130
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'period[x]'}
                        index: 131
                      value:
                        base: {max: '1', min: 0, 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: 133
                      valueDuration:
                        base: {max: '1', min: 0, 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: 134
                      valueString:
                        base: {max: '1', min: 0, 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: 135
                    required: [url]
                  specialPrecautionsForStorage:
                    url: specialPrecautionsForStorage
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    array: true
                    index: 136
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                        index: 137
                      value:
                        base: {max: '1', min: 0, 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: 139
                      valueCodeableConcept:
                        base: {max: '1', min: 0, 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: 140
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 124
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        type:
                          match: {url: type}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            index: 125
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 126
                              value:
                                base: {max: '1', min: 0, 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: 128
                              valueCodeableConcept:
                                base: {max: '1', min: 0, 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: 129
                            required: [url]
                        period[x]:
                          match: {url: 'period[x]'}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            index: 130
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'period[x]'}
                                index: 131
                              value:
                                base: {max: '1', min: 0, 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: 133
                              valueDuration:
                                base: {max: '1', min: 0, 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: 134
                              valueString:
                                base: {max: '1', min: 0, 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: 135
                            required: [url]
                        specialPrecautionsForStorage:
                          match: {url: specialPrecautionsForStorage}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            array: true
                            index: 136
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: specialPrecautionsForStorage}
                                index: 137
                              value:
                                base: {max: '1', min: 0, 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: 139
                              valueCodeableConcept:
                                base: {max: '1', min: 0, 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: 140
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: shelfLifeStorage}
                    index: 141
                required: [url]
            property:
              match: {url: property}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: General characteristics of this item
                array: true
                index: 147
                extensions:
                  type:
                    url: type
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: A code expressing the type of characteristic
                    _required: true
                    index: 149
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 150
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: A code expressing the type of characteristic
                        choices: [valueCodeableConcept]
                        index: 152
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A code expressing the type of characteristic
                        choiceOf: value
                        index: 153
                    required: [url]
                  value[x]:
                    url: value[x]
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: A value for the characteristic
                    index: 154
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'value[x]'}
                        index: 155
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: A value for the characteristic
                        choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                        index: 157
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: A value for the characteristic
                        choiceOf: value
                        index: 158
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: A value for the characteristic
                        choiceOf: value
                        index: 159
                      valueDate:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: date
                        short: A value for the characteristic
                        choiceOf: value
                        index: 160
                      valueBoolean:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: boolean
                        short: A value for the characteristic
                        choiceOf: value
                        index: 161
                      valueAttachment:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Attachment
                        short: A value for the characteristic
                        choiceOf: value
                        index: 162
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 1
                    index: 148
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        type:
                          match: {url: type}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: A code expressing the type of characteristic
                            _required: true
                            index: 149
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 150
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: A code expressing the type of characteristic
                                choices: [valueCodeableConcept]
                                index: 152
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A code expressing the type of characteristic
                                choiceOf: value
                                index: 153
                            required: [url]
                        value[x]:
                          match: {url: 'value[x]'}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: A value for the characteristic
                            index: 154
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'value[x]'}
                                index: 155
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: A value for the characteristic
                                choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                                index: 157
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: A value for the characteristic
                                choiceOf: value
                                index: 158
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: A value for the characteristic
                                choiceOf: value
                                index: 159
                              valueDate:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: date
                                short: A value for the characteristic
                                choiceOf: value
                                index: 160
                              valueBoolean:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: boolean
                                short: A value for the characteristic
                                choiceOf: value
                                index: 161
                              valueAttachment:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Attachment
                                short: A value for the characteristic
                                choiceOf: value
                                index: 162
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: property}
                    index: 163
                required: [url, extension]
            alternateMaterial:
              match: {url: alternateMaterial}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                array: true
                index: 118
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: alternateMaterial}
                    index: 119
                  value:
                    base: {max: '1', min: 0, 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: 121
                  valueCodeableConcept:
                    base: {max: '1', min: 0, 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: 122
                required: [url]
            type:
              match: {url: type}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The physical type of the container of the items
                index: 103
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 104
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The physical type of the container of the items
                    choices: [valueCodeableConcept]
                    index: 106
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The physical type of the container of the items
                    choiceOf: value
                    index: 107
                required: [url]
            material:
              match: {url: material}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Material type of the package item
                array: true
                index: 113
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: material}
                    index: 114
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 116
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 117
                required: [url]
            identifier:
              match: {url: identifier}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                array: true
                index: 98
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 99
                  value:
                    base: {max: '1', min: 0, 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: 101
                  valueIdentifier:
                    base: {max: '1', min: 0, 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: 102
                required: [url]
            manufacturer:
              match: {url: manufacturer}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                array: true
                index: 142
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: manufacturer}
                    index: 143
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choices: [valueReference]
                    index: 145
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                    choiceOf: value
                    index: 146
                required: [url]
            containedItem:
              match: {url: containedItem}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The item(s) within the packaging
                array: true
                index: 164
                extensions:
                  item:
                    url: item
                    base: {max: '*', min: 0, path: Extension.extension}
                    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
                    _required: true
                    index: 166
                    extensions:
                      concept:
                        url: concept
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a concept (by class)
                        index: 168
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 169
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 171
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 172
                        required: [url]
                      reference:
                        url: reference
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a resource (by instance)
                        index: 173
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 174
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 176
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 177
                        required: [url]
                      _datatype:
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        type: Extension
                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                        index: 178
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 180
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 181
                        required: [valueString, value]
                    elements:
                      extension:
                        base: {max: '*', min: 0, path: Extension.extension}
                        array: true
                        index: 167
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            concept:
                              match: {url: concept}
                              schema:
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a concept (by class)
                                index: 168
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: concept}
                                    index: 169
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 171
                                  valueCodeableConcept:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 172
                                required: [url]
                            reference:
                              match: {url: reference}
                              schema:
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a resource (by instance)
                                index: 173
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: reference}
                                    index: 174
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 176
                                  valueReference:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 177
                                required: [url]
                            _datatype:
                              match: {url: null}
                              schema:
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                index: 178
                                elements:
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    pattern: {type: String, value: CodeableReference}
                                    choices: [valueString]
                                    index: 180
                                  valueString:
                                    type: string
                                    pattern: {type: String, value: CodeableReference}
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 181
                                required: [valueString, value]
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: item}
                        index: 182
                    required: [url]
                  amount:
                    url: amount
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: The number of this type of item within this packaging
                    index: 183
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: amount}
                        index: 184
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: The number of this type of item within this packaging
                        choices: [valueQuantity]
                        index: 186
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: The number of this type of item within this packaging
                        choiceOf: value
                        index: 187
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 1
                    index: 165
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        item:
                          match: {url: item}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            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
                            _required: true
                            index: 166
                            extensions:
                              concept:
                                url: concept
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a concept (by class)
                                index: 168
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: concept}
                                    index: 169
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a concept (by class)
                                    choices: [valueCodeableConcept]
                                    index: 171
                                  valueCodeableConcept:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Reference to a concept (by class)
                                    choiceOf: value
                                    index: 172
                                required: [url]
                              reference:
                                url: reference
                                base: {max: '*', min: 0, path: Extension.extension}
                                short: Reference to a resource (by instance)
                                index: 173
                                elements:
                                  url:
                                    base: {max: '1', min: 1, path: Extension.url}
                                    pattern: {type: Uri, value: reference}
                                    index: 174
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    short: Reference to a resource (by instance)
                                    choices: [valueReference]
                                    index: 176
                                  valueReference:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    type: Reference
                                    short: Reference to a resource (by instance)
                                    choiceOf: value
                                    index: 177
                                required: [url]
                              _datatype:
                                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                type: Extension
                                short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                index: 178
                                elements:
                                  value:
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    pattern: {type: String, value: CodeableReference}
                                    choices: [valueString]
                                    index: 180
                                  valueString:
                                    type: string
                                    pattern: {type: String, value: CodeableReference}
                                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                    choiceOf: value
                                    index: 181
                                required: [valueString, value]
                            elements:
                              extension:
                                base: {max: '*', min: 0, path: Extension.extension}
                                array: true
                                index: 167
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 0
                                  slices:
                                    concept:
                                      match: {url: concept}
                                      schema:
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a concept (by class)
                                        index: 168
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: concept}
                                            index: 169
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a concept (by class)
                                            choices: [valueCodeableConcept]
                                            index: 171
                                          valueCodeableConcept:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Reference to a concept (by class)
                                            choiceOf: value
                                            index: 172
                                        required: [url]
                                    reference:
                                      match: {url: reference}
                                      schema:
                                        base: {max: '*', min: 0, path: Extension.extension}
                                        short: Reference to a resource (by instance)
                                        index: 173
                                        elements:
                                          url:
                                            base: {max: '1', min: 1, path: Extension.url}
                                            pattern: {type: Uri, value: reference}
                                            index: 174
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            short: Reference to a resource (by instance)
                                            choices: [valueReference]
                                            index: 176
                                          valueReference:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            type: Reference
                                            short: Reference to a resource (by instance)
                                            choiceOf: value
                                            index: 177
                                        required: [url]
                                    _datatype:
                                      match: {url: null}
                                      schema:
                                        type: Extension
                                        short: Data type name for PackagedProductDefinition.package.containedItem.item from FHIR R4B
                                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                        index: 178
                                        elements:
                                          value:
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            pattern: {type: String, value: CodeableReference}
                                            choices: [valueString]
                                            index: 180
                                          valueString:
                                            type: string
                                            pattern: {type: String, value: CodeableReference}
                                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                            choiceOf: value
                                            index: 181
                                        required: [valueString, value]
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: item}
                                index: 182
                            required: [url]
                        amount:
                          match: {url: amount}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: The number of this type of item within this packaging
                            index: 183
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: amount}
                                index: 184
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: The number of this type of item within this packaging
                                choices: [valueQuantity]
                                index: 186
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: The number of this type of item within this packaging
                                choiceOf: value
                                index: 187
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: containedItem}
                    index: 188
                required: [url, extension]
            quantity:
              match: {url: quantity}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                index: 108
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: quantity}
                    index: 109
                  value:
                    base: {max: '1', min: 0, 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: 111
                  valueInteger:
                    base: {max: '1', min: 0, 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: 112
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: package}
        index: 196
    required: [url]
  packageFor:
    url: packageFor
    base: {max: '*', min: 0, path: Extension.extension}
    short: The product that this is a pack for
    array: true
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: packageFor}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The product that this is a pack for
        choices: [valueReference]
        index: 14
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: The product that this is a pack for
        choiceOf: value
        index: 15
    required: [url]
  name:
    url: name
    base: {max: '*', min: 0, path: Extension.extension}
    short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: name}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc
        choices: [valueString]
        index: 4
      valueString:
        base: {max: '1', min: 0, 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: 5
    required: [url]
  copackagedIndicator:
    url: copackagedIndicator
    base: {max: '*', min: 0, path: Extension.extension}
    short: If the drug product is supplied with another item such as a diluent or adjuvant
    index: 86
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: copackagedIndicator}
        index: 87
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: If the drug product is supplied with another item such as a diluent or adjuvant
        choices: [valueBoolean]
        index: 89
      valueBoolean:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: boolean
        short: If the drug product is supplied with another item such as a diluent or adjuvant
        choiceOf: value
        index: 90
    required: [url]
  type:
    url: type
    base: {max: '*', min: 0, path: Extension.extension}
    short: A high level category e.g. medicinal product, raw material, shipping container etc
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: type}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: A high level category e.g. medicinal product, raw material, shipping container etc
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: A high level category e.g. medicinal product, raw material, shipping container etc
        choiceOf: value
        index: 10
    required: [url]
  characteristic:
    url: characteristic
    base: {max: '*', min: 0, path: Extension.extension}
    short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
    array: true
    index: 81
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: characteristic}
        index: 82
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
        choices: [valueCodeableConcept]
        index: 84
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Allows the key features to be recorded, such as "hospital pack", "nurse prescribable"
        choiceOf: value
        index: 85
    required: [url]
  marketingStatus:
    url: marketingStatus
    base: {max: '*', min: 0, path: Extension.extension}
    short: Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated
    array: true
    index: 49
    extensions:
      country:
        url: country
        base: {max: '*', min: 0, path: Extension.extension}
        short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
        index: 51
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: country}
            index: 52
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
            choices: [valueCodeableConcept]
            index: 54
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
            choiceOf: value
            index: 55
        required: [url]
      jurisdiction:
        url: jurisdiction
        base: {max: '*', min: 0, path: Extension.extension}
        short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
        index: 56
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: jurisdiction}
            index: 57
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
            choices: [valueCodeableConcept]
            index: 59
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
            choiceOf: value
            index: 60
        required: [url]
      status:
        url: status
        base: {max: '*', min: 0, path: Extension.extension}
        short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
        _required: true
        index: 61
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: status}
            index: 62
          value:
            base: {max: '1', min: 0, 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: 64
          valueCodeableConcept:
            base: {max: '1', min: 0, 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: 65
        required: [url]
      dateRange:
        url: dateRange
        base: {max: '*', min: 0, path: Extension.extension}
        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
        index: 66
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: dateRange}
            index: 67
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choices: [valuePeriod]
            index: 69
          valuePeriod:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Period
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choiceOf: value
            index: 70
        required: [url]
      restoreDate:
        url: restoreDate
        base: {max: '*', min: 0, path: Extension.extension}
        short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
        index: 71
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: restoreDate}
            index: 72
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choices: [valueDateTime]
            index: 74
          valueDateTime:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: dateTime
            short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
            choiceOf: value
            index: 75
        required: [url]
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
        type: Extension
        short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
        index: 76
        elements:
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            pattern: {type: String, value: MarketingStatus}
            choices: [valueString]
            index: 78
          valueString:
            type: string
            pattern: {type: String, value: MarketingStatus}
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 79
        required: [valueString, value]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 50
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            country:
              match: {url: country}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                index: 51
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: country}
                    index: 52
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choices: [valueCodeableConcept]
                    index: 54
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
                    choiceOf: value
                    index: 55
                required: [url]
            jurisdiction:
              match: {url: jurisdiction}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                index: 56
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: jurisdiction}
                    index: 57
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choices: [valueCodeableConcept]
                    index: 59
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
                    choiceOf: value
                    index: 60
                required: [url]
            status:
              match: {url: status}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples
                _required: true
                index: 61
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: status}
                    index: 62
                  value:
                    base: {max: '1', min: 0, 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: 64
                  valueCodeableConcept:
                    base: {max: '1', min: 0, 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: 65
                required: [url]
            dateRange:
              match: {url: dateRange}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                index: 66
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: dateRange}
                    index: 67
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valuePeriod]
                    index: 69
                  valuePeriod:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Period
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 70
                required: [url]
            restoreDate:
              match: {url: restoreDate}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                index: 71
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: restoreDate}
                    index: 72
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choices: [valueDateTime]
                    index: 74
                  valueDateTime:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
                    choiceOf: value
                    index: 75
                required: [url]
            _datatype:
              match: {url: null}
              schema:
                type: Extension
                short: Data type name for PackagedProductDefinition.marketingStatus from FHIR R4B
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                index: 76
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: MarketingStatus}
                    choices: [valueString]
                    index: 78
                  valueString:
                    type: string
                    pattern: {type: String, value: MarketingStatus}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 79
                required: [valueString, value]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: marketingStatus}
        index: 80
    required: [url, extension]
  status:
    url: status
    base: {max: '*', min: 0, path: Extension.extension}
    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
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: status}
        index: 17
      value:
        base: {max: '1', min: 0, 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: 19
      valueCodeableConcept:
        base: {max: '1', min: 0, 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: 20
    required: [url]
  containedItemQuantity:
    url: containedItemQuantity
    base: {max: '*', min: 0, path: Extension.extension}
    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
    array: true
    index: 26
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: containedItemQuantity}
        index: 27
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
        choices: [valueQuantity]
        index: 29
      valueQuantity:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Quantity
        short: A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size
        choiceOf: value
        index: 30
    required: [url]
  statusDate:
    url: statusDate
    base: {max: '*', min: 0, path: Extension.extension}
    short: The date at which the given status became applicable
    index: 21
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: statusDate}
        index: 22
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The date at which the given status became applicable
        choices: [valueDateTime]
        index: 24
      valueDateTime:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: dateTime
        short: The date at which the given status became applicable
        choiceOf: value
        index: 25
    required: [url]
  manufacturer:
    url: manufacturer
    base: {max: '*', min: 0, path: Extension.extension}
    short: Manufacturer of this package type (multiple means these are all possible manufacturers)
    array: true
    index: 91
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: manufacturer}
        index: 92
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Manufacturer of this package type (multiple means these are all possible manufacturers)
        choices: [valueReference]
        index: 94
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Manufacturer of this package type (multiple means these are all possible manufacturers)
        choiceOf: value
        index: 95
    required: [url]
  legalStatusOfSupply:
    url: legalStatusOfSupply
    base: {max: '*', min: 0, path: Extension.extension}
    short: The legal status of supply of the packaged item as classified by the regulator
    array: true
    index: 36
    extensions:
      code:
        url: code
        base: {max: '*', min: 0, path: Extension.extension}
        short: The actual status of supply. In what situation this package type may be supplied for use
        index: 38
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: code}
            index: 39
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The actual status of supply. In what situation this package type may be supplied for use
            choices: [valueCodeableConcept]
            index: 41
          valueCodeableConcept:
            base: {max: '1', min: 0, 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: 42
        required: [url]
      jurisdiction:
        url: jurisdiction
        base: {max: '*', min: 0, path: Extension.extension}
        short: The place where the legal status of supply applies
        index: 43
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: jurisdiction}
            index: 44
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The place where the legal status of supply applies
            choices: [valueCodeableConcept]
            index: 46
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The place where the legal status of supply applies
            choiceOf: value
            index: 47
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 37
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            code:
              match: {url: code}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The actual status of supply. In what situation this package type may be supplied for use
                index: 38
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: code}
                    index: 39
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The actual status of supply. In what situation this package type may be supplied for use
                    choices: [valueCodeableConcept]
                    index: 41
                  valueCodeableConcept:
                    base: {max: '1', min: 0, 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: 42
                required: [url]
            jurisdiction:
              match: {url: jurisdiction}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The place where the legal status of supply applies
                index: 43
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: jurisdiction}
                    index: 44
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The place where the legal status of supply applies
                    choices: [valueCodeableConcept]
                    index: 46
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The place where the legal status of supply applies
                    choiceOf: value
                    index: 47
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: legalStatusOfSupply}
        index: 48
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition
base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
version: 0.0.1-snapshot-2
required: [url]