Implementation Guide
ePA Medication Service
Version 1.3.0 - release

## : BasedOnEMPSP - JSON Representation

Active as of 2025-12-15

Raw json | Download

    {
      "resourceType" : "SearchParameter",
      "id" : "based-on-emp-sp",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter based-on-emp-sp</b></p><a name=\"based-on-emp-sp\"> </a><a name=\"hcbased-on-emp-sp\"> </a><h2>IsEMPSP</h2><p>Parameter <code>based-on-emp</code>:<code>reference</code></p><div><p>Liefert alle Referencen, die einen eMP bezug haben</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R4/medicationstatement.html\">MedicationStatement</a></td></tr><tr><td>Expression</td><td><code>Resource.basedOn.where(extension('https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension').value = true)</code></td></tr><tr><td>Target Resources</td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: The parameter may only appear once</li><li>multipleOr: The parameter may only have one value (no comma separators)</li></ul></td></tr></table></div>"
      },
      "url" : "https://gematik.de/fhir/epa-medication/SearchParameter/based-on-emp-sp",
      "version" : "1.3.0",
      "name" : "IsEMPSP",
      "status" : "active",
      "date" : "2025-12-15",
      "publisher" : "gematik GmbH",
      "contact" : [
        {
          "name" : "gematik GmbH",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://www.gematik.de"
            },
            {
              "system" : "email",
              "value" : "patientteam [ at ] gematik.de"
            }
          ]
        }
      ],
      "description" : "Liefert alle Referencen, die einen eMP bezug haben",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "DE"
            }
          ]
        }
      ],
      "code" : "based-on-emp",
      "base" : [
        "MedicationStatement"
      ],
      "type" : "reference",
      "expression" : "Resource.basedOn.where(extension('https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension').value = true)",
      "target" : [
        "MedicationRequest"
      ],
      "multipleOr" : false,
      "multipleAnd" : false
    }