{
  "resourceType" : "OperationDefinition",
  "id" : "MedicationListFi-get-printout-purchase-abroad",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition MedicationListFi-get-printout-purchase-abroad</b></p><a name=\"MedicationListFi-get-printout-purchase-abroad\"> </a><a name=\"hcMedicationListFi-get-printout-purchase-abroad\"> </a><p>URL: [base]/$MedicationListFi-get-printout</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>requestPurpose</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td/><td><div><p>Purpose of requesting medication information. Expressed using a code from the Kanta code system 'urn:oid:1.2.246.537.5.40110.2006' (Sähköinen lääkemääräys - Reseptikyselyn syy). Provide both the system and the code.</p>\n</div></td></tr><tr><td>IN</td><td>serviceEventId</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td/><td><div><p>Identifier of a service event, if request is done from a open service event.</p>\n</div></td></tr><tr><td>IN</td><td>setId</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td/><td><div><p>Identifier of a prescription document.</p>\n</div></td></tr><tr><td>IN</td><td>language</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Language of the transcript. The options are Finnish/English and Swedish/English. The default language is Finnish.</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/documentreference.html\">DocumentReference</a></td><td/><td><div><p>PDF</p>\n</div></td></tr></table></div>"
  },
  "url" : "https://eradocumentation.atostek.com/OperationDefinition/MedicationListFi-get-printout-purchase-abroad",
  "version" : "1.0.0",
  "name" : "MedicationListFi-Get-Printout-Purchase-Abroad",
  "title" : "MedicationListFI Get Printout - Transcript for Purchase Abroad",
  "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 returns a DocumentReference resource that contains the base64 encoded PDF printout in its Attachment element. The contents of the printout can be limited if the patient has restricted the sharing of their personal health information.",
  "code" : "MedicationListFi-get-printout",
  "system" : true,
  "type" : false,
  "instance" : false,
  "parameter" : [{
    "name" : "requestPurpose",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "Purpose of requesting medication information. Expressed using a code from the Kanta code system 'urn:oid:1.2.246.537.5.40110.2006' (Sähköinen lääkemääräys - Reseptikyselyn syy). Provide both the system and the code.",
    "type" : "Coding"
  },
  {
    "name" : "serviceEventId",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "Identifier of a service event, if request is done from a open service event.",
    "type" : "Identifier"
  },
  {
    "name" : "setId",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "Identifier of a prescription document.",
    "type" : "Identifier"
  },
  {
    "name" : "language",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "Language of the transcript. The options are Finnish/English and Swedish/English. The default language is Finnish.",
    "type" : "string"
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "PDF",
    "type" : "DocumentReference"
  }]
}