You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/components/stu3/schemas/endpoints/a036-cancel-referral.yaml
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,15 @@ description: |
14
14
15
15
## Supported security patterns
16
16
- Healthcare worker, user-restricted access
17
+
- Application-restricted, unattended access
17
18
18
19
## Pre-requisites
20
+
### Application-restricted, unattended access
21
+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Service Provider Organisation.
22
+
23
+
To access this endpoint in application-restricted, unattended mode, you will be required to submit your use case for review. The only use case currently permitted is for non-clinical provider actions.
24
+
25
+
### Healthcare worker, user-restricted access
19
26
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
20
27
- `REFERRING_CLINICIAN`
21
28
- `REFERRING_CLINICIAN_ADMIN`
@@ -48,7 +55,7 @@ description: |
48
55
49
56
* `referrerUsage` must be `CANCEL_REFERRAL`, and
50
57
51
-
* `businessFunction` must be `REFERRING_CLINICIAN` or `REFERRING_CLINICIAN_ADMIN` *(depending which authenticated user will be performing the action), and
58
+
* `businessFunction` must be `REFERRING_CLINICIAN` or `REFERRING_CLINICIAN_ADMIN` (depending which authenticated user will be performing the action), and
52
59
53
60
* `canCancelAppointment` could be true or false, and
54
61
@@ -82,7 +89,7 @@ description: |
82
89
83
90
* `appointmentRequestCancellationReasonType` must be `PROVIDER` and `PATIENT`, and
84
91
85
-
* `canCancelAppointment` must be true, and
92
+
* `canCancelAppointment` could be true or false, and
86
93
87
94
* `effectiveFrom` must be in the past, and
88
95
@@ -104,7 +111,7 @@ description: |
104
111
105
112
You need to use [[HYPERLINK_A005]] to retrieve details of the referral in order to make this clinical decision.
106
113
107
-
## Important notes
114
+
## Important note when retrieving attachments
108
115
109
116
In order to retrieve an attachment using the [[HYPERLINK_A042]] (or deprecated [[HYPERLINK_A006]]) endpoint, the attachment must be available for download.
110
117
The availability status of attachments associated with a referral are returned via this endpoint as a eRS-AvailabilityStatus-1 code.
@@ -115,9 +122,9 @@ description: |
115
122
116
123
When cancelling a referral as a Service Provider Clinician:
117
124
118
-
* If the referral is in the “Triaged - Provider to action” state, the cancellation reason must be an Appointment Request End Triage Reason type.
125
+
* If the referral is in the **"Triaged - Provider to action"** state, the cancellation reason must be an **Appointment Request End Triage Reason** type.
119
126
120
-
* If the referral is not in that state, the cancellation reason must be a Provider Appointment Request Cancellation Reason or Patient Appointment Request Cancellation Reason type.
127
+
* If the referral is **not** in that state, the cancellation reason must be a **Provider Appointment Request Cancellation Reason** or **Patient Appointment Request Cancellation Reason** type.
0 commit comments