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

: Medication Plan Chronology Log - TTL Representation

Draft as of 2025-08-01

Raw ttl | Download


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

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

 a fhir:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medication-plan-log-op"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition medication-plan-log-op</b></p><a name=\"medication-plan-log-op\"> </a><a name=\"hcmedication-plan-log-op\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://gematik.de/fhir/ti/1.1.1-ballot.1/StructureDefinition-ti-operationdefinition.html\">OperationDefinition Profil für TI FHIR Data Service</a></p></div><p>URL: [base]/$$medication-plan-log</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>_count</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Limit the result bundle to this many entries. To get more entries request the next page.</p>\n</div></td></tr><tr><td>IN</td><td>_offset</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Defines the offset of the first entry in the collection.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>Searchset bundle containing the requested entities.</p>\n</div></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://gematik.de/fhir/ti/StructureDefinition/extension-http-method"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "GET"     ]
  ] ) ; # 
  fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/OperationDefinition/medication-plan-log-op"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.2.0-ballot.1"] ; # 
  fhir:name [ fhir:v "getMedicationPlanChronologyLog_MedicationSvc"] ; # 
  fhir:title [ fhir:v "Medication Plan Chronology Log"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2025-08-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "gematik GmbH"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "gematik GmbH" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.gematik.de" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "patientteam [ at ] gematik.de" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Diese Operation liefert die chronologische Historie aller gespeicherten Versionen des elektronischen Medikationsplans (eMP) in Form von Provenance-Ressourcen. Jede Provenance-Instanz beschreibt dabei einen dokumentierten Zustand des eMP zu einem bestimmten Zeitpunkt. Die Operation ermöglicht es, gezielt die Versionshistorie des Medikationsplans abzufragen - etwa um Änderungen nachzuvollziehen oder frühere Zustände einzusehen."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DE" ]     ] )
  ] ) ; # 
  fhir:affectsState [ fhir:v false] ; # 
  fhir:code [ fhir:v "medication-plan-log"] ; # 
  fhir:system [ fhir:v true] ; # 
  fhir:type [ fhir:v false] ; # 
  fhir:instance [ fhir:v false] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "_count" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Limit the result bundle to this many entries. To get more entries request the next page." ] ;
fhir:type [ fhir:v "integer" ]
  ] [
fhir:name [ fhir:v "_offset" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Defines the offset of the first entry in the collection." ] ;
fhir:type [ fhir:v "integer" ]
  ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Searchset bundle containing the requested entities." ] ;
fhir:type [ fhir:v "Bundle" ]
  ] ) . #