{ "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": "poc.bonsai.current.rc", "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.2.0-rc1", "status": "active", "id": "389f879e-dbf9-404a-a53e-228918690223", "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." } ] }