diff --git a/postman/Validate Relationship Service Sandbox.postman_collection.json b/postman/Validate Relationship Service Sandbox.postman_collection.json index cb0d25a5..16720d30 100644 --- a/postman/Validate Relationship Service Sandbox.postman_collection.json +++ b/postman/Validate Relationship Service Sandbox.postman_collection.json @@ -1,10 +1,10 @@ { "info": { - "_postman_id": "a676026f-cba5-4d4e-a36b-7c78a9382f49", - "name": "Validate Relationship Service Sandbox 10/07/25", + "_postman_id": "35ed5c9e-f0bb-49c9-841e-3dbfcc85ddc5", + "name": "Validate Relationship Service Sandbox 04/08/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" + "_exporter_id": "44536620" }, "item": [ { @@ -2051,6 +2051,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 2,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",", @@ -2189,6 +2195,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -2215,21 +2227,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -2363,6 +2360,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -2389,21 +2392,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -2424,6 +2412,16 @@ "type": "text/javascript", "packages": {} } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } } ], "protocolProfileBehavior": { @@ -2483,6 +2481,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 2,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=inactive\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1\",", @@ -2527,6 +2531,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -2553,21 +2563,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -2616,6 +2611,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -2642,21 +2643,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -2681,8 +2667,11 @@ { "listen": "prerequest", "script": { - "packages": {}, - "type": "text/javascript" + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} } } ], @@ -2723,6 +2712,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 4,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9\",", @@ -2767,6 +2762,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -2793,21 +2794,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -2856,6 +2842,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -2882,21 +2874,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -2945,6 +2922,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -2971,21 +2954,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3034,6 +3002,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -3060,21 +3034,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3142,6 +3101,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9\",", @@ -3186,6 +3151,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -3212,21 +3183,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3275,6 +3231,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -3301,21 +3263,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3364,6 +3311,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -3390,21 +3343,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3460,6 +3398,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2\",", @@ -3555,6 +3499,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -3581,21 +3531,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3691,6 +3626,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -3717,21 +3658,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3827,6 +3753,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -3853,21 +3785,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -3927,6 +3844,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",", @@ -4014,6 +3937,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -4040,21 +3969,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -4141,6 +4055,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -4167,21 +4087,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -4268,6 +4173,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -4294,21 +4205,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -4368,6 +4264,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",", @@ -4506,6 +4408,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -4532,21 +4440,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -4680,6 +4573,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -4706,21 +4605,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -4854,6 +4738,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -4880,21 +4770,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -4958,6 +4833,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9\",", @@ -5002,6 +4883,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -5028,21 +4915,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -5091,6 +4963,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -5117,21 +4995,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -5180,6 +5043,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -5206,21 +5075,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -5276,6 +5130,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2\",", @@ -5410,6 +5270,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -5436,21 +5302,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -5537,6 +5388,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -5563,21 +5420,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -5664,6 +5506,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -5690,21 +5538,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -5768,6 +5601,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",", @@ -5855,6 +5694,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -5881,21 +5726,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -5982,6 +5812,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -6008,21 +5844,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -6109,6 +5930,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -6135,21 +5962,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -6209,6 +6021,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 3,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2\",", @@ -6300,6 +6118,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -6326,21 +6150,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -6389,6 +6198,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -6415,21 +6230,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -6478,6 +6278,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -6504,21 +6310,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -6578,6 +6369,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 0,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000025&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": []", "}", "", @@ -6590,7 +6387,8 @@ " pm.expect(responseJson).to.eql(expectedResponseBody);", "});" ], - "type": "text/javascript" + "type": "text/javascript", + "packages": {} } } ], @@ -6627,6 +6425,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1\",", @@ -6671,6 +6475,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -6696,22 +6506,7 @@ " \"end\": \"2026-02-11\",", " \"start\": \"2025-02-11\"", " }", - " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", + " }", " },", " \"search\": {", " \"mode\": \"match\"", @@ -6767,6 +6562,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720\",", @@ -6896,6 +6697,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -6922,21 +6729,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -7000,6 +6792,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9\",", @@ -7044,6 +6842,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -7070,21 +6874,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -7140,6 +6929,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",", @@ -7278,6 +7073,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -7304,21 +7105,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -8117,6 +7903,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1\",", @@ -8161,6 +7953,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -8187,21 +7985,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -8252,6 +8035,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5\",", @@ -8343,6 +8132,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " },", " \"search\": {", " \"mode\": \"match\"", @@ -8399,6 +8194,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720\",", @@ -8481,6 +8282,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " },", " \"search\": {", " \"mode\": \"match\"", @@ -8537,6 +8344,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720\",", @@ -8666,6 +8479,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -8692,21 +8511,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -8767,6 +8571,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9\",", @@ -8811,6 +8621,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -8837,21 +8653,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -8902,6 +8703,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2\",", @@ -8996,6 +8803,12 @@ " \"value\": \"9000000019\"", " }", " }", + " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", " ]", " },", " \"search\": {", @@ -9053,6 +8866,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",", @@ -9196,6 +9015,12 @@ " \"timestamp\": \"2020-08-26T14:00:00+00:00\",", " \"total\": 1,", " \"type\": \"searchset\",", + " \"link\": [", + " {", + " \"relation\": \"self\",", + " \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient\"", + " }", + " ],", " \"entry\": [", " {", " \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",", @@ -9334,6 +9159,12 @@ " }", " }", " ],", + " \"policy\": [", + " {", + " \"authority\": \"https://www.england.nhs.uk\",", + " \"uri\": \"REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD\"", + " }", + " ],", " \"provision\": {", " \"actor\": [", " {", @@ -9360,21 +9191,6 @@ " \"start\": \"2025-02-11\"", " }", " },", - " \"extension\": [", - " {", - " \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason\",", - " \"valueCodeableConcept\": {", - " \"coding\": [", - " {", - " \"code\": \"TBC\",", - " \"display\": \"TBC\",", - " \"system\": \"http://terminology.hl7.org/CodeSystem/consent-reason\"", - " }", - " ],", - " \"text\": \"To be confirmed\"", - " }", - " }", - " ]", " },", " \"search\": {", " \"mode\": \"match\"", @@ -10288,4 +10104,4 @@ "type": "string" } ] -} +} \ No newline at end of file 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 fc0ac6e0..31c664aa 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 @@ -8,6 +8,9 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle: timestamp: "2020-08-26T14:00:00+00:00" total: 2 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient entry: - fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742" resource: @@ -90,6 +93,9 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle: - identifier: system: "https://fhir.nhs.uk/Id/nhs-number" value: "9000000017" + policy: + - authority: "https://www.england.nhs.uk" + uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD" provision: actor: - reference: @@ -105,14 +111,6 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle: period: end: "2026-02-11" start: "2025-02-11" - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720" @@ -190,6 +188,9 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle: - identifier: system: "https://fhir.nhs.uk/Id/nhs-number" value: "9000000017" + policy: + - authority: "https://www.england.nhs.uk" + uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD" provision: actor: - reference: @@ -205,13 +206,5 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle: period: end: "2026-02-11" start: "2025-02-11" - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 c5c0eec6..80f2c988 100644 --- a/specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml +++ b/specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml @@ -6,6 +6,9 @@ ConsentMultipleRelationshipsStatusInactiveBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 2 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=inactive entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1 resource: @@ -33,6 +36,9 @@ ConsentMultipleRelationshipsStatusInactiveBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000017' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -48,14 +54,6 @@ ConsentMultipleRelationshipsStatusInactiveBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/ABCD12B3 @@ -84,6 +82,9 @@ ConsentMultipleRelationshipsStatusInactiveBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000017' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -99,13 +100,5 @@ ConsentMultipleRelationshipsStatusInactiveBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 ffc118fc..c56c95f8 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 @@ -6,6 +6,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 4 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9 resource: @@ -33,6 +36,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000017' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -48,14 +54,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match @@ -85,7 +83,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000017' - + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -101,14 +101,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match @@ -138,6 +130,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000017' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -153,14 +148,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match @@ -190,6 +177,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000017' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -205,13 +195,5 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 92ad038e..39ad0337 100644 --- a/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml +++ b/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml @@ -7,6 +7,9 @@ ConsentMultipleRelationshipsIncludePatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2 resource: @@ -65,6 +68,9 @@ ConsentMultipleRelationshipsIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -80,14 +86,6 @@ ConsentMultipleRelationshipsIncludePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5 @@ -144,6 +142,9 @@ ConsentMultipleRelationshipsIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -159,14 +160,6 @@ ConsentMultipleRelationshipsIncludePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/ZPTT32T3 @@ -223,6 +216,9 @@ ConsentMultipleRelationshipsIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -238,14 +234,6 @@ ConsentMultipleRelationshipsIncludePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 5289326d..51072605 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 @@ -8,6 +8,9 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 resource: @@ -90,6 +93,9 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -105,14 +111,6 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720 @@ -191,6 +189,9 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -206,14 +207,6 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/AATD11A1 @@ -292,6 +285,9 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -307,13 +303,5 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 104cd9b5..07e3b9f2 100644 --- a/specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml +++ b/specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml @@ -7,6 +7,9 @@ ConsentMultipleRelationshipsIncludePerformerBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer entry: - fullUrl: >- https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 @@ -60,6 +63,9 @@ ConsentMultipleRelationshipsIncludePerformerBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -75,14 +81,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: >- @@ -135,6 +133,9 @@ ConsentMultipleRelationshipsIncludePerformerBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -150,14 +151,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: >- @@ -210,6 +203,9 @@ ConsentMultipleRelationshipsIncludePerformerBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -225,14 +221,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 75543ad4..a3f0757f 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 @@ -6,6 +6,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2 resource: @@ -61,6 +64,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000020' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -76,14 +82,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1 @@ -112,6 +110,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000021' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -127,14 +128,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1 @@ -163,6 +156,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -178,13 +174,5 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 5301ff00..01d7d6be 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 @@ -6,6 +6,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2 resource: @@ -85,6 +88,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000020' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -100,14 +106,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 @@ -157,6 +155,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000021' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -172,14 +173,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 @@ -229,6 +222,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -244,13 +240,5 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 d0592898..9f2d842c 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 @@ -6,6 +6,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 resource: @@ -57,6 +60,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000020' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -72,14 +78,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 @@ -129,6 +127,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000021' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -144,14 +145,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 @@ -201,6 +194,9 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -216,13 +212,5 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 32cb284a..d88fb3e3 100644 --- a/specification/examples/responses/GET_Consent/multiple-relationships-single-patient.yaml +++ b/specification/examples/responses/GET_Consent/multiple-relationships-single-patient.yaml @@ -6,6 +6,9 @@ ConsentMultipleRelationshipsSinglePatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100 entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9 resource: @@ -33,6 +36,9 @@ ConsentMultipleRelationshipsSinglePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000020' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -48,14 +54,6 @@ ConsentMultipleRelationshipsSinglePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1 @@ -84,6 +82,9 @@ ConsentMultipleRelationshipsSinglePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000021' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -99,14 +100,6 @@ ConsentMultipleRelationshipsSinglePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1 @@ -135,6 +128,9 @@ ConsentMultipleRelationshipsSinglePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -150,13 +146,5 @@ ConsentMultipleRelationshipsSinglePatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match diff --git a/specification/examples/responses/GET_Consent/multiple-relationships.yaml b/specification/examples/responses/GET_Consent/multiple-relationships.yaml index bbf018da..5f866c67 100644 --- a/specification/examples/responses/GET_Consent/multiple-relationships.yaml +++ b/specification/examples/responses/GET_Consent/multiple-relationships.yaml @@ -6,6 +6,9 @@ ConsentMultipleRelationshipsBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 3 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022 entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9 resource: @@ -33,6 +36,9 @@ ConsentMultipleRelationshipsBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -48,14 +54,6 @@ ConsentMultipleRelationshipsBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1 @@ -84,6 +82,9 @@ ConsentMultipleRelationshipsBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -99,14 +100,6 @@ ConsentMultipleRelationshipsBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1 @@ -135,6 +128,9 @@ ConsentMultipleRelationshipsBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000022' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -150,13 +146,5 @@ ConsentMultipleRelationshipsBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match diff --git a/specification/examples/responses/GET_Consent/no-relationships.yaml b/specification/examples/responses/GET_Consent/no-relationships.yaml index e08be294..4b01ee7d 100644 --- a/specification/examples/responses/GET_Consent/no-relationships.yaml +++ b/specification/examples/responses/GET_Consent/no-relationships.yaml @@ -6,4 +6,7 @@ ConsentNoRelationshipsEmptyBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 0 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000025&_include=Consent:performer&_include=Consent:patient entry: [] 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 dee9bed2..f93a0ca4 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 @@ -7,6 +7,9 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5 resource: @@ -62,5 +65,8 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000010' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD search: mode: match 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 120e6b83..1ca06a25 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 @@ -8,6 +8,9 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720 resource: @@ -85,6 +88,9 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000010' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -100,13 +106,5 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 607eb95d..733b31d4 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 @@ -7,6 +7,9 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720 resource: @@ -56,5 +59,8 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000010' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD search: mode: match 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 d597686a..df3c7429 100644 --- a/specification/examples/responses/GET_Consent/single-consenting-adult-relationship.yaml +++ b/specification/examples/responses/GET_Consent/single-consenting-adult-relationship.yaml @@ -6,6 +6,9 @@ ConsentSingleConsentingAdultRelationshipBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010 entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1 resource: @@ -33,6 +36,9 @@ ConsentSingleConsentingAdultRelationshipBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000010' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -48,13 +54,5 @@ ConsentSingleConsentingAdultRelationshipBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 cf32f0de..01104808 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 @@ -7,6 +7,9 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2 resource: @@ -65,5 +68,8 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000019' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD search: mode: match 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 57f1c8b4..ba5a2095 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 @@ -8,6 +8,9 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 resource: @@ -90,6 +93,9 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000019' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -105,13 +111,5 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match 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 5f2584d9..ee23cd19 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 @@ -7,6 +7,9 @@ ConsentSingleAdultChildRelationshipIncludePerformerBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742 resource: 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 71bc9852..b6afb9c3 100644 --- a/specification/examples/responses/GET_Consent/single-mother-child-relationship.yaml +++ b/specification/examples/responses/GET_Consent/single-mother-child-relationship.yaml @@ -6,6 +6,9 @@ ConsentSingleAdultChildRelationshipBundle: timestamp: '2020-08-26T14:00:00+00:00' total: 1 type: searchset + link: + - relation: self + url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019 entry: - fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9 resource: @@ -33,6 +36,9 @@ ConsentSingleAdultChildRelationshipBundle: - identifier: system: 'https://fhir.nhs.uk/Id/nhs-number' value: '9000000019' + policy: + - authority: https://www.england.nhs.uk + uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD provision: actor: - reference: @@ -48,13 +54,5 @@ ConsentSingleAdultChildRelationshipBundle: period: end: '2026-02-11' start: '2025-02-11' - extension: - - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason - valueCodeableConcept: - coding: - - code: TBC - display: TBC - system: http://terminology.hl7.org/CodeSystem/consent-reason - text: "To be confirmed" search: mode: match diff --git a/specification/validated-relationships-service-api.yaml b/specification/validated-relationships-service-api.yaml index 5b9f58ee..6a5e0f41 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://god.gw.postman.com/run-collection/46399153-73a3846c-092a-44a1-940f-18736fb1f411?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D46399153-73a3846c-092a-44a1-940f-18736fb1f411%26entityType%3Dcollection%26workspaceId%3D34c06bc9-c5de-4206-b931-9ee51c810dbb)) + [Run In Postman](https://app.getpostman.com/run-collection/44536620-35ed5c9e-f0bb-49c9-841e-3dbfcc85ddc5?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D44536620-35ed5c9e-f0bb-49c9-841e-3dbfcc85ddc5%26entityType%3Dcollection%26workspaceId%3Dad27765c-6ca7-4f03-9ef4-fd61fe46e357) ### Integration testing @@ -1946,6 +1946,25 @@ components: type: string description: Denotes that the Bundle is a collection of resources returned as a result of a search. enum: [searchset] + + Link: + type: object + properties: + link: + type: array + description: Links related to the entry + items: + type: object + properties: + relation: + type: string + description: | + A name which details the functional use for this link - see: + http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 + url: + type: string + format: uri + description: The reference details for the link. RelatedPersonBundle: allOf: @@ -1979,6 +1998,7 @@ components: ConsentBundle: allOf: - $ref: "#/components/schemas/Searchset" + - $ref: "#/components/schemas/Link" - type: object properties: entry: @@ -2244,13 +2264,26 @@ components: items: $ref: "#/components/schemas/Reference" description: "Individuals or organizations that agreed to the consent." + policy: + type: array + items: + $ref: "#/components/schemas/Policy" provision: $ref: "#/components/schemas/Provision" extension: - type: array - description: Model the status reason. - items: - $ref: "#/components/schemas/Extension" + $ref: "#/components/schemas/Extension" + + Policy: + type: object + properties: + authority: + type: string + description: "Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives." + format: uri + uri: + type: string + description: "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law." + format: uri Provision: type: object @@ -2279,7 +2312,7 @@ components: role: $ref: "#/components/schemas/CodeableConcept" description: "Classification of the role of consent, bound to http://terminology.hl7.org/CodeSystem/v3-RoleCode" - + Extension: type: object properties: