Skip to content

Commit 735a45e

Browse files
committed
NPA-3887 Neaten scenarios table
1 parent 3a949b2 commit 735a45e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

specification/validated-relationships-service-api.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,6 @@ paths:
253253
254254
## Sandbox test scenarios
255255
256-
NOTE: Headers are not tested in the sandbox. `X-Request-ID` and `X-Correlation-ID` are disregarded.
257-
258256
| Scenario | Request | Response |
259257
| --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------- |
260258
| List Relationship | `identifier`=`9000000017` | HTTP Status 200 List of relationships for the proxy |
@@ -264,12 +262,14 @@ paths:
264262
| Verify Relationship between proxy and patient and include patient's details | `identifier`=`9000000017` and `patient:identifier`=`9000000009` and `_include`=`RelatedPerson:patient` | HTTP Status 200 Verified relationship between patient and proxy and includes patient's details |
265263
| Verify Relationship between proxy and patient | `identifier`=`9000000017` and `patient:identifier`=`9000000025` | HTTP Status 200 Verified relationship between patient and proxy |
266264
| Verify Relationship between proxy and patient and include patient's details | `identifier`=`9000000017` and `patient:identifier`=`9000000025` and `_include`=`RelatedPerson:patient` | HTTP Status 200 Verified relationship between patient and proxy and includes patient's details |
267-
| Missing identifier | identifier`=`` | HTTP Status 400 and MISSING_IDENTIFIER_VALUE error message |
268-
| Invalid identifier | identifier`=`900000000` Note: This identifier is 9 characters long too short to be NHS Number | HTTP Status 400 and INVALID_IDENTIFIER_VALUE error message |
269-
| Invalid identifier system | identifier`=`https://fhir.nhs.uk/Id/nhs-number/9730675929` | HTTP Status 400 and INVALID_IDENTIFIER_SYSTEM error message |
270-
| Identifier not supported in sandbox | identifier`=`1000000001` | HTTP Status 404 and INVALIDATED_RESOURCE error message |
265+
| Missing identifier | `patient:identifier`=`9000000009` | HTTP Status 400 and MISSING_IDENTIFIER_VALUE error message |
266+
| Invalid identifier | `identifier`=`900000000` Note: This identifier is 9 characters long too short to be NHS Number | HTTP Status 400 and INVALID_IDENTIFIER_VALUE error message |
267+
| Invalid identifier system | `identifier`=`https://fhir.nhs.uk/Id/nhs-number/9730675929` | HTTP Status 400 and INVALID_IDENTIFIER_SYSTEM error message |
268+
| Identifier not supported in sandbox | `identifier`=`1000000001` | HTTP Status 404 and INVALIDATED_RESOURCE error message |
269+
270+
NOTE: Headers are not tested in the sandbox. `X-Request-ID` and `X-Correlation-ID` are disregarded.
271271
272-
Or perhaps you'd like to try out the sandbox using our 'Try it out' feature, see the documentation for each endpoint.
272+
Or perhaps you'd like to try out the sandbox using our 'Try it out' feature.
273273
274274
operationId: get-validated-relationships
275275
parameters:

0 commit comments

Comments
 (0)