Implementation Guide
ePA Medication Service
Version 1.2.0-ballot.2 - draft

## : ExpEPAOpEmlEntryCancelledOutputParameters - JSON Representation

Raw json | Download

    {
      "resourceType" : "Parameters",
      "id" : "example-epa-op-eml-entry-cancelled-output-parameters-1",
      "meta" : {
        "profile" : [
          🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-eml-entry-output-parameters"
        ]
      },
      "parameter" : [
        {
          "name" : "medicationStatement",
          "resource" : {
            "resourceType" : "MedicationStatement",
            "id" : "6e340b90-35cd-4070-bad8-c26704d85d55",
            "meta" : {
              "versionId" : "2",
              "lastUpdated" : "2026-02-23T15:00:00.444Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension",
                "valueCode" : "MANUAL"
              }
            ],
            "status" : "entered-in-error",
            "medicationReference" : {
              🔗 "reference" : "Medication/2571d29b-e213-40ec-b817-a1490718f491"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "effectivePeriod" : {
              "start" : "2026-02-10"
            },
            "dosage" : [
              {
                "extension" : [
                  {
                    "extension" : [
                      {
                        "url" : "algorithm",
                        "valueCoding" : {
                          "system" : "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm",
                          "version" : "1.0.0",
                          "code" : "GematikDosageTextGenerator"
                        }
                      },
                      {
                        "url" : "algorithmVersion",
                        "valueString" : "1.0.0"
                      },
                      {
                        "url" : "language",
                        "valueCode" : "de-DE"
                      },
                      {
                        "url" : "text",
                        "valueString" : "2 x täglich: morgens und abends — je 1 Stück"
                      }
                    ],
                    "url" : "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"
                  }
                ],
                "timing" : {
                  "repeat" : {
                    "frequency" : 2,
                    "period" : 1,
                    "periodUnit" : "d",
                    "when" : [
                      "MORN",
                      "EVE"
                    ]
                  }
                },
                "doseAndRate" : [
                  {
                    "doseQuantity" : {
                      "value" : 1,
                      "unit" : "Stück",
                      "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT",
                      "code" : "1"
                    }
                  }
                ]
              }
            ]
          }
        },
        {
          "name" : "medication",
          "resource" : {
            "resourceType" : "Medication",
            "id" : "16920f85-569e-415b-8b01-476bb018c794",
            "meta" : {
              "versionId" : "2",
              "lastUpdated" : "2026-02-23T15:00:00.500Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension",
                "valueCoding" : {
                  "system" : "http://snomed.info/sct",
                  "code" : "781405001",
                  "display" : "Medicinal product package (product)"
                }
              },
              {
                "url" : "http://fhir.de/StructureDefinition/normgroesse",
                "valueCode" : "N1"
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier",
                "value" : "B849184C973EA5FA7D9751E6FAA6AFCFFD100183596239F84DD2C0FG4C751D67"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://fhir.de/CodeSystem/ifa/pzn",
                  "code" : "14170042",
                  "display" : "Diclo-ratiopharm® bei Schmerzen und Fieber 25 mg Filmtabletten"
                }
              ],
              "text" : "Diclo-ratiopharm® bei Schmerzen und Fieber 25 mg Filmtabletten"
            },
            "status" : "entered-in-error",
            "form" : {
              "coding" : [
                {
                  "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
                  "code" : "TAB"
                }
              ]
            },
            "amount" : {
              "numerator" : {
                "extension" : [
                  {
                    "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension",
                    "valueString" : "20 St."
                  }
                ],
                "value" : 20,
                "unit" : "St"
              },
              "denominator" : {
                "value" : 1
              }
            }
          }
        },
        {
          "name" : "relatedActivity",
          "resource" : {
            "resourceType" : "Provenance",
            "id" : "39475183-3444-4b63-bfed-ae0741f4496b",
            "meta" : {
              "profile" : [
                🔗 "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance"
              ]
            },
            "target" : [
              {
                "reference" : "MedicationStatement/6e340b90-35cd-4070-bad8-c26704d85d55/_history/2"
              }
            ],
            "recorded" : "2026-02-23T15:00:00.550Z",
            "activity" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                  "code" : "UPDATE"
                }
              ]
            },
            "agent" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                      "code" : "author"
                    }
                  ]
                },
                "who" : {
                  🔗 "reference" : "Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "code" : "PRN"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000060"
                  },
                  "display" : "Die Apotheke"
                }
              }
            ]
          }
        }
      ]
    }