Operation API: Medikationsplan abrufen

Die Operation $medication-plan erzeugt ein FHIR Document (d.h. ein Bundle mit Type 'Document') im Medication Service. Ohne optionale Angabe eines Zeitraums oder einer versionId wird stets der aktuelle Medikationsplan zurückgegeben.

OperationDefinition

Operation Definition: Get Medication Plan

Geschäftslogik

Voraussetzungen

Dem Medication Service MÜSSEN zur Auswertung in Operationen für jede Aktivität die folgenden Informationen bereitstehen:

  • Name des Nutzers
  • Nutzergruppe/Rolle ((profession-)oid)
  • Kennung (Telematik-ID oder KVNR)
  • Hinweis auf eine gültige Befugnis des aktuellen Benutzers (requestor)

HTTP Header-Parameter

Ein ePA-Client MUSS die folgenden HTTP Header bei einer Anfrage an den Medication Service setzen:

Name Anforderung Datentyp Beschreibung
x-insurantid MUSS String Health Record Identifier
x-useragent KANN String User Agent Information
X-Request-ID MUSS String UUID der Nachricht

Wiederholungsintervalle

Die folgenden Wiederholungsintervalle werden im Falle einer Fehlerantwort definiert:

  • '409' Conflict (statusMismatch)
    • etwa 24 Stunden
  • '500' Internal Error
    • etwa 10 Minuten

Erlaubte Nutzergruppen

professionOID
oid_versicherter
oid_praxis_arzt
oid_krankenhaus
oid_institution
oid_krankenhaus
oid_institution-vorsorge-reha
oid_zahnarztpraxis
oid_praxis_psychotherapeut
oid_institution-oegd
oid_öffentliche_apotheke
oid_institution-pflege
oid_institution-geburtshilfe
oid_praxis-physiotherapeut
oid_institution-arbeitsmedizin

Interaktion ($medication-plan)

Medikationsplan abrufen

GET [base]/epa/medication/api/v1/fhir/$medication-plan

OperationId: getMedicationPlan_MedicationSvc

Abfrageparameter

Parameter Bedeutung Anforderung
dateTime Begrenzt die Abfrage auf eine Zeit, die kleiner oder gleich dem angegebenen Datum ist MUSS
version Begrenzt die Abfrage auf diese Versionsnummer MUSS

Beispielantwort

{
    "resourceType": "Bundle",
    "id": "example-epa-get-medication-plan-bundle",
    "identifier": {
        "value": "urn:uuid:4aa91a1e-4972-4dcd-a124-5ac4e31344a2",
        "system": "urn:ietf:rfc:3986"
    },
    "timestamp": "2024-01-01T00:00:00Z",
    "type": "document",
    "entry":  [
        {
            "resource": {
                "resourceType": "Composition",
                "id": "cc742dfa-2ef4-4349-9436-235abe5959f5",
                "meta": {
                    "versionId": "10",
                    "lastUpdated": "2025-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-composition"
                    ]
                },
                "status": "final",
                "title": "Medikationsplan",
                "author":  [
                    {
                        "display": "Elektronische Patientenakte Fachdienst"
                    }
                ],
                "section":  [
                    {
                        "title": "Allergien/Unverträglichkeiten-Liste-Einträge",
                        "code": {
                            "coding":  [
                                {
                                    "code": "SectionAMTSRZIAllergienUnvertraeglichkeiten",
                                    "system": "https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs",
                                    "display": "Bereich AMTS-relevante Zusatzinformationen - Allergien/Unverträglichkeiten",
                                    "version": "1.0.0"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e"
                            }
                        ]
                    },
                    {
                        "title": "Beobachtungen/Messungen-Liste-Einträge",
                        "code": {
                            "coding":  [
                                {
                                    "code": "SectionAMTSRZIBeobachtungenMessungen",
                                    "system": "https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs",
                                    "display": "Bereich AMTS-relevante Zusatzinformationen - Beobachtungen/Messungen",
                                    "version": "1.0.0"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d"
                            }
                        ]
                    },
                    {
                        "title": "Medikations-Informationen-Liste-Einträge",
                        "code": {
                            "coding":  [
                                {
                                    "code": "721912009",
                                    "system": "http://snomed.info/sct",
                                    "version": "http://snomed.info/sct/11000274103/version/20240515",
                                    "display": "Medication summary document (record artifact)"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32"
                            }
                        ]
                    },
                    {
                        "title": "Übergreifende Hinweise",
                        "code": {
                            "coding":  [
                                {
                                    "code": "SectionUebergreifendeHinweiseEintraege",
                                    "system": "https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs",
                                    "display": "Bereich Übergreifende Hinweise-Einträge",
                                    "version": "1.0.0"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:9952f82d-e291-4e9d-854d-757feafc31bc"
                            }
                        ]
                    },
                    {
                        "title": "Herkunftsinformations-Einträge",
                        "code": {
                            "coding":  [
                                {
                                    "code": "SectionHerkunftsinformationEintraege",
                                    "system": "https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs",
                                    "display": "Bereich Herkunftsinformation-Einträge",
                                    "version": "1.0.0"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:f5fe411d-5527-4053-9474-2eca3cc66875"
                            },
                            {
                                "reference": "urn:uuid:cd51e190-a6bf-44d6-bd33-b4fc9538b597"
                            },
                            {
                                "reference": "urn:uuid:44d7b955-821c-4d71-96e5-09bab8389023"
                            },
                            {
                                "reference": "urn:uuid:b2297a08-0367-456f-994c-2b4cf58c7c90"
                            },
                            {
                                "reference": "urn:uuid:da898b81-6562-4c7c-be77-400e08d401c7"
                            },
                            {
                                "reference": "urn:uuid:8af54e21-6640-459d-aed8-c853556aeb03"
                            },
                            {
                                "reference": "urn:uuid:75ff6b03-d591-4ce7-9407-f9c0d6ad7af8"
                            },
                            {
                                "reference": "urn:uuid:a6da1a0b-4bd9-4acc-a690-18ad1b7cc08b"
                            },
                            {
                                "reference": "urn:uuid:b64c7554-b8c6-44c7-8d20-66f0b1468b4c"
                            },
                            {
                                "reference": "urn:uuid:fdb213d9-cd2b-4450-beff-9b88f3fe5475"
                            },
                            {
                                "reference": "urn:uuid:af51c16c-beb1-42ae-932b-a2799bb6e52a"
                            },
                            {
                                "reference": "urn:uuid:56ff3154-5890-47c9-af94-f21efe2c4ef2"
                            },
                            {
                                "reference": "urn:uuid:9e628e09-d33d-4c83-88d6-7bb5b6cf74c0"
                            },
                            {
                                "reference": "urn:uuid:50ae0f2b-f8a3-4d5c-8aa8-7324449322de"
                            }
                        ]
                    }
                ],
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    },
                    "reference": "urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be"
                },
                "identifier": {
                    "value": "urn:uuid:4aa91a1e-4972-4dcd-a124-5ac4e31344a2",
                    "system": "urn:ietf:rfc:3986"
                },
                "type": {
                    "coding":  [
                        {
                            "code": "736378000",
                            "system": "http://snomed.info/sct",
                            "version": "http://snomed.info/sct/11000274103/version/20240515",
                            "display": "Medication management plan (record artifact)"
                        }
                    ]
                },
                "date": "2024-01-01"
            },
            "fullUrl": "urn:uuid:cc742dfa-2ef4-4349-9436-235abe5959f5"
        },
        {
            "resource": {
                "resourceType": "Practitioner",
                "id": "498c345f-31f5-4da6-9f04-00fa2bc8af7c",
                "meta": {
                    "tag":  [
                        {
                            "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
                            "code": "ldap"
                        }
                    ],
                    "profile":  [
                        "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://gematik.de/fhir/sid/telematik-id",
                        "value": "1-1.58.00000040"
                    },
                    {
                        "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
                        "value": "123456789"
                    }
                ],
                "active": true,
                "qualification":  [
                    {
                        "code": {
                            "coding":  [
                                {
                                    "code": "1.2.276.0.76.4.31",
                                    "system": "https://gematik.de/fhir/directory/CodeSystem/PractitionerProfessionOID"
                                }
                            ]
                        }
                    },
                    {
                        "code": {
                            "coding":  [
                                {
                                    "code": "010",
                                    "system": "urn:oid:1.2.276.0.76.5.514",
                                    "display": "FA Allgemeinmedizin"
                                }
                            ]
                        }
                    },
                    {
                        "code": {
                            "coding":  [
                                {
                                    "code": "523",
                                    "system": "urn:oid:1.2.276.0.76.5.514",
                                    "display": "FA Innere Medizin und (SP) Gastroenterologie"
                                }
                            ]
                        }
                    }
                ],
                "name":  [
                    {
                        "prefix":  [
                            "Dr."
                        ],
                        "given":  [
                            "Max",
                            "Manfred"
                        ],
                        "family": "Musterman",
                        "text": "Dr. Max Manfred Mustermann"
                    }
                ]
            },
            "fullUrl": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
        },
        {
            "resource": {
                "resourceType": "Organization",
                "id": "ad7dc0e7-cb44-4740-ba67-cb573e29d596",
                "meta": {
                    "tag":  [
                        {
                            "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
                            "code": "ldap"
                        }
                    ],
                    "profile":  [
                        "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://gematik.de/fhir/sid/telematik-id",
                        "value": "9-2.58.00000040"
                    },
                    {
                        "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
                        "value": "012300004"
                    },
                    {
                        "system": "http://fhir.de/sid/kzbv/kzvabrechnungsnummer",
                        "value": "123456789"
                    },
                    {
                        "system": "http://fhir.de/sid/arge-ik/iknr",
                        "value": "123456789"
                    }
                ],
                "active": true,
                "type":  [
                    {
                        "coding":  [
                            {
                                "code": "1.2.276.0.76.4.58",
                                "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
                                "display": "Betriebsstätte gematik"
                            }
                        ]
                    }
                ],
                "name": "Praxis Dr. med. Max Mustermann",
                "address":  [
                    {
                        "line":  [
                            "Musterstr. 1",
                            "Mitte"
                        ],
                        "type": "both",
                        "city": "Darmstadt",
                        "postalCode": "64283",
                        "country": "DE"
                    },
                    {
                        "line":  [
                            "45678"
                        ],
                        "type": "postal",
                        "city": "Darmstadt",
                        "country": "DE"
                    }
                ]
            },
            "fullUrl": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
        },
        {
            "resource": {
                "resourceType": "Patient",
                "id": "8c2c989e-199a-4ca3-994c-e9ac9e69c7be",
                "meta": {
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-patient"
                    ]
                },
                "name":  [
                    {
                        "use": "official",
                        "family": "Gundlach",
                        "given":  [
                            "Monika"
                        ],
                        "prefix":  [
                            "Dr."
                        ],
                        "_prefix":  [
                            {
                                "extension":  [
                                    {
                                        "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueCode": "AC"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "use": "maiden",
                        "family": "Blohm",
                        "_family": {
                            "extension":  [
                                {
                                    "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
                                    "valueString": "Blohm"
                                }
                            ]
                        }
                    }
                ],
                "identifier":  [
                    {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    }
                ],
                "active": true,
                "gender": "female",
                "birthDate": "1954-02-27"
            },
            "fullUrl": "urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be"
        },
        {
            "resource": {
                "resourceType": "List",
                "id": "49f68cc5-c476-4a6d-a366-d8438ef36a2e",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-allergy-intolerance-list"
                    ]
                },
                "status": "current",
                "mode": "snapshot",
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    },
                    "reference": "urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be"
                },
                "code": {
                    "coding":  [
                        {
                            "code": "allergies",
                            "system": "http://terminology.hl7.org/CodeSystem/list-example-use-codes",
                            "display": "Allergies"
                        }
                    ]
                },
                "entry":  [
                    {
                        "item": {
                            "reference": "urn:uuid:c4914762-59bb-451f-943b-98cd4f3a3d97"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e"
        },
        {
            "resource": {
                "resourceType": "AllergyIntolerance",
                "id": "c4914762-59bb-451f-943b-98cd4f3a3d97",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-allergy-intolerance"
                    ]
                },
                "patient": {
                    "identifier": {
                        "type": {
                            "coding":  [
                                {
                                    "code": "KVZ10",
                                    "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
                                    "display": "Krankenversichertennummer"
                                }
                            ]
                        },
                        "value": "X110411319",
                        "system": "http://fhir.de/sid/gkv/kvid-10"
                    }
                },
                "category":  [
                    "food"
                ],
                "clinicalStatus": {
                    "coding":  [
                        {
                            "code": "active",
                            "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
                            "version": "4.0.1",
                            "display": "Active"
                        }
                    ]
                },
                "code": {
                    "coding":  [
                        {
                            "code": "278393006",
                            "system": "http://snomed.info/sct",
                            "version": "http://snomed.info/sct/11000274103/version/20240515",
                            "display": "Animal milk protein"
                        }
                    ]
                }
            },
            "fullUrl": "urn:uuid:c4914762-59bb-451f-943b-98cd4f3a3d97"
        },
        {
            "resource": {
                "resourceType": "List",
                "id": "43f0aa30-8b81-458d-9936-e7cf3e15ed3d",
                "meta": {
                    "versionId": "5",
                    "lastUpdated": "2025-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-observation-list"
                    ]
                },
                "status": "current",
                "mode": "snapshot",
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    },
                    "reference": "urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be"
                },
                "code": {
                    "coding":  [
                        {
                            "code": "363787002",
                            "system": "http://snomed.info/sct",
                            "version": "http://snomed.info/sct/11000274103/version/20240515",
                            "display": "Observable entity (observable entity)"
                        }
                    ]
                },
                "entry":  [
                    {
                        "item": {
                            "reference": "urn:uuid:e609f19f-6de1-4fd5-acb1-b433733ca130"
                        }
                    },
                    {
                        "item": {
                            "reference": "urn:uuid:a96932ed-4bce-431b-99e5-b51c9ef155f9"
                        }
                    },
                    {
                        "item": {
                            "reference": "urn:uuid:4ec2db6f-6dc6-4daa-aa56-09f78c991773"
                        }
                    },
                    {
                        "item": {
                            "reference": "urn:uuid:32668ee0-bf06-42ca-9577-c4abac3ede49"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d"
        },
        {
            "resource": {
                "resourceType": "Observation",
                "id": "e609f19f-6de1-4fd5-acb1-b433733ca130",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T01:01:01.000+00:00",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-observation-breastfeeding-status"
                    ]
                },
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    }
                },
                "status": "final",
                "code": {
                    "coding":  [
                        {
                            "code": "63895-7",
                            "system": "http://loinc.org",
                            "version": "2.77",
                            "display": "Breastfeeding status"
                        }
                    ]
                },
                "effectiveDateTime": "2022-10-20T08:30:00+01:00",
                "valueCodeableConcept": {
                    "coding":  [
                        {
                            "code": "LA29252-6",
                            "system": "http://loinc.org",
                            "version": "2.77",
                            "display": "Currently breastfeeding"
                        }
                    ]
                }
            },
            "fullUrl": "urn:uuid:e609f19f-6de1-4fd5-acb1-b433733ca130"
        },
        {
            "resource": {
                "resourceType": "Observation",
                "id": "a96932ed-4bce-431b-99e5-b51c9ef155f9",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T01:01:01.000+00:00",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-observation-estimated-date-of-delivery"
                    ]
                },
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    }
                },
                "status": "final",
                "code": {
                    "coding":  [
                        {
                            "code": "11778-8",
                            "system": "http://loinc.org",
                            "version": "2.77",
                            "display": "Delivery date Estimated"
                        }
                    ]
                },
                "effectiveDateTime": "2022-12-31",
                "valueDateTime": "2023-08-28"
            },
            "fullUrl": "urn:uuid:a96932ed-4bce-431b-99e5-b51c9ef155f9"
        },
        {
            "resource": {
                "resourceType": "Observation",
                "id": "4ec2db6f-6dc6-4daa-aa56-09f78c991773",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T01:01:01.000+00:00",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-observation-gfr"
                    ]
                },
                "code": {
                    "coding":  [
                        {
                            "system": "http://loinc.org",
                            "code": "69405-9",
                            "version": "2.77",
                            "display": "Glomerular filtration rate/1.73 sq M.predicted [Volume Rate/Area] in Serum, Plasma or Blood"
                        }
                    ]
                },
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    }
                },
                "status": "final",
                "effectiveDateTime": "2022-10-07T14:34:00+01:00",
                "valueQuantity": {
                    "value": 90,
                    "code": "mL/min/{1.73_m2}",
                    "system": "http://unitsofmeasure.org",
                    "unit": "milliliter per minute per 1.73 square meter"
                },
                "performer":  [
                    {
                        "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                    }
                ]
            },
            "fullUrl": "urn:uuid:4ec2db6f-6dc6-4daa-aa56-09f78c991773"
        },
        {
            "resource": {
                "resourceType": "Observation",
                "id": "32668ee0-bf06-42ca-9577-c4abac3ede49",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T01:01:01.000+00:00",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-observation-pregnancy-status"
                    ]
                },
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    }
                },
                "status": "final",
                "code": {
                    "coding":  [
                        {
                            "code": "82810-3",
                            "system": "http://loinc.org",
                            "version": "2.77",
                            "display": "Pregnancy status"
                        }
                    ]
                },
                "effectiveDateTime": "2023-01-01",
                "valueCodeableConcept": {
                    "coding":  [
                        {
                            "code": "LA26683-5",
                            "system": "http://loinc.org",
                            "version": "2.77",
                            "display": "Not pregnant"
                        }
                    ]
                },
                "method": {
                    "coding":  [
                        {
                            "code": "167252002",
                            "system": "http://snomed.info/sct",
                            "version": "http://snomed.info/sct/11000274103/version/20240515",
                            "display": "Urine pregnancy test (procedure)"
                        }
                    ]
                }
            },
            "fullUrl": "urn:uuid:32668ee0-bf06-42ca-9577-c4abac3ede49"
        },
        {
            "resource": {
                "resourceType": "List",
                "id": "8ea68634-1b40-4138-b59c-472ae03e3a32",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2025-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-medication-statement-list"
                    ]
                },
                "status": "current",
                "mode": "snapshot",
                "subject": {
                    "identifier": {
                        "system": "http://fhir.de/sid/gkv/kvid-10",
                        "value": "X110411319"
                    },
                    "reference": "urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be"
                },
                "code": {
                    "coding":  [
                        {
                            "code": "medications",
                            "system": "http://terminology.hl7.org/CodeSystem/list-example-use-codes",
                            "display": "Medication List"
                        }
                    ]
                },
                "entry":  [
                    {
                        "item": {
                            "reference": "urn:uuid:0c8c5bab-19e7-4549-86a6-5738a2c62087"
                        }
                    },
                    {
                        "item": {
                            "reference": "urn:uuid:f4a5c85f-30f3-474e-9ed5-9464be6f37f8"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32"
        },
        {
            "resource": {
                "resourceType": "MedicationStatement",
                "id": "0c8c5bab-19e7-4549-86a6-5738a2c62087",
                "meta": {
                    "versionId": "4",
                    "lastUpdated": "2025-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"
                    ]
                },
                "status": "active",
                "medicationReference": {
                    "reference": "urn:uuid:23764122-1964-4470-9b75-c112cb5a95d8"
                },
                "subject": {
                    "identifier": {
                        "type": {
                            "coding":  [
                                {
                                    "code": "KVZ10",
                                    "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
                                    "display": "Krankenversichertennummer"
                                }
                            ]
                        },
                        "value": "X110411319",
                        "system": "http://fhir.de/sid/gkv/kvid-10"
                    }
                },
                "effectiveDateTime": "2024-01-01"
            },
            "fullUrl": "urn:uuid:0c8c5bab-19e7-4549-86a6-5738a2c62087"
        },
        {
            "resource": {
                "resourceType": "Medication",
                "id": "23764122-1964-4470-9b75-c112cb5a95d8",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T01:01:01.000+00:00",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier",
                        "value": "48E951DFE10F5669D3C66D581E5767DE32CFD788C94693E5C78193DB2D3F095B"
                    }
                ],
                "code": {
                    "coding":  [
                        {
                            "system": "http://fhir.de/CodeSystem/ifa/pzn",
                            "code": "03953522",
                            "display": "Metoprolol-ratiopharm® 100 mg Tabletten"
                        },
                        {
                            "system": "http://fhir.de/CodeSystem/bfarm/atc",
                            "code": "C07AB02",
                            "display": "Metoprolol",
                            "version": "2022"
                        },
                        {
                            "system": "http://snomed.info/sct",
                            "code": "7092007",
                            "version": "http://snomed.info/sct/11000274103/version/20240515",
                            "display": "Product containing metoprolol (medicinal product)"
                        }
                    ]
                },
                "form": {
                    "coding":  [
                        {
                            "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
                            "code": "TAB",
                            "display": "Tabletten",
                            "version": "1.10"
                        },
                        {
                            "system": "http://standardterms.edqm.eu",
                            "code": "12200",
                            "display": "Tablet"
                        },
                        {
                            "system": "http://snomed.info/sct",
                            "code": "385055001",
                            "version": "http://snomed.info/sct/11000274103/version/20240515",
                            "display": "Tablet (basic dose form)"
                        }
                    ]
                },
                "amount": {
                    "numerator": {
                        "value": 100,
                        "code": "mg",
                        "system": "http://unitsofmeasure.org",
                        "unit": "MilliGram"
                    },
                    "denominator": {
                        "value": 1,
                        "code": "{Tablet}",
                        "system": "http://unitsofmeasure.org",
                        "unit": "Tablet"
                    }
                }
            },
            "fullUrl": "urn:uuid:23764122-1964-4470-9b75-c112cb5a95d8"
        },
        {
            "resource": {
                "resourceType": "MedicationStatement",
                "id": "f4a5c85f-30f3-474e-9ed5-9464be6f37f8",
                "meta": {
                    "versionId": "2",
                    "lastUpdated": "2024-12-31T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"
                    ]
                },
                "status": "active",
                "medicationReference": {
                    "reference": "urn:uuid:dbc5f76f-d3d3-4137-9f83-f500286408fe"
                },
                "subject": {
                    "identifier": {
                        "type": {
                            "coding":  [
                                {
                                    "code": "KVZ10",
                                    "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
                                    "display": "Krankenversichertennummer"
                                }
                            ]
                        },
                        "value": "X110411319",
                        "system": "http://fhir.de/sid/gkv/kvid-10"
                    }
                },
                "effectiveDateTime": "2024-01-01"
            },
            "fullUrl": "urn:uuid:f4a5c85f-30f3-474e-9ed5-9464be6f37f8"
        },
        {
            "resource": {
                "resourceType": "Medication",
                "id": "dbc5f76f-d3d3-4137-9f83-f500286408fe",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T01:01:01.000+00:00",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier",
                        "value": "B849184C973EA5FA7D9751E6FAA6AFCFFD100183596239F84DD2C0DB4C751D67"
                    }
                ],
                "code": {
                    "coding":  [
                        {
                            "system": "http://fhir.de/CodeSystem/ifa/pzn",
                            "code": "10019621",
                            "display": "IBU-ratiopharm 400mg akut Schmerztabletten"
                        },
                        {
                            "system": "http://fhir.de/CodeSystem/bfarm/atc",
                            "code": "M01AE01",
                            "display": "Ibuprofen",
                            "version": "2022"
                        }
                    ]
                },
                "form": {
                    "coding":  [
                        {
                            "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
                            "code": "TAB",
                            "display": "Tabletten",
                            "version": "1.10"
                        },
                        {
                            "system": "http://standardterms.edqm.eu",
                            "code": "12200",
                            "display": "Tablet"
                        },
                        {
                            "system": "http://snomed.info/sct",
                            "code": "385055001",
                            "version": "http://snomed.info/sct/11000274103/version/20240515",
                            "display": "Tablet (basic dose form)"
                        }
                    ]
                },
                "amount": {
                    "numerator": {
                        "value": 50,
                        "code": "{Tablet}",
                        "system": "http://unitsofmeasure.org",
                        "unit": "Tablet"
                    },
                    "denominator": {
                        "value": 1,
                        "code": "{Package}",
                        "system": "http://unitsofmeasure.org",
                        "unit": "Package"
                    }
                },
                "ingredient":  [
                    {
                        "itemCodeableConcept": {
                            "coding":  [
                                {
                                    "code": "387207008",
                                    "system": "http://snomed.info/sct",
                                    "version": "http://snomed.info/sct/11000274103/version/20240515",
                                    "display": "Ibuprofen (substance)"
                                }
                            ]
                        },
                        "strength": {
                            "numerator": {
                                "value": 400,
                                "code": "mg",
                                "system": "http://unitsofmeasure.org",
                                "unit": "MilliGram"
                            },
                            "denominator": {
                                "value": 1,
                                "code": "{Tablet}",
                                "system": "http://unitsofmeasure.org",
                                "unit": "Tablet"
                            }
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:dbc5f76f-d3d3-4137-9f83-f500286408fe"
        },
        {
            "resource": {
                "resourceType": "Observation",
                "id": "9952f82d-e291-4e9d-854d-757feafc31bc",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-observation-medication-management-note"
                    ]
                },
                "code": {
                    "coding":  [
                        {
                            "system": "http://loinc.org",
                            "code": "70006-2",
                            "version": "2.77",
                            "display": "Medication management note"
                        }
                    ]
                },
                "status": "final",
                "subject": {
                    "identifier": {
                        "type": {
                            "coding":  [
                                {
                                    "code": "KVZ10",
                                    "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
                                    "display": "Krankenversichertennummer"
                                }
                            ]
                        },
                        "value": "X110411319",
                        "system": "http://fhir.de/sid/gkv/kvid-10"
                    }
                },
                "performer":  [
                    {
                        "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                    }
                ],
                "effectiveDateTime": "2024-01-01",
                "valueString": "Test note"
            },
            "fullUrl": "urn:uuid:9952f82d-e291-4e9d-854d-757feafc31bc"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "f5fe411d-5527-4053-9474-2eca3cc66875",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "UPDATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:cc742dfa-2ef4-4349-9436-235abe5959f5"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:f5fe411d-5527-4053-9474-2eca3cc66875"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "cd51e190-a6bf-44d6-bd33-b4fc9538b597",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:cd51e190-a6bf-44d6-bd33-b4fc9538b597"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "44d7b955-821c-4d71-96e5-09bab8389023",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:c4914762-59bb-451f-943b-98cd4f3a3d97"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:44d7b955-821c-4d71-96e5-09bab8389023"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "b2297a08-0367-456f-994c-2b4cf58c7c90",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "UPDATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:b2297a08-0367-456f-994c-2b4cf58c7c90"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "da898b81-6562-4c7c-be77-400e08d401c7",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:e609f19f-6de1-4fd5-acb1-b433733ca130"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:da898b81-6562-4c7c-be77-400e08d401c7"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "8af54e21-6640-459d-aed8-c853556aeb03",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:a96932ed-4bce-431b-99e5-b51c9ef155f9"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:8af54e21-6640-459d-aed8-c853556aeb03"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "75ff6b03-d591-4ce7-9407-f9c0d6ad7af8",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:4ec2db6f-6dc6-4daa-aa56-09f78c991773"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:75ff6b03-d591-4ce7-9407-f9c0d6ad7af8"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "a6da1a0b-4bd9-4acc-a690-18ad1b7cc08b",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:32668ee0-bf06-42ca-9577-c4abac3ede49"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:a6da1a0b-4bd9-4acc-a690-18ad1b7cc08b"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "b64c7554-b8c6-44c7-8d20-66f0b1468b4c",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:b64c7554-b8c6-44c7-8d20-66f0b1468b4c"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "fdb213d9-cd2b-4450-beff-9b88f3fe5475",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "UPDATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:0c8c5bab-19e7-4549-86a6-5738a2c62087"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:fdb213d9-cd2b-4450-beff-9b88f3fe5475"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "af51c16c-beb1-42ae-932b-a2799bb6e52a",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "UPDATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:23764122-1964-4470-9b75-c112cb5a95d8"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:af51c16c-beb1-42ae-932b-a2799bb6e52a"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "56ff3154-5890-47c9-af94-f21efe2c4ef2",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "UPDATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:f4a5c85f-30f3-474e-9ed5-9464be6f37f8"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:56ff3154-5890-47c9-af94-f21efe2c4ef2"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "9e628e09-d33d-4c83-88d6-7bb5b6cf74c0",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "UPDATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:dbc5f76f-d3d3-4137-9f83-f500286408fe"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:9e628e09-d33d-4c83-88d6-7bb5b6cf74c0"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "50ae0f2b-f8a3-4d5c-8aa8-7324449322de",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2024-01-01T00:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "CREATE",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:9952f82d-e291-4e9d-854d-757feafc31bc"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "enterer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Enterer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "performer",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Performer"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:50ae0f2b-f8a3-4d5c-8aa8-7324449322de"
        },
        {
            "resource": {
                "resourceType": "Provenance",
                "id": "11921a87-d305-4485-9bdd-ade2ce4e4f18",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2024-01-01T00:00:00Z",
                    "profile":  [
                        "https://gematik.de/fhir/epa/StructureDefinition/epa-provenance"
                    ]
                },
                "recorded": "2025-08-13T13:00:00Z",
                "activity": {
                    "coding":  [
                        {
                            "code": "VRF",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
                        }
                    ]
                },
                "target":  [
                    {
                        "reference": "urn:uuid:cc742dfa-2ef4-4349-9436-235abe5959f5"
                    },
                    {
                        "reference": "urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e"
                    },
                    {
                        "reference": "urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d"
                    },
                    {
                        "reference": "urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32"
                    }
                ],
                "agent":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "verifier",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Verifier"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c"
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "code": "verifier",
                                    "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                    "version": "4.0.1",
                                    "display": "Verifier"
                                }
                            ]
                        },
                        "who": {
                            "reference": "urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596"
                        }
                    }
                ]
            },
            "fullUrl": "urn:uuid:11921a87-d305-4485-9bdd-ade2ce4e4f18"
        }
    ]
}
<Bundle xmlns="http://hl7.org/fhir">
    <id value="example-epa-get-medication-plan-bundle" />
    <identifier>
        <system value="urn:ietf:rfc:3986" />
        <value value="urn:uuid:4aa91a1e-4972-4dcd-a124-5ac4e31344a2" />
    </identifier>
    <type value="document" />
    <timestamp value="2024-01-01T00:00:00Z" />
    <entry>
        <fullUrl value="urn:uuid:cc742dfa-2ef4-4349-9436-235abe5959f5" />
        <resource>
            <Composition>
                <id value="cc742dfa-2ef4-4349-9436-235abe5959f5" />
                <meta>
                    <versionId value="10" />
                    <lastUpdated value="2025-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-composition" />
                </meta>
                <identifier>
                    <system value="urn:ietf:rfc:3986" />
                    <value value="urn:uuid:4aa91a1e-4972-4dcd-a124-5ac4e31344a2" />
                </identifier>
                <status value="final" />
                <type>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <version value="http://snomed.info/sct/11000274103/version/20240515" />
                        <code value="736378000" />
                        <display value="Medication management plan (record artifact)" />
                    </coding>
                </type>
                <subject>
                    <reference value="urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be" />
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <date value="2024-01-01" />
                <author>
                    <display value="Elektronische Patientenakte Fachdienst" />
                </author>
                <title value="Medikationsplan" />
                <section>
                    <title value="Allergien/Unvertr&#228;glichkeiten-Liste-Eintr&#228;ge" />
                    <code>
                        <coding>
                            <system value="https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs" />
                            <version value="1.0.0" />
                            <code value="SectionAMTSRZIAllergienUnvertraeglichkeiten" />
                            <display value="Bereich AMTS-relevante Zusatzinformationen - Allergien/Unvertr&#228;glichkeiten" />
                        </coding>
                    </code>
                    <entry>
                        <reference value="urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e" />
                    </entry>
                </section>
                <section>
                    <title value="Beobachtungen/Messungen-Liste-Eintr&#228;ge" />
                    <code>
                        <coding>
                            <system value="https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs" />
                            <version value="1.0.0" />
                            <code value="SectionAMTSRZIBeobachtungenMessungen" />
                            <display value="Bereich AMTS-relevante Zusatzinformationen - Beobachtungen/Messungen" />
                        </coding>
                    </code>
                    <entry>
                        <reference value="urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d" />
                    </entry>
                </section>
                <section>
                    <title value="Medikations-Informationen-Liste-Eintr&#228;ge" />
                    <code>
                        <coding>
                            <system value="http://snomed.info/sct" />
                            <version value="http://snomed.info/sct/11000274103/version/20240515" />
                            <code value="721912009" />
                            <display value="Medication summary document (record artifact)" />
                        </coding>
                    </code>
                    <entry>
                        <reference value="urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32" />
                    </entry>
                </section>
                <section>
                    <title value="&#220;bergreifende Hinweise" />
                    <code>
                        <coding>
                            <system value="https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs" />
                            <version value="1.0.0" />
                            <code value="SectionUebergreifendeHinweiseEintraege" />
                            <display value="Bereich &#220;bergreifende Hinweise-Eintr&#228;ge" />
                        </coding>
                    </code>
                    <entry>
                        <reference value="urn:uuid:9952f82d-e291-4e9d-854d-757feafc31bc" />
                    </entry>
                </section>
                <section>
                    <title value="Herkunftsinformations-Eintr&#228;ge" />
                    <code>
                        <coding>
                            <system value="https://gematik.de/fhir/terminology/CodeSystem/epa-plan-composition-section-codes-cs" />
                            <version value="1.0.0" />
                            <code value="SectionHerkunftsinformationEintraege" />
                            <display value="Bereich Herkunftsinformation-Eintr&#228;ge" />
                        </coding>
                    </code>
                    <entry>
                        <reference value="urn:uuid:f5fe411d-5527-4053-9474-2eca3cc66875" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:cd51e190-a6bf-44d6-bd33-b4fc9538b597" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:44d7b955-821c-4d71-96e5-09bab8389023" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:b2297a08-0367-456f-994c-2b4cf58c7c90" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:da898b81-6562-4c7c-be77-400e08d401c7" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:8af54e21-6640-459d-aed8-c853556aeb03" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:75ff6b03-d591-4ce7-9407-f9c0d6ad7af8" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:a6da1a0b-4bd9-4acc-a690-18ad1b7cc08b" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:b64c7554-b8c6-44c7-8d20-66f0b1468b4c" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:fdb213d9-cd2b-4450-beff-9b88f3fe5475" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:af51c16c-beb1-42ae-932b-a2799bb6e52a" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:56ff3154-5890-47c9-af94-f21efe2c4ef2" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:9e628e09-d33d-4c83-88d6-7bb5b6cf74c0" />
                    </entry>
                    <entry>
                        <reference value="urn:uuid:50ae0f2b-f8a3-4d5c-8aa8-7324449322de" />
                    </entry>
                </section>
            </Composition>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
        <resource>
            <Practitioner>
                <id value="498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                <meta>
                    <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" />
                    <tag>
                        <system value="https://gematik.de/fhir/directory/CodeSystem/Origin" />
                        <code value="ldap" />
                    </tag>
                </meta>
                <identifier>
                    <system value="https://gematik.de/fhir/sid/telematik-id" />
                    <value value="1-1.58.00000040" />
                </identifier>
                <identifier>
                    <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR" />
                    <value value="123456789" />
                </identifier>
                <active value="true" />
                <name>
                    <text value="Dr. Max Manfred Mustermann" />
                    <family value="Musterman" />
                    <given value="Max" />
                    <given value="Manfred" />
                    <prefix value="Dr." />
                </name>
                <qualification>
                    <code>
                        <coding>
                            <system value="https://gematik.de/fhir/directory/CodeSystem/PractitionerProfessionOID" />
                            <code value="1.2.276.0.76.4.31" />
                        </coding>
                    </code>
                </qualification>
                <qualification>
                    <code>
                        <coding>
                            <system value="urn:oid:1.2.276.0.76.5.514" />
                            <code value="010" />
                            <display value="FA Allgemeinmedizin" />
                        </coding>
                    </code>
                </qualification>
                <qualification>
                    <code>
                        <coding>
                            <system value="urn:oid:1.2.276.0.76.5.514" />
                            <code value="523" />
                            <display value="FA Innere Medizin und (SP) Gastroenterologie" />
                        </coding>
                    </code>
                </qualification>
            </Practitioner>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
        <resource>
            <Organization>
                <id value="ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                <meta>
                    <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" />
                    <tag>
                        <system value="https://gematik.de/fhir/directory/CodeSystem/Origin" />
                        <code value="ldap" />
                    </tag>
                </meta>
                <identifier>
                    <system value="https://gematik.de/fhir/sid/telematik-id" />
                    <value value="9-2.58.00000040" />
                </identifier>
                <identifier>
                    <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR" />
                    <value value="012300004" />
                </identifier>
                <identifier>
                    <system value="http://fhir.de/sid/kzbv/kzvabrechnungsnummer" />
                    <value value="123456789" />
                </identifier>
                <identifier>
                    <system value="http://fhir.de/sid/arge-ik/iknr" />
                    <value value="123456789" />
                </identifier>
                <active value="true" />
                <type>
                    <coding>
                        <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID" />
                        <code value="1.2.276.0.76.4.58" />
                        <display value="Betriebsst&#228;tte gematik" />
                    </coding>
                </type>
                <name value="Praxis Dr. med. Max Mustermann" />
                <address>
                    <type value="both" />
                    <line value="Musterstr. 1" />
                    <line value="Mitte" />
                    <city value="Darmstadt" />
                    <postalCode value="64283" />
                    <country value="DE" />
                </address>
                <address>
                    <type value="postal" />
                    <line value="45678" />
                    <city value="Darmstadt" />
                    <country value="DE" />
                </address>
            </Organization>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be" />
        <resource>
            <Patient>
                <id value="8c2c989e-199a-4ca3-994c-e9ac9e69c7be" />
                <meta>
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-patient" />
                </meta>
                <identifier>
                    <system value="http://fhir.de/sid/gkv/kvid-10" />
                    <value value="X110411319" />
                </identifier>
                <active value="true" />
                <name>
                    <use value="official" />
                    <family value="Gundlach" />
                    <given value="Monika" />
                    <prefix value="Dr.">
                        <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier">
                            <valueCode value="AC" />
                        </extension>
                    </prefix>
                </name>
                <name>
                    <use value="maiden" />
                    <family value="Blohm">
                        <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
                            <valueString value="Blohm" />
                        </extension>
                    </family>
                </name>
                <gender value="female" />
                <birthDate value="1954-02-27" />
            </Patient>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e" />
        <resource>
            <List>
                <id value="49f68cc5-c476-4a6d-a366-d8438ef36a2e" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-allergy-intolerance-list" />
                </meta>
                <status value="current" />
                <mode value="snapshot" />
                <code>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/list-example-use-codes" />
                        <code value="allergies" />
                        <display value="Allergies" />
                    </coding>
                </code>
                <subject>
                    <reference value="urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be" />
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <entry>
                    <item>
                        <reference value="urn:uuid:c4914762-59bb-451f-943b-98cd4f3a3d97" />
                    </item>
                </entry>
            </List>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:c4914762-59bb-451f-943b-98cd4f3a3d97" />
        <resource>
            <AllergyIntolerance>
                <id value="c4914762-59bb-451f-943b-98cd4f3a3d97" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-allergy-intolerance" />
                </meta>
                <clinicalStatus>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
                        <version value="4.0.1" />
                        <code value="active" />
                        <display value="Active" />
                    </coding>
                </clinicalStatus>
                <category value="food" />
                <code>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <version value="http://snomed.info/sct/11000274103/version/20240515" />
                        <code value="278393006" />
                        <display value="Animal milk protein" />
                    </coding>
                </code>
                <patient>
                    <identifier>
                        <type>
                            <coding>
                                <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" />
                                <code value="KVZ10" />
                                <display value="Krankenversichertennummer" />
                            </coding>
                        </type>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </patient>
            </AllergyIntolerance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d" />
        <resource>
            <List>
                <id value="43f0aa30-8b81-458d-9936-e7cf3e15ed3d" />
                <meta>
                    <versionId value="5" />
                    <lastUpdated value="2025-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-observation-list" />
                </meta>
                <status value="current" />
                <mode value="snapshot" />
                <code>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <version value="http://snomed.info/sct/11000274103/version/20240515" />
                        <code value="363787002" />
                        <display value="Observable entity (observable entity)" />
                    </coding>
                </code>
                <subject>
                    <reference value="urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be" />
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <entry>
                    <item>
                        <reference value="urn:uuid:e609f19f-6de1-4fd5-acb1-b433733ca130" />
                    </item>
                </entry>
                <entry>
                    <item>
                        <reference value="urn:uuid:a96932ed-4bce-431b-99e5-b51c9ef155f9" />
                    </item>
                </entry>
                <entry>
                    <item>
                        <reference value="urn:uuid:4ec2db6f-6dc6-4daa-aa56-09f78c991773" />
                    </item>
                </entry>
                <entry>
                    <item>
                        <reference value="urn:uuid:32668ee0-bf06-42ca-9577-c4abac3ede49" />
                    </item>
                </entry>
            </List>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:e609f19f-6de1-4fd5-acb1-b433733ca130" />
        <resource>
            <Observation>
                <id value="e609f19f-6de1-4fd5-acb1-b433733ca130" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T01:01:01.000+00:00" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-observation-breastfeeding-status" />
                </meta>
                <status value="final" />
                <code>
                    <coding>
                        <system value="http://loinc.org" />
                        <version value="2.77" />
                        <code value="63895-7" />
                        <display value="Breastfeeding status" />
                    </coding>
                </code>
                <subject>
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <effectiveDateTime value="2022-10-20T08:30:00+01:00" />
                <valueCodeableConcept>
                    <coding>
                        <system value="http://loinc.org" />
                        <version value="2.77" />
                        <code value="LA29252-6" />
                        <display value="Currently breastfeeding" />
                    </coding>
                </valueCodeableConcept>
            </Observation>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:a96932ed-4bce-431b-99e5-b51c9ef155f9" />
        <resource>
            <Observation>
                <id value="a96932ed-4bce-431b-99e5-b51c9ef155f9" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T01:01:01.000+00:00" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-observation-estimated-date-of-delivery" />
                </meta>
                <status value="final" />
                <code>
                    <coding>
                        <system value="http://loinc.org" />
                        <version value="2.77" />
                        <code value="11778-8" />
                        <display value="Delivery date Estimated" />
                    </coding>
                </code>
                <subject>
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <effectiveDateTime value="2022-12-31" />
                <valueDateTime value="2023-08-28" />
            </Observation>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:4ec2db6f-6dc6-4daa-aa56-09f78c991773" />
        <resource>
            <Observation>
                <id value="4ec2db6f-6dc6-4daa-aa56-09f78c991773" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T01:01:01.000+00:00" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-observation-gfr" />
                </meta>
                <status value="final" />
                <code>
                    <coding>
                        <system value="http://loinc.org" />
                        <version value="2.77" />
                        <code value="69405-9" />
                        <display value="Glomerular filtration rate/1.73 sq M.predicted [Volume Rate/Area] in Serum, Plasma or Blood" />
                    </coding>
                </code>
                <subject>
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <effectiveDateTime value="2022-10-07T14:34:00+01:00" />
                <performer>
                    <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                </performer>
                <valueQuantity>
                    <value value="90" />
                    <unit value="milliliter per minute per 1.73 square meter" />
                    <system value="http://unitsofmeasure.org" />
                    <code value="mL/min/{1.73_m2}" />
                </valueQuantity>
            </Observation>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:32668ee0-bf06-42ca-9577-c4abac3ede49" />
        <resource>
            <Observation>
                <id value="32668ee0-bf06-42ca-9577-c4abac3ede49" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T01:01:01.000+00:00" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-observation-pregnancy-status" />
                </meta>
                <status value="final" />
                <code>
                    <coding>
                        <system value="http://loinc.org" />
                        <version value="2.77" />
                        <code value="82810-3" />
                        <display value="Pregnancy status" />
                    </coding>
                </code>
                <subject>
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <effectiveDateTime value="2023-01-01" />
                <valueCodeableConcept>
                    <coding>
                        <system value="http://loinc.org" />
                        <version value="2.77" />
                        <code value="LA26683-5" />
                        <display value="Not pregnant" />
                    </coding>
                </valueCodeableConcept>
                <method>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <version value="http://snomed.info/sct/11000274103/version/20240515" />
                        <code value="167252002" />
                        <display value="Urine pregnancy test (procedure)" />
                    </coding>
                </method>
            </Observation>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32" />
        <resource>
            <List>
                <id value="8ea68634-1b40-4138-b59c-472ae03e3a32" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2025-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-plan-medication-statement-list" />
                </meta>
                <status value="current" />
                <mode value="snapshot" />
                <code>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/list-example-use-codes" />
                        <code value="medications" />
                        <display value="Medication List" />
                    </coding>
                </code>
                <subject>
                    <reference value="urn:uuid:8c2c989e-199a-4ca3-994c-e9ac9e69c7be" />
                    <identifier>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <entry>
                    <item>
                        <reference value="urn:uuid:0c8c5bab-19e7-4549-86a6-5738a2c62087" />
                    </item>
                </entry>
                <entry>
                    <item>
                        <reference value="urn:uuid:f4a5c85f-30f3-474e-9ed5-9464be6f37f8" />
                    </item>
                </entry>
            </List>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:0c8c5bab-19e7-4549-86a6-5738a2c62087" />
        <resource>
            <MedicationStatement>
                <id value="0c8c5bab-19e7-4549-86a6-5738a2c62087" />
                <meta>
                    <versionId value="4" />
                    <lastUpdated value="2025-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement" />
                </meta>
                <status value="active" />
                <medicationReference>
                    <reference value="urn:uuid:23764122-1964-4470-9b75-c112cb5a95d8" />
                </medicationReference>
                <subject>
                    <identifier>
                        <type>
                            <coding>
                                <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" />
                                <code value="KVZ10" />
                                <display value="Krankenversichertennummer" />
                            </coding>
                        </type>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <effectiveDateTime value="2024-01-01" />
            </MedicationStatement>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:23764122-1964-4470-9b75-c112cb5a95d8" />
        <resource>
            <Medication>
                <id value="23764122-1964-4470-9b75-c112cb5a95d8" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T01:01:01.000+00:00" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" />
                </meta>
                <identifier>
                    <system value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier" />
                    <value value="48E951DFE10F5669D3C66D581E5767DE32CFD788C94693E5C78193DB2D3F095B" />
                </identifier>
                <code>
                    <coding>
                        <system value="http://fhir.de/CodeSystem/ifa/pzn" />
                        <code value="03953522" />
                        <display value="Metoprolol-ratiopharm&#174; 100 mg Tabletten" />
                    </coding>
                    <coding>
                        <system value="http://fhir.de/CodeSystem/bfarm/atc" />
                        <version value="2022" />
                        <code value="C07AB02" />
                        <display value="Metoprolol" />
                    </coding>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <version value="http://snomed.info/sct/11000274103/version/20240515" />
                        <code value="7092007" />
                        <display value="Product containing metoprolol (medicinal product)" />
                    </coding>
                </code>
                <form>
                    <coding>
                        <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" />
                        <version value="1.10" />
                        <code value="TAB" />
                        <display value="Tabletten" />
                    </coding>
                    <coding>
                        <system value="http://standardterms.edqm.eu" />
                        <code value="12200" />
                        <display value="Tablet" />
                    </coding>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <version value="http://snomed.info/sct/11000274103/version/20240515" />
                        <code value="385055001" />
                        <display value="Tablet (basic dose form)" />
                    </coding>
                </form>
                <amount>
                    <numerator>
                        <value value="100" />
                        <unit value="MilliGram" />
                        <system value="http://unitsofmeasure.org" />
                        <code value="mg" />
                    </numerator>
                    <denominator>
                        <value value="1" />
                        <unit value="Tablet" />
                        <system value="http://unitsofmeasure.org" />
                        <code value="{Tablet}" />
                    </denominator>
                </amount>
            </Medication>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:f4a5c85f-30f3-474e-9ed5-9464be6f37f8" />
        <resource>
            <MedicationStatement>
                <id value="f4a5c85f-30f3-474e-9ed5-9464be6f37f8" />
                <meta>
                    <versionId value="2" />
                    <lastUpdated value="2024-12-31T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement" />
                </meta>
                <status value="active" />
                <medicationReference>
                    <reference value="urn:uuid:dbc5f76f-d3d3-4137-9f83-f500286408fe" />
                </medicationReference>
                <subject>
                    <identifier>
                        <type>
                            <coding>
                                <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" />
                                <code value="KVZ10" />
                                <display value="Krankenversichertennummer" />
                            </coding>
                        </type>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <effectiveDateTime value="2024-01-01" />
            </MedicationStatement>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:dbc5f76f-d3d3-4137-9f83-f500286408fe" />
        <resource>
            <Medication>
                <id value="dbc5f76f-d3d3-4137-9f83-f500286408fe" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T01:01:01.000+00:00" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" />
                </meta>
                <identifier>
                    <system value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier" />
                    <value value="B849184C973EA5FA7D9751E6FAA6AFCFFD100183596239F84DD2C0DB4C751D67" />
                </identifier>
                <code>
                    <coding>
                        <system value="http://fhir.de/CodeSystem/ifa/pzn" />
                        <code value="10019621" />
                        <display value="IBU-ratiopharm 400mg akut Schmerztabletten" />
                    </coding>
                    <coding>
                        <system value="http://fhir.de/CodeSystem/bfarm/atc" />
                        <version value="2022" />
                        <code value="M01AE01" />
                        <display value="Ibuprofen" />
                    </coding>
                </code>
                <form>
                    <coding>
                        <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" />
                        <version value="1.10" />
                        <code value="TAB" />
                        <display value="Tabletten" />
                    </coding>
                    <coding>
                        <system value="http://standardterms.edqm.eu" />
                        <code value="12200" />
                        <display value="Tablet" />
                    </coding>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <version value="http://snomed.info/sct/11000274103/version/20240515" />
                        <code value="385055001" />
                        <display value="Tablet (basic dose form)" />
                    </coding>
                </form>
                <amount>
                    <numerator>
                        <value value="50" />
                        <unit value="Tablet" />
                        <system value="http://unitsofmeasure.org" />
                        <code value="{Tablet}" />
                    </numerator>
                    <denominator>
                        <value value="1" />
                        <unit value="Package" />
                        <system value="http://unitsofmeasure.org" />
                        <code value="{Package}" />
                    </denominator>
                </amount>
                <ingredient>
                    <itemCodeableConcept>
                        <coding>
                            <system value="http://snomed.info/sct" />
                            <version value="http://snomed.info/sct/11000274103/version/20240515" />
                            <code value="387207008" />
                            <display value="Ibuprofen (substance)" />
                        </coding>
                    </itemCodeableConcept>
                    <strength>
                        <numerator>
                            <value value="400" />
                            <unit value="MilliGram" />
                            <system value="http://unitsofmeasure.org" />
                            <code value="mg" />
                        </numerator>
                        <denominator>
                            <value value="1" />
                            <unit value="Tablet" />
                            <system value="http://unitsofmeasure.org" />
                            <code value="{Tablet}" />
                        </denominator>
                    </strength>
                </ingredient>
            </Medication>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:9952f82d-e291-4e9d-854d-757feafc31bc" />
        <resource>
            <Observation>
                <id value="9952f82d-e291-4e9d-854d-757feafc31bc" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-observation-medication-management-note" />
                </meta>
                <status value="final" />
                <code>
                    <coding>
                        <system value="http://loinc.org" />
                        <version value="2.77" />
                        <code value="70006-2" />
                        <display value="Medication management note" />
                    </coding>
                </code>
                <subject>
                    <identifier>
                        <type>
                            <coding>
                                <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" />
                                <code value="KVZ10" />
                                <display value="Krankenversichertennummer" />
                            </coding>
                        </type>
                        <system value="http://fhir.de/sid/gkv/kvid-10" />
                        <value value="X110411319" />
                    </identifier>
                </subject>
                <effectiveDateTime value="2024-01-01" />
                <performer>
                    <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                </performer>
                <valueString value="Test note" />
            </Observation>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:f5fe411d-5527-4053-9474-2eca3cc66875" />
        <resource>
            <Provenance>
                <id value="f5fe411d-5527-4053-9474-2eca3cc66875" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:cc742dfa-2ef4-4349-9436-235abe5959f5" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="UPDATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:cd51e190-a6bf-44d6-bd33-b4fc9538b597" />
        <resource>
            <Provenance>
                <id value="cd51e190-a6bf-44d6-bd33-b4fc9538b597" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:44d7b955-821c-4d71-96e5-09bab8389023" />
        <resource>
            <Provenance>
                <id value="44d7b955-821c-4d71-96e5-09bab8389023" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:c4914762-59bb-451f-943b-98cd4f3a3d97" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:b2297a08-0367-456f-994c-2b4cf58c7c90" />
        <resource>
            <Provenance>
                <id value="b2297a08-0367-456f-994c-2b4cf58c7c90" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="UPDATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:da898b81-6562-4c7c-be77-400e08d401c7" />
        <resource>
            <Provenance>
                <id value="da898b81-6562-4c7c-be77-400e08d401c7" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:e609f19f-6de1-4fd5-acb1-b433733ca130" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:8af54e21-6640-459d-aed8-c853556aeb03" />
        <resource>
            <Provenance>
                <id value="8af54e21-6640-459d-aed8-c853556aeb03" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:a96932ed-4bce-431b-99e5-b51c9ef155f9" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:75ff6b03-d591-4ce7-9407-f9c0d6ad7af8" />
        <resource>
            <Provenance>
                <id value="75ff6b03-d591-4ce7-9407-f9c0d6ad7af8" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:4ec2db6f-6dc6-4daa-aa56-09f78c991773" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:a6da1a0b-4bd9-4acc-a690-18ad1b7cc08b" />
        <resource>
            <Provenance>
                <id value="a6da1a0b-4bd9-4acc-a690-18ad1b7cc08b" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:32668ee0-bf06-42ca-9577-c4abac3ede49" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:b64c7554-b8c6-44c7-8d20-66f0b1468b4c" />
        <resource>
            <Provenance>
                <id value="b64c7554-b8c6-44c7-8d20-66f0b1468b4c" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:fdb213d9-cd2b-4450-beff-9b88f3fe5475" />
        <resource>
            <Provenance>
                <id value="fdb213d9-cd2b-4450-beff-9b88f3fe5475" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:0c8c5bab-19e7-4549-86a6-5738a2c62087" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="UPDATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:af51c16c-beb1-42ae-932b-a2799bb6e52a" />
        <resource>
            <Provenance>
                <id value="af51c16c-beb1-42ae-932b-a2799bb6e52a" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:23764122-1964-4470-9b75-c112cb5a95d8" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="UPDATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:56ff3154-5890-47c9-af94-f21efe2c4ef2" />
        <resource>
            <Provenance>
                <id value="56ff3154-5890-47c9-af94-f21efe2c4ef2" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:f4a5c85f-30f3-474e-9ed5-9464be6f37f8" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="UPDATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:9e628e09-d33d-4c83-88d6-7bb5b6cf74c0" />
        <resource>
            <Provenance>
                <id value="9e628e09-d33d-4c83-88d6-7bb5b6cf74c0" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:dbc5f76f-d3d3-4137-9f83-f500286408fe" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="UPDATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:50ae0f2b-f8a3-4d5c-8aa8-7324449322de" />
        <resource>
            <Provenance>
                <id value="50ae0f2b-f8a3-4d5c-8aa8-7324449322de" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:9952f82d-e291-4e9d-854d-757feafc31bc" />
                </target>
                <recorded value="2024-01-01T00:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                        <code value="CREATE" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="enterer" />
                            <display value="Enterer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="performer" />
                            <display value="Performer" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:11921a87-d305-4485-9bdd-ade2ce4e4f18" />
        <resource>
            <Provenance>
                <id value="11921a87-d305-4485-9bdd-ade2ce4e4f18" />
                <meta>
                    <versionId value="1" />
                    <lastUpdated value="2024-01-01T00:00:00Z" />
                    <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-provenance" />
                </meta>
                <target>
                    <reference value="urn:uuid:cc742dfa-2ef4-4349-9436-235abe5959f5" />
                </target>
                <target>
                    <reference value="urn:uuid:49f68cc5-c476-4a6d-a366-d8438ef36a2e" />
                </target>
                <target>
                    <reference value="urn:uuid:43f0aa30-8b81-458d-9936-e7cf3e15ed3d" />
                </target>
                <target>
                    <reference value="urn:uuid:8ea68634-1b40-4138-b59c-472ae03e3a32" />
                </target>
                <recorded value="2025-08-13T13:00:00Z" />
                <activity>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
                        <code value="VRF" />
                    </coding>
                </activity>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="verifier" />
                            <display value="Verifier" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:498c345f-31f5-4da6-9f04-00fa2bc8af7c" />
                    </who>
                </agent>
                <agent>
                    <type>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                            <version value="4.0.1" />
                            <code value="verifier" />
                            <display value="Verifier" />
                        </coding>
                    </type>
                    <who>
                        <reference value="urn:uuid:ad7dc0e7-cb44-4740-ba67-cb573e29d596" />
                    </who>
                </agent>
            </Provenance>
        </resource>
    </entry>
</Bundle>

Antwort-Status-Codes

Status Code Bedingung Error Code Bemerkung
200 Successful operation EPA OperationOutcome
400 Invalid request EPA OperationOutcome
403 Requestor role is not in the list of allowed user groups invalidOid
403 Requestor is not entitled notEntitled
403 ID-Token or Insurant-ID mismatch EPA OperationOutcome
404 Health record is in state UNKNOWN or INITIALIZED noHealthRecord (siehe 'Wiederholungsintervalle')
409 Health record is in state SUSPENDED statusMismatch (siehe 'Wiederholungsintervalle')
423 If the insurant objected to the medication process or objected to the submission of prescription and dispensation data into the ePA system, the Medication Service is locked. locked
500 Any other error internalError (siehe 'Wiederholungsintervalle')

Serviceübergreifende Error Codes ohne Verweis auf EPA OperationOutcome MÜSSEN mit dem entsprechenden HTTP Status Code vom Medication Service mit dem Media Type application/json nach folgendem Schema zurückgegeben werden:

{
  "errorCode": "statusMismatch"
}

Medikationsplan Version abrufen

HEAD [base]/epa/medication/api/v1/fhir/$medication-plan

OperationId: getMedicationPlanMetadata_MedicationSvc

Um nur die Version und das lastUpdated-Datum des Medikationsplans abzurufen, muss der Client eine HEAD-HTTP-Methode auf die Operation $medication-plan ausführen. Der Client erhält dann eine Antwort ohne Body und muss die benötigten Daten aus dem HTTP-Header auslesen.

  • Die Version des Medikationsplans befindet sich im ETag-Header und ist im Format W/"[Version]", zum Beispiel W/"3".
  • Den Wert für lastUpdated muss der Client aus dem Last-Modified-Header auslesen.

Der Medication Service der ePA MUSS diese Funktion bereitstellen.