From 7ed2d06759f6af210b91edcecf9f378aad3248ca Mon Sep 17 00:00:00 2001 From: Ellie Bound <175816742+ellie-bound1-NHSD@users.noreply.github.com> Date: Tue, 16 Sep 2025 11:56:40 +0100 Subject: [PATCH 1/7] NPA-5559: Remove type: Patient from RelatedPerson resources in GET RelatedPerson example responses --- .../GET_RelatedPerson/list_relationship_9000000017.yaml | 2 -- .../GET_RelatedPerson/list_relationship_9000000017_include.yaml | 2 -- .../GET_RelatedPerson/list_relationship_9000000042.yaml | 1 - .../GET_RelatedPerson/list_relationship_9000000042_include.yaml | 1 - .../GET_RelatedPerson/verify_relationship_9000000009.yaml | 1 - .../verify_relationship_9000000009_include.yaml | 1 - .../GET_RelatedPerson/verify_relationship_9000000025.yaml | 1 - .../verify_relationship_9000000025_include.yaml | 1 - 8 files changed, 10 deletions(-) diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml index 3019805f..ba5d8faf 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml @@ -18,7 +18,6 @@ ListRelationship9000000017: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000009' - type: Patient name: - family: MOGAJI given: @@ -48,7 +47,6 @@ ListRelationship9000000017: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000025' - type: Patient name: - family: FEARON given: diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml index d9b7de41..66af4b35 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml @@ -39,7 +39,6 @@ ListRelationship9000000017Include: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000009' - type: Patient name: - family: MOGAJI given: @@ -89,7 +88,6 @@ ListRelationship9000000017Include: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000025' - type: Patient name: - family: FEARON given: diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml index eaec262b..4d7f9447 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml @@ -28,7 +28,6 @@ ListRelationship9000000042: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000009' - type: Patient relationship: - coding: - code: CHILD diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml index 73780670..3067e4d7 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml @@ -30,7 +30,6 @@ ListRelationship9000000042Include: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000009' - type: Patient relationship: - coding: - code: CHILD diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml index f95de2d3..6eda2f8a 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml @@ -21,7 +21,6 @@ VerifyRelationship9000000009: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000017' - type: Patient name: - family: MOGAJI given: diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml index e733ad35..a9327b35 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml @@ -46,7 +46,6 @@ VerifyRelationship9000000009Include: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000017' - type: Patient name: - family: MOGAJI given: diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml index 3229101f..0db011fb 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml @@ -18,7 +18,6 @@ VerifyRelationship9000000025: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000025' - type: Patient name: - family: FEARON given: diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml index b205055b..c96c4bc5 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml @@ -39,7 +39,6 @@ VerifyRelationship9000000025Include: identifier: system: https://fhir.nhs.uk/Id/nhs-number value: '9000000025' - type: Patient name: - family: FEARON given: From 220b1a3d260e5433a3b2fc993a7f6856878abb63 Mon Sep 17 00:00:00 2001 From: Ellie Bound <175816742+ellie-bound1-NHSD@users.noreply.github.com> Date: Tue, 16 Sep 2025 13:20:13 +0100 Subject: [PATCH 2/7] NPA-5559: Remove name.id from Paitent and RelatedPerson resources in GET RelatedPerson example responses --- .../GET_RelatedPerson/list_relationship_9000000017.yaml | 2 -- .../list_relationship_9000000017_include.yaml | 4 ---- .../GET_RelatedPerson/list_relationship_9000000042.yaml | 1 - .../list_relationship_9000000042_include.yaml | 2 -- .../GET_RelatedPerson/verify_relationship_9000000009.yaml | 1 - .../verify_relationship_9000000009_include.yaml | 2 -- .../GET_RelatedPerson/verify_relationship_9000000025.yaml | 1 - .../verify_relationship_9000000025_include.yaml | 2 -- 8 files changed, 15 deletions(-) diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml index ba5d8faf..4f7ca54a 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017.yaml @@ -22,7 +22,6 @@ ListRelationship9000000017: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: @@ -51,7 +50,6 @@ ListRelationship9000000017: - family: FEARON given: - Daren - id: vitjN period: start: '2018-09-21' prefix: diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml index 66af4b35..16e5e150 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000017_include.yaml @@ -19,7 +19,6 @@ ListRelationship9000000017Include: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: @@ -43,7 +42,6 @@ ListRelationship9000000017Include: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: @@ -68,7 +66,6 @@ ListRelationship9000000017Include: - family: FEARON given: - Daren - id: vitjN period: start: '2018-09-21' prefix: @@ -92,7 +89,6 @@ ListRelationship9000000017Include: - family: FEARON given: - Daren - id: vitjN period: start: '2018-09-21' prefix: diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml index 4d7f9447..82f59d44 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042.yaml @@ -18,7 +18,6 @@ ListRelationship9000000042: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: diff --git a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml index 3067e4d7..909dc04d 100644 --- a/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/list_relationship_9000000042_include.yaml @@ -20,7 +20,6 @@ ListRelationship9000000042Include: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: @@ -49,7 +48,6 @@ ListRelationship9000000042Include: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml index 6eda2f8a..1b182b4c 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009.yaml @@ -25,7 +25,6 @@ VerifyRelationship9000000009: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml index a9327b35..2c8f8b61 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000009_include.yaml @@ -26,7 +26,6 @@ VerifyRelationship9000000009Include: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: @@ -50,7 +49,6 @@ VerifyRelationship9000000009Include: - family: MOGAJI given: - GADIL - id: BLnbA period: start: '2021-07-08' prefix: diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml index 0db011fb..4bfd2baa 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025.yaml @@ -22,7 +22,6 @@ VerifyRelationship9000000025: - family: FEARON given: - Daren - id: vitjN period: start: '2018-09-21' prefix: diff --git a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml index c96c4bc5..a6a71fe7 100644 --- a/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml +++ b/specification/examples/responses/GET_RelatedPerson/verify_relationship_9000000025_include.yaml @@ -19,7 +19,6 @@ VerifyRelationship9000000025Include: - family: FEARON given: - Daren - id: vitjN period: start: '2018-09-21' prefix: @@ -43,7 +42,6 @@ VerifyRelationship9000000025Include: - family: FEARON given: - Daren - id: vitjN period: start: '2018-09-21' prefix: From e4c37c3c831c08d8bdca852127616a61d79e2b06 Mon Sep 17 00:00:00 2001 From: Ellie Bound <175816742+ellie-bound1-NHSD@users.noreply.github.com> Date: Tue, 16 Sep 2025 15:36:14 +0100 Subject: [PATCH 3/7] NPA-5559: Update postman collection --- ...ip Service Sandbox.postman_collection.json | 27 +++++-------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/postman/Validated Relationship Service Sandbox.postman_collection.json b/postman/Validated Relationship Service Sandbox.postman_collection.json index d7592192..ea56c757 100644 --- a/postman/Validated Relationship Service Sandbox.postman_collection.json +++ b/postman/Validated Relationship Service Sandbox.postman_collection.json @@ -925,8 +925,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000009\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -934,7 +933,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -976,8 +974,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000025\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -985,7 +982,6 @@ " \"given\": [", " \"Daren\"", " ],", - " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1098,7 +1094,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1129,8 +1124,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000009\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1138,7 +1132,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1182,7 +1175,6 @@ " \"given\": [", " \"Daren\"", " ],", - " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1213,8 +1205,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000025\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1222,7 +1213,6 @@ " \"given\": [", " \"Daren\"", " ],", - " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1407,8 +1397,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000017\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1416,7 +1405,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1539,7 +1527,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1570,8 +1557,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000017\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1579,7 +1565,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", From b815c63b20e89e1fc5a6bdaa74296424f185e953 Mon Sep 17 00:00:00 2001 From: Ellie Bound <175816742+ellie-bound1-NHSD@users.noreply.github.com> Date: Tue, 16 Sep 2025 16:17:19 +0100 Subject: [PATCH 4/7] NPA-5559: Update specification to remove redundant properties --- specification/validated-relationships-service-api.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/specification/validated-relationships-service-api.yaml b/specification/validated-relationships-service-api.yaml index 7045b734..43086687 100644 --- a/specification/validated-relationships-service-api.yaml +++ b/specification/validated-relationships-service-api.yaml @@ -2120,10 +2120,6 @@ components: type: object description: A reference to a patient the proxy is related to. properties: - type: - type: string - description: FHIR resource type. - enum: ["Patient"] identifier: type: object description: The patient's NHS number. The primary identifier of a patient, unique within NHS England and Wales. Always 10 digits and must be a [valid NHS number](https://www.datadictionary.nhs.uk/attributes/nhs_number.html). @@ -2502,9 +2498,6 @@ components: - family additionalProperties: false properties: - id: - type: string - description: Unique object identifier for this name. use: type: string description: | From 6c8c53e6f26f1efcd9900335d8501aa95fb9d40f Mon Sep 17 00:00:00 2001 From: Ellie Bound <175816742+ellie-bound1-NHSD@users.noreply.github.com> Date: Wed, 17 Sep 2025 13:26:30 +0100 Subject: [PATCH 5/7] Revert "NPA-5559: Update specification to remove redundant properties" This reverts commit 32837771403cab760eaee403362b4c726df8bfbc. --- specification/validated-relationships-service-api.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/validated-relationships-service-api.yaml b/specification/validated-relationships-service-api.yaml index 43086687..7045b734 100644 --- a/specification/validated-relationships-service-api.yaml +++ b/specification/validated-relationships-service-api.yaml @@ -2120,6 +2120,10 @@ components: type: object description: A reference to a patient the proxy is related to. properties: + type: + type: string + description: FHIR resource type. + enum: ["Patient"] identifier: type: object description: The patient's NHS number. The primary identifier of a patient, unique within NHS England and Wales. Always 10 digits and must be a [valid NHS number](https://www.datadictionary.nhs.uk/attributes/nhs_number.html). @@ -2498,6 +2502,9 @@ components: - family additionalProperties: false properties: + id: + type: string + description: Unique object identifier for this name. use: type: string description: | From 472c35bdac90ec9f3974082b86b6aa7d17bb980d Mon Sep 17 00:00:00 2001 From: Ellie Bound <175816742+ellie-bound1-NHSD@users.noreply.github.com> Date: Thu, 18 Sep 2025 15:33:05 +0100 Subject: [PATCH 6/7] NPA-5559: Postman from Postman Export --- ...ip Service Sandbox.postman_collection.json | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/postman/Validated Relationship Service Sandbox.postman_collection.json b/postman/Validated Relationship Service Sandbox.postman_collection.json index ea56c757..c8e968d4 100644 --- a/postman/Validated Relationship Service Sandbox.postman_collection.json +++ b/postman/Validated Relationship Service Sandbox.postman_collection.json @@ -1,11 +1,10 @@ { "info": { - "_postman_id": "76babb13-02c0-42b3-84ec-d64ebe45e7b8", + "_postman_id": "ff12b42e-890c-4913-9d90-b7c73c611acc", "name": "Validated Relationship Service Sandbox 17/09/25", "description": "This Postman collection includes example scenarios for each of the Validated Relationship Service (VRS) API endpoints, covering both valid and invalid request scenarios.\n\nThe collection is pointed towards the VRS sandbox environment, which will return a specific example response based on the request sent. All data shown in the requests or responses is test data.\n\nOur sandbox environment only covers the scenarios listed in the Postman collection and is open access. It does not allow you to test authorisation or any scenarios beyond the ones documented.\n\nFull specification is available at [https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service](https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service)", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "45653607", - "_collection_link": "https://www.postman.com/lukeelliott-8674106/workspace/validated-relationship-service-sandbox-17-09-2025/collection/45653607-76babb13-02c0-42b3-84ec-d64ebe45e7b8?action=share&source=collection_link&creator=45653607" + "_exporter_id": "44536620" }, "item": [ { @@ -925,7 +924,8 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000009\"", - " }", + " },", + " \"type\": \"Patient\"", " },", " \"name\": [", " {", @@ -933,6 +933,7 @@ " \"given\": [", " \"GADIL\"", " ],", + " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -974,7 +975,8 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000025\"", - " }", + " },", + " \"type\": \"Patient\"", " },", " \"name\": [", " {", @@ -982,6 +984,7 @@ " \"given\": [", " \"Daren\"", " ],", + " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1094,6 +1097,7 @@ " \"given\": [", " \"GADIL\"", " ],", + " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1124,7 +1128,8 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000009\"", - " }", + " },", + " \"type\": \"Patient\"", " },", " \"name\": [", " {", @@ -1132,6 +1137,7 @@ " \"given\": [", " \"GADIL\"", " ],", + " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1175,6 +1181,7 @@ " \"given\": [", " \"Daren\"", " ],", + " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1205,7 +1212,8 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000025\"", - " }", + " },", + " \"type\": \"Patient\"", " },", " \"name\": [", " {", @@ -1213,6 +1221,7 @@ " \"given\": [", " \"Daren\"", " ],", + " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1397,7 +1406,8 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000017\"", - " }", + " },", + " \"type\": \"Patient\"", " },", " \"name\": [", " {", @@ -1405,6 +1415,7 @@ " \"given\": [", " \"GADIL\"", " ],", + " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1527,6 +1538,7 @@ " \"given\": [", " \"GADIL\"", " ],", + " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1557,7 +1569,8 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000017\"", - " }", + " },", + " \"type\": \"Patient\"", " },", " \"name\": [", " {", @@ -1565,6 +1578,7 @@ " \"given\": [", " \"GADIL\"", " ],", + " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", From 6e7d0ce6bfac17e8676ebf1e707c178d489f9b5f Mon Sep 17 00:00:00 2001 From: Ellie Bound <175816742+ellie-bound1-NHSD@users.noreply.github.com> Date: Thu, 18 Sep 2025 15:41:59 +0100 Subject: [PATCH 7/7] NPA-5559: Update to postman --- ...ip Service Sandbox.postman_collection.json | 34 ++++++------------- .../validated-relationships-service-api.yaml | 2 +- 2 files changed, 11 insertions(+), 25 deletions(-) diff --git a/postman/Validated Relationship Service Sandbox.postman_collection.json b/postman/Validated Relationship Service Sandbox.postman_collection.json index c8e968d4..373c710c 100644 --- a/postman/Validated Relationship Service Sandbox.postman_collection.json +++ b/postman/Validated Relationship Service Sandbox.postman_collection.json @@ -1,10 +1,11 @@ { "info": { - "_postman_id": "ff12b42e-890c-4913-9d90-b7c73c611acc", - "name": "Validated Relationship Service Sandbox 17/09/25", + "_postman_id": "4c6e58e9-dd6b-42fc-b6d7-5beac34fa4ea", + "name": "Validated Relationship Service Sandbox 18/09/25", "description": "This Postman collection includes example scenarios for each of the Validated Relationship Service (VRS) API endpoints, covering both valid and invalid request scenarios.\n\nThe collection is pointed towards the VRS sandbox environment, which will return a specific example response based on the request sent. All data shown in the requests or responses is test data.\n\nOur sandbox environment only covers the scenarios listed in the Postman collection and is open access. It does not allow you to test authorisation or any scenarios beyond the ones documented.\n\nFull specification is available at [https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service](https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service)", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "44536620" + "_exporter_id": "44536620", + "_collection_link": "https://www.postman.com/ellie-bound1-b2ea016f/workspace/validated-relationship-service-sandbox-18-10-2025/collection/44536620-4c6e58e9-dd6b-42fc-b6d7-5beac34fa4ea?action=share&source=collection_link&creator=44536620" }, "item": [ { @@ -924,8 +925,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000009\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -933,7 +933,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -975,8 +974,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000025\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -984,7 +982,6 @@ " \"given\": [", " \"Daren\"", " ],", - " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1097,7 +1094,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1128,8 +1124,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000009\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1137,7 +1132,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1181,7 +1175,6 @@ " \"given\": [", " \"Daren\"", " ],", - " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1212,8 +1205,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000025\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1221,7 +1213,6 @@ " \"given\": [", " \"Daren\"", " ],", - " \"id\": \"vitjN\",", " \"period\": {", " \"start\": \"2018-09-21\"", " },", @@ -1406,8 +1397,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000017\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1415,7 +1405,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1538,7 +1527,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", @@ -1569,8 +1557,7 @@ " \"identifier\": {", " \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",", " \"value\": \"9000000017\"", - " },", - " \"type\": \"Patient\"", + " }", " },", " \"name\": [", " {", @@ -1578,7 +1565,6 @@ " \"given\": [", " \"GADIL\"", " ],", - " \"id\": \"BLnbA\",", " \"period\": {", " \"start\": \"2021-07-08\"", " },", diff --git a/specification/validated-relationships-service-api.yaml b/specification/validated-relationships-service-api.yaml index 7045b734..9a107e45 100644 --- a/specification/validated-relationships-service-api.yaml +++ b/specification/validated-relationships-service-api.yaml @@ -141,7 +141,7 @@ info: * only covers a limited set of scenarios * is open access, so does not allow you to test authorisation - [Run In Postman](https://app.getpostman.com/run-collection/45653607-76babb13-02c0-42b3-84ec-d64ebe45e7b8?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D45653607-76babb13-02c0-42b3-84ec-d64ebe45e7b8%26entityType%3Dcollection%26workspaceId%3D613eff0e-e7c3-462b-b8da-185b83ec7856) + [Run In Postman](https://app.getpostman.com/run-collection/44536620-4c6e58e9-dd6b-42fc-b6d7-5beac34fa4ea?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D44536620-4c6e58e9-dd6b-42fc-b6d7-5beac34fa4ea%26entityType%3Dcollection%26workspaceId%3D93b2b54c-673e-49b5-bd23-0e78a02810f3) ### Integration testing