PackagesCanonicalsLogsProblems
    Packages
    il.hdp.fhir.r4@0.3.1
    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: 14}
  meta:
    type: Meta
    index: 0
    elements:
      security:
        index: 1
        slicing:
          slices:
            HDP:
              match: {}
              schema:
                index: 1
                elements:
                  code:
                    pattern: {type: Code, value: medications}
                    index: 2
                  display:
                    pattern: {type: String, value: תרופות}
                    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: 20
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 7}
  type: {index: 13}
  dosageInstruction:
    index: 17
    elements:
      route: {index: 18}
      doseAndRate:
        constraint:
          medication-dose-rate-1: {human: 'If this element is present, then at least one of its subelemnts: [''dose'' or ''rate''] must be present.', source: 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-dispense', severity: error, expression: dose.exists() or rate.exists()}
        index: 19
    required: [doseAndRate, route]
  identifier: {index: 4}
  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: 8
  location:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location']
    index: 11
  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: 12
  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: 16
  subject:
    type: Reference
    refers: ['http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-patient']
    index: 9
  destination:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location']
    index: 15
  performer:
    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-organization', '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: 10
  medication:
    choices: [medicationCodeableConcept, medicationReference]
    index: 6
package_version: 0.3.1
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: 0.3.1
required: [dosageInstruction, whenHandedOver, identifier, type, meta]