description: Asuta Ashdod medication prescription (MedicationRequest) profile for the CML interface, representing discharge prescriptions. package_name: il.fhir.r4.ashmc derivation: constraint name: AsutaAshdodMedicationRequestPrescriptionCml type: MedicationRequest elements: category: index: 8 slicing: slices: il-core: match: {} schema: index: 8 elements: coding: elements: code: pattern: {type: Code, value: discharge} index: 9 display: pattern: {type: String, value: Discharge} index: 10 encounter: {index: 26} medication[x]: elements: coding: index: 14 slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: cml: match: {system: 'http://fhir.ashmc.co.il/cs/cml-med-code'} schema: _required: true index: 15 elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-med-code'} index: 16 code: {index: 17} required: [system, code] bi-id: match: {system: 'http://fhir.ashmc.co.il/cs/bi-med-code'} schema: index: 18 elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/bi-med-code'} index: 19 code: {index: 20} display: {index: 21} required: [display, system, code] snomed: match: {system: 'http://snomed.info/sct'} schema: index: 22 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 23 required: [system] atc: match: {system: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'} schema: index: 24 elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'} index: 25 required: [system] required: [coding] medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 13 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 13} extension: type: Extension url: http://fhir.health.gov.il/StructureDefinition/ext-resource-role-context index: 0 slicing: slices: ResourceRoleContext: match: {} schema: {type: Extension, url: 'http://fhir.health.gov.il/StructureDefinition/ext-resource-role-context', index: 0} min: 0 dosageInstruction: elements: additionalInstruction: elements: coding: index: 33 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: way-of-giving: match: {system: 'http://fhir.ashmc.co.il/cs/way-of-giving-med'} schema: array: true index: 34 elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/way-of-giving-med'} index: 35 code: {index: 36} required: [system, code] timing: elements: repeat: elements: bounds: choices: [] index: 38 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: boundsDuration: match: {} schema: choices: [boundsDuration] index: 40 min: 0 max: 1 boundsDuration: type: Duration choiceOf: bounds index: 41 slicing: slices: boundsDuration: match: {} schema: {type: Duration, choiceOf: bounds, index: 41} min: 0 max: 1 bounds[x]: elements: system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 42 site: elements: coding: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 43 route: elements: coding: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 44 method: elements: coding: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 45 doseAndRate: elements: dose: choices: [doseQuantity] index: 47 slicing: slices: doseQuantity: match: {} schema: choices: [doseQuantity] index: 47 doseQuantity: type: Quantity choiceOf: dose index: 48 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, choiceOf: dose, index: 48} dose[x]: elements: system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 49 groupIdentifier: index: 27 elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/prescription-cml'} index: 28 value: {index: 29} required: [value] identifier: elements: type: index: 1 elements: coding: index: 2 elements: system: pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-identifier-type'} index: 3 code: pattern: {type: Code, value: strong-id} index: 4 display: pattern: {type: String, value: Strong Identifier} index: 5 required: [coding] system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/prescription-drug-cml'} index: 6 required: [type] intent: pattern: {type: Code, value: order} index: 7 courseOfTherapyType: elements: coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy'} index: 30 code: pattern: {type: Code, value: acute} index: 31 display: pattern: {type: String, value: Short course (acute) therapy} index: 32 medication: choices: [medicationCodeableConcept] index: 12 slicing: slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] index: 12 package_version: 0.7.0 extensions: ResourceRoleContext: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-resource-role-context', min: 0, type: Extension, index: 0} class: profile kind: resource url: http://fhir.ashmc.co.il/StructureDefinition/med-prescription-cml base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-request version: 0.7.0 required: [encounter, groupIdentifier]