PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erp-servicerequest@1.0.0
    https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-medication-request
description: Medizinische und pharmazeutische Angaben zur Rezeptanfrage
package_name: de.gematik.erp-servicerequest
derivation: constraint
name: ERPServiceRequestMedicationRequest
type: MedicationRequest
elements:
  insurance:
    type: Reference
    short: Versicherungsstatus des Patienten, für den die Medikation angefragt wird
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage']
    index: 21
  instantiatesCanonical: {index: 16}
  instantiatesUri: {index: 17}
  encounter: {index: 13}
  dispenseRequest:
    mustSupport: true
    index: 23
    elements:
      quantity:
        mustSupport: true
        index: 24
        elements:
          value: {short: Anzahl der verordneten Packungen, 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: 'Angabe einer vorherigen PrescriptionID, die der angeforderten Medikation entspricht.', 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: Anfragender Arzt/ Einrichung/ Apotheke für diesen MedicationRequest
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner', 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-organization']
    index: 14
    elements:
      type: {index: 15}
  dosageInstruction: {index: 22}
  groupIdentifier: {index: 19}
  basedOn: {index: 18}
  medicationReference:
    type: Reference
    mustSupport: true
    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: 4
    elements:
      reference: {mustSupport: true, index: 5}
      type: {index: 6}
      identifier: {index: 7}
      display: {index: 8}
    required: [reference]
  courseOfTherapyType: {index: 20}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient']
    index: 9
    elements:
      reference: {index: 10}
      type: {index: 11}
      identifier: {index: 12}
    required: [reference]
  medication:
    mustSupport: true
    choices: []
    index: 3
package_version: 1.0.0
extensions:
  PriorPrescriptionID: {url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/prescription-id-ex', min: 0, max: 1, short: 'Angabe einer vorherigen PrescriptionID, die der angeforderten Medikation entspricht.', 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'
required: [medicationReference]