Skip to content

Commit 43cbdd2

Browse files
Merge pull request #2076 from NHSDigital/feature/ERSSUP-81706
Feature/erssup 81706
2 parents b3fecef + 2486410 commit 43cbdd2

File tree

50 files changed

+188
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+188
-2
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"resourceType": "OperationOutcome",
3+
"meta": {
4+
"lastUpdated": "2022-03-01T10:00:00.42Z"
5+
},
6+
"issue": [
7+
{
8+
"severity": "error",
9+
"code": "transient",
10+
"details": {
11+
"coding": [
12+
{
13+
"system": "https://fhir.nhs.uk/CodeSystem/http-error-codes",
14+
"code": "REC_UNAVAILABLE"
15+
}
16+
]
17+
}
18+
}
19+
]
20+
}
21+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"meta": {
3+
"profile": [
4+
"https://fhir.nhs.uk/STU3/StructureDefinition/eRS-OperationOutcome-1"
5+
]
6+
},
7+
"resourceType": "OperationOutcome",
8+
"issue": [
9+
{
10+
"severity": "error",
11+
"code": "transient",
12+
"details": {
13+
"coding": [
14+
{
15+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-APIErrorCode-1",
16+
"code": "SYSTEM_UNAVAILABLE",
17+
"display": "System Unavailable"
18+
}
19+
]
20+
}
21+
}
22+
]
23+
}

specification/components/r4/schemas/endpoints/a030-retrieve-business-functions.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,5 @@ responses:
111111
$ref: '../responses/TooManyRequests.yaml'
112112
'500':
113113
$ref: '../responses/InternalServerError.yaml'
114+
'503':
115+
$ref: '../responses/ServiceUnavailable.yaml'

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ responses:
6767
$ref: '../responses/TooManyRequests.yaml'
6868
'500':
6969
$ref: '../responses/InternalServerError.yaml'
70+
'503':
71+
$ref: '../responses/ServiceUnavailable.yaml'

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,5 @@ responses:
7777
$ref: '../responses/TooManyRequests.yaml'
7878
'500':
7979
$ref: '../responses/InternalServerError.yaml'
80+
'503':
81+
$ref: '../responses/ServiceUnavailable.yaml'

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ responses:
6464
$ref: '../responses/TooManyRequests.yaml'
6565
'500':
6666
$ref: '../responses/InternalServerError.yaml'
67+
'503':
68+
$ref: '../responses/ServiceUnavailable.yaml'

specification/components/r4/schemas/endpoints/a040-retrieve-practitioner-info.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,5 @@
5555
$ref: '../responses/TooManyRequests.yaml'
5656
'500':
5757
$ref: '../responses/InternalServerError.yaml'
58+
'503':
59+
$ref: '../responses/ServiceUnavailable.yaml'

specification/components/r4/schemas/endpoints/a041-search-service-request.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@ responses:
7979
$ref: '../responses/TooManyRequests.yaml'
8080
'500':
8181
$ref: '../responses/InternalServerError.yaml'
82+
'503':
83+
$ref: '../responses/ServiceUnavailable.yaml'

specification/components/r4/schemas/endpoints/a042-retrieve-attachment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,6 @@ responses:
9494
'429':
9595
$ref: '../responses/TooManyRequests.yaml'
9696
'500':
97-
$ref: '../responses/InternalServerError.yaml'
97+
$ref: '../responses/InternalServerError.yaml'
98+
'503':
99+
$ref: '../responses/ServiceUnavailable.yaml'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
description: |
2+
Defines a period (in seconds) after which the client should attempt their request again.
3+
required: false
4+
schema:
5+
type: string
6+
example: '120'

0 commit comments

Comments
 (0)