description: This MedicationRequest Resource represents an order for both supply of the medication and the instructions for administration of the medication to a patient with further constraints applied to support the Digital Child Health project. package_name: NHSD.Assets.STU3 derivation: constraint name: CareConnect-DCH-MedicationRequest-1 type: MedicationRequest elements: category: {index: 19} definition: {index: 14} substitution: {index: 105} detectedIssue: {index: 107} dispenseRequest: index: 96 elements: quantity: extensions: quantityText: url: h type: Extension index: 98 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationQuantityText-1'} index: 99 elements: extension: index: 97 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: quantityText: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationQuantityText-1'} schema: type: Extension url: h index: 98 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationQuantityText-1'} index: 99 expectedSupplyDuration: elements: value: {index: 100} comparator: {index: 101} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 102 code: {index: 103} required: [value, system, code] performer: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 104 reasonCode: index: 34 elements: coding: {index: 35} authoredOn: {index: 28} note: elements: author: choices: [authorReference, authorString, authorReference, authorReference] index: 38 authorReference: type: Reference choiceOf: author refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1'] index: 41 authorString: {type: string, choiceOf: author, index: 40} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: repeatInformation: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationRepeatInformation-1'} schema: type: Extension url: h index: 1 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationRepeatInformation-1'} index: 2 statusReason: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatusReason-1'} schema: type: Extension url: h index: 3 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatusReason-1'} index: 4 prescriptionType: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-PrescriptionType-1'} schema: type: Extension url: h index: 5 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-PrescriptionType-1'} index: 6 requester: index: 29 elements: agent: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Practitioner-1'] index: 30 elements: reference: {index: 31} required: [reference] onBehalfOf: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 32 supportingInformation: {index: 27} priority: {index: 20} dosageInstruction: elements: site: {index: 78} method: {index: 88} patientInstruction: {index: 53} maxDosePerLifetime: {index: 93} dose: choices: [] index: 90 maxDosePerAdministration: {index: 92} route: elements: coding: index: 79 extensions: snomedCTDescriptionID: {url: h, min: 0, type: Extension, index: 81} elements: extension: index: 80 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: snomedCTDescriptionID: match: {url: null} schema: {type: Extension, url: h, index: 81} min: 0 system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 82 version: {index: 83} code: {index: 84} display: {index: 85} userSelected: {index: 86} required: [display, system, code] text: {index: 87} required: [coding] rate: choices: [] index: 95 timing: elements: event: {index: 54} repeat: elements: frequencyMax: {index: 62} boundsPeriod: type: Period short: The period during which the medication course should be taken index: 55 slicing: slices: boundsPeriod: match: {} schema: {type: Period, short: The period during which the medication course should be taken, index: 55} when: {index: 68} offset: {index: 69} periodUnit: {index: 65} frequency: {index: 61} durationMax: {index: 59} duration: {index: 58} durationUnit: {index: 60} dayOfWeek: {index: 66} count: {index: 56} periodMax: {index: 64} period: {index: 63} countMax: {index: 57} timeOfDay: {index: 67} code: {index: 70} additionalInstruction: index: 43 elements: coding: index: 44 slicing: rules: open ordered: false discriminator: - {path: system, type: value} min: null max: 0 slices: snomedCT: match: {system: 'http://snomed.info/sct'} schema: index: 45 extensions: snomedCTDescriptionID: url: h type: Extension index: 47 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'} index: 48 elements: extension: index: 46 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: snomedCTDescriptionID: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'} schema: type: Extension url: h index: 47 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'} index: 48 system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 49 version: {index: 50} code: {index: 51} display: {index: 52} required: [display, system, code] maxDosePerPeriod: {index: 91} asNeededCodeableConcept: type: CodeableConcept short: Indicates the precondition for taking the Medication, i.e. the dose direction duration index: 71 slicing: slices: asNeededCodeableConcept: match: {} schema: type: CodeableConcept short: Indicates the precondition for taking the Medication, i.e. the dose direction duration index: 71 elements: coding: index: 72 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/DCH-DoseDirectionDuration-1'} index: 73 version: {index: 74} code: {index: 75} display: {index: 76} userSelected: {index: 77} required: [display, system, code] groupIdentifier: index: 16 elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 17 recorder: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1'] index: 33 identifier: index: 7 elements: use: {index: 8} type: {index: 9} system: {index: 10} value: {index: 11} period: {index: 12} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 13 required: [value, system] context: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Encounter-1'] index: 25 elements: reference: {index: 26} required: [reference] intent: pattern: {type: Code, value: order} index: 18 basedOn: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ProcedureRequest', 'http://hl7.org/fhir/StructureDefinition/ReferralRequest', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1'] index: 15 priorPrescription: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1'] index: 106 medicationReference: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Medication-1'] index: 21 slicing: slices: medicationReference: match: {} schema: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Medication-1'] index: 21 elements: reference: {index: 22} required: [reference] subject: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Patient-1'] index: 23 elements: reference: {index: 24} required: [reference] 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: 36 package_version: 1.3.0 extensions: repeatInformation: url: h type: Extension index: 1 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationRepeatInformation-1'} index: 2 statusReason: url: h type: Extension index: 3 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatusReason-1'} index: 4 prescriptionType: url: h type: Extension index: 5 elements: url: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-PrescriptionType-1'} index: 6 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-MedicationRequest-1 base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.2.0 required: [authoredOn, requester, context]