eReferral Implementation Guide, published by Riziv-Inami Platform. This guide is not an authorized publication; it is the continuous build for version 2.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-be/referral-uhmep/ and changes regularly. See the Directory of published versions
This page describes how a prescriber approves or rejects an Annex 81 proposal.
| Item | Approve | Reject |
|---|---|---|
| Business operation | Approve proposal | Reject proposal |
| Endpoint | POST /ServiceRequest/{serviceRequestID}/$approve |
POST /ServiceRequest/{serviceRequestID}/$reject |
| Successful response | 200 OK with Parameters.parameter[location] |
200 OK with Parameters.parameter[location] |
{
"resourceType": "Parameters",
"meta": {
"extension": [
{
"id": "{{kid}}",
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-key-pseudonymization",
"extension": [
{
"url": "key",
"valueString": "urn:be:fgov:pseudo:v2:{{SEC1}}:{{transit-info}}",
"_valueString": {
"extension": [
{
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization",
"extension": [
{
"url": "marker",
"valueBoolean": true
},
{
"url": "format",
"valueCode": "direct"
},
{
"url": "version",
"valuePositiveInt": 2
}
]
}
]
}
}
]
}
]
},
"parameter": [
{
"name": "requester",
"valueReference": {
"reference": "PractitionerRole/{{requesterSsin}}-{{prescriberDiscipline}}{{requesterOrganization}}"
}
}
]
}
{
"resourceType": "Parameters",
"meta": {
"extension": [
{
"id": "{{kid}}",
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-key-pseudonymization",
"extension": [
{
"url": "key",
"valueString": "urn:be:fgov:pseudo:v2:{{SEC1}}:{{transit-info}}",
"_valueString": {
"extension": [
{
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization",
"extension": [
{
"url": "marker",
"valueBoolean": true
},
{
"url": "format",
"valueCode": "direct"
},
{
"url": "version",
"valuePositiveInt": 2
}
]
}
]
}
}
]
}
]
},
"parameter": [
{
"name": "requester",
"valueReference": {
"reference": "PractitionerRole/{{requesterSsin}}-{{prescriberDiscipline}}{{requesterOrganization}}"
}
},
{
"name": "note",
"valueCodeableConcept": {
"text": "urn:be:fgov:pseudo-encrypted:v1:{{kid}}:{{jwe}}",
"_text": {
"extension": [
{
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization",
"extension": [
{
"url": "marker",
"valueBoolean": true
},
{
"url": "format",
"valueCode": "encrypted"
},
{
"url": "version",
"valuePositiveInt": 1
}
]
}
]
}
}
}
]
}
Approval completes the proposal workflow, creates a valid prescription and assigns the caregiver who authored the proposal. The requester parameter is used when the operation is performed by an organization on behalf of an internal prescriber.
If no note is needed, the request may be sent with no body, an empty body, or an empty Parameters.parameter list.
{
"resourceType": "Parameters",
"meta": {
"extension": [
{
"id": "{{kid}}",
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-key-pseudonymization",
"extension": [
{
"url": "key",
"valueString": "urn:be:fgov:pseudo:v2:{{SEC1}}:{{transit-info}}",
"_valueString": {
"extension": [
{
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization",
"extension": [
{
"url": "marker",
"valueBoolean": true
},
{
"url": "format",
"valueCode": "direct"
},
{
"url": "version",
"valuePositiveInt": 2
}
]
}
]
}
}
]
}
]
},
"parameter": [
{
"name": "requester",
"valueReference": {
"reference": "PractitionerRole/{{requesterSsin}}-{{prescriberDiscipline}}{{requesterOrganization}}"
}
}
]
}
{
"resourceType": "Parameters",
"meta": {
"extension": [
{
"id": "{{kid}}",
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-key-pseudonymization",
"extension": [
{
"url": "key",
"valueString": "urn:be:fgov:pseudo:v2:{{SEC1}}:{{transit-info}}",
"_valueString": {
"extension": [
{
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization",
"extension": [
{
"url": "marker",
"valueBoolean": true
},
{
"url": "format",
"valueCode": "direct"
},
{
"url": "version",
"valuePositiveInt": 2
}
]
}
]
}
}
]
}
]
},
"parameter": [
{
"name": "requester",
"valueReference": {
"reference": "PractitionerRole/{{requesterSsin}}-{{prescriberDiscipline}}{{requesterOrganization}}"
}
},
{
"name": "note",
"valueCodeableConcept": {
"text": "urn:be:fgov:pseudo-encrypted:v1:{{kid}}:{{jwe}}",
"_text": {
"extension": [
{
"url": "https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization",
"extension": [
{
"url": "marker",
"valueBoolean": true
},
{
"url": "format",
"valueCode": "encrypted"
},
{
"url": "version",
"valuePositiveInt": 1
}
]
}
]
}
}
}
]
}
The note parameter is optional. If present, clinical free text must be encrypted.
Approve returns the id of the created prescription.
{
"resourceType": "Parameters",
"parameter": [
{
"name": "location",
"valueId": "{prescription-id}"
}
]
}
Reject returns the proposal id.
{
"resourceType": "Parameters",
"parameter": [
{
"name": "location",
"valueId": "{proposal-id}"
}
]
}
Prescriber.
The errors for this operation are listed in the eReferral API Error Codes workbook. Filter the Business Operations or API endpoint(s) sheet for the relevant operation or endpoint. See Error Codes for workbook guidance.
On approve, the backend: (1) sets the proposal to completed; (2) sets the evaluation
BePerformerTask to completed; (3) creates a valid prescription and assigns the caregiver who
authored the original proposal.