PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@2.2.6
    http://nictiz.nl/fhir/StructureDefinition/zib-Product
description: 'This profile is based on the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) PharmacauticalProduct version 2.0, year 2017. It was first modeled after Product from the prerelease version 1.0 of 2017 (https://zibs.nl/wiki/Product-v1.0(2017EN)) which is why the canonical uri is different. This will updated in the next iteration of the HCIMs/profiles'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Zib PharmaceuticalProduct
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        description:
          match: {url: null}
          schema: {short: Description, type: Extension, url: h, index: 1}
          max: 1
  code:
    index: 2
    elements:
      coding:
        short: MedicationCode
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            productCodeZICodelijst:
              match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.8'}
              schema:
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.8'}
                    index: 5
                required: [system]
            productCodeHPKCodelijst:
              match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.7'}
              schema:
                index: 6
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.7'}
                    index: 7
                required: [system]
            productCodeGTINCodelijst:
              match: {system: 'urn:oid:1.3.160'}
              schema:
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.3.160'}
                    index: 9
                required: [system]
            productCodeGPKCodelijst:
              match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.1'}
              schema:
                index: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.1'}
                    index: 11
                required: [system]
            productCodePRKCodelijst:
              match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.10'}
              schema:
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.10'}
                    index: 13
                required: [system]
            productCodeATCCodelijst:
              match: {system: 'http://www.whocc.no/atc'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                    index: 15
                required: [system]
      text: {short: Medication, index: 16}
  form: {short: PharmaceuticalForm, index: 17}
  ingredient:
    short: Ingredient
    index: 18
    elements:
      itemCodeableConcept:
        short: Substance
        type: CodeableConcept
        index: 19
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                short: Substance
                type: CodeableConcept
                index: 19
                elements:
                  coding:
                    index: 20
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: null
                      slices:
                        ingredientCodeZICodelijst:
                          match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.8'}
                          schema:
                            index: 21
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.8'}
                                index: 22
                            required: [system]
                        ingredientCodeGTINCodeLijst:
                          match: {system: 'urn:oid:1.3.160'}
                          schema:
                            index: 23
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:oid:1.3.160'}
                                index: 24
                            required: [system]
                        ingredientCodeATCCodelijst:
                          match: {system: 'http://www.whocc.no/atc'}
                          schema:
                            index: 25
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                                index: 26
                            required: [system]
                        ingredientCodeHPKLijst:
                          match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.7'}
                          schema:
                            index: 27
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.7'}
                                index: 28
                            required: [system]
                        ingredientCodeGPKLijst:
                          match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.1'}
                          schema:
                            index: 29
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.1'}
                                index: 30
                            required: [system]
                        ingredientCodeSNKLijst:
                          match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.1.750'}
                          schema:
                            index: 31
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.1.750'}
                                index: 32
                            required: [system]
                        ingredientCodePRKLijst:
                          match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.10'}
                          schema:
                            index: 33
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.10'}
                                index: 34
                            required: [system]
                        ingredientCodeSSKLijst:
                          match: {system: 'urn:oid:2.16.840.1.113883.2.4.4.1.725'}
                          schema:
                            index: 35
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.1.725'}
                                index: 36
                            required: [system]
      amount:
        short: Concentration
        index: 37
        elements:
          numerator: {short: IngredientAmount, index: 38}
          denominator: {short: ProductAmount, index: 39}
  package:
    elements:
      content:
        elements:
          item:
            choices: [itemCodeableConcept, itemReference]
            index: 41
          itemCodeableConcept: {type: CodeableConcept, choiceOf: item, index: 42}
          itemReference:
            type: Reference
            choiceOf: item
            refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product']
            index: 43
package_version: 2.2.6
extensions:
  description: {url: h, max: 1, short: Description, type: Extension, index: 1}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-Product
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 2.0.5