Skip to content

Commit 7901246

Browse files
committed
NPA-3887 Add 200 scenarios
1 parent 9a554b0 commit 7901246

File tree

2 files changed

+9
-24
lines changed

2 files changed

+9
-24
lines changed

sandbox/api/responses/GET_RelatedPerson/bad_request_missing_parameters.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

specification/validated-relationships-service-api.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,15 @@ paths:
253253
254254
## Sandbox test scenarios
255255
256-
| Scenario | Request | Response |
257-
| -------------------------------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
258-
| List Relationship | `identifier`=`9000000017` | HTTP Status 200 List of relationships for the proxy |
259-
| List Relationship and Include | `identifier`=`9000000017` and `_include`=`RelatedPerson:patient` | HTTP Status 200 List of relationships for the proxy and include patient data |
256+
| Scenario | Request | Response |
257+
| --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------- |
258+
| List Relationship | `identifier`=`9000000017` | HTTP Status 200 List of relationships for the proxy |
259+
| List Relationship and include patient's details | `identifier`=`9000000017` and `_include`=`RelatedPerson:patient` | HTTP Status 200 List of relationships for the proxy and includes patient data |
260+
| List Relationship and no relationships returned | `identifier`=`9000000033` | HTTP Status 200 Empty bundle |
261+
| Verify Relationship between proxy and patient | `identifier`=`9000000017` and `patient:identifier`=`9000000009` | HTTP Status 200 Verified relationship between patient and proxy |
262+
| 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 |
263+
| Verify Relationship between proxy and patient | `identifier`=`9000000017` and `patient:identifier`=`9000000025` | HTTP Status 200 Verified relationship between patient and proxy |
264+
| 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 |
260265
261266
Or perhaps you'd like to try out the sandbox using our 'Try it out' feature, see the documentation for each endpoint.
262267

0 commit comments

Comments
 (0)