Page Status: updated 2025-03-31

NLLVerify

Page index

Definition

Invocations

URL: [base]/$verify

URL: [base]/MedicationRequest/$verify URL: [base]/MedicationDispense/$verify

This operation does NOT change content

Parameters (In)

NameCardinalityTypeDocumentation
resource0..1MedicationRequest(NLLMedicationRequest)

The MedicationRequest to be verified. This type of verification must be directed to the medication request end-point [base]/MedicationRequest/$verify.

resource0..1MedicationDispense(NLLMedicationDispense)

The MedicationDispense to be verified. This type of verification must be directed to the medication dispense end-point [base]/MedicationDispense/$verify.

resource0..1MedicationDispense(NLLDispensePaperPrescription)

The MedicationDispense to be verified. This type of verification must be directed to the medication dispense end-point [base]/MedicationDispense/$verify.

resource0..1Bundle(NLLDispatch)

A Bundle containing the MedicationDispenses to be verified. This type of verification must be directed to the service base end-point [base]/$verify.

resource0..1Bundle(NLLTransactionBundle)

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.

Return Values (Out)

NameCardinalityTypeDocumentation
detectedIssues1..1boolean

Has the value 'true' if any AFF errors or warnings are detected, otherwise 'false'

issues0..1OperationOutcome(NLLOperationOutcome)

The OperationOutcome resource, shown in the profile NLLOperationOutcome is a collection of error, warning, or information messages. If 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.

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.

NB! 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.

Examples

See Examples - NLLVerify.