PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2015@1.0.0
    http://nictiz.nl/fhir/StructureDefinition/zib-Dispense
description: 'This profile is based on the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB)  nl.zorg.Verstrekking version 1.0, year 2017.\r\nA dispense is the delivery of an amount of medicine to the patient, their administrator or their representative.'
package_name: nictiz.fhir.nl.stu3.zib2015
derivation: constraint
name: ZIB-Dispense
type: MedicationDispense
elements:
  category:
    index: 10
    elements:
      coding:
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            DispenseCode:
              match: {code: '373784005'}
              schema:
                short: DispenseCode
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 13
                  code:
                    pattern: {type: Code, value: '373784005'}
                    index: 14
                  display:
                    pattern: {type: String, value: Dispensing medication (procedure)}
                    index: 15
  whenHandedOver: {short: DispenseDateTime, index: 27}
  medicationCodeableConcept: {type: CodeableConcept, short: DispensedMedicine, choiceOf: medication, index: 18}
  note: {short: Comment, index: 30}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        distributionForm:
          match: {url: null}
          schema:
            short: DistributionForm
            type: Extension
            url: h
            index: 1
            elements:
              valueCodeableConcept:
                index: 2
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 2}
        requestDate:
          match: {url: null}
          schema: {short: RequestDate, type: Extension, url: h, index: 3}
          max: 1
        additionalInformation:
          match: {url: null}
          schema:
            short: DispenseAdditionalInformation
            type: Extension
            url: h
            index: 4
            elements:
              valueCodeableConcept:
                index: 5
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 5}
        medicationTreatment:
          match: {url: null}
          schema: {short: Medication Treatment, type: Extension, url: h, index: 6}
          min: 0
          max: 1
  dosageInstruction: {type: Dosage, index: 31}
  daysSupply: {short: DurationOfUse, index: 26}
  identifier:
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        DispenseIdentifier:
          match: {system: null}
          schema: {index: 8}
          max: 1
  context:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare', 'http://nictiz.nl/fhir/StructureDefinition/zib-Contact']
    index: 21
  medicationReference:
    short: DispensedMedicine
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product']
    type: Reference
    choiceOf: medication
    index: 19
  quantity: {short: DispensedAmount, index: 25}
  partOf:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Procedure']
    index: 9
  authorizingPrescription:
    short: DispenseRequest
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest']
    type: Reference
    index: 24
  receiver:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner']
    index: 29
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 20
  destination:
    type: Reference
    short: DispenseLocation
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-location']
    index: 28
  performer:
    short: Supplier
    index: 22
    elements:
      actor:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson', 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicalAidProduct']
        index: 23
  medication:
    short: DispensedMedicine
    choices: [medicationCodeableConcept, medicationReference]
    index: 17
package_version: 1.0.0
extensions:
  distributionForm:
    url: h
    short: DistributionForm
    type: Extension
    index: 1
    elements:
      valueCodeableConcept:
        index: 2
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {index: 2}
  requestDate: {url: h, max: 1, short: RequestDate, type: Extension, index: 3}
  additionalInformation:
    url: h
    short: DispenseAdditionalInformation
    type: Extension
    index: 4
    elements:
      valueCodeableConcept:
        index: 5
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {index: 5}
  medicationTreatment: {url: h, min: 0, max: 1, short: Medication Treatment, type: Extension, index: 6}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-Dispense
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: '1.0'
required: [category]