PackagesCanonicalsLogsProblems
    Packages
    rs/ch.fhir.ig.ch@epl-1.0.0-ballot
    http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-packagedproductdefinition
description: Profile of the PackagedProductDefinition resource for representing a medically related item or items, in a container or package.
package_name: rs/ch.fhir.ig.ch
derivation: constraint
name: CHIDMPPackagedProductDefinition
type: PackagedProductDefinition
elements:
  packageFor:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-medicinalproductdefinition']
    index: 0
  description: {short: Textual description (this is not the name of the package or product), index: 1}
  marketingStatus:
    elements:
      country:
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: CH, system: 'urn:iso:std:iso:3166'}
        type: CodeableConcept
        index: 2
      status:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epl/ValueSet/ch-SMC-marketing-status'}
        index: 3
        elements:
          coding:
            index: 4
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              max: 1
              slices:
                SMC:
                  match: {system: 'http://fhir.ch/ig/ch-epl/CodeSystem/ch-SMC-marketing-status'}
                  schema:
                    index: 5
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.ch/ig/ch-epl/CodeSystem/ch-SMC-marketing-status'}
                        type: uri
                        index: 6
                      code: {index: 7}
                    required: [code, system]
  packaging:
    elements:
      type:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epl/ValueSet/edqm-packaging'}
        index: 8
        elements:
          coding:
            index: 9
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: 1
              slices:
                SMC:
                  match: {system: 'http://standardterms.edqm.eu'}
                  schema:
                    index: 10
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://standardterms.edqm.eu'}
                        type: uri
                        index: 11
                      code: {index: 12}
                    required: [code, system]
        required: [coding]
      quantity: {short: The quantity of this level of packaging in the package that contains it (with the outermost level being 1)., index: 13}
      property:
        elements:
          value:
            choices: []
            index: 15
        required: [value]
      containedItem:
        elements:
          item: {type: CodeableReference, index: 16}
          amount:
            index: 17
            elements:
              value: {index: 18}
              unit: {index: 19}
              system: {index: 20}
              code: {index: 21}
            required: [code, system, unit, value]
        required: [amount]
package_version: epl-1.0.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-packagedproductdefinition
base: http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition
version: 1.0.0-ballot