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

## : ExampleSearchsetBundleEPAMedicationDispense - JSON Representation

Raw json | Download

    {
      "resourceType" : "Bundle",
      "id" : "example-searchset-medicationdispense",
      "type" : "searchset",
      "total" : 100,
      "link" : [
        {
          "relation" : "self",
          "url" : "/epa/medication/api/v1/fhir/MedicationDispense?_offset=20&_count=10"
        },
        {
          "relation" : "previous",
          "url" : "/epa/medication/api/v1/fhir/MedicationDispense?_offset=10&_count=10"
        },
        {
          "relation" : "next",
          "url" : "/epa/medication/api/v1/fhir/MedicationDispense?_offset=30&_count=10"
        }
      ],
      "entry" : [
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f",
          "resource" : {
            "resourceType" : "MedicationDispense",
            "id" : "c0b553bd-2542-49d7-b5e1-0a770185e39f",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2025-02-27T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.001.39_20250227"
                }
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "9475102b-7677-4ab8-9449-91b91c6aeaa3_160.100.000.000.001.39"
              }
            ],
            "status" : "completed",
            "medicationReference" : {
              🔗 "reference" : "Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "performer" : [
              {
                "actor" : {
                  🔗 "reference" : "Organization/151f1697-7512-4e21-9466-1b75207475d8",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "version" : "2.9.0",
                          "code" : "PRN",
                          "display" : "Provider number"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000023"
                  },
                  "display" : "gematik Apotheke"
                }
              }
            ],
            "authorizingPrescription" : [
              {
                🔗 "reference" : "MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa"
              }
            ],
            "whenHandedOver" : "2025-02-27",
            "substitution" : {
              "wasSubstituted" : false
            }
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43",
          "resource" : {
            "resourceType" : "MedicationDispense",
            "id" : "4e6e1623-778e-44a3-b208-8479f5339e43",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2025-05-22T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.006.24_20250520"
                }
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd_160.100.000.000.006.24"
              }
            ],
            "status" : "completed",
            "medicationReference" : {
              🔗 "reference" : "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "performer" : [
              {
                "actor" : {
                  🔗 "reference" : "Organization/151f1697-7512-4e21-9466-1b75207475d8",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "version" : "2.9.0",
                          "code" : "PRN",
                          "display" : "Provider number"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000023"
                  },
                  "display" : "gematik Apotheke"
                }
              }
            ],
            "authorizingPrescription" : [
              {
                🔗 "reference" : "MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"
              }
            ],
            "whenHandedOver" : "2025-05-22",
            "substitution" : {
              "wasSubstituted" : false
            }
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8",
          "resource" : {
            "resourceType" : "MedicationDispense",
            "id" : "3c10c1ad-1d7a-47e8-abab-00b8299b49b8",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2025-11-27T14:43:40.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.002.36_20251127"
                }
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "6c94dbcb-e8b0-41cc-b45e-cd00c3495cad_160.100.000.000.002.36"
              }
            ],
            "status" : "completed",
            "medicationReference" : {
              🔗 "reference" : "Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "performer" : [
              {
                "actor" : {
                  🔗 "reference" : "Organization/151f1697-7512-4e21-9466-1b75207475d8",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "version" : "2.9.0",
                          "code" : "PRN",
                          "display" : "Provider number"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000023"
                  },
                  "display" : "gematik Apotheke"
                }
              }
            ],
            "authorizingPrescription" : [
              {
                🔗 "reference" : "MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67"
              }
            ],
            "whenHandedOver" : "2025-02-27",
            "substitution" : {
              "wasSubstituted" : false
            }
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad",
          "resource" : {
            "resourceType" : "MedicationDispense",
            "id" : "5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2025-12-03T14:00:00.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.019.82_20251202"
                }
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "ad9696d3-bc6b-4033-bdd7-14b934dc4426_160.100.000.000.019.82"
              }
            ],
            "status" : "completed",
            "medicationReference" : {
              🔗 "reference" : "Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "performer" : [
              {
                "actor" : {
                  🔗 "reference" : "Organization/151f1697-7512-4e21-9466-1b75207475d8",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "version" : "2.9.0",
                          "code" : "PRN",
                          "display" : "Provider number"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000023"
                  },
                  "display" : "gematik Apotheke"
                }
              }
            ],
            "authorizingPrescription" : [
              {
                🔗 "reference" : "MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd"
              }
            ],
            "whenHandedOver" : "2025-12-03",
            "substitution" : {
              "wasSubstituted" : false
            }
          },
          "search" : {
            "mode" : "match"
          }
        }
      ]
    }