PackagesCanonicalsLogsProblems
    Packages
    il.hdp.fhir.r4@0.1.0
    http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-dispense
description: MedicationDispense profile for HDP
package_name: il.hdp.fhir.r4
derivation: constraint
name: ILHDPMedicationDispense
type: MedicationDispense
elements:
  whenHandedOver: {index: 13}
  meta:
    type: Meta
    index: 0
    elements:
      security:
        index: 1
        slicing:
          slices:
            HDP:
              match: {}
              schema:
                index: 1
                elements:
                  code:
                    pattern: {type: code, value: medications}
                    type: code
                    index: 2
                  display:
                    pattern: {type: string, value: תרופות}
                    type: string
                    index: 3
  substitution:
    elements:
      responsibleParty:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner-role']
        index: 26
  type: {index: 12}
  dosageInstruction:
    index: 16
    elements:
      text: {index: 17}
      site: {index: 18}
      route: {index: 19}
      method: {index: 20}
      doseAndRate:
        index: 21
        elements:
          dose:
            choices: []
            index: 23
          rate:
            choices: []
            index: 25
        required: [dose, rate]
    required: [doseAndRate, method, route, site, text]
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-medication', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication']
    index: 6
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-medication', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication']
            index: 6
  location:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location']
    index: 10
  authorizingPrescription:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-medication-request', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-request']
    index: 11
  receiver:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-patient', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner']
    index: 15
  subject:
    type: Reference
    refers: ['http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-patient']
    index: 7
  destination:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location']
    index: 14
  performer:
    index: 8
    elements:
      actor:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://fhir.health.gov.il/StructureDefinition/il-core-related-person', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-patient', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner-role']
        index: 9
  medication:
    choices: [medicationReference]
    index: 5
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 5
package_version: 0.1.0
class: profile
kind: resource
url: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-dispense
base: http://fhir.health.gov.il/StructureDefinition/il-core-medication-dispense
version: null
required: [dosageInstruction, meta, performer, type, whenHandedOver]