Skip to content

Commit 96d0d6e

Browse files
Merge pull request #27 from NHSDigital/NPA-1868-api-catalogue-fixes
NPA 1868 - api catalogue fixes
2 parents 3d83647 + 8b31f50 commit 96d0d6e

File tree

1 file changed

+30
-19
lines changed

1 file changed

+30
-19
lines changed

specification/validated-relationships-service-api.yaml

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ info:
66
version: 'Computed and injected at build time by `scripts/set_version.py`'
77
description: |
88
## Overview
9-
Use this API to access the Validated Relationships Service - the national electronic database of relationships that have been verified for the purpose of enabling individuals to access healthcare services on behalf of (proxy) those they care for.
9+
Use this API to access the Validated Relationships Service - the national electronic database of relationships
10+
that have been verified for the purpose of enabling individuals to access healthcare services on behalf of
11+
those they care for. This is known as acting as a 'Proxy' for those individuals requesting access on befhalf
12+
of those they care for..
1013
1114
You can:
1215
13-
- search for verified relationships for a given proxy
16+
- search for validated relationships for a given proxy
1417
1518
## Who can use this API
16-
This API can only be used where there is a legal basis to do so. Make sure you have a valid use case before you go too far with your development. You must demonstrate you have a valid use case as part of digital onboarding.
17-
19+
This API can only be used where there is a legal basis to do so. Make sure you have this and a valid use case before
20+
you go too far with your development, by [contacting us](https://digital.nhs.uk/developer/help-and-support)
21+
1822
You must do this before you can go live (see 'Onboarding' below).
1923
2024
## Related APIs
@@ -55,7 +59,16 @@ info:
5559
5660
There are [libraries and SDKs available](https://digital.nhs.uk/developer/guides-and-documentation/api-technologies-at-nhs-digital#fhir-libraries-and-sdks) to help with FHIR API integration.
5761
58-
### Open source
62+
## Errors
63+
We use standard HTTP status codes to show whether an API request succeeded or not. They are usually in the range:
64+
65+
* 200 to 299 if it succeeded, including code 202 if it was accepted by an API that needs to wait for further action
66+
* 400 to 499 if it failed because of a client error by your application
67+
* 500 to 599 if it failed because of an error on our server
68+
69+
Errors specific to each API are shown in the Endpoints section, under Response. See our [reference guide](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#http-status-codes) for more on errors.
70+
71+
## Open source
5972
You might find the following [open source](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#open-source) resources useful:
6073
6174
| Resource | Description | Links |
@@ -105,25 +118,23 @@ info:
105118
| Production | `https://api.service.nhs.uk/validated-relationships/FHIR/R4/` |
106119
107120
### Sandbox testing
108-
TO BE COMPLETED
121+
Our [sandbox environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#sandbox-testing)
109122
123+
* is for early developer testing
124+
* only covers a limited set of scenarios
125+
* is open access, so does not allow you to test authorisation
126+
110127
### Integration testing
111-
TO BE COMPLETED
128+
129+
Our [integration test environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#integration-testing)
112130

113-
### Production smoke testing
114-
TO BE COMPLETED
131+
* is for formal integration testing
132+
* includes authorisation with NHS Login
115133

116134
## Onboarding
117-
To be completed.
118-
## Errors
119-
We use standard HTTP status codes to show whether an API request succeeded or not. They are usually in the range:
135+
You must get your software onboarded before it can go live.
120136

121-
* 200 to 299 if it succeeded, including code 202 if it was accepted by an API that needs to wait for further action
122-
* 400 to 499 if it failed because of a client error by your application
123-
* 500 to 599 if it failed because of an error on our server
124-
125-
Errors specific to each API are shown in the Endpoints section, under Response. See our [reference guide](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#http-status-codes) for more on errors.
126-
137+
For more details, contact us at [[email protected]](mailto:[email protected]).
127138

128139
contact:
129140
name: 'Validated Relationships Service API Support'
@@ -139,7 +150,7 @@ servers:
139150
paths:
140151
/RelatedPerson:
141152
get:
142-
summary: Get relationships.
153+
summary: Get relationships
143154
parameters:
144155
- $ref: "#/components/parameters/BearerAuthorisation"
145156
- $ref: "#/components/parameters/RelatedPersonIdentifier"

0 commit comments

Comments
 (0)