<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="KBV-PR-Base-MedicationRequest" />
  <url value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_MedicationRequest" />
  <version value="1.7.0" />
  <name value="KBV_PR_Base_MedicationRequest" />
  <status value="active" />
  <date value="2025-02-11" />
  <publisher value="Kassenärztliche Bundesvereinigung (KBV)" />
  <description value="Dieses Profil bildet eine Verordnung eines Fertigarzneimittel oder einer Rezeptur ab." />
  <copyright value="Im folgenden Profil können Codes aus den Codesystemen Snomed, Loinc oder Ucum enthalten sein, die dem folgenden Urheberrecht unterliegen: This material includes SNOMED Clinical Terms® SNOMED CT® which is used by permission of SNOMED International. All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. SNOMED and SNOMED CT are registered trademarks of SNOMED International. Implementers of these artefacts must have the appropriate SNOMED CT Affiliate license. This material contains content from Loinc http://loinc.org. Loinc is copyright ©; 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes Loinc Committee and is available at no cost under the license at http://loinc.org/license. Loinc® is a registered United States trademark of Regenstrief Institute, Inc. This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at ​http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at ​http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright ©; 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures UCUM Organization. All rights reserved. THE UCUM TABLE IN ALL FORMATS, UCUM DEFINITIONS, AND SPECIFICATION ARE PROVIDED &amp;quot;AS IS.&amp;quot; ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="MedicationRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationRequest" />
  <derivation value="constraint" />
  <differential>
    <element id="MedicationRequest">
      <path value="MedicationRequest" />
      <definition value="Hier werden Angaben zur Verordnung eines bestimmten Arzneimittels gemacht. Ein typisches Beispiel für eine Medikations-Verordnung ist die Erstellung eines Rezeptes durch eine ärztliche Person." />
    </element>
    <element id="MedicationRequest.status">
      <path value="MedicationRequest.status" />
      <definition value="Hier wird der Status der Arzneimittel-Verordnung angegeben." />
    </element>
    <element id="MedicationRequest.intent">
      <path value="MedicationRequest.intent" />
      <definition value="Hier wird die Intention in der die Verordnung stattfindet angegeben." />
    </element>
    <element id="MedicationRequest.medication[x]">
      <path value="MedicationRequest.medication[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <definition value="Hier wird das Arzneimittel referenziert, auf das sich die Arzneimittel-Verordnung bezieht." />
    </element>
    <element id="MedicationRequest.medication[x]:medicationReference">
      <path value="MedicationRequest.medication[x]" />
      <sliceName value="medicationReference" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.7.0" />
      </type>
    </element>
    <element id="MedicationRequest.subject">
      <path value="MedicationRequest.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0" />
      </type>
    </element>
    <element id="MedicationRequest.authoredOn">
      <path value="MedicationRequest.authoredOn" />
      <short value="Ausstellungsdatum" />
      <definition value="Hier wird das Ausstellungsdatum der Verordnung angegeben." />
    </element>
    <element id="MedicationRequest.requester">
      <path value="MedicationRequest.requester" />
      <definition value="Hier wird die ausstellende bzw. verschreibende Person referenziert." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_PractitionerRole|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0" />
      </type>
    </element>
    <element id="MedicationRequest.note">
      <path value="MedicationRequest.note" />
      <definition value="Dieses Feld enthält über die Dosierung hinausgehende / sonstige Abgabehinweise an die Apotheke." />
    </element>
    <element id="MedicationRequest.note.author[x]">
      <path value="MedicationRequest.note.author[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <definition value="Hier wird die Person angegeben, die die Notiz erstellt hat." />
    </element>
    <element id="MedicationRequest.note.author[x]:authorReference">
      <path value="MedicationRequest.note.author[x]" />
      <sliceName value="authorReference" />
      <definition value="Hier wird die Person, die die Notiz erstellt hat, referenziert." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0" />
      </type>
    </element>
    <element id="MedicationRequest.note.author[x]:authorString">
      <path value="MedicationRequest.note.author[x]" />
      <sliceName value="authorString" />
      <definition value="Hier wird die Person, die die Notiz erstellt hat, als Freitext angegeben." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="MedicationRequest.note.time">
      <path value="MedicationRequest.note.time" />
      <definition value="Hier wird der Zeitpunkt angegeben, zu dem die Notiz erstellt wurde." />
    </element>
    <element id="MedicationRequest.note.text">
      <path value="MedicationRequest.note.text" />
      <short value="Abgabehinweis" />
      <definition value="Hier wird der eigentliche Text der Notiz eingetragen." />
    </element>
    <element id="MedicationRequest.dosageInstruction">
      <path value="MedicationRequest.dosageInstruction" />
      <definition value="Hier werden Informationen zur Dosierung angegeben." />
    </element>
    <element id="MedicationRequest.dosageInstruction.text">
      <path value="MedicationRequest.dosageInstruction.text" />
      <short value="Dosieranweisung" />
      <definition value="Hier können ergänzende freitextliche Angaben gemacht oder die gesamte Dosieranweisung in Form eines Freitextes angegeben werden." />
    </element>
    <element id="MedicationRequest.dosageInstruction.patientInstruction">
      <path value="MedicationRequest.dosageInstruction.patientInstruction" />
      <short value="Anwendungshinweise" />
      <definition value="Hier wird die Dosieranweisung in Form eines Freitextes angegeben." />
    </element>
    <element id="MedicationRequest.dispenseRequest.quantity">
      <path value="MedicationRequest.dispenseRequest.quantity" />
      <definition value="Hier kann die Anzahl der verordneten Packungen angegeben werden." />
    </element>
    <element id="MedicationRequest.dispenseRequest.quantity.value">
      <path value="MedicationRequest.dispenseRequest.quantity.value" />
      <short value="Anzahl der verordneten Packungen" />
    </element>
    <element id="MedicationRequest.substitution">
      <path value="MedicationRequest.substitution" />
      <definition value="Hier wird angegeben, ob das Arzneimittel austauschbar ist" />
    </element>
    <element id="MedicationRequest.substitution.allowed[x]">
      <path value="MedicationRequest.substitution.allowed[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="MedicationRequest.substitution.allowed[x]:allowedBoolean">
      <path value="MedicationRequest.substitution.allowed[x]" />
      <sliceName value="allowedBoolean" />
      <short value="Aut idem" />
      <definition value="Wenn ein Austausch des Arzneimittels in der Apotheke zulässig ist, wird dieses Feld auf true gesetzt." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
  </differential>
</StructureDefinition>