{
"description": "VERSION 0.1.9! This operation is invoked on MedicationDispense and MedicationRequest resources to verify them according to the Automatic Format and Constitution Control (sv. Automatiska format- och författningskontroller AFF-kontroller) .",
"_filename": "NLLVerify.OperationDefinition.json",
"package_name": "bonsai.poc.second.test",
"date": "2025-04-28",
"system": true,
"publisher": "Swedish eHealth Agency",
"instance": false,
"name": "NLLVerify",
"type": "true",
"experimental": null,
"resourceType": "OperationDefinition",
"title": "verify",
"package_version": "1.1.1",
"status": "active",
"id": "5392ec7a-d38f-4cac-aaba-5a70c7b5df0c",
"resource": [ "MedicationRequest", "MedicationDispense" ],
"affectsState": false,
"kind": "operation",
"comment": "Must be invoked with a HTTP POST. This operation is used to verify MedicationDispense and MedicationRequest resources. It is also possible to verify a set of MedicationDispenses by using $verify on the service base and providing a Bundle according to NLLDispatch or NLLTransactionBundle.\r\n\r\nNB! It is important that the content of the resource parameter matches the end-point of the request. Verification is mandatory before a dispense is registered. Verifying a prescription is an optional capability that can be utilized if it facilitates development.",
"url": "http://electronichealth.se/fhir/OperationDefinition/NLLVerify",
"code": "verify",
"version": "1.1.3",
"parameter": [ {
"max": "1",
"min": 0,
"use": "in",
"name": "resource",
"type": "MedicationRequest",
"documentation": "The MedicationRequest to be verified.\r\nThis type of verification must be directed to the medication request end-point [base]/MedicationRequest/$verify.",
"targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest" ]
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "resource",
"type": "MedicationDispense",
"documentation": "The MedicationDispense to be verified.\r\nThis type of verification must be directed to the medication dispense end-point [base]/MedicationDispense/$verify.",
"targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationDispense" ]
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "resource",
"type": "MedicationDispense",
"documentation": "The MedicationDispense to be verified.\r\nThis type of verification must be directed to the medication dispense end-point [base]/MedicationDispense/$verify.",
"targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLDispensePaperPrescription" ]
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "resource",
"type": "Bundle",
"documentation": "A Bundle containing the MedicationDispenses to be verified.\r\nThis type of verification must be directed to the service base end-point [base]/$verify.",
"targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLDispatch" ]
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "resource",
"type": "Bundle",
"documentation": "Bundle containing the resources to be verified. NB! Only NLLMedicationDispenses and associated NLLMedicationRequests are allowed. This verification must be directed to the service base end-point [base]/$verify.",
"targetProfile": [ "https://electronichealth.se/fhir/StructureDefinition/NLLTransactionBundle" ]
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "detectedIssues",
"type": "boolean",
"documentation": "Has the value 'true' if any AFF errors or warnings are detected, otherwise 'false'"
}, {
"max": "1",
"min": 0,
"use": "out",
"name": "issues",
"type": "OperationOutcome",
"documentation": "The OperationOutcome resource, shown in the profile NLLOperationOutcome is a collection of error, warning, or information messages.\r\nIf the Automatic Format and Constitution Control (sv. Automatiska format- och författningskontroller AFF-kontroller) returns any errors or warnings, these are displayed as DetectedIssues in an OperationOutcome. No OperationOutcome will be returened if there are no issues.",
"targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLOperationOutcome" ]
} ]
}