PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4.r5@0.0.1-snapshot-2
    http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicinalProductPackaged
description: This cross-version extension represents MedicinalProductPackaged from http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged|4.0.1 for use in FHIR R5.
package_name: hl7.fhir.uv.xver-r4.r5
derivation: constraint
name: Ext_R4_MedicinalProductPackaged
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        description:
          match: {url: description}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Textual description
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: description}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Textual description
                choices: [valueString]
                index: 4
              valueString:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: string
                short: Textual description
                choiceOf: value
                index: 5
            required: [url]
        legalStatusOfSupply:
          match: {url: legalStatusOfSupply}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The legal status of supply of the medicinal product as classified by the regulator
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: legalStatusOfSupply}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The legal status of supply of the medicinal product as classified by the regulator
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The legal status of supply of the medicinal product as classified by the regulator
                choiceOf: value
                index: 10
            required: [url]
        marketingStatus:
          match: {url: marketingStatus}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Marketing information
            array: true
            index: 11
            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
                _required: true
                index: 13
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: country}
                    index: 14
                  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: 16
                  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: 17
                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: 18
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: jurisdiction}
                    index: 19
                  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: 21
                  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: 22
                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: 23
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: status}
                    index: 24
                  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: 26
                  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: 27
                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
                _required: true
                index: 28
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: dateRange}
                    index: 29
                  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: 31
                  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: 32
                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: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: restoreDate}
                    index: 34
                  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: 36
                  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: 37
                required: [url]
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                type: Extension
                short: Data type name for MedicinalProductPackaged.marketingStatus from FHIR R4
                index: 38
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: MarketingStatus}
                    choices: [valueString]
                    index: 40
                  valueString:
                    type: string
                    pattern: {type: String, value: MarketingStatus}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 41
                required: [valueString, value]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 3
                index: 12
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 3
                  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
                        _required: true
                        index: 13
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: country}
                            index: 14
                          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: 16
                          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: 17
                        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: 18
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: jurisdiction}
                            index: 19
                          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: 21
                          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: 22
                        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: 23
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: status}
                            index: 24
                          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: 26
                          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: 27
                        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
                        _required: true
                        index: 28
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: dateRange}
                            index: 29
                          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: 31
                          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: 32
                        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: 33
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: restoreDate}
                            index: 34
                          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: 36
                          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: 37
                        required: [url]
                    _datatype:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: Data type name for MedicinalProductPackaged.marketingStatus from FHIR R4
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        index: 38
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: MarketingStatus}
                            choices: [valueString]
                            index: 40
                          valueString:
                            type: string
                            pattern: {type: String, value: MarketingStatus}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 41
                        required: [valueString, value]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: marketingStatus}
                index: 42
            required: [url]
        marketingAuthorization:
          match: {url: marketingAuthorization}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Manufacturer of this Package Item
            index: 43
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: marketingAuthorization}
                index: 44
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Manufacturer of this Package Item
                choices: [valueReference]
                index: 46
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Manufacturer of this Package Item
                choiceOf: value
                index: 47
            required: [url]
        manufacturer:
          match: {url: manufacturer}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Manufacturer of this Package Item
            array: true
            index: 48
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: manufacturer}
                index: 49
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Manufacturer of this Package Item
                choices: [valueReference]
                index: 51
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Manufacturer of this Package Item
                choiceOf: value
                index: 52
            required: [url]
        batchIdentifier:
          match: {url: batchIdentifier}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Batch numbering
            array: true
            index: 53
            extensions:
              outerPackaging:
                url: outerPackaging
                base: {max: '*', min: 0, path: Extension.extension}
                short: A number appearing on the outer packaging of a specific batch
                _required: true
                index: 55
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: outerPackaging}
                    index: 56
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A number appearing on the outer packaging of a specific batch
                    choices: [valueIdentifier]
                    index: 58
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: A number appearing on the outer packaging of a specific batch
                    choiceOf: value
                    index: 59
                required: [url]
              immediatePackaging:
                url: immediatePackaging
                base: {max: '*', min: 0, path: Extension.extension}
                short: A number appearing on the immediate packaging (and not the outer packaging)
                index: 60
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: immediatePackaging}
                    index: 61
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A number appearing on the immediate packaging (and not the outer packaging)
                    choices: [valueIdentifier]
                    index: 63
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: A number appearing on the immediate packaging (and not the outer packaging)
                    choiceOf: value
                    index: 64
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 54
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    outerPackaging:
                      match: {url: outerPackaging}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: A number appearing on the outer packaging of a specific batch
                        _required: true
                        index: 55
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: outerPackaging}
                            index: 56
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: A number appearing on the outer packaging of a specific batch
                            choices: [valueIdentifier]
                            index: 58
                          valueIdentifier:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Identifier
                            short: A number appearing on the outer packaging of a specific batch
                            choiceOf: value
                            index: 59
                        required: [url]
                    immediatePackaging:
                      match: {url: immediatePackaging}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: A number appearing on the immediate packaging (and not the outer packaging)
                        index: 60
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: immediatePackaging}
                            index: 61
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: A number appearing on the immediate packaging (and not the outer packaging)
                            choices: [valueIdentifier]
                            index: 63
                          valueIdentifier:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Identifier
                            short: A number appearing on the immediate packaging (and not the outer packaging)
                            choiceOf: value
                            index: 64
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: batchIdentifier}
                index: 65
            required: [url, extension]
        packageItem:
          match: {url: packageItem}
          schema:
            min: 1
            short: A packaging item, as a contained for medicine, possibly with other packaging items within
            index: 66
            array: true
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 2
                index: 67
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    manufacturedItem:
                      match: {url: manufacturedItem}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The manufactured item as contained in the packaged medicinal product
                        array: true
                        index: 98
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: manufacturedItem}
                            index: 99
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The manufactured item as contained in the packaged medicinal product
                            choices: [valueReference]
                            index: 101
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: The manufactured item as contained in the packaged medicinal product
                            choiceOf: value
                            index: 102
                        required: [url]
                    otherCharacteristics:
                      match: {url: otherCharacteristics}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Other codeable characteristics
                        array: true
                        index: 172
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: otherCharacteristics}
                            index: 173
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Other codeable characteristics
                            choices: [valueCodeableConcept]
                            index: 175
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Other codeable characteristics
                            choiceOf: value
                            index: 176
                        required: [url]
                    shelfLifeStorage:
                      match: {url: shelfLifeStorage}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Shelf Life and storage information
                        array: true
                        index: 177
                        extensions:
                          identifier:
                            url: identifier
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Unique identifier for the packaged Medicinal Product
                            index: 179
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: identifier}
                                index: 180
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Unique identifier for the packaged Medicinal Product
                                choices: [valueIdentifier]
                                index: 182
                              valueIdentifier:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Identifier
                                short: Unique identifier for the packaged Medicinal Product
                                choiceOf: value
                                index: 183
                            required: [url]
                          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
                            _required: true
                            index: 184
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 185
                              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: 187
                              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: 188
                            required: [url]
                          period:
                            url: period
                            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
                            _required: true
                            index: 189
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: period}
                                index: 190
                              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: [valueQuantity]
                                index: 192
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                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: 193
                            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: 194
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: specialPrecautionsForStorage}
                                index: 195
                              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: 197
                              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: 198
                            required: [url]
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            type: Extension
                            short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
                            index: 199
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: ProductShelfLife}
                                choices: [valueString]
                                index: 201
                              valueString:
                                type: string
                                pattern: {type: String, value: ProductShelfLife}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 202
                            required: [valueString, value]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            min: 2
                            index: 178
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                identifier:
                                  match: {url: identifier}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Unique identifier for the packaged Medicinal Product
                                    index: 179
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: identifier}
                                        index: 180
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Unique identifier for the packaged Medicinal Product
                                        choices: [valueIdentifier]
                                        index: 182
                                      valueIdentifier:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Identifier
                                        short: Unique identifier for the packaged Medicinal Product
                                        choiceOf: value
                                        index: 183
                                    required: [url]
                                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
                                    _required: true
                                    index: 184
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: type}
                                        index: 185
                                      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: 187
                                      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: 188
                                    required: [url]
                                period:
                                  match: {url: period}
                                  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
                                    _required: true
                                    index: 189
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: period}
                                        index: 190
                                      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: [valueQuantity]
                                        index: 192
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        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: 193
                                    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: 194
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                                        index: 195
                                      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: 197
                                      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: 198
                                    required: [url]
                                _datatype:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                    index: 199
                                    elements:
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        pattern: {type: String, value: ProductShelfLife}
                                        choices: [valueString]
                                        index: 201
                                      valueString:
                                        type: string
                                        pattern: {type: String, value: ProductShelfLife}
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 202
                                    required: [valueString, value]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: shelfLifeStorage}
                            index: 203
                        required: [url]
                    alternateMaterial:
                      match: {url: alternateMaterial}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: A possible alternate material for the packaging
                        array: true
                        index: 88
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: alternateMaterial}
                            index: 89
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: A possible alternate material for the packaging
                            choices: [valueCodeableConcept]
                            index: 91
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: A possible alternate material for the packaging
                            choiceOf: value
                            index: 92
                        required: [url]
                    type:
                      match: {url: type}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The physical type of the container of the medicine
                        _required: true
                        index: 73
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: type}
                            index: 74
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The physical type of the container of the medicine
                            choices: [valueCodeableConcept]
                            index: 76
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The physical type of the container of the medicine
                            choiceOf: value
                            index: 77
                        required: [url]
                    material:
                      match: {url: material}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Material type of the package item
                        array: true
                        index: 83
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: material}
                            index: 84
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Material type of the package item
                            choices: [valueCodeableConcept]
                            index: 86
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Material type of the package item
                            choiceOf: value
                            index: 87
                        required: [url]
                    identifier:
                      match: {url: identifier}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Including possibly Data Carrier Identifier
                        array: true
                        index: 68
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: identifier}
                            index: 69
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Including possibly Data Carrier Identifier
                            choices: [valueIdentifier]
                            index: 71
                          valueIdentifier:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Identifier
                            short: Including possibly Data Carrier Identifier
                            choiceOf: value
                            index: 72
                        required: [url]
                    manufacturer:
                      match: {url: manufacturer}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Manufacturer of this Package Item
                        array: true
                        index: 204
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: manufacturer}
                            index: 205
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Manufacturer of this Package Item
                            choices: [valueReference]
                            index: 207
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Manufacturer of this Package Item
                            choiceOf: value
                            index: 208
                        required: [url]
                    device:
                      match: {url: device}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: A device accompanying a medicinal product
                        array: true
                        index: 93
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: device}
                            index: 94
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: A device accompanying a medicinal product
                            choices: [valueReference]
                            index: 96
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: A device accompanying a medicinal product
                            choiceOf: value
                            index: 97
                        required: [url]
                    quantity:
                      match: {url: quantity}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                        _required: true
                        index: 78
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: quantity}
                            index: 79
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                            choices: [valueQuantity]
                            index: 81
                          valueQuantity:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Quantity
                            short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                            choiceOf: value
                            index: 82
                        required: [url]
                    physicalCharacteristics:
                      match: {url: physicalCharacteristics}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Dimensions, color etc.
                        index: 110
                        extensions:
                          imprint:
                            url: imprint
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the imprint can be specified as text
                            array: true
                            index: 152
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: imprint}
                                index: 153
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the imprint can be specified as text
                                choices: [valueString]
                                index: 155
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the imprint can be specified as text
                                choiceOf: value
                                index: 156
                            required: [url]
                          color:
                            url: color
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            array: true
                            index: 147
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: color}
                                index: 148
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueString]
                                index: 150
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 151
                            required: [url]
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            type: Extension
                            short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
                            index: 167
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: ProdCharacteristic}
                                choices: [valueString]
                                index: 169
                              valueString:
                                type: string
                                pattern: {type: String, value: ProdCharacteristic}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 170
                            required: [valueString, value]
                          width:
                            url: width
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: width}
                                index: 118
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 120
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
                            required: [url]
                          nominalVolume:
                            url: nominalVolume
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: nominalVolume}
                                index: 133
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 135
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
                            required: [url]
                          weight:
                            url: weight
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: weight}
                                index: 128
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 130
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
                            required: [url]
                          shape:
                            url: shape
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            index: 142
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: shape}
                                index: 143
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueString]
                                index: 145
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 146
                            required: [url]
                          scoring:
                            url: scoring
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            index: 162
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: scoring}
                                index: 163
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueCodeableConcept]
                                index: 165
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 166
                            required: [url]
                          image:
                            url: image
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                            array: true
                            index: 157
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: image}
                                index: 158
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                choices: [valueAttachment]
                                index: 160
                              valueAttachment:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Attachment
                                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                choiceOf: value
                                index: 161
                            required: [url]
                          depth:
                            url: depth
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: depth}
                                index: 123
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 125
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
                            required: [url]
                          externalDiameter:
                            url: externalDiameter
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: externalDiameter}
                                index: 138
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 140
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
                            required: [url]
                          height:
                            url: height
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: height}
                                index: 113
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 115
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
                            required: [url]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            index: 111
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                imprint:
                                  match: {url: imprint}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the imprint can be specified as text
                                    array: true
                                    index: 152
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: imprint}
                                        index: 153
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the imprint can be specified as text
                                        choices: [valueString]
                                        index: 155
                                      valueString:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: string
                                        short: Where applicable, the imprint can be specified as text
                                        choiceOf: value
                                        index: 156
                                    required: [url]
                                color:
                                  match: {url: color}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                    array: true
                                    index: 147
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: color}
                                        index: 148
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                        choices: [valueString]
                                        index: 150
                                      valueString:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: string
                                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                        choiceOf: value
                                        index: 151
                                    required: [url]
                                _datatype:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                    index: 167
                                    elements:
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        pattern: {type: String, value: ProdCharacteristic}
                                        choices: [valueString]
                                        index: 169
                                      valueString:
                                        type: string
                                        pattern: {type: String, value: ProdCharacteristic}
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 170
                                    required: [valueString, value]
                                width:
                                  match: {url: width}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: width}
                                        index: 118
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                                        index: 120
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
                                    required: [url]
                                nominalVolume:
                                  match: {url: nominalVolume}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: nominalVolume}
                                        index: 133
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                                        index: 135
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
                                    required: [url]
                                weight:
                                  match: {url: weight}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: weight}
                                        index: 128
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                                        index: 130
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
                                    required: [url]
                                shape:
                                  match: {url: shape}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                    index: 142
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: shape}
                                        index: 143
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                        choices: [valueString]
                                        index: 145
                                      valueString:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: string
                                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                        choiceOf: value
                                        index: 146
                                    required: [url]
                                scoring:
                                  match: {url: scoring}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                    index: 162
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: scoring}
                                        index: 163
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                        choices: [valueCodeableConcept]
                                        index: 165
                                      valueCodeableConcept:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                        choiceOf: value
                                        index: 166
                                    required: [url]
                                image:
                                  match: {url: image}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                    array: true
                                    index: 157
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: image}
                                        index: 158
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                        choices: [valueAttachment]
                                        index: 160
                                      valueAttachment:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Attachment
                                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                        choiceOf: value
                                        index: 161
                                    required: [url]
                                depth:
                                  match: {url: depth}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: depth}
                                        index: 123
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                                        index: 125
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
                                    required: [url]
                                externalDiameter:
                                  match: {url: externalDiameter}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: externalDiameter}
                                        index: 138
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                                        index: 140
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
                                    required: [url]
                                height:
                                  match: {url: height}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: height}
                                        index: 113
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                                        index: 115
                                      valueQuantity:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Quantity
                                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
                                    required: [url]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: physicalCharacteristics}
                            index: 171
                        required: [url]
                    packageItem:
                      match: {url: packageItem}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Allows containers within containers
                        array: true
                        index: 103
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            type: Extension
                            short: Data type name for MedicinalProductPackaged.packageItem.packageItem from FHIR R4
                            index: 105
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                choices: [valueString]
                                index: 107
                              valueString:
                                type: string
                                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 108
                            required: [valueString, value]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            index: 104
                            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 MedicinalProductPackaged.packageItem.packageItem from FHIR R4
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                    index: 105
                                    elements:
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                        choices: [valueString]
                                        index: 107
                                      valueString:
                                        type: string
                                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 108
                                    required: [valueString, value]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: packageItem}
                            index: 109
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: packageItem}
                index: 209
            _required: true
            extensions:
              manufacturedItem:
                url: manufacturedItem
                base: {max: '*', min: 0, path: Extension.extension}
                short: The manufactured item as contained in the packaged medicinal product
                array: true
                index: 98
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: manufacturedItem}
                    index: 99
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The manufactured item as contained in the packaged medicinal product
                    choices: [valueReference]
                    index: 101
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: The manufactured item as contained in the packaged medicinal product
                    choiceOf: value
                    index: 102
                required: [url]
              otherCharacteristics:
                url: otherCharacteristics
                base: {max: '*', min: 0, path: Extension.extension}
                short: Other codeable characteristics
                array: true
                index: 172
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: otherCharacteristics}
                    index: 173
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Other codeable characteristics
                    choices: [valueCodeableConcept]
                    index: 175
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Other codeable characteristics
                    choiceOf: value
                    index: 176
                required: [url]
              shelfLifeStorage:
                url: shelfLifeStorage
                base: {max: '*', min: 0, path: Extension.extension}
                short: Shelf Life and storage information
                array: true
                index: 177
                extensions:
                  identifier:
                    url: identifier
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Unique identifier for the packaged Medicinal Product
                    index: 179
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: identifier}
                        index: 180
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Unique identifier for the packaged Medicinal Product
                        choices: [valueIdentifier]
                        index: 182
                      valueIdentifier:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Identifier
                        short: Unique identifier for the packaged Medicinal Product
                        choiceOf: value
                        index: 183
                    required: [url]
                  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
                    _required: true
                    index: 184
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 185
                      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: 187
                      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: 188
                    required: [url]
                  period:
                    url: period
                    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
                    _required: true
                    index: 189
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: period}
                        index: 190
                      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: [valueQuantity]
                        index: 192
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        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: 193
                    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: 194
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                        index: 195
                      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: 197
                      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: 198
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
                    index: 199
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: ProductShelfLife}
                        choices: [valueString]
                        index: 201
                      valueString:
                        type: string
                        pattern: {type: String, value: ProductShelfLife}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 202
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 2
                    index: 178
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        identifier:
                          match: {url: identifier}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Unique identifier for the packaged Medicinal Product
                            index: 179
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: identifier}
                                index: 180
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Unique identifier for the packaged Medicinal Product
                                choices: [valueIdentifier]
                                index: 182
                              valueIdentifier:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Identifier
                                short: Unique identifier for the packaged Medicinal Product
                                choiceOf: value
                                index: 183
                            required: [url]
                        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
                            _required: true
                            index: 184
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 185
                              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: 187
                              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: 188
                            required: [url]
                        period:
                          match: {url: period}
                          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
                            _required: true
                            index: 189
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: period}
                                index: 190
                              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: [valueQuantity]
                                index: 192
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                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: 193
                            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: 194
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: specialPrecautionsForStorage}
                                index: 195
                              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: 197
                              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: 198
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 199
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: ProductShelfLife}
                                choices: [valueString]
                                index: 201
                              valueString:
                                type: string
                                pattern: {type: String, value: ProductShelfLife}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 202
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: shelfLifeStorage}
                    index: 203
                required: [url]
              alternateMaterial:
                url: alternateMaterial
                base: {max: '*', min: 0, path: Extension.extension}
                short: A possible alternate material for the packaging
                array: true
                index: 88
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: alternateMaterial}
                    index: 89
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A possible alternate material for the packaging
                    choices: [valueCodeableConcept]
                    index: 91
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: A possible alternate material for the packaging
                    choiceOf: value
                    index: 92
                required: [url]
              type:
                url: type
                base: {max: '*', min: 0, path: Extension.extension}
                short: The physical type of the container of the medicine
                _required: true
                index: 73
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 74
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The physical type of the container of the medicine
                    choices: [valueCodeableConcept]
                    index: 76
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The physical type of the container of the medicine
                    choiceOf: value
                    index: 77
                required: [url]
              material:
                url: material
                base: {max: '*', min: 0, path: Extension.extension}
                short: Material type of the package item
                array: true
                index: 83
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: material}
                    index: 84
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 86
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 87
                required: [url]
              identifier:
                url: identifier
                base: {max: '*', min: 0, path: Extension.extension}
                short: Including possibly Data Carrier Identifier
                array: true
                index: 68
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 69
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Including possibly Data Carrier Identifier
                    choices: [valueIdentifier]
                    index: 71
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: Including possibly Data Carrier Identifier
                    choiceOf: value
                    index: 72
                required: [url]
              manufacturer:
                url: manufacturer
                base: {max: '*', min: 0, path: Extension.extension}
                short: Manufacturer of this Package Item
                array: true
                index: 204
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: manufacturer}
                    index: 205
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Manufacturer of this Package Item
                    choices: [valueReference]
                    index: 207
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this Package Item
                    choiceOf: value
                    index: 208
                required: [url]
              device:
                url: device
                base: {max: '*', min: 0, path: Extension.extension}
                short: A device accompanying a medicinal product
                array: true
                index: 93
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: device}
                    index: 94
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A device accompanying a medicinal product
                    choices: [valueReference]
                    index: 96
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: A device accompanying a medicinal product
                    choiceOf: value
                    index: 97
                required: [url]
              quantity:
                url: quantity
                base: {max: '*', min: 0, path: Extension.extension}
                short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                _required: true
                index: 78
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: quantity}
                    index: 79
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                    choices: [valueQuantity]
                    index: 81
                  valueQuantity:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Quantity
                    short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                    choiceOf: value
                    index: 82
                required: [url]
              physicalCharacteristics:
                url: physicalCharacteristics
                base: {max: '*', min: 0, path: Extension.extension}
                short: Dimensions, color etc.
                index: 110
                extensions:
                  imprint:
                    url: imprint
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the imprint can be specified as text
                    array: true
                    index: 152
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: imprint}
                        index: 153
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the imprint can be specified as text
                        choices: [valueString]
                        index: 155
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the imprint can be specified as text
                        choiceOf: value
                        index: 156
                    required: [url]
                  color:
                    url: color
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    array: true
                    index: 147
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: color}
                        index: 148
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueString]
                        index: 150
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 151
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
                    index: 167
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: ProdCharacteristic}
                        choices: [valueString]
                        index: 169
                      valueString:
                        type: string
                        pattern: {type: String, value: ProdCharacteristic}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 170
                    required: [valueString, value]
                  width:
                    url: width
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: width}
                        index: 118
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 120
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
                    required: [url]
                  nominalVolume:
                    url: nominalVolume
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: nominalVolume}
                        index: 133
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 135
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
                    required: [url]
                  weight:
                    url: weight
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: weight}
                        index: 128
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 130
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
                    required: [url]
                  shape:
                    url: shape
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    index: 142
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: shape}
                        index: 143
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueString]
                        index: 145
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 146
                    required: [url]
                  scoring:
                    url: scoring
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    index: 162
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: scoring}
                        index: 163
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueCodeableConcept]
                        index: 165
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 166
                    required: [url]
                  image:
                    url: image
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                    array: true
                    index: 157
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: image}
                        index: 158
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                        choices: [valueAttachment]
                        index: 160
                      valueAttachment:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Attachment
                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                        choiceOf: value
                        index: 161
                    required: [url]
                  depth:
                    url: depth
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: depth}
                        index: 123
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 125
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
                    required: [url]
                  externalDiameter:
                    url: externalDiameter
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: externalDiameter}
                        index: 138
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 140
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
                    required: [url]
                  height:
                    url: height
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: height}
                        index: 113
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 115
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 111
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        imprint:
                          match: {url: imprint}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the imprint can be specified as text
                            array: true
                            index: 152
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: imprint}
                                index: 153
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the imprint can be specified as text
                                choices: [valueString]
                                index: 155
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the imprint can be specified as text
                                choiceOf: value
                                index: 156
                            required: [url]
                        color:
                          match: {url: color}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            array: true
                            index: 147
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: color}
                                index: 148
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueString]
                                index: 150
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 151
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 167
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: ProdCharacteristic}
                                choices: [valueString]
                                index: 169
                              valueString:
                                type: string
                                pattern: {type: String, value: ProdCharacteristic}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 170
                            required: [valueString, value]
                        width:
                          match: {url: width}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: width}
                                index: 118
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 120
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
                            required: [url]
                        nominalVolume:
                          match: {url: nominalVolume}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: nominalVolume}
                                index: 133
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 135
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
                            required: [url]
                        weight:
                          match: {url: weight}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: weight}
                                index: 128
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 130
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
                            required: [url]
                        shape:
                          match: {url: shape}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            index: 142
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: shape}
                                index: 143
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueString]
                                index: 145
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 146
                            required: [url]
                        scoring:
                          match: {url: scoring}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            index: 162
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: scoring}
                                index: 163
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueCodeableConcept]
                                index: 165
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 166
                            required: [url]
                        image:
                          match: {url: image}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                            array: true
                            index: 157
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: image}
                                index: 158
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                choices: [valueAttachment]
                                index: 160
                              valueAttachment:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Attachment
                                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                choiceOf: value
                                index: 161
                            required: [url]
                        depth:
                          match: {url: depth}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: depth}
                                index: 123
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 125
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
                            required: [url]
                        externalDiameter:
                          match: {url: externalDiameter}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: externalDiameter}
                                index: 138
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 140
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
                            required: [url]
                        height:
                          match: {url: height}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: height}
                                index: 113
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 115
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: physicalCharacteristics}
                    index: 171
                required: [url]
              packageItem:
                url: packageItem
                base: {max: '*', min: 0, path: Extension.extension}
                short: Allows containers within containers
                array: true
                index: 103
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.packageItem from FHIR R4
                    index: 105
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                        choices: [valueString]
                        index: 107
                      valueString:
                        type: string
                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 108
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 104
                    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 MedicinalProductPackaged.packageItem.packageItem from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 105
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                choices: [valueString]
                                index: 107
                              valueString:
                                type: string
                                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 108
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: packageItem}
                    index: 109
                required: [url]
            base: {max: '*', min: 0, path: Extension.extension}
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicinalProductPackaged'}
    index: 210
package_version: 0.0.1-snapshot-2
extensions:
  description:
    url: description
    base: {max: '*', min: 0, path: Extension.extension}
    short: Textual description
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: description}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Textual description
        choices: [valueString]
        index: 4
      valueString:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: string
        short: Textual description
        choiceOf: value
        index: 5
    required: [url]
  legalStatusOfSupply:
    url: legalStatusOfSupply
    base: {max: '*', min: 0, path: Extension.extension}
    short: The legal status of supply of the medicinal product as classified by the regulator
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: legalStatusOfSupply}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The legal status of supply of the medicinal product as classified by the regulator
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: The legal status of supply of the medicinal product as classified by the regulator
        choiceOf: value
        index: 10
    required: [url]
  marketingStatus:
    url: marketingStatus
    base: {max: '*', min: 0, path: Extension.extension}
    short: Marketing information
    array: true
    index: 11
    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
        _required: true
        index: 13
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: country}
            index: 14
          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: 16
          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: 17
        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: 18
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: jurisdiction}
            index: 19
          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: 21
          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: 22
        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: 23
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: status}
            index: 24
          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: 26
          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: 27
        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
        _required: true
        index: 28
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: dateRange}
            index: 29
          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: 31
          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: 32
        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: 33
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: restoreDate}
            index: 34
          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: 36
          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: 37
        required: [url]
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
        type: Extension
        short: Data type name for MedicinalProductPackaged.marketingStatus from FHIR R4
        index: 38
        elements:
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            pattern: {type: String, value: MarketingStatus}
            choices: [valueString]
            index: 40
          valueString:
            type: string
            pattern: {type: String, value: MarketingStatus}
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 41
        required: [valueString, value]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 3
        index: 12
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 3
          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
                _required: true
                index: 13
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: country}
                    index: 14
                  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: 16
                  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: 17
                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: 18
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: jurisdiction}
                    index: 19
                  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: 21
                  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: 22
                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: 23
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: status}
                    index: 24
                  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: 26
                  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: 27
                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
                _required: true
                index: 28
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: dateRange}
                    index: 29
                  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: 31
                  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: 32
                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: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: restoreDate}
                    index: 34
                  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: 36
                  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: 37
                required: [url]
            _datatype:
              match: {url: null}
              schema:
                type: Extension
                short: Data type name for MedicinalProductPackaged.marketingStatus from FHIR R4
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                index: 38
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: MarketingStatus}
                    choices: [valueString]
                    index: 40
                  valueString:
                    type: string
                    pattern: {type: String, value: MarketingStatus}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 41
                required: [valueString, value]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: marketingStatus}
        index: 42
    required: [url]
  marketingAuthorization:
    url: marketingAuthorization
    base: {max: '*', min: 0, path: Extension.extension}
    short: Manufacturer of this Package Item
    index: 43
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: marketingAuthorization}
        index: 44
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Manufacturer of this Package Item
        choices: [valueReference]
        index: 46
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Manufacturer of this Package Item
        choiceOf: value
        index: 47
    required: [url]
  manufacturer:
    url: manufacturer
    base: {max: '*', min: 0, path: Extension.extension}
    short: Manufacturer of this Package Item
    array: true
    index: 48
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: manufacturer}
        index: 49
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Manufacturer of this Package Item
        choices: [valueReference]
        index: 51
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Manufacturer of this Package Item
        choiceOf: value
        index: 52
    required: [url]
  batchIdentifier:
    url: batchIdentifier
    base: {max: '*', min: 0, path: Extension.extension}
    short: Batch numbering
    array: true
    index: 53
    extensions:
      outerPackaging:
        url: outerPackaging
        base: {max: '*', min: 0, path: Extension.extension}
        short: A number appearing on the outer packaging of a specific batch
        _required: true
        index: 55
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: outerPackaging}
            index: 56
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: A number appearing on the outer packaging of a specific batch
            choices: [valueIdentifier]
            index: 58
          valueIdentifier:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Identifier
            short: A number appearing on the outer packaging of a specific batch
            choiceOf: value
            index: 59
        required: [url]
      immediatePackaging:
        url: immediatePackaging
        base: {max: '*', min: 0, path: Extension.extension}
        short: A number appearing on the immediate packaging (and not the outer packaging)
        index: 60
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: immediatePackaging}
            index: 61
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: A number appearing on the immediate packaging (and not the outer packaging)
            choices: [valueIdentifier]
            index: 63
          valueIdentifier:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Identifier
            short: A number appearing on the immediate packaging (and not the outer packaging)
            choiceOf: value
            index: 64
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 54
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            outerPackaging:
              match: {url: outerPackaging}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: A number appearing on the outer packaging of a specific batch
                _required: true
                index: 55
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: outerPackaging}
                    index: 56
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A number appearing on the outer packaging of a specific batch
                    choices: [valueIdentifier]
                    index: 58
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: A number appearing on the outer packaging of a specific batch
                    choiceOf: value
                    index: 59
                required: [url]
            immediatePackaging:
              match: {url: immediatePackaging}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: A number appearing on the immediate packaging (and not the outer packaging)
                index: 60
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: immediatePackaging}
                    index: 61
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A number appearing on the immediate packaging (and not the outer packaging)
                    choices: [valueIdentifier]
                    index: 63
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: A number appearing on the immediate packaging (and not the outer packaging)
                    choiceOf: value
                    index: 64
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: batchIdentifier}
        index: 65
    required: [url, extension]
  packageItem:
    min: 1
    short: A packaging item, as a contained for medicine, possibly with other packaging items within
    index: 66
    array: true
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 2
        index: 67
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 2
          slices:
            manufacturedItem:
              match: {url: manufacturedItem}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The manufactured item as contained in the packaged medicinal product
                array: true
                index: 98
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: manufacturedItem}
                    index: 99
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The manufactured item as contained in the packaged medicinal product
                    choices: [valueReference]
                    index: 101
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: The manufactured item as contained in the packaged medicinal product
                    choiceOf: value
                    index: 102
                required: [url]
            otherCharacteristics:
              match: {url: otherCharacteristics}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Other codeable characteristics
                array: true
                index: 172
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: otherCharacteristics}
                    index: 173
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Other codeable characteristics
                    choices: [valueCodeableConcept]
                    index: 175
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Other codeable characteristics
                    choiceOf: value
                    index: 176
                required: [url]
            shelfLifeStorage:
              match: {url: shelfLifeStorage}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Shelf Life and storage information
                array: true
                index: 177
                extensions:
                  identifier:
                    url: identifier
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Unique identifier for the packaged Medicinal Product
                    index: 179
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: identifier}
                        index: 180
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Unique identifier for the packaged Medicinal Product
                        choices: [valueIdentifier]
                        index: 182
                      valueIdentifier:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Identifier
                        short: Unique identifier for the packaged Medicinal Product
                        choiceOf: value
                        index: 183
                    required: [url]
                  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
                    _required: true
                    index: 184
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 185
                      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: 187
                      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: 188
                    required: [url]
                  period:
                    url: period
                    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
                    _required: true
                    index: 189
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: period}
                        index: 190
                      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: [valueQuantity]
                        index: 192
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        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: 193
                    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: 194
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                        index: 195
                      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: 197
                      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: 198
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
                    index: 199
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: ProductShelfLife}
                        choices: [valueString]
                        index: 201
                      valueString:
                        type: string
                        pattern: {type: String, value: ProductShelfLife}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 202
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 2
                    index: 178
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        identifier:
                          match: {url: identifier}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Unique identifier for the packaged Medicinal Product
                            index: 179
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: identifier}
                                index: 180
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Unique identifier for the packaged Medicinal Product
                                choices: [valueIdentifier]
                                index: 182
                              valueIdentifier:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Identifier
                                short: Unique identifier for the packaged Medicinal Product
                                choiceOf: value
                                index: 183
                            required: [url]
                        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
                            _required: true
                            index: 184
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: type}
                                index: 185
                              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: 187
                              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: 188
                            required: [url]
                        period:
                          match: {url: period}
                          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
                            _required: true
                            index: 189
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: period}
                                index: 190
                              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: [valueQuantity]
                                index: 192
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                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: 193
                            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: 194
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: specialPrecautionsForStorage}
                                index: 195
                              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: 197
                              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: 198
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 199
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: ProductShelfLife}
                                choices: [valueString]
                                index: 201
                              valueString:
                                type: string
                                pattern: {type: String, value: ProductShelfLife}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 202
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: shelfLifeStorage}
                    index: 203
                required: [url]
            alternateMaterial:
              match: {url: alternateMaterial}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: A possible alternate material for the packaging
                array: true
                index: 88
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: alternateMaterial}
                    index: 89
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A possible alternate material for the packaging
                    choices: [valueCodeableConcept]
                    index: 91
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: A possible alternate material for the packaging
                    choiceOf: value
                    index: 92
                required: [url]
            type:
              match: {url: type}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The physical type of the container of the medicine
                _required: true
                index: 73
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 74
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The physical type of the container of the medicine
                    choices: [valueCodeableConcept]
                    index: 76
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The physical type of the container of the medicine
                    choiceOf: value
                    index: 77
                required: [url]
            material:
              match: {url: material}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Material type of the package item
                array: true
                index: 83
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: material}
                    index: 84
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Material type of the package item
                    choices: [valueCodeableConcept]
                    index: 86
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Material type of the package item
                    choiceOf: value
                    index: 87
                required: [url]
            identifier:
              match: {url: identifier}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Including possibly Data Carrier Identifier
                array: true
                index: 68
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 69
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Including possibly Data Carrier Identifier
                    choices: [valueIdentifier]
                    index: 71
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: Including possibly Data Carrier Identifier
                    choiceOf: value
                    index: 72
                required: [url]
            manufacturer:
              match: {url: manufacturer}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Manufacturer of this Package Item
                array: true
                index: 204
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: manufacturer}
                    index: 205
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Manufacturer of this Package Item
                    choices: [valueReference]
                    index: 207
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Manufacturer of this Package Item
                    choiceOf: value
                    index: 208
                required: [url]
            device:
              match: {url: device}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: A device accompanying a medicinal product
                array: true
                index: 93
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: device}
                    index: 94
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A device accompanying a medicinal product
                    choices: [valueReference]
                    index: 96
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: A device accompanying a medicinal product
                    choiceOf: value
                    index: 97
                required: [url]
            quantity:
              match: {url: quantity}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                _required: true
                index: 78
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: quantity}
                    index: 79
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                    choices: [valueQuantity]
                    index: 81
                  valueQuantity:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Quantity
                    short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
                    choiceOf: value
                    index: 82
                required: [url]
            physicalCharacteristics:
              match: {url: physicalCharacteristics}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Dimensions, color etc.
                index: 110
                extensions:
                  imprint:
                    url: imprint
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the imprint can be specified as text
                    array: true
                    index: 152
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: imprint}
                        index: 153
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the imprint can be specified as text
                        choices: [valueString]
                        index: 155
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the imprint can be specified as text
                        choiceOf: value
                        index: 156
                    required: [url]
                  color:
                    url: color
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    array: true
                    index: 147
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: color}
                        index: 148
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueString]
                        index: 150
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 151
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
                    index: 167
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: ProdCharacteristic}
                        choices: [valueString]
                        index: 169
                      valueString:
                        type: string
                        pattern: {type: String, value: ProdCharacteristic}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 170
                    required: [valueString, value]
                  width:
                    url: width
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: width}
                        index: 118
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 120
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
                    required: [url]
                  nominalVolume:
                    url: nominalVolume
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: nominalVolume}
                        index: 133
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 135
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
                    required: [url]
                  weight:
                    url: weight
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: weight}
                        index: 128
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 130
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
                    required: [url]
                  shape:
                    url: shape
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    index: 142
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: shape}
                        index: 143
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueString]
                        index: 145
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 146
                    required: [url]
                  scoring:
                    url: scoring
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    index: 162
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: scoring}
                        index: 163
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueCodeableConcept]
                        index: 165
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 166
                    required: [url]
                  image:
                    url: image
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                    array: true
                    index: 157
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: image}
                        index: 158
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                        choices: [valueAttachment]
                        index: 160
                      valueAttachment:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Attachment
                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                        choiceOf: value
                        index: 161
                    required: [url]
                  depth:
                    url: depth
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: depth}
                        index: 123
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 125
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
                    required: [url]
                  externalDiameter:
                    url: externalDiameter
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: externalDiameter}
                        index: 138
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 140
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
                    required: [url]
                  height:
                    url: height
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: height}
                        index: 113
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 115
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 111
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        imprint:
                          match: {url: imprint}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the imprint can be specified as text
                            array: true
                            index: 152
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: imprint}
                                index: 153
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the imprint can be specified as text
                                choices: [valueString]
                                index: 155
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the imprint can be specified as text
                                choiceOf: value
                                index: 156
                            required: [url]
                        color:
                          match: {url: color}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            array: true
                            index: 147
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: color}
                                index: 148
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueString]
                                index: 150
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 151
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 167
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: ProdCharacteristic}
                                choices: [valueString]
                                index: 169
                              valueString:
                                type: string
                                pattern: {type: String, value: ProdCharacteristic}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 170
                            required: [valueString, value]
                        width:
                          match: {url: width}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: width}
                                index: 118
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 120
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
                            required: [url]
                        nominalVolume:
                          match: {url: nominalVolume}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: nominalVolume}
                                index: 133
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 135
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
                            required: [url]
                        weight:
                          match: {url: weight}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: weight}
                                index: 128
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 130
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
                            required: [url]
                        shape:
                          match: {url: shape}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            index: 142
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: shape}
                                index: 143
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueString]
                                index: 145
                              valueString:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: string
                                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 146
                            required: [url]
                        scoring:
                          match: {url: scoring}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                            index: 162
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: scoring}
                                index: 163
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choices: [valueCodeableConcept]
                                index: 165
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                                choiceOf: value
                                index: 166
                            required: [url]
                        image:
                          match: {url: image}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                            array: true
                            index: 157
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: image}
                                index: 158
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                choices: [valueAttachment]
                                index: 160
                              valueAttachment:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Attachment
                                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                                choiceOf: value
                                index: 161
                            required: [url]
                        depth:
                          match: {url: depth}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: depth}
                                index: 123
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 125
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
                            required: [url]
                        externalDiameter:
                          match: {url: externalDiameter}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: externalDiameter}
                                index: 138
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 140
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
                            required: [url]
                        height:
                          match: {url: height}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: height}
                                index: 113
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                                index: 115
                              valueQuantity:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Quantity
                                short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: physicalCharacteristics}
                    index: 171
                required: [url]
            packageItem:
              match: {url: packageItem}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Allows containers within containers
                array: true
                index: 103
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.packageItem from FHIR R4
                    index: 105
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                        choices: [valueString]
                        index: 107
                      valueString:
                        type: string
                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 108
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 104
                    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 MedicinalProductPackaged.packageItem.packageItem from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 105
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                choices: [valueString]
                                index: 107
                              valueString:
                                type: string
                                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 108
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: packageItem}
                    index: 109
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: packageItem}
        index: 209
    _required: true
    extensions:
      manufacturedItem:
        url: manufacturedItem
        base: {max: '*', min: 0, path: Extension.extension}
        short: The manufactured item as contained in the packaged medicinal product
        array: true
        index: 98
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: manufacturedItem}
            index: 99
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The manufactured item as contained in the packaged medicinal product
            choices: [valueReference]
            index: 101
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: The manufactured item as contained in the packaged medicinal product
            choiceOf: value
            index: 102
        required: [url]
      otherCharacteristics:
        url: otherCharacteristics
        base: {max: '*', min: 0, path: Extension.extension}
        short: Other codeable characteristics
        array: true
        index: 172
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: otherCharacteristics}
            index: 173
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Other codeable characteristics
            choices: [valueCodeableConcept]
            index: 175
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Other codeable characteristics
            choiceOf: value
            index: 176
        required: [url]
      shelfLifeStorage:
        url: shelfLifeStorage
        base: {max: '*', min: 0, path: Extension.extension}
        short: Shelf Life and storage information
        array: true
        index: 177
        extensions:
          identifier:
            url: identifier
            base: {max: '*', min: 0, path: Extension.extension}
            short: Unique identifier for the packaged Medicinal Product
            index: 179
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: identifier}
                index: 180
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Unique identifier for the packaged Medicinal Product
                choices: [valueIdentifier]
                index: 182
              valueIdentifier:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Identifier
                short: Unique identifier for the packaged Medicinal Product
                choiceOf: value
                index: 183
            required: [url]
          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
            _required: true
            index: 184
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 185
              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: 187
              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: 188
            required: [url]
          period:
            url: period
            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
            _required: true
            index: 189
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: period}
                index: 190
              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: [valueQuantity]
                index: 192
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                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: 193
            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: 194
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: specialPrecautionsForStorage}
                index: 195
              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: 197
              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: 198
            required: [url]
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
            type: Extension
            short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
            index: 199
            elements:
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: ProductShelfLife}
                choices: [valueString]
                index: 201
              valueString:
                type: string
                pattern: {type: String, value: ProductShelfLife}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 202
            required: [valueString, value]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            min: 2
            index: 178
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 2
              slices:
                identifier:
                  match: {url: identifier}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Unique identifier for the packaged Medicinal Product
                    index: 179
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: identifier}
                        index: 180
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Unique identifier for the packaged Medicinal Product
                        choices: [valueIdentifier]
                        index: 182
                      valueIdentifier:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Identifier
                        short: Unique identifier for the packaged Medicinal Product
                        choiceOf: value
                        index: 183
                    required: [url]
                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
                    _required: true
                    index: 184
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: type}
                        index: 185
                      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: 187
                      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: 188
                    required: [url]
                period:
                  match: {url: period}
                  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
                    _required: true
                    index: 189
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: period}
                        index: 190
                      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: [valueQuantity]
                        index: 192
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        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: 193
                    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: 194
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: specialPrecautionsForStorage}
                        index: 195
                      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: 197
                      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: 198
                    required: [url]
                _datatype:
                  match: {url: null}
                  schema:
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.shelfLifeStorage from FHIR R4
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    index: 199
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: ProductShelfLife}
                        choices: [valueString]
                        index: 201
                      valueString:
                        type: string
                        pattern: {type: String, value: ProductShelfLife}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 202
                    required: [valueString, value]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: shelfLifeStorage}
            index: 203
        required: [url]
      alternateMaterial:
        url: alternateMaterial
        base: {max: '*', min: 0, path: Extension.extension}
        short: A possible alternate material for the packaging
        array: true
        index: 88
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: alternateMaterial}
            index: 89
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: A possible alternate material for the packaging
            choices: [valueCodeableConcept]
            index: 91
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: A possible alternate material for the packaging
            choiceOf: value
            index: 92
        required: [url]
      type:
        url: type
        base: {max: '*', min: 0, path: Extension.extension}
        short: The physical type of the container of the medicine
        _required: true
        index: 73
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: type}
            index: 74
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The physical type of the container of the medicine
            choices: [valueCodeableConcept]
            index: 76
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The physical type of the container of the medicine
            choiceOf: value
            index: 77
        required: [url]
      material:
        url: material
        base: {max: '*', min: 0, path: Extension.extension}
        short: Material type of the package item
        array: true
        index: 83
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: material}
            index: 84
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Material type of the package item
            choices: [valueCodeableConcept]
            index: 86
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Material type of the package item
            choiceOf: value
            index: 87
        required: [url]
      identifier:
        url: identifier
        base: {max: '*', min: 0, path: Extension.extension}
        short: Including possibly Data Carrier Identifier
        array: true
        index: 68
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: identifier}
            index: 69
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Including possibly Data Carrier Identifier
            choices: [valueIdentifier]
            index: 71
          valueIdentifier:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Identifier
            short: Including possibly Data Carrier Identifier
            choiceOf: value
            index: 72
        required: [url]
      manufacturer:
        url: manufacturer
        base: {max: '*', min: 0, path: Extension.extension}
        short: Manufacturer of this Package Item
        array: true
        index: 204
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: manufacturer}
            index: 205
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Manufacturer of this Package Item
            choices: [valueReference]
            index: 207
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: Manufacturer of this Package Item
            choiceOf: value
            index: 208
        required: [url]
      device:
        url: device
        base: {max: '*', min: 0, path: Extension.extension}
        short: A device accompanying a medicinal product
        array: true
        index: 93
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: device}
            index: 94
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: A device accompanying a medicinal product
            choices: [valueReference]
            index: 96
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: A device accompanying a medicinal product
            choiceOf: value
            index: 97
        required: [url]
      quantity:
        url: quantity
        base: {max: '*', min: 0, path: Extension.extension}
        short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
        _required: true
        index: 78
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: quantity}
            index: 79
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
            choices: [valueQuantity]
            index: 81
          valueQuantity:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Quantity
            short: The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1
            choiceOf: value
            index: 82
        required: [url]
      physicalCharacteristics:
        url: physicalCharacteristics
        base: {max: '*', min: 0, path: Extension.extension}
        short: Dimensions, color etc.
        index: 110
        extensions:
          imprint:
            url: imprint
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the imprint can be specified as text
            array: true
            index: 152
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: imprint}
                index: 153
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the imprint can be specified as text
                choices: [valueString]
                index: 155
              valueString:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: string
                short: Where applicable, the imprint can be specified as text
                choiceOf: value
                index: 156
            required: [url]
          color:
            url: color
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
            array: true
            index: 147
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: color}
                index: 148
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                choices: [valueString]
                index: 150
              valueString:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: string
                short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                choiceOf: value
                index: 151
            required: [url]
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
            type: Extension
            short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
            index: 167
            elements:
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: ProdCharacteristic}
                choices: [valueString]
                index: 169
              valueString:
                type: string
                pattern: {type: String, value: ProdCharacteristic}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 170
            required: [valueString, value]
          width:
            url: width
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: width}
                index: 118
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                index: 120
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
            required: [url]
          nominalVolume:
            url: nominalVolume
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: nominalVolume}
                index: 133
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                index: 135
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
            required: [url]
          weight:
            url: weight
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: weight}
                index: 128
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                index: 130
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
            required: [url]
          shape:
            url: shape
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
            index: 142
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: shape}
                index: 143
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                choices: [valueString]
                index: 145
              valueString:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: string
                short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                choiceOf: value
                index: 146
            required: [url]
          scoring:
            url: scoring
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
            index: 162
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: scoring}
                index: 163
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                choices: [valueCodeableConcept]
                index: 165
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                choiceOf: value
                index: 166
            required: [url]
          image:
            url: image
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
            array: true
            index: 157
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: image}
                index: 158
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                choices: [valueAttachment]
                index: 160
              valueAttachment:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Attachment
                short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                choiceOf: value
                index: 161
            required: [url]
          depth:
            url: depth
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: depth}
                index: 123
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                index: 125
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
            required: [url]
          externalDiameter:
            url: externalDiameter
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: externalDiameter}
                index: 138
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                index: 140
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
            required: [url]
          height:
            url: height
            base: {max: '*', min: 0, path: Extension.extension}
            short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: height}
                index: 113
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                index: 115
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
            required: [url]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            index: 111
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                imprint:
                  match: {url: imprint}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the imprint can be specified as text
                    array: true
                    index: 152
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: imprint}
                        index: 153
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the imprint can be specified as text
                        choices: [valueString]
                        index: 155
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the imprint can be specified as text
                        choiceOf: value
                        index: 156
                    required: [url]
                color:
                  match: {url: color}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    array: true
                    index: 147
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: color}
                        index: 148
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueString]
                        index: 150
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 151
                    required: [url]
                _datatype:
                  match: {url: null}
                  schema:
                    type: Extension
                    short: Data type name for MedicinalProductPackaged.packageItem.physicalCharacteristics from FHIR R4
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    index: 167
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: ProdCharacteristic}
                        choices: [valueString]
                        index: 169
                      valueString:
                        type: string
                        pattern: {type: String, value: ProdCharacteristic}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 170
                    required: [valueString, value]
                width:
                  match: {url: width}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the width can be specified using a numerical value and its unit of 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: 117
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: width}
                        index: 118
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 120
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the width can be specified using a numerical value and its unit of 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: 121
                    required: [url]
                nominalVolume:
                  match: {url: nominalVolume}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 132
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: nominalVolume}
                        index: 133
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 135
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the nominal volume can be specified using a numerical value and its unit of 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: 136
                    required: [url]
                weight:
                  match: {url: weight}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 127
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: weight}
                        index: 128
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 130
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the weight can be specified using a numerical value and its unit of 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: 131
                    required: [url]
                shape:
                  match: {url: shape}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    index: 142
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: shape}
                        index: 143
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueString]
                        index: 145
                      valueString:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: string
                        short: Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 146
                    required: [url]
                scoring:
                  match: {url: scoring}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                    index: 162
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: scoring}
                        index: 163
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choices: [valueCodeableConcept]
                        index: 165
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used
                        choiceOf: value
                        index: 166
                    required: [url]
                image:
                  match: {url: image}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                    array: true
                    index: 157
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: image}
                        index: 158
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                        choices: [valueAttachment]
                        index: 160
                      valueAttachment:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Attachment
                        short: Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations
                        choiceOf: value
                        index: 161
                    required: [url]
                depth:
                  match: {url: depth}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 122
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: depth}
                        index: 123
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 125
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the depth can be specified using a numerical value and its unit of 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: 126
                    required: [url]
                externalDiameter:
                  match: {url: externalDiameter}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 137
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: externalDiameter}
                        index: 138
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 140
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the external diameter can be specified using a numerical value and its unit of 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: 141
                    required: [url]
                height:
                  match: {url: height}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Where applicable, the height can be specified using a numerical value and its unit of 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: 112
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: height}
                        index: 113
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: [valueQuantity]
                        index: 115
                      valueQuantity:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Quantity
                        short: Where applicable, the height can be specified using a numerical value and its unit of 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: 116
                    required: [url]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: physicalCharacteristics}
            index: 171
        required: [url]
      packageItem:
        url: packageItem
        base: {max: '*', min: 0, path: Extension.extension}
        short: Allows containers within containers
        array: true
        index: 103
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
            type: Extension
            short: Data type name for MedicinalProductPackaged.packageItem.packageItem from FHIR R4
            index: 105
            elements:
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                choices: [valueString]
                index: 107
              valueString:
                type: string
                pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 108
            required: [valueString, value]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            index: 104
            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 MedicinalProductPackaged.packageItem.packageItem from FHIR R4
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    index: 105
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                        choices: [valueString]
                        index: 107
                      valueString:
                        type: string
                        pattern: {type: String, value: MedicinalProductPackaged.packageItem}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 108
                    required: [valueString, value]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: packageItem}
            index: 109
        required: [url]
    url: packageItem
    base: {max: '*', min: 0, path: Extension.extension}
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicinalProductPackaged
base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0
version: 0.0.1-snapshot-2
required: [url, extension]