PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.be.medication@1.0.0
    https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-medicationdispense
description: Defines constraints and extensions on the Medication Dispense resource for a record of a dispensation in Belgium.
package_name: hl7.fhir.be.medication
derivation: constraint
name: BeMedicationDispense
type: MedicationDispense
elements:
  whenHandedOver: {mustSupport: true, index: 19}
  medicationCodeableConcept:
    type: CodeableConcept
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/medication-codes'}
    mustSupport: true
    index: 4
  note: {mustSupport: true, index: 20}
  dosageInstruction:
    mustSupport: true
    index: 21
    elements:
      text: {mustSupport: true, index: 22}
      patientInstruction: {mustSupport: true, index: 23}
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        DGUID:
          match: {system: 'https://www.gfd-dpp.be/fhir/reference/dguid'}
          schema:
            mustSupport: true
            index: 1
            elements:
              type:
                elements:
                  coding:
                    elements:
                      code:
                        pattern: {type: Code, value: dguid}
                        index: 2
              system:
                pattern: {type: Uri, value: 'https://www.gfd-dpp.be/fhir/reference/dguid'}
                index: 3
            required: [system]
  context:
    short: The dispense session identifier, for example an identifier of a visit to a pharmacy
    mustSupport: true
    index: 7
    elements:
      identifier:
        mustSupport: true
        index: 8
        elements:
          type:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://www.gfd-dpp.be/fhir/reference/identifier_types'}
                    index: 9
                  code:
                    pattern: {type: Code, value: sguid}
                    index: 10
          system:
            pattern: {type: Uri, value: 'https://www.gfd-dpp.be/fhir/reference/sguid'}
            index: 11
  medicationReference:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 5
  quantity: {mustSupport: true, index: 18}
  authorizingPrescription:
    mustSupport: true
    index: 15
    elements:
      identifier: {mustSupport: true, index: 16}
      display: {mustSupport: true, index: 17}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient']
    index: 6
  performer:
    mustSupport: true
    index: 12
    elements:
      function:
        elements:
          text:
            pattern: {type: String, value: dispenser}
            index: 13
      actor:
        type: Reference
        refers: ['https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner']
        index: 14
package_version: 1.0.0
class: profile
kind: resource
url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-medicationdispense
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 1.0.0
required: [whenHandedOver, subject, performer]