{
  "resourceType" : "OperationDefinition",
  "id" : "MedicationListFi-generate-dosage-instructions",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition MedicationListFi-generate-dosage-instructions</b></p><a name=\"MedicationListFi-generate-dosage-instructions\"> </a><a name=\"hcMedicationListFi-generate-dosage-instructions\"> </a><p>URL: [base]/$MedicationListFi-generate-dosage-instructions</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>resource</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></td><td/><td><div><p>Prescription information</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Dosage instructions in text format</p>\n</div></td></tr></table></div>"
  },
  "url" : "https://eradocumentation.atostek.com/OperationDefinition/MedicationListFi-generate-dosage-instructions",
  "version" : "1.0.0",
  "name" : "MedicationListFi-Generate-Dosage-Instructions",
  "title" : "MedicationListFI Generate Dosage Instructions",
  "status" : "draft",
  "kind" : "operation",
  "date" : "2026-10-28T11:52:12+00:00",
  "publisher" : "Atostek",
  "contact" : [{
    "name" : "Atostek",
    "telecom" : [{
      "system" : "url",
      "value" : "https://atostek.com/"
    }]
  }],
  "description" : "The operation generates dosage instructions in text format from structured prescription information. Only elements related to dosage instructions are validated and used from the provided resource. The operation doesn't save the results in ERA's database.\n\nThe desired language of the dosage instructions needs to be provided in the language element of the provided resource. The resource should be a MedicationRequest resource that conforms to the MedicationListMedicationRequest profile of Kanta Services.",
  "code" : "MedicationListFi-generate-dosage-instructions",
  "system" : true,
  "type" : false,
  "instance" : false,
  "parameter" : [{
    "name" : "resource",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "Prescription information",
    "type" : "MedicationRequest"
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "Dosage instructions in text format",
    "type" : "string"
  }]
}