diff --git a/postman/Validated Relationship Service Sandbox.postman_collection.json b/postman/Validated Relationship Service Sandbox.postman_collection.json
index 373c710c..7522d040 100644
--- a/postman/Validated Relationship Service Sandbox.postman_collection.json
+++ b/postman/Validated Relationship Service Sandbox.postman_collection.json
@@ -236,12 +236,8 @@
],
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse?ID=156e1560-e532-4e2a-85ad-5aeff03dc43e",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"],
"query": [
{
"key": "ID",
@@ -310,12 +306,8 @@
],
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"]
},
"description": "Example of an error response when reference code is missing from request"
},
@@ -378,12 +370,8 @@
],
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse?ID=INVALID",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"],
"query": [
{
"key": "ID",
@@ -452,12 +440,8 @@
],
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse?ID=60d09b82-f4bb-41f9-b41e-767999b4ac9b",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"],
"query": [
{
"key": "ID",
@@ -548,12 +532,8 @@
},
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"]
},
"description": "Example of an adult to child access request with the reference code returned"
},
@@ -631,12 +611,8 @@
},
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"]
},
"description": "Example of an adult to adult access request where the patient can consent with the reference code returned"
},
@@ -699,12 +675,8 @@
},
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"]
}
},
"response": []
@@ -781,12 +753,8 @@
},
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"]
},
"description": "Example of an adult to adult access request where the patient cannot consent with the reference code returned"
},
@@ -864,12 +832,8 @@
},
"url": {
"raw": "{{api_base_url}}/QuestionnaireResponse",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "QuestionnaireResponse"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["QuestionnaireResponse"]
},
"description": "Example of an adult to adult access request where the patient is the applicant with the reference code returned"
},
@@ -882,18 +846,14 @@
"listen": "prerequest",
"script": {
"type": "text/javascript",
- "exec": [
- ""
- ]
+ "exec": [""]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
- "exec": [
- ""
- ]
+ "exec": [""]
}
}
]
@@ -1051,12 +1011,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000017",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -1282,12 +1238,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000017&_include=RelatedPerson:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -1352,12 +1304,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000033",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -1470,12 +1418,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000017&patient:identifier=9000000009",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -1624,12 +1568,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000017&patient:identifier=9000000009&_include=RelatedPerson:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -1712,12 +1652,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"]
},
"description": "Example of an error response when the NHS number is missing"
},
@@ -1789,12 +1725,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=900000000",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -1868,12 +1800,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=https://fhir.nhs.uk/Id/nhs-number|A730675929",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -1948,12 +1876,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=1000000001",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -2028,12 +1952,8 @@
],
"url": {
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000041",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "RelatedPerson"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["RelatedPerson"],
"query": [
{
"key": "identifier",
@@ -2121,7 +2041,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -2299,7 +2219,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -2446,9 +2366,7 @@
{
"listen": "prerequest",
"script": {
- "exec": [
- ""
- ],
+ "exec": [""],
"type": "text/javascript",
"packages": {}
}
@@ -2471,12 +2389,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -2697,9 +2611,7 @@
{
"listen": "prerequest",
"script": {
- "exec": [
- ""
- ],
+ "exec": [""],
"type": "text/javascript",
"packages": {}
}
@@ -2710,12 +2622,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=inactive",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -3091,12 +2999,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -3400,12 +3304,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000022",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -3443,7 +3343,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -3583,7 +3483,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -3719,7 +3619,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -3869,12 +3769,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000022&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -4289,12 +4185,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000022&_include=Consent:performer",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -4379,7 +4271,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -4557,7 +4449,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -4731,7 +4623,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -4881,12 +4773,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -5186,12 +5074,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?patient:identifier=9000000100",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "patient:identifier",
@@ -5229,7 +5113,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -5658,12 +5542,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?patient:identifier=9000000100&_include=Consent:performer&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "patient:identifier",
@@ -6082,12 +5962,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?patient:identifier=9000000100&_include=Consent:performer",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "patient:identifier",
@@ -6129,7 +6005,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -6439,12 +6315,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?patient:identifier=9000000100&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "patient:identifier",
@@ -6499,12 +6371,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000025",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -6636,12 +6504,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000010",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -6717,7 +6581,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -6867,12 +6731,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7012,12 +6872,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000019",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7098,7 +6954,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -7252,12 +7108,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7324,12 +7176,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=test",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7396,12 +7244,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000019&_include=test",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7469,12 +7313,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000999",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7537,12 +7377,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=90000009990",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7605,12 +7441,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=https://fhir.nhs.uk/Id/nhs-number|1234567890",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7673,12 +7505,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"]
}
},
"response": []
@@ -7735,12 +7563,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000012",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"],
"query": [
{
"key": "performer:identifier",
@@ -7806,12 +7630,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"]
}
},
"response": []
@@ -7865,12 +7685,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"]
}
},
"response": []
@@ -7932,12 +7748,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"]
}
},
"response": []
@@ -7999,12 +7811,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent"]
}
},
"response": []
@@ -8136,13 +7944,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/74eed847-ca25-4e76-8cf2-f2c2d7842a7a",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"]
}
},
"response": []
@@ -8174,7 +7977,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -8298,13 +8101,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/74eed847-ca25-4e76-8cf2-f2c2d7842a7a?_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"],
"query": [
{
"key": "_include",
@@ -8448,13 +8246,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/74eed847-ca25-4e76-8cf2-f2c2d7842a7a?_include=Consent:performer",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"],
"query": [
{
"key": "_include",
@@ -8530,7 +8323,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -8679,13 +8472,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/74eed847-ca25-4e76-8cf2-f2c2d7842a7a?_include=Consent:performer&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"],
"query": [
{
"key": "_include",
@@ -8821,13 +8609,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/39df03a2-1b14-4d19-b1dc-d5d8cbf96948",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"]
}
},
"response": []
@@ -8859,7 +8642,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -8987,13 +8770,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/39df03a2-1b14-4d19-b1dc-d5d8cbf96948?_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"],
"query": [
{
"key": "_include",
@@ -9136,13 +8914,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/39df03a2-1b14-4d19-b1dc-d5d8cbf96948?_include=Consent:performer",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"],
"query": [
{
"key": "_include",
@@ -9223,7 +8996,7 @@
" \"meta\": {",
" \"security\": [",
" {",
- " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",",
+ " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",",
" \"code\": \"P9\",",
" \"display\": \"High level verification (P9)\"",
" }",
@@ -9377,13 +9150,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/39df03a2-1b14-4d19-b1dc-d5d8cbf96948?_include=Consent:performer&_include=Consent:patient",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"],
"query": [
{
"key": "_include",
@@ -9446,13 +9214,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/invalid-identifier",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "invalid-identifier"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "invalid-identifier"]
}
},
"response": []
@@ -9506,13 +9269,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/39df03a2-1b14-4d19-b1dc-d5d8cbf96948?_include=Consent:invalid",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "39df03a2-1b14-4d19-b1dc-d5d8cbf96948"],
"query": [
{
"key": "_include",
@@ -9571,13 +9329,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/74eed847-ca25-4e76-8cf2-f2c2d7842a7a?_unknown=true",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"
- ],
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"],
"query": [
{
"key": "_unknown",
@@ -9636,13 +9389,8 @@
"header": [],
"url": {
"raw": "{{api_base_url}}/Consent/a0922245-1072-40c3-8f4e-a7490c10d365",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "a0922245-1072-40c3-8f4e-a7490c10d365"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "a0922245-1072-40c3-8f4e-a7490c10d365"]
}
},
"response": []
@@ -9698,13 +9446,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/74eed847-ca25-4e76-8cf2-f2c2d7842a7a",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "74eed847-ca25-4e76-8cf2-f2c2d7842a7a"]
},
"description": "Valid patch changing status to 'active'"
},
@@ -9755,13 +9498,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/6b71ac92-baa3-4b76-b0f5-a601257e2722",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "6b71ac92-baa3-4b76-b0f5-a601257e2722"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "6b71ac92-baa3-4b76-b0f5-a601257e2722"]
},
"description": "Valid patch modifying the role end date"
},
@@ -9812,13 +9550,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/43003db8-ffcd-4bd6-ab2f-b49b9656f9e5",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "43003db8-ffcd-4bd6-ab2f-b49b9656f9e5"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "43003db8-ffcd-4bd6-ab2f-b49b9656f9e5"]
},
"description": "Valid patch modifying the role end date"
},
@@ -9880,13 +9613,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/78c35330-fa2f-4934-a5dd-fff847f38de5",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "78c35330-fa2f-4934-a5dd-fff847f38de5"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "78c35330-fa2f-4934-a5dd-fff847f38de5"]
},
"description": "Patch with invalid status value"
},
@@ -9948,13 +9676,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/01abb0c5-b1ac-499d-9655-9cd0b8d3588f",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "01abb0c5-b1ac-499d-9655-9cd0b8d3588f"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "01abb0c5-b1ac-499d-9655-9cd0b8d3588f"]
},
"description": "Patch targeting non-existent element"
},
@@ -10016,13 +9739,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/0000000",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "0000000"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "0000000"]
},
"description": "Patch for non-existent Consent"
},
@@ -10084,13 +9802,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/849ea584-2318-471b-a24c-cee1b5ad0137",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "849ea584-2318-471b-a24c-cee1b5ad0137"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "849ea584-2318-471b-a24c-cee1b5ad0137"]
},
"description": "Malformed JSON patch document"
},
@@ -10152,13 +9865,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/7b7f47b8-96e5-43eb-b733-283bf1449f2c",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "7b7f47b8-96e5-43eb-b733-283bf1449f2c"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "7b7f47b8-96e5-43eb-b733-283bf1449f2c"]
}
},
"response": []
@@ -10219,13 +9927,8 @@
},
"url": {
"raw": "{{api_base_url}}/Consent/51fb4df5-815a-45cd-8427-04d6558336b7",
- "host": [
- "{{api_base_url}}"
- ],
- "path": [
- "Consent",
- "51fb4df5-815a-45cd-8427-04d6558336b7"
- ]
+ "host": ["{{api_base_url}}"],
+ "path": ["Consent", "51fb4df5-815a-45cd-8427-04d6558336b7"]
}
},
"response": []
@@ -10240,9 +9943,7 @@
"script": {
"type": "text/javascript",
"packages": {},
- "exec": [
- ""
- ]
+ "exec": [""]
}
},
{
@@ -10264,4 +9965,4 @@
"value": "https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4"
}
]
-}
\ 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 589428cb..29116253 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
@@ -42,7 +42,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
id: A3CC67E2
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
@@ -103,16 +103,16 @@ 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
end: "2026-02-11"
start: "2025-02-11"
@@ -145,7 +145,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
id: DFCC67F5
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
@@ -203,16 +203,16 @@ 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"
+ type: RelatedPerson
+ 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-patient.yaml b/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml
index 3a46d41f..705d2e02 100644
--- a/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml
+++ b/specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml
@@ -1,10 +1,9 @@
ConsentMultipleRelationshipsIncludePatientBundle:
summary: Multiple relationships with patient details
- description:
- A Bundle containing multiple proxy relationships with varying legal basis' including patient details
+ description: A Bundle containing multiple proxy relationships with varying legal basis' including patient details
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 3
type: searchset
link:
@@ -17,20 +16,20 @@ ConsentMultipleRelationshipsIncludePatientBundle:
id: A3CC67E2
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Jane Marie Anne
family: Smith
@@ -39,12 +38,12 @@ ConsentMultipleRelationshipsIncludePatientBundle:
suffix:
- MBE
- PhD
- birthDate: '2022-10-22'
+ birthDate: "2022-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -54,43 +53,43 @@ ConsentMultipleRelationshipsIncludePatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5
@@ -99,31 +98,31 @@ ConsentMultipleRelationshipsIncludePatientBundle:
id: DFCC67F5
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Sally
family: Evans
prefix:
- Mrs
- birthDate: '1995-10-22'
+ birthDate: "1995-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -133,43 +132,43 @@ ConsentMultipleRelationshipsIncludePatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/ZPTT32T3
@@ -178,20 +177,20 @@ ConsentMultipleRelationshipsIncludePatientBundle:
id: ZPTT32T3
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000006'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000006"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Michael
family: Percy
@@ -202,7 +201,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1
@@ -212,43 +211,42 @@ ConsentMultipleRelationshipsIncludePatientBundle:
status: inactive
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000006'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000006"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
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 7fdf3278..82c7b11d 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
@@ -5,7 +5,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
and proxy details.
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 3
type: searchset
link:
@@ -17,21 +17,21 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: BE974742
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000022"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: PRN
display: parent
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: MTH
display: mother
search:
@@ -42,20 +42,20 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
id: A3CC67E2
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Jane Marie Anne
family: Smith
@@ -64,12 +64,12 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
suffix:
- MBE
- PhD
- birthDate: '2022-10-22'
+ birthDate: "2022-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -79,43 +79,43 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720
@@ -123,15 +123,15 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: RP974720
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000022"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
relationship:
- coding:
- system: >-
@@ -146,31 +146,31 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
id: DFCC67F5
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Sally
family: Evans
prefix:
- Mrs
- birthDate: '1995-10-22'
+ birthDate: "1995-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -180,43 +180,43 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: Personal
+ display: Personal
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/AATD11A1
@@ -224,15 +224,15 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: AATD11A1
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000022"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000006"
relationship:
- coding:
- system: >-
@@ -247,20 +247,20 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
id: ZPTT32T3
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000006'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000006"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC9999999
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Michael
family: Percy
@@ -271,7 +271,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1
@@ -281,42 +281,42 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
status: inactive
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000006'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000006"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: Personal
+ display: Personal
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
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 b91b0d00..925944cf 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
@@ -3,7 +3,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
description: A Bundle containing multiple proxy relationships with single patient, including patient details.
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 3
type: searchset
link:
@@ -16,31 +16,31 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
id: A3CC67E2
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Samantha
family: Adams
prefix:
- Miss
- birthDate: '1963-11-02'
+ birthDate: "1963-11-02"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -50,43 +50,43 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000020'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: CHILD
+ display: Child
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -96,43 +96,43 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000021'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: GUARD
+ display: Guardian
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1
@@ -142,42 +142,42 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
status: inactive
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
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 dedd1418..ff0e599b 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
@@ -3,7 +3,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
description: A Bundle containing multiple proxy relationships with single patient, including patient and proxy details.
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 3
type: searchset
link:
@@ -16,31 +16,31 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
id: A3CC67E2
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Samantha
family: Adams
prefix:
- Miss
- birthDate: '1963-11-02'
+ birthDate: "1963-11-02"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
@@ -48,21 +48,21 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: BE974742
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000020'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000020"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: PRN
display: parent
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: MTH
display: mother
search:
@@ -74,43 +74,43 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000020'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: CHILD
+ display: Child
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
@@ -118,18 +118,18 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: BE974742
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000021'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000021"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: Personal
display: Personal relationship with the patient
search:
@@ -141,43 +141,43 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000021'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: GUARD
+ display: Guardian
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
@@ -185,18 +185,18 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: BE974742
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000022"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: Personal
display: Personal relationship with the patient
search:
@@ -208,42 +208,42 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
status: inactive
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000100'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000100"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000022'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
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 4510271f..681629bc 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
@@ -1,10 +1,9 @@
ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
summary: Single consenting adult proxy relationship with patient details
- description:
- A Bundle containing a single proxy relationship between consenting adults including the patient details.
+ description: A Bundle containing a single proxy relationship between consenting adults including the patient details.
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 1
type: searchset
link:
@@ -17,31 +16,31 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
id: DFCC67F5
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Sally
family: Evans
prefix:
- Mrs
- birthDate: '1995-10-22'
+ birthDate: "1995-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -51,25 +50,25 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000010'
+ 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
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 1c83d5a0..4d046ec1 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
@@ -5,7 +5,7 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
patient details.
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 1
type: searchset
link:
@@ -17,15 +17,15 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: RP974720
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000010'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000010"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
relationship:
- coding:
- system: >-
@@ -40,31 +40,31 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
id: DFCC67F5
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234567
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Sally
family: Evans
prefix:
- Mrs
- birthDate: '1995-10-22'
+ birthDate: "1995-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -74,42 +74,42 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000005'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000005"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000010'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
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 a514ffba..23ddc18e 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
@@ -1,10 +1,9 @@
ConsentSingleAdultChildRelationshipIncludePatientBundle:
summary: Single adult child proxy relationship with patient details
- description:
- A Bundle containing a single proxy relationship between an adult and child including the patient details.
+ description: A Bundle containing a single proxy relationship between an adult and child including the patient details.
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 1
type: searchset
link:
@@ -17,20 +16,20 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
id: A3CC67E2
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234556
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Jane Marie Anne
family: Smith
@@ -39,12 +38,12 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
suffix:
- MBE
- PhD
- birthDate: '2022-10-22'
+ birthDate: "2022-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -54,25 +53,25 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000019'
+ 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
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 eda8bf54..6874a348 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
@@ -5,7 +5,7 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
and patient details.
value:
resourceType: Bundle
- timestamp: '2020-08-26T14:00:00+00:00'
+ timestamp: "2020-08-26T14:00:00+00:00"
total: 1
type: searchset
link:
@@ -17,21 +17,21 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
resourceType: RelatedPerson
id: BE974742
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000019'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000019"
+ - 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'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
relationship:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: PRN
display: parent
- - system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
code: MTH
display: mother
search:
@@ -42,20 +42,20 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
id: A3CC67E2
meta:
security:
- - system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
+ - system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
code: "P9"
display: "High level verification (P9)"
identifier:
- - system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- - system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
+ - system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ - system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
value: ABC1234556
name:
- - id: '123456'
+ - id: "123456"
use: usual
period:
- start: '2020-01-01'
- end: '2021-12-31'
+ start: "2020-01-01"
+ end: "2021-12-31"
given:
- Jane Marie Anne
family: Smith
@@ -64,12 +64,12 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
suffix:
- MBE
- PhD
- birthDate: '2022-10-22'
+ birthDate: "2022-10-22"
generalPractitioner:
- type: Organization
identifier:
value: ODS12345
- system: 'https://fhir.nhs.uk/Id/ods-organization-code'
+ system: "https://fhir.nhs.uk/Id/ods-organization-code"
search:
mode: include
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -79,42 +79,42 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
status: active
scope:
coding:
- - system: 'http://terminology.hl7.org/CodeSystem/consentscope'
+ - system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: Privacy Consent
text: Patient Privacy Consent
category:
- coding:
- - system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
+ - system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
code: INFA
display: Information Access
text: Information Access Consent
patient:
identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000009'
- dateTime: '2024-07-21T17:32:28Z'
+ system: "https://fhir.nhs.uk/Id/nhs-number"
+ value: "9000000009"
+ dateTime: "2024-07-21T17:32:28Z"
performer:
- identifier:
- system: 'https://fhir.nhs.uk/Id/nhs-number'
- value: '9000000019'
+ 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:
- 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"
+ type: RelatedPerson
+ role:
+ coding:
+ - code: PRN
+ display: Parent
+ system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
period:
- end: '2026-02-11'
- start: '2025-02-11'
+ end: "2026-02-11"
+ start: "2025-02-11"
search:
mode: match
diff --git a/specification/validated-relationships-service-api.yaml b/specification/validated-relationships-service-api.yaml
index f107d0f2..b430f911 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/44536620-4c6e58e9-dd6b-42fc-b6d7-5beac34fa4ea?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D44536620-4c6e58e9-dd6b-42fc-b6d7-5beac34fa4ea%26entityType%3Dcollection%26workspaceId%3D93b2b54c-673e-49b5-bd23-0e78a02810f3)
+ [
](https://app.getpostman.com/run-collection/44536620-c011ca09-3246-4d9c-870e-33ebd0629114?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D44536620-c011ca09-3246-4d9c-870e-33ebd0629114%26entityType%3Dcollection%26workspaceId%3D81756490-ef07-4f09-9861-3c601a39729e)
### Integration testing