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

: Provide Prescription eRP - JSON Representation

Draft as of 2025-02-14

Raw json | Download

{
  "resourceType" : "OperationDefinition",
  "id" : "provide-prescription-erp-OP",
  "text" : {
    "status" : "generated",
    "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-en-US\"> </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></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></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></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></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></td><td/><td/></tr></table></div>"
  },
  "url" : "https://gematik.de/fhir/epa-medication/OperationDefinition/provide-prescription-erp-OP",
  "version" : "1.0.5-ballot.1",
  "name" : "Provide Prescription eRP",
  "title" : "Provide Prescription eRP",
  "status" : "draft",
  "kind" : "operation",
  "date" : "2025-02-14",
  "publisher" : "gematik GmbH",
  "contact" : [
    {
      "name" : "gematik GmbH",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.gematik.de"
        },
        {
          "system" : "email",
          "value" : "patientteam [ at ] gematik.de"
        }
      ]
    }
  ],
  "description" : "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.",
  "code" : "provide-prescription-erp",
  "system" : true,
  "type" : false,
  "instance" : false,
  "inputProfile" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters",
  "outputProfile" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-prescription-erp-output-parameters",
  "parameter" : [
    {
      "name" : "rxPrescription",
      "use" : "in",
      "min" : 1,
      "max" : "*",
      "part" : [
        {
          "name" : "prescriptionId",
          "use" : "in",
          "min" : 1,
          "max" : "1",
          "type" : "Identifier"
        },
        {
          "name" : "authoredOn",
          "use" : "in",
          "min" : 1,
          "max" : "1",
          "type" : "date"
        },
        {
          "name" : "medicationRequest",
          "use" : "in",
          "min" : 1,
          "max" : "1",
          "type" : "MedicationRequest"
        },
        {
          "name" : "medication",
          "use" : "in",
          "min" : 1,
          "max" : "1",
          "type" : "Medication"
        },
        {
          "name" : "organization",
          "use" : "in",
          "min" : 1,
          "max" : "1",
          "type" : "Organization"
        },
        {
          "name" : "practitioner",
          "use" : "in",
          "min" : 1,
          "max" : "1",
          "type" : "Practitioner"
        }
      ]
    },
    {
      "name" : "rxPrescription",
      "use" : "out",
      "min" : 1,
      "max" : "*",
      "part" : [
        {
          "name" : "prescriptionId",
          "use" : "out",
          "min" : 1,
          "max" : "1",
          "type" : "Identifier"
        },
        {
          "name" : "authoredOn",
          "use" : "out",
          "min" : 1,
          "max" : "1",
          "type" : "date"
        },
        {
          "name" : "operationOutcome",
          "use" : "out",
          "min" : 1,
          "max" : "1",
          "type" : "OperationOutcome"
        }
      ]
    }
  ]
}