diff --git a/postman/Validated Relationship Service Sandbox.postman_collection.json b/postman/Validated Relationship Service Sandbox.postman_collection.json
index c560b14b..299b58ff 100644
--- a/postman/Validated Relationship Service Sandbox.postman_collection.json
+++ b/postman/Validated Relationship Service Sandbox.postman_collection.json
@@ -1,11 +1,11 @@
{
"info": {
- "_postman_id": "5c759d0a-d924-44ab-8668-3587dcaf27e1",
- "name": "Validated Relationship Service Sandbox 14/10/25",
+ "_postman_id": "e45a02c2-af60-4d4c-b790-c6708ae0f214",
+ "name": "Validated Relationship Service Sandbox 03/11/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": "18067099",
- "_collection_link": "https://www.postman.com/lunar-crescent-672573/workspace/validated-relationship-service-14-10-2025/collection/18067099-5c759d0a-d924-44ab-8668-3587dcaf27e1?action=share&source=collection_link&creator=18067099"
+ "_exporter_id": "44536620",
+ "_collection_link": "https://l44444-2379.postman.co/workspace/aac72fed-09cc-4a02-a0b4-9429fb546dba/collection/44536620-e45a02c2-af60-4d4c-b790-c6708ae0f214?action=share&source=collection_link&creator=44536620"
},
"item": [
{
@@ -2073,7 +2073,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
@@ -2086,7 +2085,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\": [",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -2126,7 +2129,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -2148,7 +2150,6 @@
" \"birthDate\": \"2022-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -2216,8 +2217,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -2256,7 +2256,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000005\"",
@@ -2304,7 +2303,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -2322,7 +2320,6 @@
" \"birthDate\": \"1995-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -2390,8 +2387,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -2561,8 +2557,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -2641,8 +2636,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -2792,8 +2786,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -2872,8 +2865,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -2952,8 +2944,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3032,8 +3023,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000017\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3181,8 +3171,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3261,8 +3250,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3341,8 +3329,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3448,7 +3435,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -3470,7 +3456,6 @@
" \"birthDate\": \"2022-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -3538,8 +3523,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3588,7 +3572,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -3606,7 +3589,6 @@
" \"birthDate\": \"1995-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -3674,8 +3656,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3724,7 +3705,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -3742,7 +3722,6 @@
" \"birthDate\": \"1991-1-13\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -3810,8 +3789,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -3911,7 +3889,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000009\"",
@@ -3924,7 +3901,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\": [",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -3994,8 +3975,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -4034,7 +4014,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000005\"",
@@ -4112,8 +4091,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -4152,7 +4130,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000006\"",
@@ -4230,8 +4207,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -4331,7 +4307,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000009\"",
@@ -4344,7 +4319,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\": [",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -4384,7 +4363,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -4406,7 +4384,6 @@
" \"birthDate\": \"2022-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -4474,8 +4451,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -4514,7 +4490,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000005\"",
@@ -4562,7 +4537,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -4580,7 +4554,6 @@
" \"birthDate\": \"1995-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -4648,8 +4621,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -4688,7 +4660,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000006\"",
@@ -4736,7 +4707,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -4754,7 +4724,6 @@
" \"birthDate\": \"1991-1-13\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -4822,8 +4791,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -4967,8 +4935,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000020\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5047,8 +5014,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000021\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5127,8 +5093,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5234,7 +5199,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -5252,7 +5216,6 @@
" \"birthDate\": \"1963-11-02\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -5280,7 +5243,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000100\"",
@@ -5293,7 +5255,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\": [",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -5363,8 +5329,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000020\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5403,7 +5368,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000100\"",
@@ -5481,8 +5445,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000021\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5521,7 +5484,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000100\"",
@@ -5599,8 +5561,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5704,7 +5665,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000100\"",
@@ -5717,7 +5677,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\": [",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -5787,8 +5751,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000020\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5827,7 +5790,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000100\"",
@@ -5905,8 +5867,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000021\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -5945,7 +5906,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000100\"",
@@ -6023,8 +5983,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -6134,7 +6093,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -6152,7 +6110,6 @@
" \"birthDate\": \"1963-11-02\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -6220,8 +6177,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000020\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -6300,8 +6256,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000021\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -6380,8 +6335,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000022\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -6577,8 +6531,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000010\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -6674,7 +6627,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000005\"",
@@ -6722,7 +6674,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -6740,7 +6691,6 @@
" \"birthDate\": \"1995-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -6808,8 +6758,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000010\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -6953,8 +6902,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000019\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -7050,7 +6998,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000009\"",
@@ -7063,7 +7010,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\": [",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -7103,7 +7054,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -7125,7 +7075,6 @@
" \"birthDate\": \"2022-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -7193,8 +7142,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000019\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -8077,8 +8025,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000010\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -8179,7 +8126,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -8197,7 +8143,6 @@
" \"birthDate\": \"1995-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -8337,7 +8282,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000005\"",
@@ -8487,7 +8431,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000005\"",
@@ -8535,7 +8478,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -8553,7 +8495,6 @@
" \"birthDate\": \"1995-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -8621,8 +8562,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000010\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -8762,8 +8702,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000019\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
@@ -8864,7 +8803,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -8886,7 +8824,6 @@
" \"birthDate\": \"2022-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -9026,7 +8963,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000009\"",
@@ -9039,7 +8975,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\":[",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -9175,7 +9115,6 @@
" }",
" ],",
" \"patient\": {",
- " \"type\": \"Patient\",",
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000009\"",
@@ -9188,7 +9127,11 @@
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"PRN\",",
" \"display\": \"parent\"",
- " },",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"coding\": [",
" {",
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
" \"code\": \"MTH\",",
@@ -9228,7 +9171,6 @@
" ],",
" \"name\": [",
" {",
- " \"id\": \"123456\",",
" \"use\": \"usual\",",
" \"period\": {",
" \"start\": \"2020-01-01\",",
@@ -9250,7 +9192,6 @@
" \"birthDate\": \"2022-10-22\",",
" \"generalPractitioner\": [",
" {",
- " \"type\": \"Organization\",",
" \"identifier\": {",
" \"value\": \"ODS12345\",",
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
@@ -9318,8 +9259,7 @@
" \"identifier\": {",
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
" \"value\": \"9000000019\"",
- " },",
- " \"type\": \"RelatedPerson\"",
+ " }",
" },",
" \"role\": {",
" \"coding\": [",
diff --git a/specification/examples/responses/GET_Consent/filtered-relationships-status-active-include-details.yaml b/specification/examples/responses/GET_Consent/filtered-relationships-status-active-include-details.yaml
index 29116253..72aa4281 100644
--- a/specification/examples/responses/GET_Consent/filtered-relationships-status-active-include-details.yaml
+++ b/specification/examples/responses/GET_Consent/filtered-relationships-status-active-include-details.yaml
@@ -22,18 +22,18 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: "ABC0000003"
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000017"
relationship:
- coding:
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: PRN
- display: parent
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: MTH
- display: mother
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ code: PRN
+ display: parent
+ - coding:
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ code: MTH
+ display: mother
search:
mode: include
- fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2"
@@ -51,8 +51,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: "ABC1234567"
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -66,8 +65,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
- PhD
birthDate: "2022-10-22"
generalPractitioner:
- - type: "Organization"
- identifier:
+ - identifier:
value: "ODS12345"
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -103,16 +101,15 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD"
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000017"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: "9000000017"
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -128,7 +125,6 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: "ABC0000003"
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000005"
@@ -154,8 +150,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: "ABC9999999"
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -166,8 +161,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
- Mrs
birthDate: "1995-10-22"
generalPractitioner:
- - type: "Organization"
- identifier:
+ - identifier:
value: "ODS12345"
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -203,16 +197,15 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD"
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000017"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: "9000000017"
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
diff --git a/specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml b/specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml
index 80f2c988..a0642052 100644
--- a/specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml
+++ b/specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml
@@ -45,7 +45,6 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
- type: RelatedPerson
role:
coding:
- code: PRN
@@ -91,7 +90,6 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
- type: RelatedPerson
role:
coding:
- code: PRN
diff --git a/specification/examples/responses/GET_Consent/filtered-relationships-status-proposed-active.yaml b/specification/examples/responses/GET_Consent/filtered-relationships-status-proposed-active.yaml
index c56c95f8..01f03f50 100644
--- a/specification/examples/responses/GET_Consent/filtered-relationships-status-proposed-active.yaml
+++ b/specification/examples/responses/GET_Consent/filtered-relationships-status-proposed-active.yaml
@@ -45,7 +45,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
- type: RelatedPerson
role:
coding:
- code: PRN
@@ -92,7 +91,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
- type: RelatedPerson
role:
coding:
- code: PRN
@@ -139,7 +137,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
- type: RelatedPerson
role:
coding:
- code: PRN
@@ -186,7 +183,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
- type: RelatedPerson
role:
coding:
- code: PRN
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml
index 705d2e02..89272b73 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml
@@ -25,8 +25,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -40,8 +39,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
- PhD
birthDate: "2022-10-22"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -77,16 +75,15 @@ ConsentMultipleRelationshipsIncludePatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -107,8 +104,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -119,8 +115,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
- Mrs
birthDate: "1995-10-22"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -156,16 +151,15 @@ ConsentMultipleRelationshipsIncludePatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -186,8 +180,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -198,8 +191,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
- Mr
birthDate: 1991-1-13
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -235,16 +227,15 @@ ConsentMultipleRelationshipsIncludePatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships-include-performer-patient.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-include-performer-patient.yaml
index 82c7b11d..1338d168 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-include-performer-patient.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-include-performer-patient.yaml
@@ -22,18 +22,18 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC0000003
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000009"
relationship:
- coding:
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: PRN
- display: parent
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: MTH
- display: mother
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: PRN
+ display: parent
+ - coding:
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: MTH
+ display: mother
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
@@ -51,8 +51,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -66,8 +65,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- PhD
birthDate: "2022-10-22"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -103,16 +101,15 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -128,7 +125,6 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC00000234
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000005"
@@ -155,8 +151,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -167,8 +162,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- Mrs
birthDate: "1995-10-22"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -204,16 +198,15 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: Personal
- display: Personal
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: Personal
+ display: Personal
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -229,7 +222,6 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC0000001
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000006"
@@ -256,8 +248,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -268,8 +259,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- Mr
birthDate: 1991-1-13
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -305,16 +295,15 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: Personal
- display: Personal
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: Personal
+ display: Personal
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml
index 07e3b9f2..d0577763 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml
@@ -22,18 +22,18 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC0000003
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000009'
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
- code: PRN
- display: parent
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
- code: MTH
- display: mother
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: PRN
+ display: parent
+ - coding:
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: MTH
+ display: mother
search:
mode: include
- fullUrl: >-
@@ -72,12 +72,11 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: '2026-02-11'
start: '2025-02-11'
@@ -94,7 +93,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC00000234
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000005'
@@ -142,7 +140,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- code: Personal
@@ -164,7 +161,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC0000001
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000006'
@@ -212,7 +208,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- code: Personal
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-patient.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-patient.yaml
index 925944cf..7556db27 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-patient.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-patient.yaml
@@ -25,8 +25,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -37,8 +36,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
- Miss
birthDate: "1963-11-02"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -74,16 +72,15 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000020"
- type: RelatedPerson
- role:
- coding:
- - code: CHILD
- display: Child
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000020'
+ role:
+ coding:
+ - code: CHILD
+ display: Child
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -120,16 +117,15 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000021"
- type: RelatedPerson
- role:
- coding:
- - code: GUARD
- display: Guardian
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000021'
+ role:
+ coding:
+ - code: GUARD
+ display: Guardian
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -166,16 +162,15 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer-patient.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer-patient.yaml
index ff0e599b..57f49131 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer-patient.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer-patient.yaml
@@ -25,8 +25,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -37,8 +36,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- Miss
birthDate: "1963-11-02"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -53,18 +51,18 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC0000003
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000100"
relationship:
- coding:
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: PRN
- display: parent
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: MTH
- display: mother
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: PRN
+ display: parent
+ - coding:
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: MTH
+ display: mother
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -98,16 +96,15 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000020"
- type: RelatedPerson
- role:
- coding:
- - code: CHILD
- display: Child
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000020'
+ role:
+ coding:
+ - code: CHILD
+ display: Child
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -123,7 +120,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC0000003
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000100"
@@ -165,16 +161,15 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000021"
- type: RelatedPerson
- role:
- coding:
- - code: GUARD
- display: Guardian
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000021'
+ role:
+ coding:
+ - code: GUARD
+ display: Guardian
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -190,7 +185,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC0000003
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000100"
@@ -232,16 +226,15 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000022"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000022'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer.yaml
index 9f2d842c..d8f9455a 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer.yaml
@@ -20,18 +20,18 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC0000003
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000100'
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
- code: PRN
- display: parent
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
- code: MTH
- display: mother
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: PRN
+ display: parent
+ - coding:
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: MTH
+ display: mother
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -69,7 +69,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000020'
- type: RelatedPerson
role:
coding:
- code: CHILD
@@ -90,7 +89,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC0000003
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000100'
@@ -136,7 +134,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000021'
- type: RelatedPerson
role:
coding:
- code: GUARD
@@ -157,7 +154,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC0000003
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000100'
@@ -203,7 +199,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- code: PRN
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient.yaml
index d88fb3e3..42364bd5 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient.yaml
@@ -45,7 +45,6 @@ ConsentMultipleRelationshipsSinglePatientBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000020'
- type: RelatedPerson
role:
coding:
- code: PRN
@@ -91,7 +90,6 @@ ConsentMultipleRelationshipsSinglePatientBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000021'
- type: RelatedPerson
role:
coding:
- code: GUARD
@@ -137,7 +135,6 @@ ConsentMultipleRelationshipsSinglePatientBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- code: CHILD
diff --git a/specification/examples/responses/GET_Consent/multiple-relationships.yaml b/specification/examples/responses/GET_Consent/multiple-relationships.yaml
index 5f866c67..1f8acebe 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships.yaml
@@ -45,7 +45,6 @@ ConsentMultipleRelationshipsBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- code: PRN
@@ -91,7 +90,6 @@ ConsentMultipleRelationshipsBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- code: PRN
@@ -137,7 +135,6 @@ ConsentMultipleRelationshipsBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
- type: RelatedPerson
role:
coding:
- code: PRN
diff --git a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml
index 681629bc..fde8f30a 100644
--- a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml
+++ b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml
@@ -25,8 +25,7 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -37,8 +36,7 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
- Mrs
birthDate: "1995-10-22"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
diff --git a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer-patient.yaml b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer-patient.yaml
index 4d046ec1..db276c9e 100644
--- a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer-patient.yaml
+++ b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer-patient.yaml
@@ -22,7 +22,6 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC0000008
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000005"
@@ -49,8 +48,7 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -61,8 +59,7 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
- Mrs
birthDate: "1995-10-22"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -98,16 +95,15 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000010"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000010'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
diff --git a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer.yaml b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer.yaml
index 733b31d4..7456a741 100644
--- a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer.yaml
+++ b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer.yaml
@@ -21,7 +21,6 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC0000008
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000005'
diff --git a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship.yaml b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship.yaml
index df3c7429..a11eb70b 100644
--- a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship.yaml
+++ b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship.yaml
@@ -45,7 +45,6 @@ ConsentSingleConsentingAdultRelationshipBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000010'
- type: RelatedPerson
role:
coding:
- code: GUARD
diff --git a/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-patient.yaml b/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-patient.yaml
index 23ddc18e..dd578e9a 100644
--- a/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-patient.yaml
+++ b/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-patient.yaml
@@ -25,8 +25,7 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234556
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -40,10 +39,9 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
- PhD
birthDate: "2022-10-22"
generalPractitioner:
- - type: Organization
- identifier:
- value: ODS12345
- system: "https://fhir.nhs.uk/Id/ods-organization-code"
+ - identifier:
+ value: ODS12345
+ system: 'https://fhir.nhs.uk/Id/ods-organization-code'
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
diff --git a/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer-patient.yaml b/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer-patient.yaml
index 6874a348..37337d4e 100644
--- a/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer-patient.yaml
+++ b/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer-patient.yaml
@@ -22,18 +22,18 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC0000001
patient:
- type: Patient
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000009"
relationship:
- coding:
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: PRN
- display: parent
- - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- code: MTH
- display: mother
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: PRN
+ display: parent
+ - coding:
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: MTH
+ display: mother
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
@@ -51,8 +51,7 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234556
name:
- - id: "123456"
- use: usual
+ - use: usual
period:
start: "2020-01-01"
end: "2021-12-31"
@@ -66,8 +65,7 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
- PhD
birthDate: "2022-10-22"
generalPractitioner:
- - type: Organization
- identifier:
+ - identifier:
value: ODS12345
system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
@@ -103,16 +101,15 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- - reference:
- identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
- value: "9000000019"
- type: RelatedPerson
- role:
- coding:
- - code: PRN
- display: Parent
- system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
+ - reference:
+ identifier:
+ system: https://fhir.nhs.uk/Id/nhs-number
+ value: '9000000019'
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
diff --git a/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer.yaml b/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer.yaml
index ee23cd19..8b8adbd0 100644
--- a/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer.yaml
+++ b/specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer.yaml
@@ -21,18 +21,18 @@ ConsentSingleAdultChildRelationshipIncludePerformerBundle:
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
value: ABC0000001
patient:
- type: Patient
identifier:
system: 'https://fhir.nhs.uk/Id/nhs-number'
value: '9000000009'
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
- code: PRN
- display: parent
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
- code: MTH
- display: mother
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: PRN
+ display: parent
+ - coding:
+ - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ code: MTH
+ display: mother
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
diff --git a/specification/examples/responses/GET_Consent/single-mother-child-relationship.yaml b/specification/examples/responses/GET_Consent/single-mother-child-relationship.yaml
index b6afb9c3..3976dce3 100644
--- a/specification/examples/responses/GET_Consent/single-mother-child-relationship.yaml
+++ b/specification/examples/responses/GET_Consent/single-mother-child-relationship.yaml
@@ -45,7 +45,6 @@ ConsentSingleAdultChildRelationshipBundle:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000019'
- type: RelatedPerson
role:
coding:
- code: PRN
diff --git a/specification/validated-relationships-service-api.yaml b/specification/validated-relationships-service-api.yaml
index 3c4c25af..e145263d 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
- [
](https://app.getpostman.com/run-collection/18067099-5c759d0a-d924-44ab-8668-3587dcaf27e1?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D18067099-5c759d0a-d924-44ab-8668-3587dcaf27e1%26entityType%3Dcollection%26workspaceId%3D1ee72d72-3355-4213-a165-a79aa2ab1de8)
+ [
](https://app.getpostman.com/run-collection/44536620-e45a02c2-af60-4d4c-b790-c6708ae0f214?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D44536620-e45a02c2-af60-4d4c-b790-c6708ae0f214%26entityType%3Dcollection%26workspaceId%3D65d46c77-2ee2-4fb0-92de-2ec03857a9e6)
### Integration testing
@@ -2418,9 +2418,6 @@ components:
required:
- identifier
properties:
- type:
- type: string
- description: The resource type that the reference refers to
identifier:
$ref: "#/components/schemas/Identifier"