{
"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-03-21",
"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.0.1-alpha",
"status": "active",
"id": "2e7c601e-6a36-4469-80e0-300de9d47367",
"resource": [ "Patient" ],
"affectsState": false,
"kind": "operation",
"comment": "Can be invoked with a HTTP POST or GET.\r\nThis 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.\r\nNB! The response containes a Binary resource without the parameter format.",
"url": "http://electronichealth.se/fhir/OperationDefinition/NLLPrintPrescriptions",
"code": "print-prescriptions",
"version": "1.0.0",
"parameter": [ {
"max": "1",
"min": 1,
"use": "out",
"name": "return",
"type": "Binary",
"documentation": "A Base64 encoded PDF file with a patient's active prescriptions (status 'active')."
}, {
"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 on AuthoredOn (sv. utfardandedatum) by default.\r\nAn alternate option is to sort the prescriptions by product name."
} ]
}