PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4b.r3@0.1.0
    http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition.package
description: 'R4B: `PackagedProductDefinition.package` (new:BackboneElement)'
package_name: hl7.fhir.uv.xver-r4b.r3
derivation: constraint
name: ExtensionPackagedProductDefinition_Package
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        package:
          match: {url: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition.package'}
          schema:
            short: 'R4B: Allows containers (and parts of containers) within containers, still a single packaged product (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 107
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition.package'}
                index: 108
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choices: []
                index: 110
            required: [url]
        shelfLifeStorage:
          match: {url: shelfLifeStorage}
          schema:
            short: 'R4B: Shelf Life and storage information (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 26
            extensions:
              type:
                url: type
                short: 'R4B: 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 (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 28
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 29
                  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: 31
                  valueCodeableConcept:
                    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
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 32
                required: [url]
              period:
                url: period
                short: 'R4B: 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 (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: period}
                    index: 34
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                    choices: [valueDuration, valueString]
                    index: 36
                  valueDuration:
                    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
                    type: Duration
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 37
                  valueString:
                    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
                    type: string
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 38
                required: [url]
              specialPrecautionsForStorage:
                url: specialPrecautionsForStorage
                short: 'R4B: 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 (new)'
                array: true
                base: {max: '*', min: 0, path: Extension.extension}
                index: 39
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: specialPrecautionsForStorage}
                    index: 40
                  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: 42
                  valueCodeableConcept:
                    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
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 43
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 27
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    type:
                      match: {url: type}
                      schema:
                        short: 'R4B: 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 (new)'
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 28
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: type}
                            index: 29
                          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: 31
                          valueCodeableConcept:
                            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
                            type: CodeableConcept
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 32
                        required: [url]
                    period:
                      match: {url: period}
                      schema:
                        short: 'R4B: 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 (new)'
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 33
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: period}
                            index: 34
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                            choices: [valueDuration, valueString]
                            index: 36
                          valueDuration:
                            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
                            type: Duration
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 37
                          valueString:
                            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
                            type: string
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 38
                        required: [url]
                    specialPrecautionsForStorage:
                      match: {url: specialPrecautionsForStorage}
                      schema:
                        short: 'R4B: 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 (new)'
                        array: true
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 39
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: specialPrecautionsForStorage}
                            index: 40
                          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: 42
                          valueCodeableConcept:
                            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
                            type: CodeableConcept
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 43
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: shelfLifeStorage}
                index: 44
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choices: []
                index: 46
            required: [url]
        property:
          match: {url: property}
          schema:
            short: 'R4B: General characteristics of this item (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 53
            extensions:
              type:
                url: type
                short: 'R4B: A code expressing the type of characteristic (new)'
                _required: true
                base: {max: '*', min: 0, path: Extension.extension}
                index: 55
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 56
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A code expressing the type of characteristic
                    choices: [valueCodeableConcept]
                    index: 58
                  valueCodeableConcept:
                    short: A code expressing the type of characteristic
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 59
                required: [url, value, valueCodeableConcept]
              value:
                url: value
                short: 'R4B: A value for the characteristic (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 60
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: value}
                    index: 61
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A value for the characteristic
                    choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                    index: 63
                  valueCodeableConcept:
                    short: A value for the characteristic
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 64
                  valueQuantity:
                    short: A value for the characteristic
                    type: Quantity
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 65
                  valueDate:
                    short: A value for the characteristic
                    type: date
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 66
                  valueBoolean:
                    short: A value for the characteristic
                    type: boolean
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 67
                  valueAttachment:
                    short: A value for the characteristic
                    type: Attachment
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 68
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 54
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    type:
                      match: {url: type}
                      schema:
                        short: 'R4B: A code expressing the type of characteristic (new)'
                        _required: true
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 55
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: type}
                            index: 56
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: A code expressing the type of characteristic
                            choices: [valueCodeableConcept]
                            index: 58
                          valueCodeableConcept:
                            short: A code expressing the type of characteristic
                            type: CodeableConcept
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 59
                        required: [url, value, valueCodeableConcept]
                    value:
                      match: {url: value}
                      schema:
                        short: 'R4B: A value for the characteristic (new)'
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 60
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: value}
                            index: 61
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: A value for the characteristic
                            choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                            index: 63
                          valueCodeableConcept:
                            short: A value for the characteristic
                            type: CodeableConcept
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 64
                          valueQuantity:
                            short: A value for the characteristic
                            type: Quantity
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 65
                          valueDate:
                            short: A value for the characteristic
                            type: date
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 66
                          valueBoolean:
                            short: A value for the characteristic
                            type: boolean
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 67
                          valueAttachment:
                            short: A value for the characteristic
                            type: Attachment
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 68
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: property}
                index: 69
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choices: []
                index: 71
            required: [url, extension]
        alternateMaterial:
          match: {url: alternateMaterial}
          schema:
            short: 'R4B: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 21
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: alternateMaterial}
                index: 22
              value:
                short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                choices: [valueCodeableConcept]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 24
              valueCodeableConcept:
                short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 25
            required: [url]
        type:
          match: {url: type}
          schema:
            short: 'R4B: The physical type of the container of the items (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 7
              value:
                short: The physical type of the container of the items
                choices: [valueCodeableConcept]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 9
              valueCodeableConcept:
                short: The physical type of the container of the items
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 10
            required: [url]
        material:
          match: {url: material}
          schema:
            short: 'R4B: Material type of the package item (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: material}
                index: 17
              value:
                short: Material type of the package item
                choices: [valueCodeableConcept]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 19
              valueCodeableConcept:
                short: Material type of the package item
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 20
            required: [url]
        identifier:
          match: {url: identifier}
          schema:
            short: 'R4B: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: identifier}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                choices: [valueIdentifier]
                index: 4
              valueIdentifier:
                short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
                type: Identifier
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 5
            required: [url]
        manufacturer:
          match: {url: manufacturer}
          schema:
            short: 'R4B: Manufacturer of this package Item (multiple means these are all possible manufacturers) (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 47
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: manufacturer}
                index: 48
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                choices: [valueReference, valueReference]
                index: 50
              valueReference:
                short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
                refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-Organization|0.1.0']
                type: Reference
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 51
            required: [url]
        containedItem:
          match: {url: containedItem}
          schema:
            short: 'R4B: The item(s) within the packaging (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 72
            extensions:
              item:
                url: item
                short: 'R4B: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package (new)'
                _required: true
                base: {max: '*', min: 0, path: Extension.extension}
                index: 74
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: DataType slice for a FHIR R4B `CodeableReference` value
                    _required: true
                    index: 76
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                        index: 77
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 79
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 80
                    required: [url, valueString, value]
                  concept:
                    url: concept
                    short: 'R4B: Reference to a concept (by class)'
                    base: {max: '*', min: 0, path: Extension.extension}
                    index: 81
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 82
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 84
                      valueCodeableConcept:
                        short: Reference to a concept (by class)
                        type: CodeableConcept
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 85
                    required: [url]
                  reference:
                    url: reference
                    short: 'R4B: Reference to a resource (by instance)'
                    base: {max: '*', min: 0, path: Extension.extension}
                    index: 86
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 87
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                        index: 89
                      valueReference:
                        short: Reference to a resource (by instance)
                        refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                        type: Reference
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 90
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 1
                    index: 75
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        _datatype:
                          match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: DataType slice for a FHIR R4B `CodeableReference` value
                            _required: true
                            index: 76
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                                index: 77
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 79
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 80
                            required: [url, valueString, value]
                        concept:
                          match: {url: concept}
                          schema:
                            short: 'R4B: Reference to a concept (by class)'
                            base: {max: '*', min: 0, path: Extension.extension}
                            index: 81
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 82
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 84
                              valueCodeableConcept:
                                short: Reference to a concept (by class)
                                type: CodeableConcept
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 85
                            required: [url]
                        reference:
                          match: {url: reference}
                          schema:
                            short: 'R4B: Reference to a resource (by instance)'
                            base: {max: '*', min: 0, path: Extension.extension}
                            index: 86
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 87
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                                index: 89
                              valueReference:
                                short: Reference to a resource (by instance)
                                refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                                type: Reference
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 90
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: item}
                    index: 96
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choices: []
                    index: 98
                required: [url, extension]
              amount:
                url: amount
                short: 'R4B: The number of this type of item within this packaging (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 99
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: amount}
                    index: 100
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The number of this type of item within this packaging
                    choices: [valueQuantity]
                    index: 102
                  valueQuantity:
                    short: The number of this type of item within this packaging
                    type: Quantity
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 103
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 73
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    item:
                      match: {url: item}
                      schema:
                        short: 'R4B: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package (new)'
                        _required: true
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 74
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: DataType slice for a FHIR R4B `CodeableReference` value
                            _required: true
                            index: 76
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                                index: 77
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 79
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 80
                            required: [url, valueString, value]
                          concept:
                            url: concept
                            short: 'R4B: Reference to a concept (by class)'
                            base: {max: '*', min: 0, path: Extension.extension}
                            index: 81
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 82
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 84
                              valueCodeableConcept:
                                short: Reference to a concept (by class)
                                type: CodeableConcept
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 85
                            required: [url]
                          reference:
                            url: reference
                            short: 'R4B: Reference to a resource (by instance)'
                            base: {max: '*', min: 0, path: Extension.extension}
                            index: 86
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 87
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                                index: 89
                              valueReference:
                                short: Reference to a resource (by instance)
                                refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                                type: Reference
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 90
                            required: [url]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            min: 1
                            index: 75
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                _datatype:
                                  match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: DataType slice for a FHIR R4B `CodeableReference` value
                                    _required: true
                                    index: 76
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                                        index: 77
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        pattern: {type: String, value: CodeableReference}
                                        choices: [valueString]
                                        index: 79
                                      valueString:
                                        type: string
                                        pattern: {type: String, value: CodeableReference}
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 80
                                    required: [url, valueString, value]
                                concept:
                                  match: {url: concept}
                                  schema:
                                    short: 'R4B: Reference to a concept (by class)'
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    index: 81
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: concept}
                                        index: 82
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Reference to a concept (by class)
                                        choices: [valueCodeableConcept]
                                        index: 84
                                      valueCodeableConcept:
                                        short: Reference to a concept (by class)
                                        type: CodeableConcept
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 85
                                    required: [url]
                                reference:
                                  match: {url: reference}
                                  schema:
                                    short: 'R4B: Reference to a resource (by instance)'
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    index: 86
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: reference}
                                        index: 87
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Reference to a resource (by instance)
                                        choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                                        index: 89
                                      valueReference:
                                        short: Reference to a resource (by instance)
                                        refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                                        type: Reference
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 90
                                    required: [url]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: item}
                            index: 96
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choices: []
                            index: 98
                        required: [url, extension]
                    amount:
                      match: {url: amount}
                      schema:
                        short: 'R4B: The number of this type of item within this packaging (new)'
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 99
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: amount}
                            index: 100
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The number of this type of item within this packaging
                            choices: [valueQuantity]
                            index: 102
                          valueQuantity:
                            short: The number of this type of item within this packaging
                            type: Quantity
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 103
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: containedItem}
                index: 104
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choices: []
                index: 106
            required: [url, extension]
        quantity:
          match: {url: quantity}
          schema:
            short: 'R4B: The quantity of this level of packaging in the package that contains it (with the outermost level being 1) (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: quantity}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                choices: [valueInteger]
                index: 14
              valueInteger:
                short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
                type: integer
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 15
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition.package'}
    index: 111
  value:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    choices: []
    index: 113
package_version: 0.1.0
extensions:
  package:
    url: http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition.package
    short: 'R4B: Allows containers (and parts of containers) within containers, still a single packaged product (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 107
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition.package'}
        index: 108
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choices: []
        index: 110
    required: [url]
  shelfLifeStorage:
    url: shelfLifeStorage
    short: 'R4B: Shelf Life and storage information (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 26
    extensions:
      type:
        url: type
        short: 'R4B: 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 (new)'
        base: {max: '*', min: 0, path: Extension.extension}
        index: 28
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: type}
            index: 29
          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: 31
          valueCodeableConcept:
            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
            type: CodeableConcept
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 32
        required: [url]
      period:
        url: period
        short: 'R4B: 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 (new)'
        base: {max: '*', min: 0, path: Extension.extension}
        index: 33
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: period}
            index: 34
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
            choices: [valueDuration, valueString]
            index: 36
          valueDuration:
            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
            type: Duration
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 37
          valueString:
            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
            type: string
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 38
        required: [url]
      specialPrecautionsForStorage:
        url: specialPrecautionsForStorage
        short: 'R4B: 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 (new)'
        array: true
        base: {max: '*', min: 0, path: Extension.extension}
        index: 39
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: specialPrecautionsForStorage}
            index: 40
          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: 42
          valueCodeableConcept:
            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
            type: CodeableConcept
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 43
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 27
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            type:
              match: {url: type}
              schema:
                short: 'R4B: 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 (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 28
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 29
                  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: 31
                  valueCodeableConcept:
                    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
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 32
                required: [url]
            period:
              match: {url: period}
              schema:
                short: 'R4B: 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 (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: period}
                    index: 34
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
                    choices: [valueDuration, valueString]
                    index: 36
                  valueDuration:
                    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
                    type: Duration
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 37
                  valueString:
                    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
                    type: string
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 38
                required: [url]
            specialPrecautionsForStorage:
              match: {url: specialPrecautionsForStorage}
              schema:
                short: 'R4B: 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 (new)'
                array: true
                base: {max: '*', min: 0, path: Extension.extension}
                index: 39
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: specialPrecautionsForStorage}
                    index: 40
                  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: 42
                  valueCodeableConcept:
                    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
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 43
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: shelfLifeStorage}
        index: 44
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choices: []
        index: 46
    required: [url]
  property:
    url: property
    short: 'R4B: General characteristics of this item (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 53
    extensions:
      type:
        url: type
        short: 'R4B: A code expressing the type of characteristic (new)'
        _required: true
        base: {max: '*', min: 0, path: Extension.extension}
        index: 55
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: type}
            index: 56
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: A code expressing the type of characteristic
            choices: [valueCodeableConcept]
            index: 58
          valueCodeableConcept:
            short: A code expressing the type of characteristic
            type: CodeableConcept
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 59
        required: [url, value, valueCodeableConcept]
      value:
        url: value
        short: 'R4B: A value for the characteristic (new)'
        base: {max: '*', min: 0, path: Extension.extension}
        index: 60
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: value}
            index: 61
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: A value for the characteristic
            choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
            index: 63
          valueCodeableConcept:
            short: A value for the characteristic
            type: CodeableConcept
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 64
          valueQuantity:
            short: A value for the characteristic
            type: Quantity
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 65
          valueDate:
            short: A value for the characteristic
            type: date
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 66
          valueBoolean:
            short: A value for the characteristic
            type: boolean
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 67
          valueAttachment:
            short: A value for the characteristic
            type: Attachment
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 68
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 54
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            type:
              match: {url: type}
              schema:
                short: 'R4B: A code expressing the type of characteristic (new)'
                _required: true
                base: {max: '*', min: 0, path: Extension.extension}
                index: 55
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 56
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A code expressing the type of characteristic
                    choices: [valueCodeableConcept]
                    index: 58
                  valueCodeableConcept:
                    short: A code expressing the type of characteristic
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 59
                required: [url, value, valueCodeableConcept]
            value:
              match: {url: value}
              schema:
                short: 'R4B: A value for the characteristic (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 60
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: value}
                    index: 61
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: A value for the characteristic
                    choices: [valueCodeableConcept, valueQuantity, valueDate, valueBoolean, valueAttachment]
                    index: 63
                  valueCodeableConcept:
                    short: A value for the characteristic
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 64
                  valueQuantity:
                    short: A value for the characteristic
                    type: Quantity
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 65
                  valueDate:
                    short: A value for the characteristic
                    type: date
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 66
                  valueBoolean:
                    short: A value for the characteristic
                    type: boolean
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 67
                  valueAttachment:
                    short: A value for the characteristic
                    type: Attachment
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 68
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: property}
        index: 69
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choices: []
        index: 71
    required: [url, extension]
  alternateMaterial:
    url: alternateMaterial
    short: 'R4B: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 21
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: alternateMaterial}
        index: 22
      value:
        short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
        choices: [valueCodeableConcept]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 24
      valueCodeableConcept:
        short: A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 25
    required: [url]
  type:
    url: type
    short: 'R4B: The physical type of the container of the items (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: type}
        index: 7
      value:
        short: The physical type of the container of the items
        choices: [valueCodeableConcept]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 9
      valueCodeableConcept:
        short: The physical type of the container of the items
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 10
    required: [url]
  material:
    url: material
    short: 'R4B: Material type of the package item (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: material}
        index: 17
      value:
        short: Material type of the package item
        choices: [valueCodeableConcept]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 19
      valueCodeableConcept:
        short: Material type of the package item
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 20
    required: [url]
  identifier:
    url: identifier
    short: 'R4B: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: identifier}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
        choices: [valueIdentifier]
        index: 4
      valueIdentifier:
        short: An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier
        type: Identifier
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 5
    required: [url]
  manufacturer:
    url: manufacturer
    short: 'R4B: Manufacturer of this package Item (multiple means these are all possible manufacturers) (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 47
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: manufacturer}
        index: 48
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
        choices: [valueReference, valueReference]
        index: 50
      valueReference:
        short: Manufacturer of this package Item (multiple means these are all possible manufacturers)
        refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-Organization|0.1.0']
        type: Reference
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 51
    required: [url]
  containedItem:
    url: containedItem
    short: 'R4B: The item(s) within the packaging (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 72
    extensions:
      item:
        url: item
        short: 'R4B: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package (new)'
        _required: true
        base: {max: '*', min: 0, path: Extension.extension}
        index: 74
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            base: {max: '*', min: 0, path: Extension.extension}
            short: DataType slice for a FHIR R4B `CodeableReference` value
            _required: true
            index: 76
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                index: 77
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: CodeableReference}
                choices: [valueString]
                index: 79
              valueString:
                type: string
                pattern: {type: String, value: CodeableReference}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 80
            required: [url, valueString, value]
          concept:
            url: concept
            short: 'R4B: Reference to a concept (by class)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 81
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: concept}
                index: 82
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Reference to a concept (by class)
                choices: [valueCodeableConcept]
                index: 84
              valueCodeableConcept:
                short: Reference to a concept (by class)
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 85
            required: [url]
          reference:
            url: reference
            short: 'R4B: Reference to a resource (by instance)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 86
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: reference}
                index: 87
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Reference to a resource (by instance)
                choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                index: 89
              valueReference:
                short: Reference to a resource (by instance)
                refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                type: Reference
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 90
            required: [url]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            min: 1
            index: 75
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                _datatype:
                  match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: DataType slice for a FHIR R4B `CodeableReference` value
                    _required: true
                    index: 76
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                        index: 77
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 79
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 80
                    required: [url, valueString, value]
                concept:
                  match: {url: concept}
                  schema:
                    short: 'R4B: Reference to a concept (by class)'
                    base: {max: '*', min: 0, path: Extension.extension}
                    index: 81
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 82
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 84
                      valueCodeableConcept:
                        short: Reference to a concept (by class)
                        type: CodeableConcept
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 85
                    required: [url]
                reference:
                  match: {url: reference}
                  schema:
                    short: 'R4B: Reference to a resource (by instance)'
                    base: {max: '*', min: 0, path: Extension.extension}
                    index: 86
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 87
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                        index: 89
                      valueReference:
                        short: Reference to a resource (by instance)
                        refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                        type: Reference
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 90
                    required: [url]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: item}
            index: 96
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choices: []
            index: 98
        required: [url, extension]
      amount:
        url: amount
        short: 'R4B: The number of this type of item within this packaging (new)'
        base: {max: '*', min: 0, path: Extension.extension}
        index: 99
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: amount}
            index: 100
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The number of this type of item within this packaging
            choices: [valueQuantity]
            index: 102
          valueQuantity:
            short: The number of this type of item within this packaging
            type: Quantity
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 103
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 73
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            item:
              match: {url: item}
              schema:
                short: 'R4B: The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package (new)'
                _required: true
                base: {max: '*', min: 0, path: Extension.extension}
                index: 74
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: DataType slice for a FHIR R4B `CodeableReference` value
                    _required: true
                    index: 76
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                        index: 77
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 79
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 80
                    required: [url, valueString, value]
                  concept:
                    url: concept
                    short: 'R4B: Reference to a concept (by class)'
                    base: {max: '*', min: 0, path: Extension.extension}
                    index: 81
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 82
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 84
                      valueCodeableConcept:
                        short: Reference to a concept (by class)
                        type: CodeableConcept
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 85
                    required: [url]
                  reference:
                    url: reference
                    short: 'R4B: Reference to a resource (by instance)'
                    base: {max: '*', min: 0, path: Extension.extension}
                    index: 86
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 87
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                        index: 89
                      valueReference:
                        short: Reference to a resource (by instance)
                        refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                        type: Reference
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 90
                    required: [url]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    min: 1
                    index: 75
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        _datatype:
                          match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: DataType slice for a FHIR R4B `CodeableReference` value
                            _required: true
                            index: 76
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                                index: 77
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 79
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 80
                            required: [url, valueString, value]
                        concept:
                          match: {url: concept}
                          schema:
                            short: 'R4B: Reference to a concept (by class)'
                            base: {max: '*', min: 0, path: Extension.extension}
                            index: 81
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 82
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 84
                              valueCodeableConcept:
                                short: Reference to a concept (by class)
                                type: CodeableConcept
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 85
                            required: [url]
                        reference:
                          match: {url: reference}
                          schema:
                            short: 'R4B: Reference to a resource (by instance)'
                            base: {max: '*', min: 0, path: Extension.extension}
                            index: 86
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 87
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference, valueReference, valueReference, valueReference, valueReference, valueReference]
                                index: 89
                              valueReference:
                                short: Reference to a resource (by instance)
                                refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-ManufacturedItemDefinition|0.1.0']
                                type: Reference
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 90
                            required: [url]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: item}
                    index: 96
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choices: []
                    index: 98
                required: [url, extension]
            amount:
              match: {url: amount}
              schema:
                short: 'R4B: The number of this type of item within this packaging (new)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 99
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: amount}
                    index: 100
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The number of this type of item within this packaging
                    choices: [valueQuantity]
                    index: 102
                  valueQuantity:
                    short: The number of this type of item within this packaging
                    type: Quantity
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 103
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: containedItem}
        index: 104
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choices: []
        index: 106
    required: [url, extension]
  quantity:
    url: quantity
    short: 'R4B: The quantity of this level of packaging in the package that contains it (with the outermost level being 1) (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: quantity}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
        choices: [valueInteger]
        index: 14
      valueInteger:
        short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)
        type: integer
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 15
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-PackagedProductDefinition.package
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.1.0
required: [url]