description: This profile represents the constraints applied to the MedicationStatement resource by the International Patient Summary (IPS) FHIR Implementation Guide, based on FHIR R4. A record of a medication statement is represented in the patient summary as an instance of a MedicationStatement resource constrained by this profile. package_name: HIE2.packages derivation: constraint name: MedicationStatementIPS type: MedicationStatement elements: dosage: mustSupport: true index: 16 elements: text: {mustSupport: true, index: 17} timing: {mustSupport: true, index: 18} route: type: CodeableConcept binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration'} index: 19 medicationCodeableConcept: type: CodeableConcept short: Code for absent or unknown medication choiceOf: medication index: 8 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, short: Code for absent or unknown medication, choiceOf: medication, index: 8} effective[x]: extensions: myExtension: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, type: Extension, short: 'effective[x] absence reason', mustSupport: true, index: 14} elements: extension: index: 13 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: myExtension: match: {url: null} schema: {type: Extension, short: 'effective[x] absence reason', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 14} min: 0 status: {mustSupport: true, index: 0} effective: mustSupport: true choices: [] index: 12 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips'] index: 5 slicing: slices: medicationReference: match: {} schema: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips'] index: 5 informationSource: {mustSupport: true, index: 15} subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips'] index: 9 elements: reference: {mustSupport: true, index: 10} required: [reference] medication: short: Code for absent or unknown medication choices: [medicationCodeableConcept] index: 7 slicing: slices: medicationCodeableConcept: match: {} schema: short: Code for absent or unknown medication choices: [medicationCodeableConcept] index: 7 package_version: 0.1.1 class: profile kind: resource url: http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 1.0.0 required: [effective]