PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@1.3.2
    http://nictiz.nl/fhir/StructureDefinition/mp612-DispenseToFHIRConversion-Dispense
description: 'This profile is derived from the profile of the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) MedicationDispense. release 2017.'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: MP612 DispenseToFHIRConversion Dispense
type: MedicationDispense
elements:
  notDone: {index: 41}
  category:
    elements:
      coding:
        index: 10
        slicing:
          slices:
            DispenseCode:
              match: {}
              schema:
                _required: true
                index: 11
                elements:
                  system: {index: 12}
                  code: {index: 13}
                required: [system, code]
    required: [coding]
  whenHandedOver: {index: 35}
  whenPrepared: {index: 34}
  eventHistory: {index: 44}
  substitution: {index: 39}
  detectedIssue: {index: 40}
  type: {index: 23}
  note: {index: 38}
  notDoneReason:
    choices: []
    index: 43
  extension:
    index: 0
    slicing:
      slices:
        distributionForm:
          match: {}
          schema: {index: 0}
          max: 0
        requestDate:
          match: {}
          schema: {index: 1}
        additionalInformation:
          match: {}
          schema: {index: 2}
          max: 0
        medicationTreatment:
          match: {}
          schema:
            _required: true
            index: 3
            elements:
              valueIdentifier:
                index: 4
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema: {_required: true, index: 4}
                      min: 1
            required: [valueIdentifier]
  supportingInformation: {index: 17}
  status: {index: 9}
  daysSupply:
    index: 29
    elements:
      value: {index: 30}
      unit: {index: 31}
      system: {index: 32}
      code: {index: 33}
    required: [value, unit, system, code]
  identifier:
    index: 5
    elements:
      system: {index: 6}
      value: {index: 7}
    required: [value, system]
  context: {index: 16}
  medicationReference:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/mp612-DispenseToFHIRConversion-Product']
    index: 14
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            refers: ['http://nictiz.nl/fhir/StructureDefinition/mp612-DispenseToFHIRConversion-Product']
            index: 14
  quantity:
    index: 24
    elements:
      value: {index: 25}
      unit: {index: 26}
      system:
        short: G-Standaard thesaurus basiseenheden
        pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.4.1.900.2'}
        index: 27
      code: {index: 28}
    required: [value, unit, system, code]
  partOf: {index: 8}
  authorizingPrescription:
    index: 21
    elements:
      reference: {index: 22}
  receiver: {index: 37}
  subject:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/mp612-DispenseToFHIRConversion-Patient']
    index: 15
  destination: {index: 36}
  performer:
    index: 18
    elements:
      actor:
        type: Reference
        refers: ['http://nictiz.nl/fhir/StructureDefinition/mp612-DispenseToFHIRConversion-Organization']
        index: 19
      onBehalfOf: {index: 20}
package_version: 1.3.2
extensions:
  distributionForm: {url: null, max: 0, index: 0}
  requestDate: {url: null, index: 1}
  additionalInformation: {url: null, max: 0, index: 2}
  medicationTreatment:
    url: null
    _required: true
    index: 3
    elements:
      valueIdentifier:
        index: 4
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema: {_required: true, index: 4}
              min: 1
    required: [valueIdentifier]
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/mp612-DispenseToFHIRConversion-Dispense
base: http://nictiz.nl/fhir/StructureDefinition/zib-Dispense
version: 1.2.0
required: [quantity, whenHandedOver, identifier, subject, performer]