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

## : ExampleEpaOpProvideDispensationERPInputParametersInProgress - JSON Representation

Raw json | Download

    {
      "resourceType" : "Parameters",
      "id" : "example-epa-op-provide-dispensation-erp-input-parameters-3",
      "meta" : {
        "profile" : [
          🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters"
        ]
      },
      "parameter" : [
        {
          "name" : "rxDispensation",
          "part" : [
            {
              "name" : "prescriptionId",
              "valueIdentifier" : {
                "system" : "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
                "value" : "160.100.000.000.006.24"
              }
            },
            {
              "name" : "authoredOn",
              "valueDate" : "2025-05-20"
            },
            {
              "name" : "medicationDispense",
              "resource" : {
                "resourceType" : "MedicationDispense",
                "id" : "5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd",
                "meta" : {
                  "profile" : [
                    🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
                  ]
                },
                "status" : "completed",
                "medicationReference" : {
                  "reference" : "Medication/ec4d55a0-dec1-46b7-96cc-096845b74c4b"
                },
                "subject" : {
                  "identifier" : {
                    "system" : "http://fhir.de/sid/gkv/kvid-10",
                    "value" : "X110411319"
                  }
                },
                "performer" : [
                  {
                    "actor" : {
                      "reference" : "Organization/ccc03731-4c38-4b48-bd41-583766b796c6",
                      "identifier" : {
                        "type" : {
                          "coding" : [
                            {
                              "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                              "version" : "2.9.0",
                              "code" : "PRN",
                              "display" : "Provider number"
                            }
                          ]
                        },
                        "system" : "https://gematik.de/fhir/sid/telematik-id",
                        "value" : "9-2.58.00000023"
                      },
                      "display" : "gematik Apotheke"
                    }
                  }
                ],
                "whenHandedOver" : "2025-05-22",
                "substitution" : {
                  "wasSubstituted" : false
                }
              }
            },
            {
              "name" : "medication",
              "resource" : {
                "resourceType" : "Medication",
                "id" : "ec4d55a0-dec1-46b7-96cc-096845b74c4b",
                "meta" : {
                  "profile" : [
                    🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"
                  ]
                },
                "extension" : [
                  {
                    "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
                    "valueCoding" : {
                      "system" : "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
                      "code" : "00"
                    }
                  },
                  {
                    "url" : "http://fhir.de/StructureDefinition/normgroesse",
                    "valueCode" : "N1"
                  },
                  {
                    "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
                    "valueBoolean" : false
                  }
                ],
                "code" : {
                  "coding" : [
                    {
                      "system" : "http://fhir.de/CodeSystem/ifa/pzn",
                      "code" : "00814665"
                    }
                  ],
                  "text" : "Januvia® 50 mg 28 Filmtabletten N1"
                },
                "status" : "active",
                "form" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
                      "code" : "FTA",
                      "display" : "Tabletten"
                    }
                  ]
                }
              }
            },
            {
              "name" : "organization",
              "resource" : {
                "resourceType" : "Organization",
                "id" : "ccc03731-4c38-4b48-bd41-583766b796c6",
                "meta" : {
                  "profile" : [
                    🔗 "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"
                  ],
                  "tag" : [
                    {
                      "system" : "https://gematik.de/fhir/directory/CodeSystem/Origin",
                      "code" : "ldap"
                    }
                  ]
                },
                "identifier" : [
                  {
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000023"
                  }
                ],
                "active" : true,
                "type" : [
                  {
                    "coding" : [
                      {
                        "system" : "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
                        "code" : "1.2.276.0.76.4.54",
                        "display" : "Öffentliche Apotheke"
                      }
                    ]
                  }
                ],
                "name" : "gematik Apotheke",
                "alias" : [
                  "Apotheke"
                ],
                "address" : [
                  {
                    "text" : "gematik Apotheke\nFriedrichstr. 136,\n10117 Berlin",
                    "line" : [
                      "Friedrichstr. 136"
                    ],
                    "city" : "Berlin",
                    "district" : "Mitte",
                    "state" : "Berlin",
                    "postalCode" : "10117",
                    "country" : "DE"
                  }
                ],
                "contact" : [
                  {
                    "purpose" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/contactentity-type",
                          "code" : "ADMIN"
                        }
                      ]
                    },
                    "name" : {
                      "text" : "gematik ITSM"
                    },
                    "telecom" : [
                      {
                        "system" : "email",
                        "value" : "betrieb@gematik.de"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "name" : "status",
              "valueCode" : "in-progress"
            }
          ]
        }
      ]
    }