FinchContext
Run with

Build German E-Prescription FHIR Bundle (eRezept — gematik Profiles)

Skill: Convert a prescription into a gematik eRezept FHIR Bundle

Region: Germany (Deutschland) Category: Health care Does: Takes a medical prescription and assembles a HL7 FHIR Bundle conforming to the gematik eRezept profiles (KBV/gematik), signed and transmitted over the Telematikinfrastruktur (TI) to the E-Rezept-Fachdienst, from which the patient or pharmacy redeems it. Spec: gematik / KBV — eRezept FHIR profiles (Prescription/Workflow, current version)

The eRezept replaces the paper "Muster 16" for prescription-only drugs in statutory care. The prescriber's system builds a FHIR Bundle (Composition, MedicationRequest, Medication, Patient, Practitioner, Organization, Coverage), the doctor qualified-electronic-signs it, and it is stored on the E-Rezept-Fachdienst; the patient redeems via the eRezept app, eGK, or token. Issued per prescription. Element names below follow the gematik profiles, not a verbatim StructureDefinition.


When this applies


Structure (FHIR Bundle)

Bundle (type = document)
   Composition           eRezept "Verordnung" — links the resources
   MedicationRequest      dosage, quantity, substitution flag (aut idem), validity
   Medication             PZN, Darreichungsform, Wirkstoff/Handelsname, Normgröße
   Patient                KVNR (Versichertennummer 10-stellig), name, DOB
   Practitioner           LANR / prescriber, qualification
   Organization           BSNR (Betriebsstättennummer), institution
   Coverage               Kostenträger (Krankenkasse IK), insurance status
signature                 doctor's qualified electronic signature (QES) over the Bundle

Data rules


Worked example (outline)

Bundle (document)
   Composition: Workflow 160 (GKV)
   Patient KVNR X110411319
   Practitioner LANR 123456789, Organization BSNR 987654300
   Coverage Krankenkasse IK 109500969
   MedicationRequest: 1 package, dosage 1-0-1, aut idem allowed
   Medication PZN 12345678, Ibuprofen 600 mg, Filmtabletten, N2
   Signature: QES by prescriber

Signed FHIR Bundle posted to the E-Rezept-Fachdienst over TI; the pharmacy redeems and returns a MedicationDispense.


Validation checklist


Last updated: 2026-06-04 — confirm the current schema/version, identifiers, rounding, and deadline against current authority (gematik.de) guidance before use.