description: DGMC Medication Statement for Chronic Medications package_name: il.fhir.r4.dgmc derivation: constraint name: DGMCMedStatementChronic type: MedicationStatement elements: category: elements: coding: elements: system: pattern: {type: uri, value: 'http://fhir.health.gov.il/ValueSet/il-core-medication-statement-category'} type: uri index: 7 dosage: elements: route: elements: coding: index: 26 slicing: rules: open ordered: false discriminator: - {path: system, type: value} min: null slices: internal: match: {system: null} schema: index: 27 elements: system: binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-med-route-code-uri'} index: 28 code: {index: 29} required: [code, system] snomed: match: {system: 'http://snomed.info/sct'} schema: index: 30 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 31 code: {index: 32} required: [code, system] doseAndRate: elements: dose: choices: [] index: 34 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: doseQuantity: match: {} schema: choices: [doseQuantity] index: 36 min: 0 max: 1 doseQuantity: type: Quantity choiceOf: dose index: 37 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, choiceOf: dose, index: 37} min: 0 max: 1 dose[x]: elements: system: binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/standard-quant-units'} index: 38 medication[x]: elements: coding: index: 11 slicing: rules: open ordered: false discriminator: - {path: system, type: value} min: 1 slices: internal: match: {system: null} schema: _required: true index: 12 elements: system: binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-internal-drug-code-uri'} index: 13 code: {index: 14} display: {index: 15} required: [code, display, system] snomed: match: {system: 'http://snomed.info/sct'} schema: index: 16 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 17 code: {index: 18} required: [code, system] external: match: {system: null} schema: index: 19 elements: system: binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-external-drug-code-uri'} index: 20 code: {index: 21} required: [code, system] atc: match: {system: 'http://www.whocc.no/atc'} schema: index: 22 elements: system: pattern: {type: uri, value: 'http://www.whocc.no/atc'} type: uri index: 23 code: {index: 24} required: [code, system] required: [coding] medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 10 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, _required: true, index: 10} min: 1 extension: index: 1 slicing: slices: courseOfTherapyType: match: {} schema: index: 1 elements: value[x]: elements: coding: elements: system: pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/il-core-medication-course-of-therapy-type'} type: uri index: 2 code: pattern: {type: code, value: chronic} type: code index: 3 display: pattern: {type: string, value: Chronic therapy} type: string index: 4 id: {index: 0} identifier: elements: system: {index: 5} value: {index: 6} required: [system, value] subject: elements: reference: {index: 25} required: [reference] medication: choices: [medicationCodeableConcept] index: 9 slicing: slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] _required: true index: 9 min: 1 package_version: 0.6.0 extensions: courseOfTherapyType: url: null index: 1 elements: value[x]: elements: coding: elements: system: pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/il-core-medication-course-of-therapy-type'} type: uri index: 2 code: pattern: {type: code, value: chronic} type: code index: 3 display: pattern: {type: string, value: Chronic therapy} type: string index: 4 class: profile kind: resource url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-med-statement-chronic base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-statement version: null required: [id, medication, medicationCodeableConcept]