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