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/validated-relationships-service-api.yaml
+30-19Lines changed: 30 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,19 @@ info:
6
6
version: 'Computed and injected at build time by `scripts/set_version.py`'
7
7
description: |
8
8
## 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..
10
13
11
14
You can:
12
15
13
-
- search for verified relationships for a given proxy
16
+
- search for validated relationships for a given proxy
14
17
15
18
## 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
+
18
22
You must do this before you can go live (see 'Onboarding' below).
19
23
20
24
## Related APIs
@@ -55,7 +59,16 @@ info:
55
59
56
60
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.
57
61
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
59
72
You might find the following [open source](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#open-source) resources useful:
60
73
61
74
| Resource | Description | Links |
@@ -105,25 +118,23 @@ info:
105
118
| Production | `https://api.service.nhs.uk/validated-relationships/FHIR/R4/` |
* is open access, so does not allow you to test authorisation
126
+
110
127
### Integration testing
111
-
TO BE COMPLETED
128
+
129
+
Our [integration test environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#integration-testing)
112
130
113
-
### Production smoke testing
114
-
TO BE COMPLETED
131
+
* is for formal integration testing
132
+
* includes authorisation with NHS Login
115
133
116
134
## 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.
120
136
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.
0 commit comments