...
XML example: prescription_request_notification_error.xml
Description:
When sending the message via eHealthBox a functional type is mandatory. For the prescription request, acceptance, denial and error this is PRESCRIPTION_REQUEST.
The error notification to be sent is a kmehr transaction with following specifications. The error notification will be sent automatically if the incoming prescription proposal message validation fails (xsd validation at least)
- The transaction is a notification transaction
- A custom transaction type indicating that this is a prescription request.
- <cd S="LOCAL" SV="1.0" SL="CD-TRANSACTION-TYPE">prescriptionrequest</cd>
- A custom ID is specified to indicate that this notification is associated with a previous prescription request with the same ID
- <id S="LOCAL" SV="1.0" SL="ID-PRESCR-REQUEST">f9ec57c7-f3f8-4946-9131-1b2773da43df</id>
- A custom notification value indicating that the GP has accepted the prescription request.
- <cd S="LOCAL" SV="1.0" SL="CD-NOTIFICATION-VALUE">ERROR</cd>
- The author of the notification is the GP
- A kmehr item containing a description of the error
The complete set of rules for the prescription request can be found in the form of xpath queries below
xquery version "1.0";
declare default element namespace "http://www.ehealth.fgov.be/standards/kmehr/schema/v1";
...