description: This MedicationStatement Resource is a record of a medication that is being consumed by a patient. package_name: gpc.stu3.fhir-assets derivation: constraint name: CareConnect-GPC-MedicationStatement-1 type: MedicationStatement elements: meta: index: 0 elements: profile: {index: 1} required: [profile] dosage: index: 31 elements: text: {index: 32} patientInstruction: {mustSupport: true, index: 33} route: elements: coding: index: 34 slicing: rules: open ordered: false discriminator: - {path: system, type: value} min: null slices: snomedCT: match: {system: 'http://snomed.info/sct'} schema: index: 35 extensions: snomedCTDescriptionID: {url: h, type: Extension, index: 36} elements: extension: type: Extension url: h index: 36 slicing: slices: snomedCTDescriptionID: match: {} schema: {type: Extension, url: h, index: 36} system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 37 version: {index: 38} code: {index: 39} display: {index: 40} required: [display, system, code] required: [text] note: mustSupport: true index: 24 elements: author: choices: [authorReference, authorString, authorReference, authorReference] index: 26 authorReference: type: Reference choiceOf: author refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 29 authorString: {type: string, choiceOf: author, index: 28} extension: index: 2 slicing: slices: lastIssueDate: match: {} schema: {type: Extension, mustSupport: true, url: h, index: 3} max: 1 changeSummary: match: {} schema: {type: Extension, short: Optional Extensions Element, url: h, index: 4} prescribingAgency: match: {} schema: {type: Extension, short: The type of organisation/setting responsible for authorising and issuing the medication, url: h, index: 5} min: 1 dosageLastChanged: match: {} schema: type: Extension short: The date when the dosage instructions were last changed url: h index: 6 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationDosageLastChanged-1'} index: 7 effective: mustSupport: true choices: [effectivePeriod] index: 18 identifier: index: 8 elements: system: {index: 9} value: {index: 10} required: [value, system] context: type: Reference mustSupport: true refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1'] index: 13 dateAsserted: {index: 20} basedOn: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ProcedureRequest', 'http://hl7.org/fhir/StructureDefinition/ReferralRequest', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1'] index: 11 medicationReference: type: Reference choiceOf: medication refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Medication-1'] index: 16 partOf: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationDispense', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Procedure-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationStatement-1'] index: 12 informationSource: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1'] index: 21 subject: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 22 effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 19} medication: choices: [medicationReference] index: 15 reasonReference: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1'] index: 23 package_version: 1.4.2 extensions: lastIssueDate: {url: h, max: 1, type: Extension, mustSupport: true, index: 3} changeSummary: {url: h, type: Extension, short: Optional Extensions Element, index: 4} prescribingAgency: {url: h, min: 1, type: Extension, short: The type of organisation/setting responsible for authorising and issuing the medication, index: 5} dosageLastChanged: url: h type: Extension short: The date when the dosage instructions were last changed index: 6 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationDosageLastChanged-1'} index: 7 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationStatement-1 base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 1.10.0 required: [dosage, basedOn, effectivePeriod, extension, identifier, dateAsserted, effective]