{
  "resourceType" : "Parameters",
  "id" : "example-epa-op-add-eml-entry-input-parameters-1",
  "meta" : {
    "profile" : ["https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-add-eml-entry-input-parameters"]
  },
  "parameter" : [{
    "name" : "medicationStatement",
    "resource" : {
      "resourceType" : "MedicationStatement",
      "id" : "36581a11-806e-4455-a1c9-9173b7d247fd",
      "meta" : {
        "profile" : ["https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"]
      },
      "extension" : [{
        "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension",
        "valueCode" : "MANUAL"
      }],
      "status" : "unknown",
      "medicationReference" : {
        "reference" : "Medication/fe79ff64-42e5-4cf8-a8d1-5ce527323dcc"
      },
      "subject" : {
        "identifier" : {
          "system" : "http://fhir.de/sid/gkv/kvid-10",
          "value" : "X110411319"
        }
      },
      "effectivePeriod" : {
        "start" : "2026-02-10"
      },
      "dosage" : [{
        "extension" : [{
          "extension" : [{
            "url" : "algorithm",
            "valueCoding" : {
              "system" : "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm",
              "version" : "1.0.0",
              "code" : "GematikDosageTextGenerator"
            }
          },
          {
            "url" : "algorithmVersion",
            "valueString" : "1.0.0"
          },
          {
            "url" : "language",
            "valueCode" : "de-DE"
          },
          {
            "url" : "text",
            "valueString" : "2 x täglich: morgens und abends — je 1 Stück"
          }],
          "url" : "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"
        }],
        "timing" : {
          "repeat" : {
            "frequency" : 2,
            "period" : 1,
            "periodUnit" : "d",
            "when" : ["MORN",
            "EVE"]
          }
        },
        "doseAndRate" : [{
          "doseQuantity" : {
            "value" : 1,
            "unit" : "Stück",
            "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT",
            "code" : "1"
          }
        }]
      }]
    }
  },
  {
    "name" : "medication",
    "resource" : {
      "resourceType" : "Medication",
      "id" : "fe79ff64-42e5-4cf8-a8d1-5ce527323dcc",
      "meta" : {
        "profile" : ["https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"]
      },
      "extension" : [{
        "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension",
        "valueCoding" : {
          "system" : "http://snomed.info/sct",
          "code" : "781405001",
          "display" : "Medicinal product package (product)"
        }
      },
      {
        "url" : "http://fhir.de/StructureDefinition/normgroesse",
        "valueCode" : "N1"
      }],
      "code" : {
        "coding" : [{
          "system" : "http://fhir.de/CodeSystem/ifa/pzn",
          "code" : "14170042",
          "display" : "Diclo-ratiopharm® bei Schmerzen und Fieber 25 mg Filmtabletten"
        }],
        "text" : "Diclo-ratiopharm® bei Schmerzen und Fieber 25 mg Filmtabletten"
      },
      "status" : "active",
      "form" : {
        "coding" : [{
          "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
          "code" : "TAB"
        }]
      },
      "amount" : {
        "numerator" : {
          "extension" : [{
            "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension",
            "valueString" : "20 St."
          }],
          "value" : 20,
          "unit" : "St"
        },
        "denominator" : {
          "value" : 1
        }
      }
    }
  }]
}