FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/KBV-PR-ERP-Prescription

Packagekbv.ita.erp
Resource TypeStructureDefinition
IdKBV-PR-ERP-Prescription
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=kbv.ita.erp@1.4.0-alpha&canonical=https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription
URLhttps://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription
Version1.4.0
Statusdraft
Date2025-06-17
NameKBV_PR_ERP_Prescription
TypeMedicationRequest
Kindresource

Resources that use this resource

StructureDefinition
CompositionHiMiCompositionHiMi
KBV_PR_ERP_BundleKBV_PR_ERP_Bundle
KBV_PR_ERP_CompositionKBV_PR_ERP_Composition
DAV-PR-ERP-AbgabeinformationenDAV_PR_ERP_Abgabeinformationen
DAV-PR-Base-AbgabeinformationenDAV_PR_Base_Abgabeinformationen

Resources that this resource uses

StructureDefinition
KBV_EX_ERP_DosageFlagKBV_EX_ERP_DosageFlag
KBV_EX_ERP_EmergencyServicesFeeKBV_EX_ERP_EmergencyServicesFee
KBV_EX_ERP_Multiple_PrescriptionKBV_EX_ERP_Multiple_Prescription
KBV_EX_ERP_NarcoticKBV_EX_ERP_Narcotic
KBV_EX_ERP_Prescriber_IDKBV_EX_ERP_Prescriber_ID
KBV_EX_ERP_TeratogenicKBV_EX_ERP_Teratogenic
KBV_PR_ERP_Dosage_DailyFourSchemeKBV_PR_ERP_Dosage_DailyFourScheme
KBV_PR_ERP_Dosage_DailyTimeKBV_PR_ERP_Dosage_DailyTime
KBV_PR_ERP_Dosage_FreeTextKBV_PR_ERP_Dosage_FreeText
KBV_PR_ERP_Dosage_IntervalKBV_PR_ERP_Dosage_Interval
KBV_PR_ERP_Dosage_WeekdayKBV_PR_ERP_Dosage_Weekday
KBV_PR_ERP_Medication_CompoundingKBV_PR_ERP_Medication_Compounding
KBV_PR_ERP_Medication_FreeTextKBV_PR_ERP_Medication_FreeText
KBV_PR_ERP_Medication_IngredientKBV_PR_ERP_Medication_Ingredient
KBV_PR_ERP_Medication_PZNKBV_PR_ERP_Medication_PZN
KBV_PR_Base_MedicationRequestKBV_PR_Base_MedicationRequest
KBV_PR_FOR_CoverageKBV_PR_FOR_Coverage
KBV_PR_FOR_PatientKBV_PR_FOR_Patient
KBV_PR_FOR_PractitionerKBV_PR_FOR_Practitioner
KBV_EX_FOR_AccidentKBV_EX_FOR_Accident
KBV_EX_FOR_SERKBV_EX_FOR_SER
KBV_EX_FOR_StatusCoPaymentKBV_EX_FOR_StatusCoPayment
ValueSet
KBV_VS_ERP_Accident_TypeKBV_VS_ERP_Accident_Type
KBV_VS_ERP_StatusCoPaymentKBV_VS_ERP_StatusCoPayment

Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-ERP-Prescription",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription",
  "version": "1.4.0",
  "name": "KBV_PR_ERP_Prescription",
  "status": "draft",
  "date": "2025-06-17",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_MedicationRequest|1.7.0",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest",
        "path": "MedicationRequest",
        "constraint": [
          {
            "key": "-erp-begrenzungDate",
            "severity": "error",
            "human": "Begrenzung der Datumsangabe auf 10 Zeichen JJJJ-MM-TT",
            "expression": "authoredOn.toString().length()=10"
          },
          {
            "key": "-erp-unfalltagDatum",
            "severity": "error",
            "human": "Die Ressource vom Typ MedicationRequest enthält einen Unfalltag, dieser darf nicht nach dem Ausstellungsdatum liegen.",
            "expression": "extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident').extension('Unfalltag').exists() implies (extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident').extension('Unfalltag').value as date) <= authoredOn"
          },
          {
            "key": "-erp-angabeDosierungKennzeichenTrue",
            "severity": "error",
            "human": "Wenn das Dosierungskennzeichen true ist, muss eine Dosieranweisung vorhanden sein.",
            "expression": "extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag').exists().not() or ((extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag').value as boolean)=true implies dosageInstruction.exists())"
          },
          {
            "key": "-erp-angabeDosierungKennzeichenFalse",
            "severity": "error",
            "human": "Wenn das Dosierungskennzeichen false ist, darf keine Dosieranweisung vorhanden sein.",
            "expression": "extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag').exists().not() or ((extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag').value as boolean)=false implies dosageInstruction.exists().not())"
          },
          {
            "key": "-erp-dosieranweisungEineKategorie",
            "severity": "error",
            "human": "Es müssen alle Dosieranweisungen von derselben Kategorie sein.",
            "expression": "dosageInstruction.exists().not() or dosageInstruction.extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageCategory').valueCoding.code.all($this = %context.dosageInstruction.extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageCategory').valueCoding.code.first())"
          },
          {
            "key": "-erp-angabeDosieranweisungDauer",
            "severity": "error",
            "human": "Wenn mehrere Dosieranweisungen existieren und eine Dauer angegeben wird, dann muss die Dauer in allen Dosieranweisungen identisch sein.",
            "expression": "dosageInstruction.timing.repeat.boundsDuration.exists() implies dosageInstruction.timing.repeat.boundsDuration.distinct().count() = 1"
          },
          {
            "key": "-erp-angabeDosieranweisungWochentag",
            "severity": "error",
            "human": "Wenn mehrere Dosieranweisungen mit einer Wochentagsangabe existieren, darf jeder Wochentag insgesamt höchstens einmal vorkommen.",
            "expression": "dosageInstruction.timing.repeat.dayOfWeek.exists() implies dosageInstruction.timing.repeat.dayOfWeek.distinct().count() = dosageInstruction.timing.repeat.dayOfWeek.count()"
          },
          {
            "key": "-erp-angabeDosieranweisungViererschema",
            "severity": "error",
            "human": "Wenn mehrere Dosieranweisungen mit einer Tageszeitangabe (Vierer-Schema) existieren, darf jede Tageszeit (Morgens, Mittags, Abends, Nachts) insgesamt höchstens einmal vorkommen.",
            "expression": "dosageInstruction.timing.repeat.when.exists() implies dosageInstruction.timing.repeat.when.distinct().count() = dosageInstruction.timing.repeat.when.count()"
          },
          {
            "key": "-erp-angabeDosieranweisungUhrzeit",
            "severity": "error",
            "human": "Wenn mehrere Dosieranweisungen mit einer Uhrzeitangabe existieren, darf jede Uhrzeit insgesamt höchstens einmal vorkommen.",
            "expression": "dosageInstruction.timing.repeat.timeOfDay.exists() implies dosageInstruction.timing.repeat.timeOfDay.distinct().count() = dosageInstruction.timing.repeat.timeOfDay.count()"
          }
        ]
      },
      {
        "id": "MedicationRequest.id",
        "path": "MedicationRequest.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.meta",
        "path": "MedicationRequest.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.meta.versionId",
        "path": "MedicationRequest.meta.versionId",
        "max": "0"
      },
      {
        "id": "MedicationRequest.meta.lastUpdated",
        "path": "MedicationRequest.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "MedicationRequest.meta.source",
        "path": "MedicationRequest.meta.source",
        "max": "0"
      },
      {
        "id": "MedicationRequest.meta.profile",
        "path": "MedicationRequest.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.meta.profile:erpProfile",
        "path": "MedicationRequest.meta.profile",
        "sliceName": "erpProfile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.4",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.meta.security",
        "path": "MedicationRequest.meta.security",
        "max": "0"
      },
      {
        "id": "MedicationRequest.meta.tag",
        "path": "MedicationRequest.meta.tag",
        "max": "0"
      },
      {
        "id": "MedicationRequest.implicitRules",
        "path": "MedicationRequest.implicitRules",
        "max": "0"
      },
      {
        "id": "MedicationRequest.language",
        "path": "MedicationRequest.language",
        "max": "0"
      },
      {
        "id": "MedicationRequest.text",
        "path": "MedicationRequest.text",
        "max": "0"
      },
      {
        "id": "MedicationRequest.contained",
        "path": "MedicationRequest.contained",
        "max": "0"
      },
      {
        "id": "MedicationRequest.extension",
        "path": "MedicationRequest.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "min": 3,
        "max": "9"
      },
      {
        "id": "MedicationRequest.extension:Zuzahlungsstatus",
        "path": "MedicationRequest.extension",
        "sliceName": "Zuzahlungsstatus",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Zuzahlungsstatus.value[x]",
        "path": "MedicationRequest.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Zuzahlungsstatus.value[x]:valueCoding",
        "path": "MedicationRequest.extension.value[x]",
        "sliceName": "valueCoding",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_ERP_StatusCoPayment"
        }
      },
      {
        "id": "MedicationRequest.extension:Zuzahlungsstatus.value[x]:valueCoding.system",
        "path": "MedicationRequest.extension.value[x].system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Zuzahlungsstatus.value[x]:valueCoding.code",
        "path": "MedicationRequest.extension.value[x].code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Notdienstgebuehr",
        "path": "MedicationRequest.extension",
        "sliceName": "Notdienstgebuehr",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Notdienstgebuehr.value[x]",
        "path": "MedicationRequest.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Notdienstgebuehr.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:SER",
        "path": "MedicationRequest.extension",
        "sliceName": "SER",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:SER.value[x]",
        "path": "MedicationRequest.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:SER.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen",
        "path": "MedicationRequest.extension",
        "sliceName": "Unfallinformationen",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"
            ]
          }
        ],
        "constraint": [
          {
            "key": "-erp-angabeUnfallbetriebPflicht",
            "severity": "error",
            "human": "Die Ressource vom Typ MedicationRequest enthält keinen Namen des Unfallbetriebs, dieser ist aber Pflicht falls ein Unfallkennzeichen mit dem Wert \"2\" (Arbeitsunfall) angegeben ist.",
            "expression": "(extension('Unfallkennzeichen').value as Coding).code = '2' implies extension('Unfallbetrieb').exists()"
          },
          {
            "key": "-erp-angabeUnfallbetriebVerbot",
            "severity": "error",
            "human": "Die Ressource vom Typ MedicationRequest enthält einen Namen des Unfallbetriebs, dieser darf aber nicht angegeben werden, falls ein Unfallkennzeichen mit dem Wert ungleich \"2\" (Arbeitsunfall) angegeben ist.",
            "expression": "(extension('Unfallkennzeichen').value as Coding).code != '2' implies extension('Unfallbetrieb').exists().not()"
          },
          {
            "key": "-erp-angabeUnfalltagPflicht",
            "severity": "error",
            "human": "Die Ressource vom Typ MedicationRequest enthält keinen Unfalltag, dieser ist aber Pflicht falls ein Unfallkennzeichen mit dem Wert \"1\" (Unfall) oder \"2\" (Arbeitsunfall) angegeben ist.",
            "expression": "((extension('Unfallkennzeichen').value as Coding).code = '1' or (extension('Unfallkennzeichen').value as Coding).code = '2') implies extension('Unfalltag').exists()"
          },
          {
            "key": "-erp-angabeUnfalltagVerbot",
            "severity": "error",
            "human": "Die Ressource vom Typ MedicationRequest enthält einen Unfalltag, dieser darf aber nicht angegeben werden, falls ein Unfallkennzeichen mit dem Wert ungleich \"1\" (Unfall) oder ungleich \"2\" (Arbeitsunfall) angegeben ist.",
            "expression": "(extension('Unfallkennzeichen').value as Coding).code != '1' and (extension('Unfallkennzeichen').value as Coding).code != '2' implies extension('Unfalltag').exists().not()"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallkennzeichen",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "Unfallkennzeichen",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallkennzeichen.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallkennzeichen.value[x]:valueCoding",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueCoding",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_ERP_Accident_Type"
        }
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallkennzeichen.value[x]:valueCoding.system",
        "path": "MedicationRequest.extension.extension.value[x].system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallkennzeichen.value[x]:valueCoding.code",
        "path": "MedicationRequest.extension.extension.value[x].code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallbetrieb",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "Unfallbetrieb",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallbetrieb.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfallbetrieb.value[x]:valueString",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueString",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfalltag",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "Unfalltag",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfalltag.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Unfallinformationen.extension:Unfalltag.value[x]:valueDate",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueDate",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung",
        "path": "MedicationRequest.extension",
        "sliceName": "Mehrfachverordnung",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "Kennzeichen",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "Nummerierung",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]:valueRatio",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueRatio",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]:valueRatio.numerator",
        "path": "MedicationRequest.extension.extension.value[x].numerator",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]:valueRatio.numerator.value",
        "path": "MedicationRequest.extension.extension.value[x].numerator.value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]:valueRatio.denominator",
        "path": "MedicationRequest.extension.extension.value[x].denominator",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]:valueRatio.denominator.value",
        "path": "MedicationRequest.extension.extension.value[x].denominator.value",
        "definition": "Das Feld dient der Kennzeichnung der Länge der Serie einer Mehrfachverordnung. Beispiel: \"4\" in \"2 von 4\"",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "Zeitraum",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum.value[x]:valuePeriod",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valuePeriod",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum.value[x]:valuePeriod.start",
        "path": "MedicationRequest.extension.extension.value[x].start",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum.value[x]:valuePeriod.end",
        "path": "MedicationRequest.extension.extension.value[x].end",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:ID",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "ID",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]:valueIdentifier",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueIdentifier",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]:valueIdentifier.system",
        "path": "MedicationRequest.extension.extension.value[x].system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]:valueIdentifier.value",
        "path": "MedicationRequest.extension.extension.value[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:VerschreiberID",
        "path": "MedicationRequest.extension",
        "sliceName": "VerschreiberID",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "MedicationRequest.extension:VerschreiberID.value[x]",
        "path": "MedicationRequest.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:VerschreiberID.value[x]:valueIdentifier",
        "path": "MedicationRequest.extension.value[x]",
        "sliceName": "valueIdentifier",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:VerschreiberID.value[x]:valueIdentifier.value",
        "path": "MedicationRequest.extension.value[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel",
        "path": "MedicationRequest.extension",
        "sliceName": "Betaeubungsmittel",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "BtM-Sonderkennzeichen",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]:valueCoding",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueCoding",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]:valueCoding.system",
        "path": "MedicationRequest.extension.extension.value[x].system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]:valueCoding.code",
        "path": "MedicationRequest.extension.extension.value[x].code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "ErgaenzendeAngabenSubstitutionsmittel",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]:valueString",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueString",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept",
        "path": "MedicationRequest.extension",
        "sliceName": "T-Rezept",
        "short": "T-Rezept",
        "definition": "Abbildung der Angaben zur Verordnung eines teratogenen Arzneimittels (T-Rezept)",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:Off-Label",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "Off-Label",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:Off-Label.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:Off-Label.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:Off-Label.value[x]:valueBoolean.value",
        "path": "MedicationRequest.extension.extension.value[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "GebaerfaehigeFrau",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau.value[x]:valueBoolean.value",
        "path": "MedicationRequest.extension.extension.value[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "EinhaltungSicherheitsmassnahmen",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen.value[x]:valueBoolean.value",
        "path": "MedicationRequest.extension.extension.value[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "AushaendigungInformationsmaterialien",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien.value[x]:valueBoolean.value",
        "path": "MedicationRequest.extension.extension.value[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "ErklaerungSachkenntnis",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis.value[x]",
        "path": "MedicationRequest.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.extension.value[x]",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis.value[x]:valueBoolean.value",
        "path": "MedicationRequest.extension.extension.value[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Dosierungskennzeichen",
        "path": "MedicationRequest.extension",
        "sliceName": "Dosierungskennzeichen",
        "short": "Dosierkennzeichen",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Dosierungskennzeichen.value[x]",
        "path": "MedicationRequest.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:Dosierungskennzeichen.value[x]:valueBoolean",
        "path": "MedicationRequest.extension.value[x]",
        "sliceName": "valueBoolean",
        "definition": "Abbildung, ob eine Dosierungsanweisung in der Verordung angegeben ist true - Dosierung gemäß Angaben in dieser Verordnung (dosageInstruction.text) false - Dosieranweisung/Medikationsplan mitgegeben",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.identifier",
        "path": "MedicationRequest.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.status",
        "path": "MedicationRequest.status",
        "fixedCode": "active",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.statusReason",
        "path": "MedicationRequest.statusReason",
        "max": "0"
      },
      {
        "id": "MedicationRequest.intent",
        "path": "MedicationRequest.intent",
        "fixedCode": "order",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.category",
        "path": "MedicationRequest.category",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priority",
        "path": "MedicationRequest.priority",
        "max": "0"
      },
      {
        "id": "MedicationRequest.doNotPerform",
        "path": "MedicationRequest.doNotPerform",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reported[x]",
        "path": "MedicationRequest.reported[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication[x]",
        "path": "MedicationRequest.medication[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.4",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.4",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.4",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.4"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.medication[x]:medicationReference",
        "path": "MedicationRequest.medication[x]",
        "sliceName": "medicationReference",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.4",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.4",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.4",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.4"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.medication[x]:medicationReference.reference",
        "path": "MedicationRequest.medication[x].reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.medication[x]:medicationReference.type",
        "path": "MedicationRequest.medication[x].type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication[x]:medicationReference.identifier",
        "path": "MedicationRequest.medication[x].identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication[x]:medicationReference.display",
        "path": "MedicationRequest.medication[x].display",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject",
        "path": "MedicationRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.2"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.subject.reference",
        "path": "MedicationRequest.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.subject.type",
        "path": "MedicationRequest.subject.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.identifier",
        "path": "MedicationRequest.subject.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.display",
        "path": "MedicationRequest.subject.display",
        "max": "0"
      },
      {
        "id": "MedicationRequest.encounter",
        "path": "MedicationRequest.encounter",
        "max": "0"
      },
      {
        "id": "MedicationRequest.supportingInformation",
        "path": "MedicationRequest.supportingInformation",
        "max": "0"
      },
      {
        "id": "MedicationRequest.authoredOn",
        "path": "MedicationRequest.authoredOn",
        "definition": "Ausstellungsdatum der Verordnung",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester",
        "path": "MedicationRequest.requester",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.2"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester.reference",
        "path": "MedicationRequest.requester.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester.type",
        "path": "MedicationRequest.requester.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.requester.identifier",
        "path": "MedicationRequest.requester.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.requester.display",
        "path": "MedicationRequest.requester.display",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performer",
        "path": "MedicationRequest.performer",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performerType",
        "path": "MedicationRequest.performerType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.recorder",
        "path": "MedicationRequest.recorder",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonCode",
        "path": "MedicationRequest.reasonCode",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonReference",
        "path": "MedicationRequest.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationRequest.instantiatesCanonical",
        "path": "MedicationRequest.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "MedicationRequest.instantiatesUri",
        "path": "MedicationRequest.instantiatesUri",
        "max": "0"
      },
      {
        "id": "MedicationRequest.basedOn",
        "path": "MedicationRequest.basedOn",
        "max": "0"
      },
      {
        "id": "MedicationRequest.groupIdentifier",
        "path": "MedicationRequest.groupIdentifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.courseOfTherapyType",
        "path": "MedicationRequest.courseOfTherapyType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.insurance",
        "path": "MedicationRequest.insurance",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.2"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.insurance.reference",
        "path": "MedicationRequest.insurance.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.insurance.type",
        "path": "MedicationRequest.insurance.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.insurance.identifier",
        "path": "MedicationRequest.insurance.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.insurance.display",
        "path": "MedicationRequest.insurance.display",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note",
        "path": "MedicationRequest.note",
        "max": "1",
        "constraint": [
          {
            "key": "-erp-begrenzungText",
            "severity": "error",
            "human": "Der Abgabehinweise darf aus maximal 500 Zeichen bestehen.",
            "expression": "text.toString().length() <= 500"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.note.author[x]",
        "path": "MedicationRequest.note.author[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note.time",
        "path": "MedicationRequest.note.time",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note.text",
        "path": "MedicationRequest.note.text",
        "definition": "Über die Dosierung hinausgehende Abgabehinweise an die Apotheke",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "short": "How the medication is/was taken or should be taken",
        "definition": "Indicates how the medication is/was taken or should be taken by the patient.",
        "type": [
          {
            "code": "Dosage",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_Interval",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_DailyTime",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_Weekday",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_DailyFourScheme",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_FreeText"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest",
        "path": "MedicationRequest.dispenseRequest",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.initialFill",
        "path": "MedicationRequest.dispenseRequest.initialFill",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.dispenseInterval",
        "path": "MedicationRequest.dispenseRequest.dispenseInterval",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod",
        "path": "MedicationRequest.dispenseRequest.validityPeriod",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity",
        "path": "MedicationRequest.dispenseRequest.quantity",
        "min": 1,
        "constraint": [
          {
            "key": "-erp-begrenzungValue",
            "severity": "error",
            "human": "Die Anzahl der verordneten Packungen darf aus maximal 6 Zeichen bestehen.",
            "expression": "value.toString().length() <= 6"
          },
          {
            "key": "-erp-begrenzungIntegerValue",
            "severity": "error",
            "human": "Die Anzahl der verordneten Packungen darf nur aus ganzen Zahlen bestehen und muss größer als 0 sein.",
            "expression": "value.toString().matches('^[1-9][0-9]*[%content%]#39;)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.value",
        "path": "MedicationRequest.dispenseRequest.quantity.value",
        "definition": "Anzahl der verordneten Packungen",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.unit",
        "path": "MedicationRequest.dispenseRequest.quantity.unit",
        "min": 1,
        "fixedString": "Packung",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.system",
        "path": "MedicationRequest.dispenseRequest.quantity.system",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.code",
        "path": "MedicationRequest.dispenseRequest.quantity.code",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "short": "Reichdauer",
        "definition": "In diesem Feld kann bei Betäubungsmitteln die Reichdauer des Substitutionsmittels in Tagen bzw. bei teratogenen Arzneimitteln die Reichdauer in Wochen angegeben werden.",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.value",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.unit",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.system",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.system",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.code",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.code",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.performer",
        "path": "MedicationRequest.dispenseRequest.performer",
        "max": "0"
      },
      {
        "id": "MedicationRequest.substitution",
        "path": "MedicationRequest.substitution",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.substitution.allowed[x]",
        "path": "MedicationRequest.substitution.allowed[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "closed"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.substitution.allowed[x]:allowedBoolean",
        "path": "MedicationRequest.substitution.allowed[x]",
        "sliceName": "allowedBoolean",
        "definition": "In diesem Feld wird angegeben ob das Arzneimittel austauschbar ist oder nicht\r\n\r\ntrue:  aut idem möglich (austauschbar)\r\nfalse: aut idem ausgeschlossen (nicht austauschbar)",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.substitution.reason",
        "path": "MedicationRequest.substitution.reason",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priorPrescription",
        "path": "MedicationRequest.priorPrescription",
        "max": "0"
      },
      {
        "id": "MedicationRequest.detectedIssue",
        "path": "MedicationRequest.detectedIssue",
        "max": "0"
      },
      {
        "id": "MedicationRequest.eventHistory",
        "path": "MedicationRequest.eventHistory",
        "max": "0"
      }
    ]
  }
}