PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erp@servicerequest-1.2.0-rc2
    https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-medication-request
description: Medical and pharmaceutical information for the prescription request
package_name: de.gematik.erp
derivation: constraint
name: ERPServiceRequestMedicationRequest
type: MedicationRequest
elements:
  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
  modifierExtension:
    short: Multiple prescription order
    type: Extension
    mustSupport: true
    url: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/request-mvo-ex
    isModifierReason: When this extension is received by a PVS, the prescriber has to be visually notified about the request for a multiple prescription order.
    index: 2
    slicing:
      slices:
        requestMVO:
          match: {}
          schema: {short: Multiple prescription order, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/request-mvo-ex', isModifierReason: 'When this extension is received by a PVS, the prescriber has to be visually notified about the request for a multiple prescription order.', index: 2}
          min: 0
          max: 1
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 4
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN']
    index: 5
  subject:
    type: Reference
    short: Patient for whom a dispense is requested on behalf of the patient.
    mustSupport: true
    refers: ['https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-patient']
    index: 6
  dosageInstruction:
    mustSupport: true
    index: 7
    elements:
      text: {short: Dosieranweisung, maxLength: 500, mustSupport: true, index: 8}
      patientInstruction: {short: Gebrauchsanweisung einer Rezeptur, maxLength: 500, mustSupport: true, index: 9}
  dispenseRequest:
    mustSupport: true
    index: 10
    elements:
      quantity:
        short: Number of prescribed units
        mustSupport: true
        index: 11
        elements:
          value: {short: Number prescribed, mustSupport: true, index: 12}
          unit: {short: Requested units of the prescription, mustSupport: true, index: 13}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 14
          code: {short: Code from Unit of measure, index: 15}
        required: [value, unit]
    required: [quantity]
package_version: servicerequest-1.2.0-rc2
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.2'