PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.nll.r4@1.3.1
    http://electronichealth.se/fhir/OperationDefinition/NLLPrintPrescriptions
{
  "description": "This operation is invoked on a Patient resource to initiate the creation of a pdf report which the patients prescriptions with status 'active' and format electronic.",
  "_filename": "NLLPrintPrescriptions.OperationDefinition.json",
  "package_name": "se.electronichealth.fhir.nll.r4",
  "date": "2022-08-31",
  "system": false,
  "publisher": "Swedish eHealth Agency",
  "instance": true,
  "purpose": "Create a pdf report with the patient's active prescriptions.",
  "name": "NLLPrintPrescriptions",
  "type": "false",
  "experimental": null,
  "resourceType": "OperationDefinition",
  "title": "print-prescriptions",
  "package_version": "1.3.1",
  "status": "active",
  "id": "4bfad309-d57b-4317-a182-bb1a4d0a9b67",
  "resource": [ "Patient" ],
  "affectsState": false,
  "kind": "operation",
  "comment": "Can be invoked using HTTP POST or GET.\nThis operation is invoked on a Patient resource and generates a PDF report containing the patient's prescriptions with status active and on-hold with format electronic.\nNote: The response contains a Binary resource without the format parameter.",
  "url": "http://electronichealth.se/fhir/OperationDefinition/NLLPrintPrescriptions",
  "code": "print-prescriptions",
  "version": "1.1.0",
  "parameter": [ {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "return",
    "type": "Binary",
    "documentation": "The Binary resource containes a Base64 encoded PDF file which includes a list of all prescriptions with status \"active\" and \"on-hold\"."
  }, {
    "max": "1",
    "min": 0,
    "use": "in",
    "name": "sortOrder",
    "type": "code",
    "binding": {
      "strength": "required",
      "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/prescription-sort-orders"
    },
    "documentation": "The prescriptions are sorted by AuthoredOn (sv. utfärdandedatum) by default. Alternatively, the prescriptions can be sorted by either ProductName or SubstanceDescription.\nSubstanceDescription (sv. verksamt ämne) sorts prescriptions using the substance description or, if unavailable, the ATC-description."
  } ]
}