description: MedicationRequest for a write-back callback to a host clinical system. Binds DosageDgMP for dosageInstruction; subject/requester/insurance do not require literal references. package_name: dosing.aid-medicationrequest derivation: constraint name: AIDMedicationRequest type: MedicationRequest elements: insurance: {short: Insurance coverage (optional), mustSupport: false, index: 15} substitution: short: Substitution permission (aut idem) mustSupport: true index: 20 elements: allowed: short: Substitution permission (aut idem) mustSupport: true choices: [allowedBoolean] index: 22 allowedBoolean: {type: boolean, short: Substitution permission (aut idem), mustSupport: true, choiceOf: allowed, index: 23} dispenseRequest: short: Dispense authorization mustSupport: true index: 17 elements: quantity: {short: Package quantity to dispense, mustSupport: true, index: 18} expectedSupplyDuration: {short: 'Expected supply duration (days for narcotics, weeks for T-prescriptions)', mustSupport: true, index: 19} authoredOn: {short: Date the prescription was issued, mustSupport: true, index: 13} extension: short: Extensions index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: dosageFlag: match: {url: null} schema: {short: Dosage-present indicator, type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag', index: 1} min: 0 max: 1 renderedDosageInstruction: match: {url: null} schema: {short: Rendered dosage text (e.g. "1-2-0-1"), type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction', index: 2} min: 0 max: 1 generatedDosageInstructionsMeta: match: {url: null} schema: {short: Metadata for the generated dosage text, type: Extension, mustSupport: true, url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', index: 3} min: 0 max: 1 multiplePrescription: match: {url: null} schema: {short: Multiple-prescription indicator, type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription', index: 4} min: 0 max: 1 legalBasis: match: {url: null} schema: {short: Legal basis (incl. replacement prescription), type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis', index: 5} min: 0 max: 1 statusCoPayment: match: {url: null} schema: {short: Co-payment status, type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment', index: 6} min: 0 max: 1 narcotic: match: {url: null} schema: {short: Narcotic (BtM), type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic', index: 7} min: 0 max: 1 teratogenic: match: {url: null} schema: {short: T-prescription (teratogenic medicine), type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic', index: 8} min: 0 max: 1 requester: {short: Requesting practitioner (optional), mustSupport: false, index: 14} dosageInstruction: {type: Dosage, short: 'Dosage, structured and/or free text (DosageDgMP)', mustSupport: true, index: 16} medicationReference: short: Reference to the Medication resource refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: medication index: 11 slicing: slices: medicationReference: match: {} schema: short: Reference to the Medication resource refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true _required: true choiceOf: medication index: 11 min: 1 max: 1 subject: {short: Patient (display-only is sufficient), mustSupport: true, index: 12} medication: short: Reference to the Medication resource mustSupport: true choices: [medicationReference] index: 10 slicing: slices: medicationReference: match: {} schema: short: Reference to the Medication resource mustSupport: true choices: [medicationReference] _required: true index: 10 min: 1 max: 1 package_version: 1.0.3 extensions: dosageFlag: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag', min: 0, max: 1, short: Dosage-present indicator, type: Extension, mustSupport: true, index: 1} renderedDosageInstruction: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction', min: 0, max: 1, short: Rendered dosage text (e.g. "1-2-0-1"), type: Extension, mustSupport: true, index: 2} generatedDosageInstructionsMeta: {url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', min: 0, max: 1, short: Metadata for the generated dosage text, type: Extension, mustSupport: true, index: 3} multiplePrescription: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription', min: 0, max: 1, short: Multiple-prescription indicator, type: Extension, mustSupport: true, index: 4} legalBasis: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis', min: 0, max: 1, short: Legal basis (incl. replacement prescription), type: Extension, mustSupport: true, index: 5} statusCoPayment: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment', min: 0, max: 1, short: Co-payment status, type: Extension, mustSupport: true, index: 6} narcotic: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic', min: 0, max: 1, short: Narcotic (BtM), type: Extension, mustSupport: true, index: 7} teratogenic: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic', min: 0, max: 1, short: T-prescription (teratogenic medicine), type: Extension, mustSupport: true, index: 8} class: profile kind: resource url: https://fhir.dosing-gmbh.de/StructureDefinition/AID-MedicationRequest base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.0.3 required: [medication, medicationReference]