Implementation Guide
ePA Medication Service
Version 1.3.5 - release

: ExampleSearchsetBundleEPAMedicationStatement - TTL Representation

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/Bundle/example-searchset-medicationstatement> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-searchset-medicationstatement"] ;
  fhir:Bundle.type [ fhir:value "searchset"] ;
  fhir:Bundle.total [ fhir:value "100"^^xsd:nonNegativeInteger] ;
  fhir:Bundle.link [
     fhir:index 0 ;
     fhir:Bundle.link.relation [ fhir:value "self" ] ;
     fhir:Bundle.link.url [ fhir:value "/epa/medication/api/v1/fhir/MedicationStatement?_offset=20&_count=10" ]
  ], [
     fhir:index 1 ;
     fhir:Bundle.link.relation [ fhir:value "previous" ] ;
     fhir:Bundle.link.url [ fhir:value "/epa/medication/api/v1/fhir/MedicationStatement?_offset=10&_count=10" ]
  ], [
     fhir:index 2 ;
     fhir:Bundle.link.relation [ fhir:value "next" ] ;
     fhir:Bundle.link.url [ fhir:value "/epa/medication/api/v1/fhir/MedicationStatement?_offset=30&_count=10" ]
  ] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e" ] ;
     fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e> ;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7" ] ;
     fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7> ;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08" ] ;
     fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08> ;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d" ] ;
     fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d> ;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]
     ]
  ] .

<http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "b87b0908-7765-4ec0-8662-7d3daff08f6e"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2025-02-27T14:43:33.244Z"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0>
     ]
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
     fhir:Extension.valueIdentifier [
       fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
       fhir:Identifier.value [ fhir:value "160.100.000.000.001.39_20250227" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" ] ;
     fhir:Extension.valueCode [ fhir:value "PRESCRIPTION" ]
  ] ;
  fhir:MedicationStatement.status [ fhir:value "unknown"] ;
  fhir:MedicationStatement.medicationReference [
     fhir:link <http://hl7.org/fhir/Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031> ;
     fhir:Reference.reference [ fhir:value "Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031" ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
       fhir:Identifier.value [ fhir:value "X110411319" ]
     ]
  ] ;
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2025-02-27"^^xsd:date ]
  ] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2025-02-27"^^xsd:date] ;
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa" ]
  ], [
     fhir:index 1 ;
     fhir:link <http://hl7.org/fhir/MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f> ;
     fhir:Reference.reference [ fhir:value "MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f" ]
  ] .

<http://hl7.org/fhir/Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031> a fhir:Medication .

<http://hl7.org/fhir/MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa> a fhir:MedicationRequest .

<http://hl7.org/fhir/MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f> a fhir:MedicationDispense .

<http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "f3988023-2313-4645-bd6b-f9e37cfb6fc7"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2025-05-22T14:43:34.244Z"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0>
     ]
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
     fhir:Extension.valueIdentifier [
       fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
       fhir:Identifier.value [ fhir:value "160.100.000.000.006.24_20250520" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" ] ;
     fhir:Extension.valueCode [ fhir:value "PRESCRIPTION" ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction" ] ;
     fhir:Extension.valueMarkdown [ fhir:value "1-0-1-0 Stück" ]
  ], [
     fhir:index 3 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
       fhir:Extension.valueString [ fhir:value "1.0.1" ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "language" ] ;
       fhir:Extension.valueCode [ fhir:value "de-DE" ]
     ] ;
     fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
  ] ;
  fhir:MedicationStatement.status [ fhir:value "unknown"] ;
  fhir:MedicationStatement.medicationReference [
     fhir:link <http://hl7.org/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> ;
     fhir:Reference.reference [ fhir:value "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd" ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
       fhir:Identifier.value [ fhir:value "X110411319" ]
     ]
  ] ;
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2025-05-22"^^xsd:date ]
  ] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2025-05-22"^^xsd:date] ;
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72" ]
  ], [
     fhir:index 1 ;
     fhir:link <http://hl7.org/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> ;
     fhir:Reference.reference [ fhir:value "MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43" ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.when [
           fhir:value "MORN" ;
           fhir:index 0
         ], [
           fhir:value "EVE" ;
           fhir:index 1
         ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Stück" ] ;
         fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
         fhir:Quantity.code [ fhir:value "1" ]
       ]
     ]
  ] .

<http://hl7.org/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> a fhir:Medication .

<http://hl7.org/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> a fhir:MedicationRequest .

<http://hl7.org/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> a fhir:MedicationDispense .

<http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "1b88713c-64cc-40ad-9665-70ca5f7dfb08"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2025-11-27T14:43:42.244Z"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0>
     ]
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
     fhir:Extension.valueIdentifier [
       fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
       fhir:Identifier.value [ fhir:value "160.100.000.000.002.36_20251127" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" ] ;
     fhir:Extension.valueCode [ fhir:value "PRESCRIPTION" ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction" ] ;
     fhir:Extension.valueMarkdown [ fhir:value "2mal tägl. 5ml" ]
  ], [
     fhir:index 3 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
       fhir:Extension.valueString [ fhir:value "1.0.1" ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "language" ] ;
       fhir:Extension.valueCode [ fhir:value "de-DE" ]
     ] ;
     fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
  ] ;
  fhir:MedicationStatement.status [ fhir:value "unknown"] ;
  fhir:MedicationStatement.medicationReference [
     fhir:link <http://hl7.org/fhir/Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e> ;
     fhir:Reference.reference [ fhir:value "Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e" ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
       fhir:Identifier.value [ fhir:value "X110411319" ]
     ]
  ] ;
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2025-11-22"^^xsd:date ]
  ] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2025-11-27"^^xsd:date] ;
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67" ]
  ], [
     fhir:index 1 ;
     fhir:link <http://hl7.org/fhir/MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8> ;
     fhir:Reference.reference [ fhir:value "MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8" ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "2mal tägl. 5ml" ]
  ] .

<http://hl7.org/fhir/Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e> a fhir:Medication .

<http://hl7.org/fhir/MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67> a fhir:MedicationRequest .

<http://hl7.org/fhir/MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8> a fhir:MedicationDispense .

<http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "0fc1f006-5793-4501-81b6-fe3918fcfa2d"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2025-12-03T14:00:00.244Z"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0>
     ]
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
     fhir:Extension.valueIdentifier [
       fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
       fhir:Identifier.value [ fhir:value "160.100.000.000.019.82_20251202" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" ] ;
     fhir:Extension.valueCode [ fhir:value "PRESCRIPTION" ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction" ] ;
     fhir:Extension.valueMarkdown [ fhir:value "1-0-0-0 Stück" ]
  ], [
     fhir:index 3 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
       fhir:Extension.valueString [ fhir:value "1.0.1" ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "language" ] ;
       fhir:Extension.valueCode [ fhir:value "de-DE" ]
     ] ;
     fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
  ] ;
  fhir:MedicationStatement.status [ fhir:value "unknown"] ;
  fhir:MedicationStatement.medicationReference [
     fhir:link <http://hl7.org/fhir/Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b> ;
     fhir:Reference.reference [ fhir:value "Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b" ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
       fhir:Identifier.value [ fhir:value "X110411319" ]
     ]
  ] ;
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2025-12-03"^^xsd:date ]
  ] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2025-12-02"^^xsd:date] ;
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd" ]
  ], [
     fhir:index 1 ;
     fhir:link <http://hl7.org/fhir/MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad> ;
     fhir:Reference.reference [ fhir:value "MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad" ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.when [
           fhir:value "MORN" ;
           fhir:index 0
         ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Stück" ] ;
         fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
         fhir:Quantity.code [ fhir:value "1" ]
       ]
     ]
  ] .

<http://hl7.org/fhir/Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b> a fhir:Medication .

<http://hl7.org/fhir/MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd> a fhir:MedicationRequest .

<http://hl7.org/fhir/MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad> a fhir:MedicationDispense .

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

<http://hl7.org/fhir/Bundle/example-searchset-medicationstatement.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Bundle/example-searchset-medicationstatement.ttl> .