Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## : Provide Dispensation eRP - JSON Representation

Active as of 2025-02-28

Raw json | Download

    {
      "resourceType" : "OperationDefinition",
      "id" : "provide-dispensation-erp-OP",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition provide-dispensation-erp-OP</b></p><a name=\"provide-dispensation-erp-OP\"> </a><a name=\"hcprovide-dispensation-erp-OP\"> </a><a name=\"provide-dispensation-erp-OP-de-DE\"> </a><p>URL: [base]/$provide-dispensation-erp</p><p>Input parameters Profile:<a href=\"StructureDefinition-epa-op-provide-dispensation-erp-input-parameters.html\">EPA Operation ProvideDispensation ERP Input-Parameters</a></p><p>Output parameters Profile:<a href=\"StructureDefinition-epa-op-rx-dispensation-erp-output-parameters.html\">EPA Operation RxDispensation 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>rxDispensation</td><td/><td>1..*</td><td></td><td/><td/></tr><tr><td>IN</td><td>rxDispensation.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>rxDispensation.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>rxDispensation.medicationDispense</td><td/><td>1..*</td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html\">MedicationDispense</a></td><td/><td/></tr><tr><td>IN</td><td>rxDispensation.medication</td><td/><td>1..*</td><td><a href=\"http://hl7.org/fhir/R4/medication.html\">Medication</a> (<a href=\"StructureDefinition-epa-medication.html\" title=\"https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication\">EPA Medication</a>)</td><td/><td/></tr><tr><td>IN</td><td>rxDispensation.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>OUT</td><td>rxDispensation</td><td/><td>1..*</td><td></td><td/><td/></tr><tr><td>OUT</td><td>rxDispensation.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>rxDispensation.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>rxDispensation.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>"
      },
      "url" : "https://gematik.de/fhir/epa-medication/OperationDefinition/provide-dispensation-erp-OP",
      "version" : "1.0.5-1",
      "name" : "provideDispensation_MedicationSvc",
      "title" : "Provide Dispensation eRP",
      "status" : "active",
      "kind" : "operation",
      "date" : "2025-02-28",
      "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 Dispensation eRP operation in the ePA Medication Service is used to record information about the dispensing of medications based on an electronic prescription in the patient's record. This operation comes into play when a patient receives their medication from a pharmacy. It documents that the medication has been dispensed as per the prescription, including details like the quantity, date of dispensing, and pharmacy information. This helps maintain a comprehensive overview of the patient's medication history.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "DE"
            }
          ]
        }
      ],
      "code" : "provide-dispensation-erp",
      "system" : true,
      "type" : false,
      "instance" : false,
      "inputProfile" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters",
      "outputProfile" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-dispensation-erp-output-parameters",
      "parameter" : [
        {
          "name" : "rxDispensation",
          "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" : "medicationDispense",
              "use" : "in",
              "min" : 1,
              "max" : "*",
              "type" : "MedicationDispense"
            },
            {
              "name" : "medication",
              "use" : "in",
              "min" : 1,
              "max" : "*",
              "type" : "Medication",
              "targetProfile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"
              ]
            },
            {
              "name" : "organization",
              "use" : "in",
              "min" : 1,
              "max" : "1",
              "type" : "Organization",
              "targetProfile" : [
                🔗 "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"
              ]
            }
          ]
        },
        {
          "name" : "rxDispensation",
          "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",
              "targetProfile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-ms-operation-outcome"
              ]
            }
          ]
        }
      ]
    }