Skip to content

Commit d4aeccc

Browse files
committed
npa-5087 - Updated OAS and postman collection
1 parent bce601d commit d4aeccc

6 files changed

+1664
-1651
lines changed

postman/Validate Relationship Service Sandbox.postman_collection.json

Lines changed: 1648 additions & 1645 deletions
Large diffs are not rendered by default.

specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
55
value:
66
resourceType: Bundle
77
timestamp: '2020-08-26T14:00:00+00:00'
8-
total: 3
8+
total: 2
99
type: searchset
1010
entry:
1111
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5

specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerBundle:
55
value:
66
resourceType: Bundle
77
timestamp: '2020-08-26T14:00:00+00:00'
8-
total: 3
8+
total: 2
99
type: searchset
1010
entry:
1111
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720

specification/examples/responses/GET_Consent/single-mother-child-relationship-include-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
55
value:
66
resourceType: Bundle
77
timestamp: '2020-08-26T14:00:00+00:00'
8-
total: 3
8+
total: 2
99
type: searchset
1010
entry:
1111
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2

specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConsentSingleAdultChildRelationshipIncludePerformerBundle:
55
value:
66
resourceType: Bundle
77
timestamp: '2020-08-26T14:00:00+00:00'
8-
total: 3
8+
total: 2
99
type: searchset
1010
entry:
1111
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742

specification/validated-relationships-service-api.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ info:
126126
* only covers a limited set of scenarios
127127
* is open access, so does not allow you to test authorisation
128128
129-
[<img src="https://run.pstmn.io/button.svg" alt="Run In Postman" style="width: 128px; height: 32px;">](https://god.gw.postman.com/run-collection/44536620-de538326-5564-4efd-9ed2-d1c64142fcfe?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D44536620-de538326-5564-4efd-9ed2-d1c64142fcfe%26entityType%3Dcollection%26workspaceId%3Dd553b6fe-6915-4ada-a926-d96af988d3cc)
129+
[<img src="https://run.pstmn.io/button.svg" alt="Run In Postman" style="width: 128px; height: 32px;">](https://app.getpostman.com/run-collection/18067099-110252c4-5fa1-46ca-a08d-b5ce96e28fde?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D18067099-110252c4-5fa1-46ca-a08d-b5ce96e28fde%26entityType%3Dcollection%26workspaceId%3D8870ed4a-d599-42a7-ab17-cee80095ffab)
130130
131131
### Integration testing
132132
@@ -777,10 +777,18 @@ paths:
777777
examples:
778778
ConsentSingleConsentingAdultRelationshipBundle:
779779
$ref: "./examples/responses/GET_Consent/single-consenting-adult-relationship.yaml#/ConsentSingleConsentingAdultRelationshipBundle"
780+
ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
781+
$ref: "./examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml#/ConsentSingleConsentingAdultRelationshipIncludePatientBundle"
782+
ConsentSingleConsentingAdultRelationshipIncludePerformerBundle:
783+
$ref: "./examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer.yaml#/ConsentSingleConsentingAdultRelationshipIncludePerformerBundle"
780784
ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
781785
$ref: "./examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer-patient.yaml#/ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle"
782786
ConsentSingleAdultChildRelationshipBundle:
783787
$ref: "./examples/responses/GET_Consent/single-mother-child-relationship.yaml#/ConsentSingleAdultChildRelationshipBundle"
788+
ConsentSingleAdultChildRelationshipIncludePatientBundle:
789+
$ref: "./examples/responses/GET_Consent/single-mother-child-relationship-include-patient.yaml#/ConsentSingleAdultChildRelationshipIncludePatientBundle"
790+
ConsentSingleAdultChildRelationshipIncludePerformerBundle:
791+
$ref: "./examples/responses/GET_Consent/single-mother-child-relationship-include-performer.yaml#/ConsentSingleAdultChildRelationshipIncludePerformerBundle"
784792
ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
785793
$ref: "./examples/responses/GET_Consent/single-mother-child-relationship-include-performer-patient.yaml#/ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle"
786794

@@ -799,7 +807,7 @@ paths:
799807
| 404 | `INVALIDATED_RESOURCE` | Resource that has been marked as invalid was requested - invalid resources cannot be retrieved |
800808
| 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
801809
| 408 | `TIMEOUT` | Request timed out. |
802-
| 422 | `INVALID_ID_SYSTEM` | Invalid id. |
810+
| 422 | `INVALID_ID_VALUE` | Invalid id. |
803811
| 429 | `THROTTLED` | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
804812
805813
content:
@@ -815,6 +823,8 @@ paths:
815823
$ref: "./examples/responses/GET_Consent/ID/errors/missing-id.yaml#/ConsentMissingIDError"
816824
InvalidIdError:
817825
$ref: "./examples/responses/GET_Consent/ID/errors/invalid-id.yaml#/ConsentInvalidIDError"
826+
InvalidIncludeParameterError:
827+
$ref: "./examples/responses/errors/invalid-include-parameter.yaml#/InvalidIncludeParameterError"
818828
"5XX":
819829
description: |
820830
Errors will be returned for the first error encountered in the request. An error occurred as follows:

0 commit comments

Comments
 (0)