Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## : Provide Prescription eRP - TTL Representation

Active as of 2025-02-28

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 "provide-prescription-erp-OP"] ; #
      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 provide-prescription-erp-OP</b></p><a name=\"provide-prescription-erp-OP\"> </a><a name=\"hcprovide-prescription-erp-OP\"> </a><a name=\"provide-prescription-erp-OP-de-DE\"> </a><p>URL: [base]/$provide-prescription-erp</p><p>Input parameters Profile:<a href=\"StructureDefinition-epa-op-provide-prescription-erp-input-parameters.html\">EPA Operation ProvidePrescription ERP Input-Parameters</a></p><p>Output parameters Profile:<a href=\"StructureDefinition-epa-op-rx-prescription-erp-output-parameters.html\">EPA Operation RxPrescription ERP Output-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>IN</td><td>rxPrescription</td><td/><td>1..*</td><td></td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.prescriptionId</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.authoredOn</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.medicationRequest</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a> (<a href=\"StructureDefinition-epa-medication-request.html\" title=\"https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request\">EPA MedicationRequest</a>)</td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.medication</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/medication.html\">Medication</a> (<a href=\"StructureDefinition-epa-medication-dispense.html\" title=\"https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense\">EPA MedicationDispense</a>)</td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.organization</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a> (<a href=\"https://simplifier.net/resolve?scope=de.gematik.fhir.directory@0.11.25&amp;canonical=https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory\" title=\"https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory\">Organization in gematik Directory</a>)</td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.practitioner</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/practitioner.html\">Practitioner</a> (<a href=\"https://simplifier.net/resolve?scope=de.gematik.fhir.directory@0.11.25&amp;canonical=https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory\" title=\"https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory\">Practitioner in gematik Directory</a>)</td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription</td><td/><td>1..*</td><td></td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription.prescriptionId</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription.authoredOn</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription.operationOutcome</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a> (<a href=\"StructureDefinition-epa-ms-operation-outcome.html\" title=\"https://gematik.de/fhir/epa-medication/StructureDefinition/epa-ms-operation-outcome\">EPA Medication Service Operation Outcome</a>)</td><td/><td/></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/OperationDefinition/provide-prescription-erp-OP"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.5-1"] ; #
      fhir:name [ fhir:v "providePrescription_MedicationSvc"] ; #
      fhir:title [ fhir:v "Provide Prescription eRP"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:kind [ fhir:v "operation"] ; #
      fhir:date [ fhir:v "2025-02-28"^^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 "The Provide Prescription eRP operation in the ePA MedicationService is used to add electronic prescriptions to a patient's record. These prescriptions are already made by the E-Rezept-Fachdienst. This operation does not create new patient prescriptions; it just puts the ones made by the E-Rezept-Fachdienst into the patient's ePA, making sure they are stored safely and can be easily accessed."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "DE" ]     ] )
      ] ) ; #
      fhir:code [ fhir:v "provide-prescription-erp"] ; #
      fhir:system [ fhir:v true] ; #
      fhir:type [ fhir:v false] ; #
      fhir:instance [ fhir:v false] ; #
      fhir:inputProfile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters>
      ] ; #
      fhir:outputProfile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-prescription-erp-output-parameters"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-prescription-erp-output-parameters>
      ] ; #
      fhir:parameter ( [
    fhir:name [ fhir:v "rxPrescription" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "*" ] ;
        ( fhir:part [
    fhir:name [ fhir:v "prescriptionId" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Identifier" ]     ] [
    fhir:name [ fhir:v "authoredOn" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "date" ]     ] [
    fhir:name [ fhir:v "medicationRequest" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "MedicationRequest" ] ;
          ( fhir:targetProfile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request>       ] )     ] [
    fhir:name [ fhir:v "medication" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Medication" ] ;
          ( fhir:targetProfile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense>       ] )     ] [
    fhir:name [ fhir:v "organization" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Organization" ] ;
          ( fhir:targetProfile [
    fhir:v "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory>       ] )     ] [
    fhir:name [ fhir:v "practitioner" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Practitioner" ] ;
          ( fhir:targetProfile [
    fhir:v "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory>       ] )     ] )
      ] [
    fhir:name [ fhir:v "rxPrescription" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "*" ] ;
        ( fhir:part [
    fhir:name [ fhir:v "prescriptionId" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Identifier" ]     ] [
    fhir:name [ fhir:v "authoredOn" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "date" ]     ] [
    fhir:name [ fhir:v "operationOutcome" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "OperationOutcome" ] ;
          ( fhir:targetProfile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-ms-operation-outcome"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-ms-operation-outcome>       ] )     ] )
      ] ) . #