Skip to content

Commit dc0acc5

Browse files
committed
NPA-3899 Fix Unit Tests
1 parent 20cdc50 commit dc0acc5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

specification/examples/responses/GET_Consent/mother-child.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ConsentMotherChildBundle:
1212
id: BE974742
1313
identifier:
1414
- system: "https://fhir.nhs.uk/Id/nhs-number"
15-
value: "9000000017"
15+
value: "9000000019"
1616
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
1717
value: "ABC0000001"
1818
patient:
@@ -86,7 +86,7 @@ ConsentMotherChildBundle:
8686
performer:
8787
- identifier:
8888
system: "https://fhir.nhs.uk/Id/nhs-number"
89-
value: "9000000017"
89+
value: "9000000019"
9090
policy:
9191
- authority: "https://www.england.nhs.uk"
9292
uri: "<REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD>"

specification/validated-relationships-service-api.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,11 @@ paths:
355355
356356
## Sandbox test scenarios
357357
358-
For details of sandbox test scenarios, or to try out the sandbox using our 'Try it out' feature, see the documentation for each endpoint.
358+
| Scenario | Request | Response |
359+
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
360+
| A single active proxy relationship for two consenting adults with capacity | `performer:identifier`=`9000000010` and `status`=`active` and `_include`=`Consent:performer` | HTTP Status 200 Bundle containing a single active proxy relationship for two consenting adults with capacity |
361+
| Multiple active proxy relationships with varying legal basis' | `performer:identifier`=`9000000017` and `status`=`active` and `_include`=`Consent:performer` | HTTP Status 200 A Bundle containing multiple active proxy relationships with varying legal basis' |
362+
| A single active proxy relationship for a birth mother & child | `performer:identifier`=`9000000019` and `status`=`active` and `_include`=`Consent:performer` | HTTP Status 200 Bundle containing a single active proxy relationship for a birth mother & child |
359363
360364
operationId: get-consent
361365
parameters:

0 commit comments

Comments
 (0)