Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## : BasedOnEMPSP - TTL Representation

Active as of 2026-03-20

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

    <http://hl7.org/fhir/SearchParameter/based-on-emp-sp> a fhir:SearchParameter ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "based-on-emp-sp"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.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>"
      ] ;
      fhir:SearchParameter.url [ fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/based-on-emp-sp"] ;
      fhir:SearchParameter.version [ fhir:value "1.3.2"] ;
      fhir:SearchParameter.name [ fhir:value "IsEMPSP"] ;
      fhir:SearchParameter.status [ fhir:value "active"] ;
      fhir:SearchParameter.date [ fhir:value "2026-03-20"^^xsd:date] ;
      fhir:SearchParameter.publisher [ fhir:value "gematik GmbH"] ;
      fhir:SearchParameter.contact [
         fhir:index 0 ;
         fhir:ContactDetail.name [ fhir:value "gematik GmbH" ] ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "https://www.gematik.de" ]
         ], [
           fhir:index 1 ;
           fhir:ContactPoint.system [ fhir:value "email" ] ;
           fhir:ContactPoint.value [ fhir:value "patientteam [ at ] gematik.de" ]
         ]
      ] ;
      fhir:SearchParameter.description [ fhir:value "Liefert alle Referencen, die einen eMP bezug haben"] ;
      fhir:SearchParameter.jurisdiction [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
           fhir:Coding.code [ fhir:value "DE" ]
         ]
      ] ;
      fhir:SearchParameter.code [ fhir:value "based-on-emp"] ;
      fhir:SearchParameter.base [
         fhir:value "MedicationStatement" ;
         fhir:index 0
      ] ;
      fhir:SearchParameter.type [ fhir:value "reference"] ;
      fhir:SearchParameter.expression [ fhir:value "Resource.basedOn.where(extension('https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension').value = true)"] ;
      fhir:SearchParameter.target [
         fhir:value "MedicationRequest" ;
         fhir:index 0
      ] ;
      fhir:SearchParameter.multipleOr [ fhir:value "false"^^xsd:boolean] ;
      fhir:SearchParameter.multipleAnd [ fhir:value "false"^^xsd:boolean] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/SearchParameter/based-on-emp-sp.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/SearchParameter/based-on-emp-sp.ttl> .