description: null package_name: synapxe.sgcdi derivation: constraint name: MedicationRequest type: MedicationRequest elements: performerType: {index: 117} category: type: CodeableConcept short: The specific clinical setting when this medication is ordered binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/order-type'} index: 83 extensions: {} elements: extension: {index: 84} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/order-type'} index: 85 version: {index: 86} insurance: {index: 157} eventHistory: {index: 263} substitution: {index: 262} encounter: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter'] index: 110 dispenseRequest: elements: dispenser: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-location'] index: 245 elements: id: {index: 246} extension: {index: 247} reference: {index: 248} type: pattern: {type: Uri, value: Location} index: 249 identifier: index: 250 elements: id: {index: 251} extension: {index: 252} use: {index: 253} type: {index: 254} system: {index: 255} value: {index: 256} period: {index: 257} assigner: {index: 258} extensions: {} required: [value, system] display: {index: 259} extensions: {} required: [identifier, type, display] doseAdministrationAid: {index: 261} initialFill: {index: 226} dispenserInstruction: {index: 260} dispenseInterval: {index: 227} validityPeriod: {index: 228} extension: {index: 224} id: {index: 223} numberOfRepeatsAllowed: {index: 229} quantity: index: 230 elements: id: {index: 231} extension: {index: 232} value: {index: 233} unit: {index: 234} system: {index: 235} code: {index: 236} extensions: {} required: [value, unit, system, code] expectedSupplyDuration: index: 237 elements: id: {index: 238} extension: {index: 239} value: {index: 240} comparator: {index: 241} unit: {index: 242} system: {index: 243} code: {index: 244} extensions: {} required: [value, unit, system, code] modifierExtension: {index: 225} extensions: {} required: [quantity] reported: {index: 116} statusReason: type: CodeableConcept short: Reason for cancellation, if it is cancelled binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/status-reason'} index: 78 extensions: {} elements: extension: {index: 79} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/status-reason'} index: 80 authoredOn: {short: medication order date time, index: 112} effectiveDosePeriod: elements: id: {index: 160} extension: {index: 161} start: {index: 162} end: {index: 163} extensions: {} required: [start, end] note: {type: Annotation, index: 158} reason: index: 149 elements: id: {index: 150} extension: {index: 151} concept: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/reason-for-medication'} index: 152 extensions: {} elements: extension: {index: 153} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/reason-for-medication'} index: 154 version: {index: 155} extensions: {} required: [concept] extension: type: Extension url: https://fhir.synapxe.sg/StructureDefinition/ext-generic index: 1 slicing: slices: orderingLocation: match: {} schema: type: Extension url: https://fhir.synapxe.sg/StructureDefinition/ext-generic index: 1 elements: value: choices: [valueString] index: 3 valueString: {type: string, choiceOf: value, index: 4} sequenceNo: match: {} schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 5} orderingInstitution: match: {} schema: type: Extension url: https://fhir.synapxe.sg/StructureDefinition/ext-generic index: 6 elements: value: choices: [valueReference] index: 8 valueReference: type: Reference choiceOf: value refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization'] index: 9 orderSetConnectingTerm: match: {} schema: type: Extension url: https://fhir.synapxe.sg/StructureDefinition/ext-generic index: 10 elements: value: choices: [valueString] index: 12 valueString: {type: string, choiceOf: value, index: 13} changesMade: match: {} schema: type: Extension url: https://fhir.synapxe.sg/StructureDefinition/ext-generic index: 14 elements: value: choices: [valueString] index: 16 valueString: {type: string, choiceOf: value, index: 17} authorizer: match: {} schema: type: Extension url: https://fhir.synapxe.sg/StructureDefinition/ext-generic index: 18 elements: value: choices: [valueReference] index: 20 valueReference: type: Reference choiceOf: value refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner'] index: 21 statusChanged: {short: 'if status is Discontinued, this is the discontinued date time', index: 81} contained: {index: 0} requester: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner'] index: 113 elements: identifier: elements: system: {index: 114} display: {index: 115} supportingInformation: {index: 111} priority: {index: 87} status: binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/medicationrequest-status'} index: 77 dosageInstruction: index: 164 elements: site: {index: 210} asNeeded: {index: 205} method: {index: 214} patientInstruction: {index: 174} maxDosePerLifetime: {index: 222} maxDosePerAdministration: {index: 221} route: type: CodeableConcept index: 211 extensions: {} elements: extension: {index: 212} coding: elements: version: {index: 213} extension: {index: 166} id: {index: 165} timing: index: 175 elements: id: {index: 176} extension: {index: 177} modifierExtension: {index: 178} event: {index: 179} repeat: elements: id: {index: 180} extension: {index: 181} bounds: choices: [boundsRange] index: 183 boundsRange: {type: Range, choiceOf: bounds, index: 184} bounds[x]: elements: id: {index: 185} extension: {index: 186} low: index: 187 elements: id: {index: 188} extension: {index: 189} value: {index: 190} unit: {index: 191} system: {index: 192} code: {index: 193} extensions: {} required: [value, unit, system, code] high: index: 194 elements: id: {index: 195} extension: {index: 196} value: {index: 197} unit: {index: 198} system: {index: 199} code: {index: 200} extensions: {} required: [value, unit, system, code] extensions: {} required: [low, high] dayOfWeek: {index: 201} timeOfDay: {index: 202} when: {index: 203} extensions: {} code: {type: CodeableConcept, index: 204} extensions: {} additionalInstruction: index: 169 elements: id: {index: 170} extension: {index: 171} coding: {index: 172} text: {index: 173} extensions: {} required: [text] sequence: {short: The sequence number of the dosage instructions for step or variable dose, index: 168} maxDosePerPeriod: {index: 220} asNeededFor: short: Frequency qualifier. Take "as needed" (for x) index: 206 extensions: {} elements: extension: {index: 207} coding: {index: 208} text: {index: 209} required: [text] doseAndRate: elements: id: {index: 215} extension: {index: 216} type: {index: 217} dose: choices: [] index: 219 extensions: {} required: [dose] modifierExtension: {index: 167} extensions: {} required: [sequence] groupIdentifier: type: Identifier index: 75 elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/groupNo'} index: 76 recorder: type: Reference short: The healthcare professional responsible for prescribing this medication order refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner'] index: 134 elements: id: {index: 135} extension: {index: 136} reference: {index: 137} type: pattern: {type: Uri, value: Practitioner} index: 138 identifier: index: 139 elements: id: {index: 140} extension: {index: 141} use: {index: 142} type: {index: 143} system: {index: 144} value: {index: 145} period: {index: 146} assigner: {index: 147} extensions: {} required: [value, system] display: {index: 148} extensions: {} required: [identifier, display] identifier: index: 23 elements: id: {index: 24} extension: {index: 25} use: {index: 26} type: {index: 27} system: {index: 28} value: {index: 29} period: {index: 30} assigner: {index: 31} extensions: {} required: [value, system] slicing: rules: open discriminator: - {path: $this, type: value} min: 1 slices: recordIdentifier: match: {} schema: _required: true index: 32 elements: id: {index: 33} extension: {index: 34} use: {index: 35} type: {index: 36} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/record-identifier'} index: 37 value: {index: 38} period: {index: 39} assigner: {index: 40} extensions: {} required: [value, system] orderID: match: {} schema: _required: true index: 41 elements: id: {index: 42} extension: {index: 43} use: {index: 44} type: {index: 45} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/orderID'} index: 46 value: {index: 47} period: {index: 48} assigner: {index: 49} extensions: {} required: [value, system] sourceGroupingID: match: {} schema: _required: true index: 50 elements: id: {index: 51} extension: {index: 52} use: {index: 53} type: {index: 54} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/sourceGroupingID'} index: 55 value: {index: 56} period: {index: 57} assigner: {index: 58} extensions: {} required: [value, system] doNotPerform: {index: 88} intent: pattern: {type: Code, value: order} index: 82 device: {index: 133} renderedDosageInstruction: {index: 159} basedOn: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter'] index: 59 elements: id: {index: 60} extension: {index: 61} reference: {index: 62} type: pattern: {type: Uri, value: Encounter} index: 63 identifier: index: 64 elements: id: {index: 65} extension: {index: 66} use: {index: 67} type: {index: 68} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/record-identifier'} index: 69 value: {index: 70} period: {index: 71} assigner: {index: 72} extensions: {} required: [value, system] display: {index: 73} extensions: {} required: [identifier, type] priorPrescription: {index: 74} informationSource: {index: 109} courseOfTherapyType: {index: 156} subject: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient'] index: 107 elements: display: {index: 108} modifierExtension: {index: 22} performer: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner'] index: 118 elements: id: {index: 119} extension: {index: 120} reference: {index: 121} type: {index: 122} identifier: index: 123 elements: id: {index: 124} extension: {index: 125} use: {index: 126} type: {index: 127} system: {index: 128} value: {index: 129} period: {index: 130} assigner: {index: 131} extensions: {} required: [value, system] display: {index: 132} extensions: {} required: [identifier, display] medication: type: CodeableReference index: 89 elements: id: {index: 90} extension: {index: 91} concept: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/med-code'} index: 92 extensions: {} elements: extension: {index: 93} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/med-code'} index: 94 version: {index: 95} reference: elements: id: {index: 96} extension: {index: 97} type: {index: 98} identifier: elements: id: {index: 99} extension: {index: 100} use: {index: 101} type: {index: 102} system: {index: 103} value: {index: 104} period: {index: 105} assigner: {index: 106} extensions: {} required: [value, system] extensions: {} extensions: {} required: [concept] package_version: 1.0.3 extensions: orderingLocation: url: https://fhir.synapxe.sg/StructureDefinition/ext-generic type: Extension index: 1 elements: value: choices: [valueString] index: 3 valueString: {type: string, choiceOf: value, index: 4} sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', type: Extension, index: 5} orderingInstitution: url: https://fhir.synapxe.sg/StructureDefinition/ext-generic type: Extension index: 6 elements: value: choices: [valueReference] index: 8 valueReference: type: Reference choiceOf: value refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization'] index: 9 orderSetConnectingTerm: url: https://fhir.synapxe.sg/StructureDefinition/ext-generic type: Extension index: 10 elements: value: choices: [valueString] index: 12 valueString: {type: string, choiceOf: value, index: 13} changesMade: url: https://fhir.synapxe.sg/StructureDefinition/ext-generic type: Extension index: 14 elements: value: choices: [valueString] index: 16 valueString: {type: string, choiceOf: value, index: 17} authorizer: url: https://fhir.synapxe.sg/StructureDefinition/ext-generic type: Extension index: 18 elements: value: choices: [valueReference] index: 20 valueReference: type: Reference choiceOf: value refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner'] index: 21 class: profile kind: resource url: https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: null required: [authoredOn, dosageInstruction, requester, groupIdentifier, identifier, category]