Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## : eMP Commit Operation - 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/OperationDefinition/emp-commit-op> a fhir:OperationDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "emp-commit-op"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition>
         ]
      ] ;
      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: OperationDefinition emp-commit-op</b></p><a name=\"emp-commit-op\"> </a><a name=\"hcemp-commit-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://simplifier.net/resolve?scope=de.gematik.ti@1.3.1&amp;canonical=https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition\">OperationDefinition Profil für TI FHIR Data Service</a></p></div><p>URL: [base]/$emp-commit</p><p>Input parameters Profile:<a href=\"StructureDefinition-epa-op-emp-commit-input-parameters.html\">EPA eMP Commit Operation Input-Parameters</a></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>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/provenance.html\">Provenance</a></td><td/><td/></tr></table></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-method" ] ;
         fhir:Extension.valueCode [ fhir:value "POST" ]
      ] ;
      fhir:OperationDefinition.url [ fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/emp-commit-op"] ;
      fhir:OperationDefinition.version [ fhir:value "1.3.2"] ;
      fhir:OperationDefinition.name [ fhir:value "eMPCommit_MedicationSvc"] ;
      fhir:OperationDefinition.title [ fhir:value "eMP Commit Operation"] ;
      fhir:OperationDefinition.status [ fhir:value "active"] ;
      fhir:OperationDefinition.kind [ fhir:value "operation"] ;
      fhir:OperationDefinition.date [ fhir:value "2026-03-20"^^xsd:date] ;
      fhir:OperationDefinition.publisher [ fhir:value "gematik GmbH"] ;
      fhir:OperationDefinition.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:OperationDefinition.description [ fhir:value "Die eMP Commit Operation dient zum Abschluss einer Batch-Verarbeitung von eMP-Einträgen.  \nSie erzeugt eine neue Version des elektronischen Medikationsplans (eMP), indem eine aktualisierte  \nInstanz von EMPChronologyProvenance erstellt wird, die auf alle relevanten EMPMedicationRequest  \nverweist. Diese Operation wird in der Regel nur einmal am Ende eines Batch-Kontextes aufgerufen."] ;
      fhir:OperationDefinition.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:OperationDefinition.affectsState [ fhir:value "true"^^xsd:boolean] ;
      fhir:OperationDefinition.code [ fhir:value "emp-commit"] ;
      fhir:OperationDefinition.system [ fhir:value "true"^^xsd:boolean] ;
      fhir:OperationDefinition.type [ fhir:value "false"^^xsd:boolean] ;
      fhir:OperationDefinition.instance [ fhir:value "false"^^xsd:boolean] ;
      fhir:OperationDefinition.inputProfile [
         fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-emp-commit-input-parameters" ;
         fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-emp-commit-input-parameters>
      ] ;
      fhir:OperationDefinition.parameter [
         fhir:index 0 ;
         fhir:OperationDefinition.parameter.name [ fhir:value "return" ] ;
         fhir:OperationDefinition.parameter.use [ fhir:value "out" ] ;
         fhir:OperationDefinition.parameter.min [ fhir:value "1"^^xsd:integer ] ;
         fhir:OperationDefinition.parameter.max [ fhir:value "1" ] ;
         fhir:OperationDefinition.parameter.type [ fhir:value "Provenance" ]
      ] .

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

    <http://hl7.org/fhir/OperationDefinition/emp-commit-op.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/OperationDefinition/emp-commit-op.ttl> .