description: This MedicationStatement Resource is a record of a medication that is being consumed by a patient. package_name: rs/NHSD.Assets.STU3 derivation: constraint name: CareConnect-GPC-MedicationStatement-1 type: MedicationStatement elements: meta: elements: profile: {index: 0} required: [profile] dosage: index: 27 elements: text: {index: 28} patientInstruction: {mustSupport: true, index: 29} route: elements: coding: index: 30 slicing: rules: open ordered: false discriminator: - {path: system, type: value} min: null slices: snomedCT: match: {system: 'http://snomed.info/sct'} schema: index: 31 extensions: snomedCTDescriptionID: {url: h, type: Extension, index: 33} elements: extension: index: 32 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: snomedCTDescriptionID: match: {url: null} schema: {type: Extension, url: h, index: 33} system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 34 version: {index: 35} code: {index: 36} display: {index: 37} required: [code, display, system] required: [text] note: mustSupport: true index: 20 elements: author: choices: [authorReference, authorString, authorReference, authorReference] index: 22 authorReference: type: Reference choiceOf: author refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 25 authorString: {type: string, choiceOf: author, index: 24} extension: index: 1 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: lastIssueDate: match: {url: null} schema: {type: Extension, mustSupport: true, url: h, index: 2} max: 1 changeSummary: match: {url: null} schema: {type: Extension, short: Optional Extensions Element, url: h, index: 3} prescribingAgency: match: {url: null} schema: {type: Extension, short: The type of organisation/setting responsible for authorising and issuing the medication, url: h, index: 4} min: 1 dosageLastChanged: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationDosageLastChanged-1'} schema: type: Extension short: The date when the dosage instructions were last changed url: h index: 5 elements: url: pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationDosageLastChanged-1'} type: uri index: 6 effective: mustSupport: true choices: [] index: 15 identifier: index: 7 elements: system: {index: 8} value: {index: 9} required: [system, value] context: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1'] index: 12 dateAsserted: {index: 16} 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: 10 medicationReference: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Medication-1'] index: 13 slicing: slices: medicationReference: match: {} schema: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Medication-1'] index: 13 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: 11 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: 17 subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 18 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: 19 package_version: 1.5.0 extensions: lastIssueDate: {url: h, max: 1, type: Extension, mustSupport: true, index: 2} changeSummary: {url: h, type: Extension, short: Optional Extensions Element, index: 3} prescribingAgency: {url: h, min: 1, type: Extension, short: The type of organisation/setting responsible for authorising and issuing the medication, index: 4} dosageLastChanged: url: h type: Extension short: The date when the dosage instructions were last changed index: 5 elements: url: pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationDosageLastChanged-1'} type: uri index: 6 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationStatement-1 base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 1.7.0 required: [basedOn, dateAsserted, dosage, identifier]