Skip to content

Commit 5fe9a04

Browse files
[ERSSUP-73552]-[DW]-[Update doc around app-restricted for various endpoints]-[AST]
1 parent d95ae72 commit 5fe9a04

13 files changed

+68
-15
lines changed

specification/components/r4/schemas/endpoints/a033-retrieve-healthcare-service.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ description: |
99
You can use this endpoint to obtain the current version and attributes of a single service.
1010
1111
## Supported security patterns
12+
- Application-restricted, unattended access
1213
- Healthcare worker, user-restricted access
1314
1415
## Pre-requisites
16+
### Application-restricted access
17+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Referring Organisation.
18+
19+
### Healthcare worker, user-restricted access
1520
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
1621
- `REFERRING_CLINICIAN`
1722
- `REFERRING_CLINICIAN_ADMIN`
@@ -44,8 +49,8 @@ tags:
4449
parameters:
4550
- $ref: '../headers/request/BearerAuthorization.yaml'
4651
- $ref: '../pathParameters/ServiceId.yaml'
47-
- $ref: '../headers/request/OdsCode.yaml'
48-
- $ref: '../headers/request/BusinessFunction.yaml'
52+
- $ref: '../headers/request/OdsCodeOnlyUserRestricted.yaml'
53+
- $ref: '../headers/request/BusinessFunctionOnlyUserRestricted.yaml'
4954
- $ref: '../headers/request/CorrelationID.yaml'
5055
responses:
5156
'200':

specification/components/r4/schemas/endpoints/a035-search-for-healthcare-services.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ description: |
88
You can use this endpoint to obtain a set of services (up to 20) and their associated attributes, in a single call.
99
1010
## Supported security patterns
11+
- Application-restricted, unattended access
1112
- Healthcare worker, user-restricted access
1213
1314
## Pre-requisites
15+
### Application-restricted access
16+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Referring Organisation.
17+
18+
### Healthcare worker, user-restricted access
1419
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
1520
- `REFERRING_CLINICIAN`
1621
- `REFERRING_CLINICIAN_ADMIN`
@@ -44,8 +49,8 @@ tags:
4449
- Retrieve healthcare service information
4550
parameters:
4651
- $ref: '../headers/request/BearerAuthorization.yaml'
47-
- $ref: '../headers/request/OdsCode.yaml'
48-
- $ref: '../headers/request/BusinessFunction.yaml'
52+
- $ref: '../headers/request/OdsCodeOnlyUserRestricted.yaml'
53+
- $ref: '../headers/request/BusinessFunctionOnlyUserRestricted.yaml'
4954
- $ref: '../headers/request/CorrelationID.yaml'
5055
- in: query
5156
name: _id

specification/components/r4/schemas/endpoints/a037-retrieve-healthcare-service-version.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ description: |
88
You can use this endpoint to obtain the current service's "version" held in e-RS, in order to compare to a locally cached version.
99
1010
## Supported security patterns
11+
- Application-restricted, unattended access
1112
- Healthcare worker, user-restricted access
1213
1314
## Pre-requisites
15+
### Application-restricted access
16+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Referring Organisation.
17+
18+
### Healthcare worker, user-restricted access
1419
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
1520
- `REFERRING_CLINICIAN`
1621
- `REFERRING_CLINICIAN_ADMIN`
@@ -43,8 +48,8 @@ tags:
4348
parameters:
4449
- $ref: '../headers/request/BearerAuthorization.yaml'
4550
- $ref: '../pathParameters/ServiceId.yaml'
46-
- $ref: '../headers/request/OdsCode.yaml'
47-
- $ref: '../headers/request/BusinessFunction.yaml'
51+
- $ref: '../headers/request/OdsCodeOnlyUserRestricted.yaml'
52+
- $ref: '../headers/request/BusinessFunctionOnlyUserRestricted.yaml'
4853
- $ref: '../headers/request/CorrelationID.yaml'
4954
responses:
5055
'200':
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
in: header
2+
name: NHSD-eRS-Business-Function
3+
description: |
4+
The e-RS Business Function of the caller.
5+
6+
Not allowed for application-restricted access.
7+
8+
Required for user-restricted access.
9+
schema:
10+
type: string
11+
enum:
12+
- 'REFERRING_CLINICIAN'
13+
- 'REFERRING_CLINICIAN_ADMIN'
14+
- 'REFERRING_ADMIN'
15+
- 'COMMISSIONER'
16+
- 'SERVICE_PROVIDER_CLINICIAN_ADMIN'
17+
- 'SERVICE_PROVIDER_CLINICIAN'
18+
- 'SERVICE_PROVIDER_ADMIN'
19+
- 'INFORMATION_ANALYST'
20+
- 'BOOKING_MANAGER'
21+
- 'ADDITIONAL_REQUIREMENTS_MANAGER'
22+
example: 'SERVICE_PROVIDER_CLINICIAN_ADMIN'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
in: header
2+
name: NHSD-End-User-Organisation-ODS
3+
description: |
4+
The ODS code of the caller's Organisation.
5+
6+
Not allowed for application-restricted access.
7+
8+
Required for user-restricted access.
9+
schema:
10+
type: string
11+
example: 'R69'
12+

specification/components/stu3/schemas/endpoints/a004-retrieve-reference-data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: |
1010
1111
## Pre-requisites
1212
### Application-restricted access
13-
In order to use this endpoint you must be an authenticated e-RS calling application.
13+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Service Provider or Referring Organisation.
1414
1515
### Healthcare worker, user-restricted access
1616
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:

specification/components/stu3/schemas/endpoints/a005-retrieve-referral-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ description: |
3838
3939
## Pre-requisites
4040
### Application-restricted access
41-
In order to use this endpoint you must be an authenticated e-RS calling application.
41+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Service Provider Organisation.
4242
4343
### Healthcare worker, user-restricted access
4444
In order to use this endpoint you must be an authenticated e-RS user or application and use one of the following e-RS roles:

specification/components/stu3/schemas/endpoints/a006-retrieve-attachment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: |
1212
1313
## Pre-requisites
1414
### Application-restricted access
15-
In order to use this endpoint you must be an authenticated e-RS calling application.
15+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Service Provider Organisation.
1616
1717
### Healthcare worker, user-restricted access
1818
In order to use this endpoint you must be an authenticated e-RS user or application and use one of the following e-RS roles:

specification/components/stu3/schemas/endpoints/a007-retrieve-clinical-information.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: |
1111
1212
## Pre-requisites
1313
### Application-restricted access
14-
In order to use this endpoint you must be an authenticated e-RS calling application.
14+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Service Provider Organisation.
1515
1616
### Healthcare worker, user-restricted access
1717
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:

specification/components/stu3/schemas/endpoints/a024-retrieve-advice-and-guidance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description: |
1919
2020
## Application-restricted access
2121
22-
In order to use this endpoint you must be an authenticated e-RS calling application.
22+
In order to use this endpoint you must be an authenticated e-RS calling application, working in the context of a Service Provider Organisation.
2323
2424
## Healthcare worker, user-restricted access
2525

0 commit comments

Comments
 (0)