From 1c56c758ea94f17e00218fa2ba547f37ce4a1ece Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 21 May 2025 10:31:13 +0100 Subject: [PATCH 1/2] Update collection.json to 1_0_11__alpha From ab8526894a05115e7006df6280094c908e6fc8e7 Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 21 May 2025 10:43:46 +0100 Subject: [PATCH 2/2] Update collection.json (re-try updates) --- specification/postman/collection.json | 874 +++++++++++++++++++++++++- 1 file changed, 841 insertions(+), 33 deletions(-) diff --git a/specification/postman/collection.json b/specification/postman/collection.json index f9e85d6..e5800e6 100644 --- a/specification/postman/collection.json +++ b/specification/postman/collection.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "ba20edf8-d2b0-449e-9fce-c2fca677a75f" + "postman_id": "6061721a-2df1-4122-a216-167d8c23e860" }, "item": [ { - "id": "bda40fa4-a13e-480b-b308-5d8ffea5c219", + "id": "57d89603-4c62-421b-bbcf-2cf370405534", "name": "Eligibility", "description": { "content": "", @@ -14,7 +14,7 @@ "event": [] }, { - "id": "3baf66b1-6fd6-4541-9bcc-4882580840bf", + "id": "a0956cd1-3ab4-4f62-9be8-65a4851a1606", "name": "Signposting", "description": { "content": "", @@ -24,7 +24,7 @@ "event": [] }, { - "id": "2dcd7738-4fb2-40bd-908d-d20e055faf84", + "id": "b9368a68-ff14-425c-93b5-38dc5cff47ca", "name": "NextActions", "description": { "content": "", @@ -34,7 +34,7 @@ "event": [] }, { - "id": "25891a9a-2789-4669-ab95-32606f384701", + "id": "de24cd55-95a2-41e6-b39b-34b6d651588f", "name": "Check Eligibility", "request": { "name": "Check Eligibility", @@ -153,8 +153,8 @@ "_": { "postman_previewlanguage": "json" }, - "id": "9a9149f3-e174-4b0d-a723-122e6331ea19", - "name": "RSV - Actionable CP Booking", + "id": "6b8f2bf1-933c-449c-b7fa-98ff646e4fb0", + "name": "RSV - Actionable due to membership of an Age Cohort including suggested actions (with booking)", "originalRequest": { "url": { "path": [ @@ -247,15 +247,15 @@ "value": "application/json" } ], - "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"Actionable\",\n \"statusText\": \"Actionable - Individual is eligible and we suggest that they follow one or more of the provided actions\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_75-79_ongoing\",\n \"cohortText\": \"You're aged 75 to 79\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"PrimaryButton\",\n \"actionCode\": \"NationalCPBook\",\n \"description\": \"Book or Amend an RSV vaccinations appointment\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"AwaitGPContact\",\n \"description\": \"You can wait for your GP surgery to contact you about getting the RSV vaccine. This may be by letter, text, phone call or email.\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"Actionable\",\n \"statusText\": \"Actionable - Individual is eligible and we suggest that they follow one or more of the provided actions\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"AuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"Book or Amend an RSV vaccinations appointment at a pharmacy\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\"\n },\n {\n \"actionType\": \"Link\",\n \"actionCode\": \"FindWalkin\",\n \"description\": \"Find a walk-in service for RSV vaccinations\",\n \"urlLink\": \"www.england.nhs.uk/rsv-east\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"ContactGP\",\n \"description\": \"Contact your GP surgery to get vaccinated\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "31ac0790-21bb-476d-96fa-c134d6a4b507", - "name": "RSV - Actionable Not CP Booking", + "id": "67c0a5f4-5fe1-4f1e-98d9-4d99dc92b7ba", + "name": "RSV - Actionable due to membership of an Age Cohort including suggested action (not booking)", "originalRequest": { "url": { "path": [ @@ -348,15 +348,15 @@ "value": "application/json" } ], - "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3002\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"Actionable\",\n \"statusText\": \"Actionable - Individual is eligible and we suggest that they follow one or more of the provided actions\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_75-79_ongoing\",\n \"cohortText\": \"You're aged 75 to 79\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"AwaitGPContact\",\n \"description\": \"You can wait for your GP surgery to contact you about getting the RSV vaccine. This may be by letter, text, phone call or email.\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"InfoCPBook\",\n \"description\": \"People in some parts of England are able to book for an RSV vaccination in Community Pharmacies. Unfortunately, your area does not yet offer RSV vaccinations in that way. You may be able to receive other vaccinations in pharmacies (such as Flu or COVID)\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"Actionable\",\n \"statusText\": \"You are eligible and we recommend you take one of the suggested actions\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"ContactGP\",\n \"description\": \"Contact your GP surgery to get vaccinated\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "e96c6a4d-f77f-4775-90a4-e2520150f08e", - "name": "RSV - Eligible, not actionable", + "id": "693148c9-c2ac-48be-8238-64a2bc32d095", + "name": "RSV - Actionable due to membership of an alternative Age Cohort including suggested action (not booking)", "originalRequest": { "url": { "path": [ @@ -449,15 +449,15 @@ "value": "application/json" } ], - "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3003\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"Actionable - Individual is eligible but suggest that they need not take any action at this time\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_75-79_ongoing\",\n \"cohortText\": \"You're aged 75 to 79\",\n \"cohortStatus\": \"NotActionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AwaitVaccination\",\n \"ruleText\": \"You are in a setting or organisation that will arrange your vaccination for you. For example, if you are in a Care Home or a member of some government organisations.\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"Actionable\",\n \"statusText\": \"You are eligible and we recommend you take one of the suggested actions\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_catchup\",\n \"cohortText\": \"You turned 80 between 2nd September 2024 and 31st August 2025\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"ContactGP\",\n \"description\": \"Contact your GP surgery to get vaccinated\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "4284a77d-b38a-44cd-aeb9-d7606a954917", - "name": "RSV - Not Eligible Due to Vaccination", + "id": "8b67a86e-cb70-4038-9aa2-01179ca877b7", + "name": "RSV - Actionable due to membership of an Age Cohort including suggested action (existing national booking)", "originalRequest": { "url": { "path": [ @@ -550,15 +550,15 @@ "value": "application/json" } ], - "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3004\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotEligible\",\n \"statusText\": \"NotEligible - Individual is not currently eligible\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_75-79_ongoing\",\n \"cohortText\": \"You're aged 75 to 79\",\n \"cohortStatus\": \"NotEligible\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"F\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"You have already have an RSV vaccination recorded\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"Actionable\",\n \"statusText\": \"Actionable - Individual is eligible and we suggest that they follow one or more of the provided actions\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"AuthLink\",\n \"actionCode\": \"AmendNBS\",\n \"description\": \"Check or Amend your vaccination appointment at a pharmacy\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\"\n },\n {\n \"actionType\": \"Link\",\n \"actionCode\": \"FindWalkin\",\n \"description\": \"Find a walk-in service for RSV vaccinations\",\n \"urlLink\": \"www.england.nhs.uk/rsv-east\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"ContactGP\",\n \"description\": \"Contact your GP surgery to get vaccinated\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "60101a57-018e-40f8-b01f-1ccb2f5c0647", - "name": "RSV - Not Eligible Due to not being cohorted", + "id": "e18f9c43-b458-4795-96d4-59dfcb395d24", + "name": "RSV - Actionable due to membership of an Age Cohort including suggested actions (not booking)", "originalRequest": { "url": { "path": [ @@ -651,15 +651,15 @@ "value": "application/json" } ], - "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3005\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotEligible\",\n \"statusText\": \"NotEligible - Individual is not currently eligible\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_75-79_ongoing\",\n \"cohortText\": \"You're aged 75 to 79\",\n \"cohortStatus\": \"NotEligible\"\n },\n {\n \"cohortCode\": \"rsv_75-79_initial\",\n \"cohortText\": \"You turned 80 after 1 September 2024, so are eligible for the RSV vaccine until 31 August 2025\",\n \"cohortStatus\": \"NotEligible\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"Actionable\",\n \"statusText\": \"Actionable - Individual is eligible and we suggest that they follow one or more of the provided actions\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"ContactProvider\",\n \"description\": \"Check or Amend your vaccination appointment by contacting your provider\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"ContactGP\",\n \"description\": \"Contact your GP surgery to get vaccinated\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "b2a046d8-f574-4ac2-ab9c-898f000a3ca8", - "name": "RSV - No rules", + "id": "145c34e5-bf6b-4120-9f71-16e40f7748be", + "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of already vaccinated", "originalRequest": { "url": { "path": [ @@ -752,14 +752,822 @@ "value": "application/json" } ], - "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3006\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n }\n}", + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"You are eligible, however no further action needs to be taken at this time\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"NotActionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"You are already vaccinated. Our records suggest you were vaccinated on 21/03/2025\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "237e32fb-9df9-48dd-a8ef-9c7369a0d02d", + "id": "54bb9abb-34ab-4e43-b112-36d212dac538", + "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of no available vaccinations (not available type 1)", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"You are eligible, however no further action needs to be taken at this time\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"NotActionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotAvailable\",\n \"ruleText\": \"Vaccinations are not currently available\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "face1879-238c-407e-a26d-a9cae501debb", + "name": "RSV - No RSV response as no active campaign (not available type 2)", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": []\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "ad604fa3-22bf-49bd-a3c1-0bf3de1a3718", + "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not yet due", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"You are eligible, however no further action needs to be taken at this time\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"NotActionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"Your next dose is not yet due.\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "f544bd93-4a89-4596-a443-b1d2c7c77f27", + "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not far enough apart", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"You are eligible, however no further action needs to be taken at this time\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"NotActionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"TooClose\",\n \"ruleText\": \"Your previous vaccination was less than 91 days ago.\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "ac16989a-d551-4814-a6c9-57db33b9735c", + "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of vaccination given in current setting (e.g. care home)", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"You are eligible, however no further action needs to be taken at this time\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"NotActionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"You are in a setting or organisation that will arrange your vaccination for you. For example a care home or other government setting.\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "0fa7f2f6-ca86-4074-b9f3-07eee929308e", + "name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 1 includes unknown cohort)", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"You are eligible, however no further action needs to be taken at this time\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"unknown_cohort_membership\",\n \"cohortText\": \"Our records do not say why you are eligible\",\n \"cohortStatus\": \"NotActionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"You are already vaccinated. Our records suggest you were vaccinated on 13/05/2025\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6b1fafa1-7bc7-4974-8166-3cc6bbf192a3", + "name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 2 includes no cohorts)", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotActionable\",\n \"statusText\": \"You are eligible, however no further action needs to be taken at this time\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"You are already vaccinated. Our records suggest you were vaccinated on 13/05/2025\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "dcde4d66-7d48-4467-9bdb-ba75ab84da77", + "name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 2 includes no cohorts)", + "originalRequest": { + "url": { + "path": [ + "patient-check", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "The category for which the caller is checking eligibility suggestions. If not provided, eligibility for all supported categories will be checked.", + "type": "text/plain" + }, + "key": "category", + "value": "VACCINATIONS" + }, + { + "disabled": true, + "description": { + "content": "The diseases or conditions for which the caller is checking eligibility suggestions in a comma separated list. If not provided, eligibility for all supported diseases will be checked.", + "type": "text/plain" + }, + "key": "conditions", + "value": "FLU,RSV" + }, + { + "disabled": true, + "description": { + "content": "When Y is passed in, the API response will include zero or more actions as applicable. Passing in N will result in no actions being calculated or returned.", + "type": "text/plain" + }, + "key": "includeActions", + "value": "Y" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": true, + "description": { + "content": "A globally unique identifier (GUID) for the request, which we use to de-duplicate repeated requests and to trace the request if you contact our helpdesk.\n\nMust be a universally unique identifier (UUID) (ideally version 4).\n\nMirrored back in a response header.\n\nIf you re-send a failed request, use the same value in this header.\n", + "type": "text/plain" + }, + "key": "X-Request-ID", + "value": "60E0B220-8136-4CA5-AE46-1D97EF59D068" + }, + { + "disabled": true, + "description": { + "content": "An optional ID which you can use to track transactions across multiple systems. It can take any value, but we recommend avoiding `.` characters.\n\nMirrored back in a response header.\n", + "type": "text/plain" + }, + "key": "X-Correlation-ID", + "value": "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA" + }, + { + "disabled": true, + "description": { + "content": "The ODS code of the user.\n\nMandatory for client applications which service multiple end user organisations (EUO). This will allow the calls to be attributed to the correct EUO.\n", + "type": "text/plain" + }, + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "apikey", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"responseId\": \"1a233ba5-e1eb-4080-a086-2962f6fc3473\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"processedSuggestions\": [\n {\n \"condition\": \"RSV\",\n \"status\": \"NotEligible\",\n \"statusText\": \"Our records suggest that you are not eligible for a vaccination\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are not aged 75 to 79 years old.\",\n \"cohortStatus\": \"NotEligible\"\n },\n {\n \"cohortCode\": \"rsv_age_catchup\",\n \"cohortText\": \"You did not turn 80 between 2nd September 2024 and 31st August 2025\",\n \"cohortStatus\": \"NotEligible\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "7202d6c3-cdd2-402e-a666-de2f6718bb72", "name": "Invalid input data.", "originalRequest": { "url": { @@ -860,7 +1668,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "25ddc8a7-450f-48df-97e1-a19bb7166b7a", + "id": "0bfb5521-db22-46d4-a827-8c2cabef4cd3", "name": "Person not found.", "originalRequest": { "url": { @@ -961,7 +1769,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "83e75dfb-0131-4aac-958d-965f3ab06893", + "id": "f416f4c2-2375-4e80-9e50-3f69fdcdd953", "name": "Unrecognised input data. (Unprocessable Content)", "originalRequest": { "url": { @@ -1062,7 +1870,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "5942e808-a5d9-4109-826b-e7f003400b17", + "id": "808f6e21-b447-47dd-9c2b-9579442e881c", "name": "Internal server error.", "originalRequest": { "url": { @@ -1164,7 +1972,7 @@ { "listen": "test", "script": { - "id": "00e0af41-bf6e-4224-87d6-f92cbb6d39d3", + "id": "feb4a2ea-a6f9-4ded-9a16-d69bbc7b03e2", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/patient-check/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1189,20 +1997,20 @@ } ], "info": { - "_postman_id": "ba20edf8-d2b0-449e-9fce-c2fca677a75f", + "_postman_id": "6061721a-2df1-4122-a216-167d8c23e860", "name": "Patient Eligibility Signposting API", "version": { - "raw": "1.0.9-alpha", + "raw": "1.0.11-alpha", "major": 1, "minor": 0, - "patch": 9, + "patch": 11, "prerelease": "alpha", "build": [], - "string": "1.0.9-alpha" + "string": "1.0.11-alpha" }, "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { - "content": "## Overview\n Use this API to access the [Patient Eligibility Signposting Data Product](https://digital.nhs.uk/services/eligibility-signposting) - the nationally curated single source of eligibility status and signposted actions for individuals. For example, you can request eligibility for one or more vaccination types to understand if NHS England holds information which suggest that the person could or should take further steps toward receiving those vaccinations, and optionally, a list of the steps NHS England would recommend.\n \n Where someone is deemed eligible, they will also be classified as actionable or not actionable. When deemed not actionable, one or more reasons will be returned. These reasons can range from personal care setting impacts to current lack of availability of vaccines and more.\n \n The API returns most of its data in both code and text form. Unless agreed with NHS England, where text is provided it should be displayed to the user as-is.\n \n This API currently has a single User Restricted access mode and will operate only in the context of the authenticated individual, you may however request:\n * eligibility for all supported vaccinations\n * eligibility for specified supported vaccinations\n * request that actions be included in the response\n * request that actions not be included in the response\n \n You cannot currently use this API to:\n * request eligibility for proxy people (familial relations etc.)\n * request actions for people considered ineligible\n \n This API is read-only and can return a list of processed suggestions, each relating to a 'condition' (e.g. COVID, RSV, BOWEL, EYE, BREAST etc.), including the following information for each:\n * a code representing the condition (COVID, RSV, BOWEL, EYE, BREAST)\n * an overall status (NotEligible, NotActionable, Actionable)\n * a list of eligibility cohort groups to which the person belongs (when eligible)\n * a list of the cohort groups that could have made the person eligible (when not eligible)\n * a list of rules/reasons that deem a person to be NotActionable\n * a list of actions that should be shown to the consumer\n \n #### Definitions of Overall Status \n \nThe overall status values indicate the following:\n \n* NotEligible - the individual does not currently meet eligibility criteria\n* NotActionable - the individual is eligible but does not need to take any further action at this time\n* Actionable - the individual is eligible and should follow one of the recommended actions provided\n \n### Patients included in the Patient Eligibility Signposting API\n The API will return data for all patients who are in the NHS PDS system that are registered with an English GP practice (or one administered by England) or who we believe to be resident in England. \n \n Patients who are deceased (or thought to be), marked as invalid or sensitive will not be processed by this API.\n \n ## Who can use this API\n This API can only be used where there is a [legal basis](https://digital.nhs.uk/services/eligibility-signposting/legal-basis) to do so. Make sure you have a valid use case before you go too far with your development. You must demonstrate you have a [valid use case](https://digital.nhs.uk/services/eligibility-signposting/legal-basis) as part of digital onboarding. \n \n You must do this before you can go live (see 'Onboarding' below).\n \n ### Who can access Eligibility Signposting Information\n Patients who receive health and social care or make use of NHS services in England, Wales and the Isle of Man can access their own Eligibility Signposting data through onboarded services.\n \n Health and care organisations in England and the Isle of Man can access our information for legitimate direct care purposes. Legitimate direct care examples include NHS organisations delivering healthcare, local authorities delivering care, third sector and private sector health and care organisations, and developers delivering systems to health and care organisations. \n \n \n ### Existing API users\n To find out which healthcare software development organisations and products are already using this API, see [Patient Eligibility Signposting API - integrated products](https://digital.nhs.uk/services/eligibility-signposting/integrated-products).\n \n ## Access modes\n This API currently has only one access mode:\n * patient access \n \n We are considering the possibility of adding other modes in the future:\n * healthcare worker access \n * restricted access \n \n ### Patient access \n If the end user is a patient then you must use this access mode. Use this access mode to obtain data for that patient.\n \n This access mode is [user-restricted](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation#user-restricted-apis), meaning an end user must be present, authenticated and authorised. \n \n The end user must be: \n * a patient who receives health and social care or makes use of NHS services \n * strongly authenticated, using [NHS login](https://digital.nhs.uk/services/nhs-login)\n \n To use this access mode, use one of the following security patterns:\n \n |\tSecurity pattern\t\t |\tTechnical details\t |\tAdvantages\t | Disadvantages |\n |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ----------------------------------------------------| ------------------------------------------------------------|---------------------------------------------------------|\n |[NHS login - combined authentication and authorisation](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/user-restricted-restful-apis-nhs-login-combined-authentication-and-authorisation) |OAuth 2.0 authorisation code with API key and secret |No need to integrate and onboard separately with NHS login. |No access to user information. |\n |[NHS login - separate authentication and authorisation](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/user-restricted-restful-apis-nhs-login-separate-authentication-and-authorisation) |OAuth 2.0 token exchange with signed JWT |Gives access to user information. |Need to integrate and onboard separately with NHS login. |\n \n Patient access mode users must be authenticated to a high proofing level (P9) and to one of the following [vectors of trust](https://nhsconnect.github.io/nhslogin/vectors-of-trust/): \n * P9.Cp.Cd\n * P9.Cp.Ck\n * P9.Cm\n \n This access mode is available in production ([beta](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#api-status)).\n \n ### Restricted access\n This access mode is not yet available, if you believe this mode would benefit your use-case, please let us know.\n \n This access mode is [application-restricted](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation#application-restricted-apis), meaning we authenticate and authorise the calling application but not the end user. \n \n This access mode is not designed to be accessed by an end user. You might use this access mode as part of a back-end process to: \n * retrieve eligibility signposting information into a system in advance of a clinic\n * retrieve eligibility signposting information into a system to be used in a disconnected manner\n \n To use this access mode, use this security pattern:\n * [Application-restricted RESTful API - signed JWT authentication](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/application-restricted-restful-apis-signed-jwt-authentication)\n \n ## Roadmap\n The [Patient Eligibility Signposting API](https://digital.nhs.uk/services/eligibility-signposting/roadmap-and-strategy) roadmap shows the planned changes for the API. \n \n To see our roadmap, or to suggest, comment or vote on features for this API, see our [interactive product backlog](https://nhs-digital-api-management.featureupvote.com/suggestions/612352/eligibility-signposting-api-vaccinations).\n \n If you have any other queries, please [contact us](https://digital.nhs.uk/developer/help-and-support).\n \n ## Service level\n \n This API is a silver service, meaning it is operational 24 hours a day, 365 days a year and supported 8am to 6pm, Monday to Friday excluding bank holidays.\n \n For more details, see [service levels](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#service-levels).\n \n ## Rate limits\n \n The default rate limit is 25TPS (Transactions Per Second), per app. If you require a higher rate limit please [contact us](https://digital.nhs.uk/developer/help-and-support). or raise this during the onboarding process.\n \n ## Technology\n This API is [RESTful](https://digital.nhs.uk/developer/guides-and-documentation/our-api-technologies#basic-rest).\n \n ## Network access\n This API is available on the internet and, indirectly, on the [Health and Social Care Network (HSCN)](https://digital.nhs.uk/services/health-and-social-care-network).\n \n For more details see [Network access for APIs](https://digital.nhs.uk/developer/guides-and-documentation/network-access-for-apis).\n \n ## Errors\n We use standard HTTP status codes to show whether an API request succeeded or not. They are usually in the range:\n \n * 200 to 299 if it succeeded, including code 202 if it was accepted by an API that needs to wait for further action\n * 400 to 499 if it failed because of a client error by your application\n * 500 to 599 if it failed because of an error on our server\n \n Errors specific to each API are shown in the Endpoints section, under Response. See our [reference guide](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#http-status-codes) for more on errors.\n \n Your API-calling application should have a mechanism to automatically try again, for example by giving status information to your end user, before giving up. See our [reference guide](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#error-handling) for more information about error handling.\n \n ## Open source\n You might find the following [open source](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#open-source) resources useful:\n \n | Resource | Description | Links |\n |---------------------------|----------------------------------------------------------------------|--------------------------------------------------------------------------------|\n | Patient Eligibility Signposting API| Source code including API proxy, sandbox and specification and code. | [GitHub repo](https://github.com/NHSDigital/eligibility-signposting-api) |\n \n We currently don't have any open source client libraries or sample code for this API. If you think this would be useful, you can [upvote the suggestion on our Interactive Product Backlog](https://nhs-digital-api-management.featureupvote.com/suggestions/107439/client-libraries-and-reference-implementations).\n \n \n \n ## Environments and testing\n \n | Environment | Base URL |\n | ----------------- | ---------------------------------------------------------------------- |\n | Sandbox | `https://sandbox.api.service.nhs.uk/eligibility-signposting/patient-check/{id}` |\n | Integration test | `https://int.api.service.nhs.uk/eligibility-signposting/patient-check/{id}` |\n | Production | `https://api.service.nhs.uk/eligibility-signposting/patient-check/{id}` |\n \n ### Sandbox testing\n Our [sandbox environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#sandbox-testing):\n * is for early developer testing\n * only covers a limited set of scenarios\n * is open access, so does not allow you to test authorisation\n \n For details of sandbox test scenarios, or to try out the sandbox using our 'Try this API' feature, see the documentation for each endpoint.\n \n Alternatively, you can try out the sandbox using our Postman collection:\n \n [![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/?????????????????????????????????)\n \n ### Integration testing\n Our [integration test environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#integration-testing):\n * is for formal integration testing\n * includes authorisation, with options for user-restricted access (NHS Login) \n ### Production smoke testing\n You must not use real patient data for smoke testing in the production environment.\n \n Rather, use our [production test patient](https://digital.nhs.uk/services/eligibility-signposting/api-test-data#production-smoke-testing).\n \n ## Onboarding\n You need to get your software approved by us before it can go live with this API. We call this onboarding. The onboarding process can sometimes be quite long, so it is worth planning well ahead.\n \n As part of this process, you need to demonstrate your technical conformance to the requirements for this API. \n \n You also need to demonstrate that you can manage risks. This might impact the design of your software. For details, see [Onboarding support information](https://digital.nhs.uk/services/eligibility-signposting/onboarding-support-information).\n \n To understand how our online digital onboarding process works, see [digital onboarding](https://digital.nhs.uk/developer/guides-and-documentation/digital-onboarding). \n \n \n ## Related APIs\n \n The following APIs are related to this API:\n\n", + "content": "## Overview\nUse this API to access the [Patient Eligibility Signposting Data Product](https://digital.nhs.uk/services/eligibility-signposting) - the nationally curated single source of eligibility status and signposted actions for individuals. For example, you can request eligibility for one or more vaccination types to understand if NHS England holds information which suggest that the person could or should take further steps toward receiving those vaccinations, and optionally, a list of the steps NHS England would recommend.\n\nWhere someone is deemed eligible, they will also be classified as actionable or not actionable. When deemed not actionable, one or more reasons will be returned. These reasons can range from personal care setting impacts to current lack of availability of vaccines and more.\n\nThe API returns most of its data in both code and text form. Unless agreed in writing with NHS England, where text is provided it should be displayed to the user as-is.\n\nUse this API to request:\n* eligibility for all supported categories and conditions\n* eligibility for specified supported categories and/or conditions\n* request that actions be included in the response\n* request that actions not be included in the response\n\nYou cannot currently use this API to:\n* request eligibility for proxy people (familial relations etc.)\n* request actions for people considered ineligible\n\nThis API is read-only and can return a list of processed suggestions, each relating to a 'condition' (e.g. COVID, RSV, BOWEL, EYE, BREAST etc.), including the following information for each:\n* a code representing the condition (COVID, RSV, BOWEL, EYE, BREAST)\n* an overall status (NotEligible, NotActionable, Actionable)\n* a list of eligibility cohort groups to which the person belongs (when eligible)\n* a list of the cohort groups that could have made the person eligible (when not eligible)\n* a list of rules/reasons that deem a person to be NotActionable\n* a list of actions that should be shown to the consumer\n\n#### Definitions of overall status\nThe overall status values indicate the following:\n\n* NotEligible - the individual does not currently meet eligibility criteria\n* NotActionable - the individual is eligible but does not need to take any further action at this time\n* Actionable - the individual is eligible and should follow one of the recommended actions provided\n\n### Patients included in the Patient Eligibility Signposting API\nThe API will return data for all patients who are in the NHS PDS system that are registered with an English GP practice (or one administered by England) or who we believe to be resident in England.\n\nPatients who are deceased (or thought to be), marked as invalid or sensitive will not be processed by this API.\n\n## Who can use this API\nThis API can only be used where there is a [legal basis](https://digital.nhs.uk/services/eligibility-signposting/legal-basis) to do so. Make sure you have a valid use case before you go too far with your development. You must demonstrate you have a [valid use case](https://digital.nhs.uk/services/eligibility-signposting/legal-basis) as part of digital onboarding.\n\nYou must do this before you can go live (see 'Onboarding' below).\n\n### Who can access Eligibility Signposting Information\nPatients who receive health and social care or make use of NHS services in England, Wales and the Isle of Man can access their own Eligibility Signposting data through onboarded services.\n\nHealth and care organisations in England and the Isle of Man can access our information for legitimate direct care purposes. Legitimate direct care examples include NHS organisations delivering healthcare, local authorities delivering care, third sector and private sector health and care organisations, and developers delivering systems to health and care organisations.\n\n\n### Existing API users\nTo find out which healthcare software development organisations and products are already using this API, see [Patient Eligibility Signposting API - integrated products](https://digital.nhs.uk/services/eligibility-signposting/integrated-products).\n\n## Access modes\nThis API currently has only one access mode:\n* patient access (user-restricted)\n\nWe are considering the possibility of adding other modes in the future:\n* healthcare worker access\n* application restricted access\n\n### Patient access\nIf the end user is a patient then you must use this access mode. Use this access mode to obtain data for that patient.\n\nThis access mode is [user-restricted](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation#user-restricted-apis), meaning an end user must be present, authenticated and authorised.\n\nThe end user must be:\n* a patient who receives health and social care or makes use of NHS services\n* strongly authenticated, using [NHS login](https://digital.nhs.uk/services/nhs-login)\n\nTo use this access mode, you must currently use the following security pattern:\n\n|\tSecurity pattern\t\t |\tTechnical details\t |\tAdvantages\t | Disadvantages |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ----------------------------------------------------| ------------------------------------------------------------|---------------------------------------------------------|\n|[NHS login - separate authentication and authorisation](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/user-restricted-restful-apis-nhs-login-separate-authentication-and-authorisation) |OAuth 2.0 token exchange with signed JWT |Gives access to user information. |Need to integrate and onboard separately with NHS login. |\n\nPatient access mode users must be authenticated to a high proofing level (P9) and to one of the following [vectors of trust](https://nhsconnect.github.io/nhslogin/vectors-of-trust/):\n* P9.Cp.Cd\n* P9.Cp.Ck\n* P9.Cm\n\nThis access mode is available in production ([beta](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#api-status)).\n\n### Restricted access\nThis access mode is not yet available, if you believe this mode would benefit your use-case, please let us know.\n\nThis access mode is [application-restricted](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation#application-restricted-apis), meaning we authenticate and authorise the calling application but not the end user.\n\nThis access mode is not designed to be accessed by an end user. You might use this access mode as part of a back-end process to:\n* retrieve eligibility signposting information into a system in advance of a clinic\n* retrieve eligibility signposting information into a system to be used in a disconnected manner\n\nTo use this access mode, use this security pattern:\n* [Application-restricted RESTful API - signed JWT authentication](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/application-restricted-restful-apis-signed-jwt-authentication)\n\n## Roadmap\nThe [Patient Eligibility Signposting API](https://digital.nhs.uk/services/eligibility-signposting/roadmap-and-strategy) roadmap shows the planned changes for the API.\n\nTo see our roadmap, or to suggest, comment or vote on features for this API, see our [interactive product backlog](https://nhs-digital-api-management.featureupvote.com/suggestions/612352/eligibility-signposting-api-vaccinations).\n\nIf you have any other queries, please [contact us](https://digital.nhs.uk/developer/help-and-support).\n\n## Service level\nThis API is a silver service, meaning it is operational 24 hours a day, 365 days a year and supported 8am to 6pm, Monday to Friday excluding bank holidays.\n\nFor more details, see [service levels](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#service-levels).\n\n## Rate limits\nThe default rate limit is 25TPS (Transactions Per Second), per app. If you require a higher rate limit please [contact us](https://digital.nhs.uk/developer/help-and-support). or raise this during the onboarding process.\n\n## Technology\nThis API is [RESTful](https://digital.nhs.uk/developer/guides-and-documentation/our-api-technologies#basic-rest).\n\nThe error messages returned by this API conform to the FHIR global standard for health care data exchange, specifically to FHIR R4 (v4.0.1). This is to aid consumers that integrate to FHIR based APIS and are in any case not overly complex.\n\nThere are [libraries and SDKs](https://digital.nhs.uk/developer/guides-and-documentation/api-technologies-at-nhs-digital#fhir-libraries-and-sdks) available to help with FHIR API integration.\n\n## Network access\nThis API is available on the internet and, indirectly, on the [Health and Social Care Network (HSCN)](https://digital.nhs.uk/services/health-and-social-care-network).\n\nFor more details see [Network access for APIs](https://digital.nhs.uk/developer/guides-and-documentation/network-access-for-apis).\n\n## Errors\nWe use standard HTTP status codes to show whether an API request succeeded or not. They are usually in the range:\n\n* 200 to 299 if it succeeded, including code 202 if it was accepted by an API that needs to wait for further action\n* 400 to 499 if it failed because of a client error by your application\n* 500 to 599 if it failed because of an error on our server\n\nErrors specific to each API are shown in the Endpoints section, under Response. See our [reference guide](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#http-status-codes) for more on errors.\n\nYour API-calling application should have a mechanism to automatically try again, for example by giving status information to your end user, before giving up. See our [reference guide](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#error-handling) for more information about error handling.\n\n## Open source\nYou might find the following [open source](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#open-source) resources useful:\n\n| Resource | Description | Links |\n|---------------------------|----------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| Patient Eligibility Signposting API| Source code including API proxy, sandbox and specification and code. | [GitHub repo](https://github.com/NHSDigital/eligibility-signposting-api) |\n\nWe currently don't have any open source client libraries or sample code for this API. If you think this would be useful, you can [upvote the suggestion on our Interactive Product Backlog](https://nhs-digital-api-management.featureupvote.com/suggestions/107439/client-libraries-and-reference-implementations).\n\n\n\n## Environments and testing\n| Environment | Base URL |\n| ----------------- | ---------------------------------------------------------------------- |\n| Sandbox | `https://sandbox.api.service.nhs.uk/eligibility-signposting/patient-check/{id}` |\n| Integration test | `https://int.api.service.nhs.uk/eligibility-signposting/patient-check/{id}` |\n| Production | `https://api.service.nhs.uk/eligibility-signposting/patient-check/{id}` |\n\n### Sandbox testing\nOur [sandbox environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#sandbox-testing):\n* is for early developer testing\n* only covers a limited set of scenarios\n* is open access, so does not allow you to test authorisation\n\nFor details of sandbox test scenarios, or to try out the sandbox using our 'Try this API' feature, see the documentation for each endpoint.\n\nAlternatively, you can try out the sandbox using our Postman collection:\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/eligibility-signposting-api/eligibility-signposting-api)\n\n### Integration testing\nOur [integration test environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#integration-testing):\n* is for formal integration testing\n* includes authorisation, with options for user-restricted access (NHS Login)\n\n### Production smoke testing\nYou must not use real patient data for smoke testing in the production environment.\n\nRather, use our [production test patient](https://digital.nhs.uk/services/eligibility-signposting/api-test-data#production-smoke-testing).\n\n## Onboarding\nYou need to get your software approved by us before it can go live with this API. We call this onboarding. The onboarding process can sometimes be quite long, so it is worth planning well ahead.\n\nAs part of this process, you need to demonstrate your technical conformance to the requirements for this API.\n\nYou also need to demonstrate that you can manage risks. This might impact the design of your software. For details, see [Onboarding support information](https://digital.nhs.uk/services/eligibility-signposting/onboarding-support-information).\n\nTo understand how our online digital onboarding process works, see [digital onboarding](https://digital.nhs.uk/developer/guides-and-documentation/digital-onboarding).\n\n\n## Related APIs\nThe following APIs are related to this API:\n", "type": "text/plain" } }