description: Medical and pharmaceutical information for the prescription request package_name: de.gematik.erp-servicerequest derivation: constraint name: ERPServiceRequestMedicationRequest type: MedicationRequest elements: insurance: type: Reference short: Insurance status of the patient for whom the medication is requested refers: ['http://hl7.org/fhir/StructureDefinition/Coverage'] index: 21 instantiatesCanonical: {index: 16} instantiatesUri: {index: 17} encounter: {index: 13} medication[x]: elements: reference: {mustSupport: true, index: 5} type: {index: 6} identifier: {index: 7} display: {index: 8} required: [reference] dispenseRequest: mustSupport: true index: 23 elements: quantity: mustSupport: true index: 24 elements: value: {short: Number of packs prescribed, mustSupport: true, index: 25} unit: {index: 26} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} mustSupport: true index: 27 code: pattern: {type: Code, value: '{Package}'} mustSupport: true index: 28 required: [value, system, code] performer: {index: 29} required: [quantity] extension: mustSupport: true index: 0 slicing: slices: PriorPrescriptionID: match: {} schema: {short: Provide a previous PrescriptionID that corresponds to the requested medication., type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/prescription-id-ex', index: 1} min: 0 max: 1 requester: type: Reference short: Requesting doctor/facility/pharmacy for this MedicationRequest mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 14 elements: type: {index: 15} dosageInstruction: {index: 22} groupIdentifier: {index: 19} basedOn: {index: 18} medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 4 courseOfTherapyType: {index: 20} subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 9 elements: reference: {index: 10} type: {index: 11} identifier: {index: 12} required: [reference] medication: mustSupport: true choices: [medicationReference] index: 3 package_version: 1.1.0 extensions: PriorPrescriptionID: {url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/prescription-id-ex', min: 0, max: 1, short: Provide a previous PrescriptionID that corresponds to the requested medication., type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-medication-request base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: '1.0'