From 7b54d35e6b7461b4f2b4168d7eeaa5d03b4c4a15 Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 25 Jun 2025 13:25:31 +0100 Subject: [PATCH 1/6] Update eligibility-signposting-api.yaml Adding newly requested additional examples from VitA. Amendment of some existing examples. --- .../eligibility-signposting-api.yaml | 284 +++++++++++++++++- 1 file changed, 279 insertions(+), 5 deletions(-) diff --git a/specification/eligibility-signposting-api.yaml b/specification/eligibility-signposting-api.yaml index a8d10c2..e0c20f3 100644 --- a/specification/eligibility-signposting-api.yaml +++ b/specification/eligibility-signposting-api.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Patient Eligibility Signposting API - version: 1.0.14-alpha + version: 1.0.15-alpha description: "## Overview\nUse this API to access the [Patient Eligibility Signposting Data Product](https://digital.nhs.uk/services/eligibility-data-product-elid) - 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.\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.\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.\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\nYou cannot currently use this API to: \n* request eligibility for proxy people (familial relations etc.)\n* request actions for people considered ineligible\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#### Definitions of overall status\nThe overall status values indicate the following:\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### 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.\nPatients who are deceased (or thought to be), marked as invalid or sensitive will not be processed by this API.\n## Who can use this API\nThis API can only be used where there is a [legal basis](https://digital.nhs.uk/services/eligibility-data-product-elid#who-this-service-is-for) 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-data-product-elid#who-this-service-is-for) as part of digital onboarding.\nYou must do this before you can go live (see 'Onboarding' below).\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.\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### 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-data-product-elid).\n## Access modes This API currently has only one access mode:\n* patient access (user-restricted)\nWe are considering the possibility of adding other modes in the future: \n* healthcare worker access\n* application restricted access\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.\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.\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)\nTo use this access mode, you must currently use the following security pattern:\n|\tSecurity pattern\t\t |\tTechnical details\t |\tAdvantages\t | Disadvantages |\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. |\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\nThis access mode is available in production ([beta](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#api-status)).\n### Restricted access This access mode is not yet available, if you believe this mode would benefit your use-case, please let us know.\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.\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\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## Roadmap\nThe [Patient Eligibility Signposting API](https://digital.nhs.uk/services/eligibility-data-product-elid/eligibility-data-product-elid-roadmap) roadmap shows the planned changes for the API.\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).\nIf you have any other queries, please [contact us](https://digital.nhs.uk/developer/help-and-support).\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.\nFor more details, see [service levels](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#service-levels).\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## Technology\nThis API is [RESTful](https://digital.nhs.uk/developer/guides-and-documentation/our-api-technologies#basic-rest).\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.\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## 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).\nFor more details see [Network access for APIs](https://digital.nhs.uk/developer/guides-and-documentation/network-access-for-apis).\n## Errors\nWe use standard HTTP status codes to show whether an API request succeeded or not. They are usually in the range:\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\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.\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## Open source\nYou might find the following [open source](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#open-source) resources useful:\n| Resource | Description | Links |\n|---------------------------|----------------------------------------------------------------------|--------------------------------------------------------------------------------| | Patient Eligibility Signposting API| Source code including API proxy, sandbox and specification and code. | [GitHub repo](https://github.com/NHSDigital/eligibility-signposting-api) |\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## Environments and testing\n| Environment | Base URL | | ----------------- | ---------------------------------------------------------------------- |\n| Sandbox | `https://sandbox.api.service.nhs.uk/eligibility-signposting-api/patient-check/{id}` | | Integration test | `https://int.api.service.nhs.uk/eligibility-signposting-api/patient-check/{id}` |\n| Production | `https://api.service.nhs.uk/eligibility-signposting-api/patient-check/{id}` |\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\nFor details of sandbox test scenarios, or to try out the sandbox using our 'Try this API' feature, see the documentation for each endpoint.\nAlternatively, you can try out the sandbox using our Postman collection:\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/eligibility-signposting-api/eligibility-signposting-api)\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### Production smoke testing\nYou must not use real patient data for smoke testing in the production environment.\nRather, use our [production test patient](https://digital.nhs.uk/services/eligibility-signposting/api-test-data#production-smoke-testing).\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.\nAs part of this process, you need to demonstrate your technical conformance to the requirements for this API.\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-data-product-elid#how-to-access-this-service).\nTo understand how our online digital onboarding process works, see [digital onboarding](https://digital.nhs.uk/developer/guides-and-documentation/digital-onboarding).\n## Related APIs\nThe following APIs are related to this API:\n" contact: url: https://developer.nhs.uk/apis/eligibility-signposting-api @@ -323,8 +323,11 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." - actions: [] + ruleText: "##You've had your RSV vaccination\nWe believe you had your vaccination on 3 April 2025." + actions: + - actionType: "InfoText" + actionCode: "CheckCorrect" + description: "##If you think this is incorrect\nIf you have not had this vaccination and you think you should, speak to your healthcare professional." example_50000000007: summary: RSV - Not Actionable despite to membership of an Age Cohort with reasoning of no available vaccinations (not available type 1) value: @@ -425,8 +428,11 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination.You do not need to do anything." - actions: [] + ruleText: "##You've had your RSV vaccination\nWe believe you had your vaccination on 3 April 2025.We believe you had your vaccination on 3 April 2025." + actions: + - actionType: "InfoText" + actionCode: "CheckCorrect" + description: "##If you think this is incorrect\nIf you have not had this vaccination and you think you should, speak to your healthcare professional." example_50000000013: summary: RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 2 includes no cohorts) value: @@ -465,6 +471,274 @@ paths: - actionType: "InfoText" actionCode: "HealthcareProInfo" description: "##If you think you need this vaccine\nSpeak to your healthcare professional if you think you should be offered this vaccination." +############################################################################# + example_50000000015: + summary: RSV - Multiple actions without cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "NotEligible" + statusText: "We do not believe you can have it" + eligibilityCohorts: [] + suitabilityRules: [] + actions: + - actionType: "InfoText" + actionCode: "GPAdvice" + description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + - actionType: "CardWithText" + actionCode: "CheckTheWeb" + description: "##Want Independent Advice\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*." + - actionType: "InfoText" + actionCode: "Disclaimer" + description: "##This is test data\nThese are not real options, but options created to try out the system ~and break it~." + - actionType: "CardWithText" + actionCode: "BuyOne" + description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + example_50000000016: + summary: RSV - Multiple actions with cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "Actionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: + - cohortCode: "rsv_age_rolling" + cohortText: "You are aged 75 to 79 years old." + cohortStatus: "Actionable" + - cohortCode: "rsv_age_in_carehomes" + cohortText: "You reside in an institution that qualifies you for the vaccine." + cohortStatus: "Actionable" + suitabilityRules: [] + actions: + - actionType: "ButtonWithAuthLink" + actionCode: "BookNBS" + description: "##Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one, and book a convenient appointment." + urlLink: "http://www.nhs.uk/book-rsv" + urlLabel: "Continue to booking" + - actionType: "InfoText" + actionCode: "GPAdvice" + description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + - actionType: "CardWithText" + actionCode: "CheckTheWeb" + description: "##Want Independent Advice\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*." + - actionType: "InfoText" + actionCode: "Disclaimer" + description: "##This is test data\nThese are not real options, but options created to try out the system ~and break it~." + - actionType: "CardWithText" + actionCode: "BuyOne" + description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + - actionType: "ButtonWithAuthLink" + actionCode: "BookElsewhere" + description: "" + urlLink: "http://www.nhs.uk/book-non-nbs-rsv" + urlLabel: "Continue to other booking" + example_50000000017: + summary: RSV - Multiple suitability rules with cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "NotActionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: + - cohortCode: "rsv_age_rolling" + cohortText: "You are aged 75 to 79 years old." + cohortStatus: "Actionable" + - cohortCode: "rsv_age_in_carehomes" + cohortText: "You reside in an institution that qualifies you for the vaccine." + cohortStatus: "Actionable" + suitabilityRules: + - ruleType: "S" + ruleCode: "AlreadyVaccinated" + ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + - ruleType: "S" + ruleCode: "OtherSetting" + ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + - ruleType: "S" + ruleCode: "NotYetDue" + ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + actions: [] + example_50000000018: + summary: RSV - Multiple suitability rules without cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "NotActionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: [] + suitabilityRules: + - ruleType: "S" + ruleCode: "AlreadyVaccinated" + ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + - ruleType: "S" + ruleCode: "OtherSetting" + ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + - ruleType: "S" + ruleCode: "NotYetDue" + ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + actions: [] + example_50000000019: + summary: RSV - Multiple suitability , multiple actions rules with cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "NotActionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: + - cohortCode: "rsv_age_rolling" + cohortText: "You are aged 75 to 79 years old." + cohortStatus: "Actionable" + - cohortCode: "rsv_age_in_carehomes" + cohortText: "You reside in an institution that qualifies you for the vaccine." + cohortStatus: "Actionable" + suitabilityRules: + - ruleType: "S" + ruleCode: "AlreadyVaccinated" + ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + - ruleType: "S" + ruleCode: "OtherSetting" + ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + - ruleType: "S" + ruleCode: "NotYetDue" + ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + actions: + - actionType: "InfoText" + actionCode: "GPAdvice" + description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + - actionType: "CardWithText" + actionCode: "BuyOne" + description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + - actionType: "ButtonWithAuthLink" + actionCode: "BookNBS" + description: "##Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment." + urlLink: "http://www.nhs.uk/book-rsv" + urlLabel: "Continue to booking" + example_50000000020: + summary: RSV - Multiple suitability , multiple actions rules without cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "NotActionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: [] + suitabilityRules: + - ruleType: "S" + ruleCode: "AlreadyVaccinated" + ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + - ruleType: "S" + ruleCode: "OtherSetting" + ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + - ruleType: "S" + ruleCode: "NotYetDue" + ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + actions: + - actionType: "InfoText" + actionCode: "GPAdvice" + description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + - actionType: "CardWithText" + actionCode: "BuyOne" + description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + - actionType: "ButtonWithAuthLink" + actionCode: "BookNBS" + description: "##Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment." + urlLink: "http://www.nhs.uk/book-rsv" + urlLabel: "Continue to booking" + example_50000000021: + summary: RSV - Unknown action with cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "Actionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: + - cohortCode: "rsv_age_rolling" + cohortText: "You are aged 75 to 79 years old." + cohortStatus: "Actionable" + - cohortCode: "rsv_age_in_carehomes" + cohortText: "You reside in an institution that qualifies you for the vaccine." + cohortStatus: "Actionable" + suitabilityRules: [] + actions: + - actionType: "VideoClipLink" + actionCode: "JabInfoVideo" + description: "##View information about the RSV vaccine\nThis video explains what it is and why you should have it." + urlLink: "https://www.youtube.com/watch?v=NIkDBejfrGo" + example_50000000022: + summary: RSV - Unknown action without cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "Actionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: [] + suitabilityRules: [] + actions: + - actionType: "VideoClipLink" + actionCode: "JabInfoVideo" + description: "##View information about the RSV vaccine\nThis video explains what it is and why you should have it." + urlLink: "https://www.youtube.com/watch?v=NIkDBejfrGo" + example_50000000023: + summary: RSV - Unknown suitability rule with cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "Actionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: + - cohortCode: "rsv_age_rolling" + cohortText: "You are aged 75 to 79 years old." + cohortStatus: "Actionable" + - cohortCode: "rsv_age_in_carehomes" + cohortText: "You reside in an institution that qualifies you for the vaccine." + cohortStatus: "Actionable" + suitabilityRules: + - ruleType: "S" + ruleCode: "PreviousAlergicResponse" + ruleText: "##You've had a reaction to vaccinations in the past\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels." + actions: [] + example_50000000024: + summary: RSV - Unknown suitability rule without cohorts + value: + responseId: "1a233ba5-e1eb-4080-a086-2962f6fc3473" + meta: + lastUpdated: "2025-02-12T16:11:22Z" + processedSuggestions: + - condition: "RSV" + status: "Actionable" + statusText: "You should have the RSV vaccine" + eligibilityCohorts: [] + suitabilityRules: + - ruleType: "S" + ruleCode: "PreviousAlergicResponse" + ruleText: "##You've had a reaction to vaccinations in the past\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels." + actions: [] +############################################################################# '400': description: Invalid input data. content: From 0cade3c5f2fbe369be322b3250e58c2b873ae8ad Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 25 Jun 2025 13:26:27 +0100 Subject: [PATCH 2/6] Update collection.json Modifying to reflect spec changes 1_14_alpha --- specification/postman/collection.json | 1184 ++++++++++++++++++++----- 1 file changed, 975 insertions(+), 209 deletions(-) diff --git a/specification/postman/collection.json b/specification/postman/collection.json index 09a9511..58debca 100644 --- a/specification/postman/collection.json +++ b/specification/postman/collection.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "95c82c32-cef6-438a-8e6d-caff920cb44b" + "postman_id": "3ffc2833-7a96-4379-970e-84f61d56c346" }, "item": [ { - "id": "315fa366-52af-4551-9055-819620e2a997", + "id": "c6b1335d-1e50-4293-8f35-46d125ee50c1", "name": "Eligibility", "description": { "content": "", @@ -14,7 +14,7 @@ "event": [] }, { - "id": "0ad45ea6-b80e-4973-beef-c750ca6a094e", + "id": "fe60955f-bdc1-4b30-bc1b-2f5b9c68857d", "name": "Signposting", "description": { "content": "", @@ -24,7 +24,7 @@ "event": [] }, { - "id": "dd844d7f-df2d-4c40-ae35-9a96cdd9b2ad", + "id": "1a35aadc-6836-499a-96fb-fdb110a657d0", "name": "NextActions", "description": { "content": "", @@ -34,7 +34,7 @@ "event": [] }, { - "id": "a074f30a-967a-438b-ac4a-06d4650b6473", + "id": "6a75e1a2-1d30-42f6-8ee2-3c0c7b91ef68", "name": "Check Eligibility", "request": { "name": "Check Eligibility", @@ -126,34 +126,14 @@ } ], "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "type": "any", - "value": "apikey", - "key": "key" - }, - { - "type": "any", - "value": "{{apiKey}}", - "key": "value" - }, - { - "type": "any", - "value": "header", - "key": "in" - } - ] - } + "body": {} }, "response": [ { "_": { "postman_previewlanguage": "json" }, - "id": "151b3704-a358-4d23-acd2-2a46cab74d2a", + "id": "a3830524-7c2f-43ce-a581-88fec765315c", "name": "RSV - Actionable due to membership of an Age Cohort including suggested national booking action (actions requested)", "originalRequest": { "url": { @@ -226,14 +206,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -254,7 +226,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "673b7dcd-58b3-4e4d-9d61-2c4309202672", + "id": "b3df0b3f-58c7-49ae-88fc-0c4a8ac437b7", "name": "RSV - Actionable due to membership of an Age Cohort including suggested action (not national booking)", "originalRequest": { "url": { @@ -327,14 +299,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -355,7 +319,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "b275bfea-5a44-4ddb-b9dd-cf773b857adb", + "id": "cbe49791-c960-47cf-90d6-319bff6a7f5a", "name": "RSV - Actionable due to membership of an alternative Age Cohort including suggested action (not national booking)", "originalRequest": { "url": { @@ -428,14 +392,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -456,7 +412,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "a154f9bd-3279-47af-8f8b-8c227ab3acd9", + "id": "71fad2e7-a650-4dc1-bd07-aaed7ba3fdd2", "name": "RSV - Actionable due to membership of an Age Cohort including suggested action (future national booking)", "originalRequest": { "url": { @@ -529,14 +485,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -557,7 +505,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "a74ce4c4-b223-4393-b31b-330fdfd81ad6", + "id": "65a8531e-ecd6-450c-8ff2-14d54c73666c", "name": "RSV - Actionable due to membership of an Age Cohort including suggested actions (with future local booking)", "originalRequest": { "url": { @@ -630,14 +578,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -658,7 +598,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "c9c2f69e-2496-485c-8c50-b1fb076e74bf", + "id": "2e2feb04-87a7-466c-90bf-8822c7436019", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of already vaccinated (cohorts hidden)", "originalRequest": { "url": { @@ -731,14 +671,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -752,14 +684,14 @@ "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n }\n ],\n \"actions\": []\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nWe believe you had your vaccination on 3 April 2025.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"CheckCorrect\",\n \"description\": \"##If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "7348139c-e205-4352-9460-4d7023d28cfa", + "id": "91b51b8f-0c55-4c94-9278-8f4fe6c21ee8", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of no available vaccinations (not available type 1)", "originalRequest": { "url": { @@ -832,14 +764,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -860,7 +784,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "b88eb083-a8fc-4f4f-8c28-f46f9c3e58ae", + "id": "f00a014a-b3b2-46fd-be95-5a55789fbc79", "name": "RSV - No RSV response as no active campaign (not available type 2)", "originalRequest": { "url": { @@ -933,14 +857,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -961,7 +877,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "3bafe99e-468a-4bbc-a84a-725ed0760e9a", + "id": "b90fb977-3404-4986-bf1e-91179fb3f346", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not yet due", "originalRequest": { "url": { @@ -1034,14 +950,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -1062,7 +970,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "ce18948a-7136-4f87-86ea-50a8b2f37ea0", + "id": "2522bd5e-960f-4136-ac9e-b037e9e5ce9e", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not far enough apart", "originalRequest": { "url": { @@ -1135,14 +1043,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -1163,7 +1063,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "c35aeffd-11b0-47ad-8fd4-d30e2fb69920", + "id": "ac9f2529-ca8a-4620-91db-eb43da08b11e", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of vaccination given in other setting (e.g. care home)", "originalRequest": { "url": { @@ -1236,14 +1136,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -1264,7 +1156,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "24891936-a956-4433-bc7b-bf6395ca819b", + "id": "4c7a3907-b945-41c9-8573-bb1b9290b61e", "name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 1 includes unknown cohort)", "originalRequest": { "url": { @@ -1337,14 +1229,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -1358,14 +1242,14 @@ "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 should have the RSV vaccine\",\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've had your RSV vaccination\\nBased on our records, you recently had this vaccination.You do not need to do anything.\"\n }\n ],\n \"actions\": []\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\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've had your RSV vaccination\\nWe believe you had your vaccination on 3 April 2025.We believe you had your vaccination on 3 April 2025.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"CheckCorrect\",\n \"description\": \"##If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "472fa0eb-a949-47a4-9595-081e5a8d2343", + "id": "5f18cd38-5611-4411-8dd2-dd3a46c25cdc", "name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 2 includes no cohorts)", "originalRequest": { "url": { @@ -1438,14 +1322,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -1466,7 +1342,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "69bcaa10-17f2-40c9-8c60-24f22a3a43f0", + "id": "4d5ba9a6-12cb-4d1c-be57-88930cf97f78", "name": "RSV - Not Eligible", "originalRequest": { "url": { @@ -1539,14 +1415,6 @@ { "key": "Accept", "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" } ], "method": "GET", @@ -1567,8 +1435,8 @@ "_": { "postman_previewlanguage": "json" }, - "id": "0603dca0-edce-4ebd-a37d-2af9b8ea261d", - "name": "Invalid input data.", + "id": "b93b1515-f68f-453f-9cba-075b67b89eca", + "name": "RSV - Multiple actions without cohorts", "originalRequest": { "url": { "path": [ @@ -1639,37 +1507,29 @@ }, { "key": "Accept", - "value": "application/fhir+json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" + "value": "application/json" } ], "method": "GET", "body": {} }, - "status": "Bad Request", - "code": 400, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", - "value": "application/fhir+json" + "value": "application/json" } ], - "body": "{\n \"resourceType\": \"OperationOutcome\",\n \"id\": \"rrt-2959959087381887325-c-geu2-24001-77777777-1\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"issue\": [\n {\n \"severity\": \"error\",\n \"code\": \"value\",\n \"details\": {\n \"coding\": [\n {\n \"system\": \"https://fhir.nhs.uk/CodeSystem/Spine-ErrorOrWarningCode\",\n \"code\": \"VALIDATION_ERROR\",\n \"display\": \"The given conditions were not in the expected format.\"\n }\n ]\n },\n \"diagnostics\": \"FLU&COVID should be a single or comma separated list of condition strings with no other punctuation or special characters\",\n \"location\": [\n \"parameters/conditions\"\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\": \"NotEligible\",\n \"statusText\": \"We do not believe you can have it\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"CheckTheWeb\",\n \"description\": \"##Want Independent Advice\\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*.\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"Disclaimer\",\n \"description\": \"##This is test data\\nThese are not real options, but options created to try out the system ~and break it~.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "5bcb49f1-9157-4ebc-8e26-b4833265991b", - "name": "Person not found.", + "id": "e7b70aa9-5e14-4036-a0de-6d25b204c781", + "name": "RSV - Multiple actions with cohorts", "originalRequest": { "url": { "path": [ @@ -1740,37 +1600,29 @@ }, { "key": "Accept", - "value": "application/fhir+json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "apikey", - "value": "" + "value": "application/json" } ], "method": "GET", "body": {} }, - "status": "Not Found", - "code": 404, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", - "value": "application/fhir+json" + "value": "application/json" } ], - "body": "{\n \"resourceType\": \"OperationOutcome\",\n \"id\": \"rrt-2959959087381887325-c-geu2-24001-77777777-1\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"issue\": [\n {\n \"severity\": \"error\",\n \"code\": \"processing\",\n \"details\": {\n \"coding\": [\n {\n \"system\": \"https://fhir.nhs.uk/CodeSystem/Spine-ErrorOrWarningCode\",\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"display\": \"The given NHS number was not found in our datasets. This could be because the number is incorrect or some other reason we cannot process that number.\"\n }\n ]\n },\n \"diagnostics\": \"NHS Number 9000000404 was not recognised by the Eligibility Signposting API\",\n \"location\": [\n \"parameters/id\"\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"##Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one, and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"CheckTheWeb\",\n \"description\": \"##Want Independent Advice\\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*.\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"Disclaimer\",\n \"description\": \"##This is test data\\nThese are not real options, but options created to try out the system ~and break it~.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookElsewhere\",\n \"description\": \"\",\n \"urlLink\": \"http://www.nhs.uk/book-non-nbs-rsv\",\n \"urlLabel\": \"Continue to other booking\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "ebdc7523-1835-44f9-823e-cebef7567cd5", - "name": "Unrecognised input data. (Unprocessable Content)", + "id": "e9b675be-d3ea-4f44-87d8-cf32d38a1ac2", + "name": "RSV - Multiple suitability rules with cohorts", "originalRequest": { "url": { "path": [ @@ -1841,37 +1693,122 @@ }, { "key": "Accept", - "value": "application/fhir+json" + "value": "application/json" + } + ], + "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "1d5dfc51-e62f-4919-81fb-ace8c146f891", + "name": "RSV - Multiple suitability rules without 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": "Added as a part of security scheme: apikey", + "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": "apikey", - "value": "" + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y12345" + }, + { + "key": "Accept", + "value": "application/json" } ], "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", - "value": "application/fhir+json" + "value": "application/json" } ], - "body": "{\n \"resourceType\": \"OperationOutcome\",\n \"id\": \"rrt-2959959087381887325-c-geu2-24001-77777777-1\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"issue\": [\n {\n \"severity\": \"error\",\n \"code\": \"value\",\n \"details\": {\n \"coding\": [\n {\n \"system\": \"https://fhir.nhs.uk/CodeSystem/Spine-ErrorOrWarningCode\",\n \"code\": \"VALIDATION_ERROR\",\n \"display\": \"The supplied category was not recognised by the API.\"\n }\n ]\n },\n \"diagnostics\": \"HEALTHCHECKS is not a category that is supported by the API\",\n \"location\": [\n \"parameters/category\"\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "cb72d26d-7678-40fb-bfc2-1a952293767c", - "name": "Internal server error.", + "id": "c96b4ea4-0f02-4e0b-a18e-0940a69dc93e", + "name": "RSV - Multiple suitability , multiple actions rules with cohorts", "originalRequest": { "url": { "path": [ @@ -1942,15 +1879,844 @@ }, { "key": "Accept", - "value": "application/fhir+json" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" + "value": "application/json" + } + ], + "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"##Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "3ad25b59-b3d3-452b-8426-3ca02c025faa", + "name": "RSV - Multiple suitability , multiple actions rules without 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" }, - "key": "apikey", - "value": "" + { + "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" + } + ], + "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"##Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "f5ec9240-0f8b-48fb-a4b2-49a84696c46f", + "name": "RSV - Unknown action with 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" + } + ], + "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\": \"Actionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"VideoClipLink\",\n \"actionCode\": \"JabInfoVideo\",\n \"description\": \"##View information about the RSV vaccine\\nThis video explains what it is and why you should have it.\",\n \"urlLink\": \"https://www.youtube.com/watch?v=NIkDBejfrGo\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "d6bef0ac-2468-4d61-9ede-21602ee9a4b7", + "name": "RSV - Unknown action without 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" + } + ], + "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\": \"Actionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"VideoClipLink\",\n \"actionCode\": \"JabInfoVideo\",\n \"description\": \"##View information about the RSV vaccine\\nThis video explains what it is and why you should have it.\",\n \"urlLink\": \"https://www.youtube.com/watch?v=NIkDBejfrGo\"\n }\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "0ac30db6-5092-46f6-8db8-edefe29f5cac", + "name": "RSV - Unknown suitability rule with 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" + } + ], + "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\": \"Actionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"PreviousAlergicResponse\",\n \"ruleText\": \"##You've had a reaction to vaccinations in the past\\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "35d5e184-3273-4991-886a-7f0886cf35c0", + "name": "RSV - Unknown suitability rule without 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" + } + ], + "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\": \"Actionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"PreviousAlergicResponse\",\n \"ruleText\": \"##You've had a reaction to vaccinations in the past\\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "fbed3199-f73c-4a89-a6aa-ca2f71e7b821", + "name": "Invalid input data.", + "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/fhir+json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [ + { + "key": "Content-Type", + "value": "application/fhir+json" + } + ], + "body": "{\n \"resourceType\": \"OperationOutcome\",\n \"id\": \"rrt-2959959087381887325-c-geu2-24001-77777777-1\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"issue\": [\n {\n \"severity\": \"error\",\n \"code\": \"value\",\n \"details\": {\n \"coding\": [\n {\n \"system\": \"https://fhir.nhs.uk/CodeSystem/Spine-ErrorOrWarningCode\",\n \"code\": \"VALIDATION_ERROR\",\n \"display\": \"The given conditions were not in the expected format.\"\n }\n ]\n },\n \"diagnostics\": \"FLU&COVID should be a single or comma separated list of condition strings with no other punctuation or special characters\",\n \"location\": [\n \"parameters/conditions\"\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "e943c1a3-d7ba-4a5b-ac49-a5c09982366c", + "name": "Person not found.", + "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/fhir+json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/fhir+json" + } + ], + "body": "{\n \"resourceType\": \"OperationOutcome\",\n \"id\": \"rrt-2959959087381887325-c-geu2-24001-77777777-1\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"issue\": [\n {\n \"severity\": \"error\",\n \"code\": \"processing\",\n \"details\": {\n \"coding\": [\n {\n \"system\": \"https://fhir.nhs.uk/CodeSystem/Spine-ErrorOrWarningCode\",\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"display\": \"The given NHS number was not found in our datasets. This could be because the number is incorrect or some other reason we cannot process that number.\"\n }\n ]\n },\n \"diagnostics\": \"NHS Number 9000000404 was not recognised by the Eligibility Signposting API\",\n \"location\": [\n \"parameters/id\"\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "7c7b40ba-7b58-4405-b9b1-b41b49899a15", + "name": "Unrecognised input data. (Unprocessable Content)", + "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/fhir+json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/fhir+json" + } + ], + "body": "{\n \"resourceType\": \"OperationOutcome\",\n \"id\": \"rrt-2959959087381887325-c-geu2-24001-77777777-1\",\n \"meta\": {\n \"lastUpdated\": \"2025-02-12T16:11:22Z\"\n },\n \"issue\": [\n {\n \"severity\": \"error\",\n \"code\": \"value\",\n \"details\": {\n \"coding\": [\n {\n \"system\": \"https://fhir.nhs.uk/CodeSystem/Spine-ErrorOrWarningCode\",\n \"code\": \"VALIDATION_ERROR\",\n \"display\": \"The supplied category was not recognised by the API.\"\n }\n ]\n },\n \"diagnostics\": \"HEALTHCHECKS is not a category that is supported by the API\",\n \"location\": [\n \"parameters/category\"\n ]\n }\n ]\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "1ba50e66-d697-4765-9243-db3e2189141f", + "name": "Internal server error.", + "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/fhir+json" } ], "method": "GET", @@ -1972,7 +2738,7 @@ { "listen": "test", "script": { - "id": "08c6e73d-56ef-4da3-b717-0c4943d4ec4e", + "id": "0e39eaa9-bed3-44a4-8e82-fa547fb480c9", "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", @@ -1997,16 +2763,16 @@ } ], "info": { - "_postman_id": "95c82c32-cef6-438a-8e6d-caff920cb44b", + "_postman_id": "3ffc2833-7a96-4379-970e-84f61d56c346", "name": "Patient Eligibility Signposting API", "version": { - "raw": "1.0.14-alpha", + "raw": "1.0.15-alpha", "major": 1, "minor": 0, - "patch": 14, + "patch": 15, "prerelease": "alpha", "build": [], - "string": "1.0.14-alpha" + "string": "1.0.15-alpha" }, "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { From fd7badd2fd9cedd3044eef654f89aae0c00e84a5 Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 25 Jun 2025 14:42:54 +0100 Subject: [PATCH 3/6] Update app.py Add in mapping support for new examples --- sandbox/app.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/sandbox/app.py b/sandbox/app.py index 5c22f6a..29fa001 100644 --- a/sandbox/app.py +++ b/sandbox/app.py @@ -52,6 +52,17 @@ "patient-check/5000000012": "example_50000000012", "patient-check/5000000013": "example_50000000013", "patient-check/5000000014": "example_50000000014", + "patient-check/5000000015": "example_50000000015", + "patient-check/5000000016": "example_50000000016", + "patient-check/5000000017": "example_50000000017", + "patient-check/5000000018": "example_50000000018", + "patient-check/5000000019": "example_50000000019", + "patient-check/5000000020": "example_50000000020", + "patient-check/5000000021": "example_50000000021", + "patient-check/5000000022": "example_50000000022", + "patient-check/5000000023": "example_50000000023", + "patient-check/5000000024": "example_50000000024", + # Incorrectly sized mock NHS Numbers (retained for backward compatabliity) "patient-check/50000000001": "example_50000000001", "patient-check/50000000002": "example_50000000002", "patient-check/50000000003": "example_50000000003", @@ -66,6 +77,17 @@ "patient-check/50000000012": "example_50000000012", "patient-check/50000000013": "example_50000000013", "patient-check/50000000014": "example_50000000014", + "patient-check/50000000015": "example_50000000015", + "patient-check/50000000016": "example_50000000016", + "patient-check/50000000017": "example_50000000017", + "patient-check/50000000018": "example_50000000018", + "patient-check/50000000019": "example_50000000019", + "patient-check/50000000020": "example_50000000020", + "patient-check/50000000021": "example_50000000021", + "patient-check/50000000022": "example_50000000022", + "patient-check/50000000023": "example_50000000023", + "patient-check/50000000024": "example_50000000024", + # VitA Specific NHS Number Mapping "patient-check/9686368973": "example_50000000001", "patient-check/9686368906": "example_50000000002", "patient-check/9658218873": "example_50000000003", @@ -80,6 +102,7 @@ "patient-check/9450114080": "example_50000000012", "patient-check/9466447939": "example_50000000013", "patient-check/9657933617": "example_50000000014", + # Support error scenario invocation "patient-check/90000000400": "code400", "patient-check/90000000404": "code404", "patient-check/90000000422": "code422", From eb7487defae99b2e03be8ddf5ee4314d757203eb Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 25 Jun 2025 19:10:35 +0100 Subject: [PATCH 4/6] Update eligibility-signposting-api.yaml Correcting GFM syntax in examples --- .../eligibility-signposting-api.yaml | 86 +++++++++---------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/specification/eligibility-signposting-api.yaml b/specification/eligibility-signposting-api.yaml index e0c20f3..24848f3 100644 --- a/specification/eligibility-signposting-api.yaml +++ b/specification/eligibility-signposting-api.yaml @@ -255,7 +255,7 @@ paths: actions: - actionType: "InfoText" actionCode: "BookLocal" - description: "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination." + description: "## Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination." example_50000000003: summary: RSV - Actionable due to membership of an alternative Age Cohort including suggested action (not national booking) value: @@ -274,7 +274,7 @@ paths: actions: - actionType: "InfoText" actionCode: "BookLocal" - description: "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination." + description: "## Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination." example_50000000004: summary: RSV - Actionable due to membership of an Age Cohort including suggested action (future national booking) value: @@ -290,7 +290,7 @@ paths: actions: - actionType: "ButtonWithAuthLink" actionCode: "AmendNBS" - description: "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below." + description: "## You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below." urlLink: "http://www.nhs.uk/book-rsv" urlLabel: "Manage your appointment" example_50000000005: @@ -308,7 +308,7 @@ paths: actions: - actionType: "CardWithText" actionCode: "ManageLocal" - description: "##You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment." + description: "## You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment." example_50000000006: summary: RSV - Not Actionable despite to membership of an Age Cohort with reasoning of already vaccinated (cohorts hidden) value: @@ -323,11 +323,11 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nWe believe you had your vaccination on 3 April 2025." + ruleText: "## You've had your RSV vaccination\nWe believe you had your vaccination on 3 April 2025." actions: - actionType: "InfoText" actionCode: "CheckCorrect" - description: "##If you think this is incorrect\nIf you have not had this vaccination and you think you should, speak to your healthcare professional." + description: "## If you think this is incorrect\nIf you have not had this vaccination and you think you should, speak to your healthcare professional." example_50000000007: summary: RSV - Not Actionable despite to membership of an Age Cohort with reasoning of no available vaccinations (not available type 1) value: @@ -409,7 +409,7 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "OtherSetting" - ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + ruleText: "## Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." actions: [] example_50000000012: summary: RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 1 includes unknown cohort) @@ -428,11 +428,11 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nWe believe you had your vaccination on 3 April 2025.We believe you had your vaccination on 3 April 2025." + ruleText: "## You've had your RSV vaccination\nWe believe you had your vaccination on 3 April 2025.We believe you had your vaccination on 3 April 2025." actions: - actionType: "InfoText" actionCode: "CheckCorrect" - description: "##If you think this is incorrect\nIf you have not had this vaccination and you think you should, speak to your healthcare professional." + description: "## If you think this is incorrect\nIf you have not had this vaccination and you think you should, speak to your healthcare professional." example_50000000013: summary: RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 2 includes no cohorts) value: @@ -447,7 +447,7 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + ruleText: "## You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." actions: [] example_50000000014: summary: RSV - Not Eligible @@ -470,7 +470,7 @@ paths: actions: - actionType: "InfoText" actionCode: "HealthcareProInfo" - description: "##If you think you need this vaccine\nSpeak to your healthcare professional if you think you should be offered this vaccination." + description: "## If you think you need this vaccine\nSpeak to your healthcare professional if you think you should be offered this vaccination." ############################################################################# example_50000000015: summary: RSV - Multiple actions without cohorts @@ -487,16 +487,16 @@ paths: actions: - actionType: "InfoText" actionCode: "GPAdvice" - description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + description: "## Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." - actionType: "CardWithText" actionCode: "CheckTheWeb" - description: "##Want Independent Advice\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*." + description: "## Want Independent Advice\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*." - actionType: "InfoText" actionCode: "Disclaimer" - description: "##This is test data\nThese are not real options, but options created to try out the system ~and break it~." + description: "## This is test data\nThese are not real options, but options created to try out the system ~and break it~." - actionType: "CardWithText" actionCode: "BuyOne" - description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + description: "## Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." example_50000000016: summary: RSV - Multiple actions with cohorts value: @@ -518,21 +518,21 @@ paths: actions: - actionType: "ButtonWithAuthLink" actionCode: "BookNBS" - description: "##Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one, and book a convenient appointment." + description: "## Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one, and book a convenient appointment." urlLink: "http://www.nhs.uk/book-rsv" urlLabel: "Continue to booking" - actionType: "InfoText" actionCode: "GPAdvice" - description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + description: "## Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." - actionType: "CardWithText" actionCode: "CheckTheWeb" - description: "##Want Independent Advice\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*." + description: "## Want Independent Advice\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*." - actionType: "InfoText" actionCode: "Disclaimer" - description: "##This is test data\nThese are not real options, but options created to try out the system ~and break it~." + description: "## This is test data\nThese are not real options, but options created to try out the system ~and break it~." - actionType: "CardWithText" actionCode: "BuyOne" - description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + description: "## Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." - actionType: "ButtonWithAuthLink" actionCode: "BookElsewhere" description: "" @@ -558,13 +558,13 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + ruleText: "## You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." - ruleType: "S" ruleCode: "OtherSetting" - ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + ruleText: "## Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." - ruleType: "S" ruleCode: "NotYetDue" - ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + ruleText: "## Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." actions: [] example_50000000018: summary: RSV - Multiple suitability rules without cohorts @@ -580,13 +580,13 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + ruleText: "## You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." - ruleType: "S" ruleCode: "OtherSetting" - ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + ruleText: "## Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." - ruleType: "S" ruleCode: "NotYetDue" - ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + ruleText: "## Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." actions: [] example_50000000019: summary: RSV - Multiple suitability , multiple actions rules with cohorts @@ -608,23 +608,23 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + ruleText: "## You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." - ruleType: "S" ruleCode: "OtherSetting" - ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + ruleText: "## Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." - ruleType: "S" ruleCode: "NotYetDue" - ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + ruleText: "## Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." actions: - actionType: "InfoText" actionCode: "GPAdvice" - description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + description: "## Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." - actionType: "CardWithText" actionCode: "BuyOne" - description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + description: "## Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." - actionType: "ButtonWithAuthLink" actionCode: "BookNBS" - description: "##Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment." + description: "## Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment." urlLink: "http://www.nhs.uk/book-rsv" urlLabel: "Continue to booking" example_50000000020: @@ -641,23 +641,23 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "AlreadyVaccinated" - ruleText: "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." + ruleText: "## You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." - ruleType: "S" ruleCode: "OtherSetting" - ruleText: "##Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." + ruleText: "## Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." - ruleType: "S" ruleCode: "NotYetDue" - ruleText: "##Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." + ruleText: "## Your last dose of the RSV vaccination was too recent\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time." actions: - actionType: "InfoText" actionCode: "GPAdvice" - description: "##Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." + description: "## Don't Believe Us\nYou can get get advice about an RSV vaccination at your GP surgery." - actionType: "CardWithText" actionCode: "BuyOne" - description: "##Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." + description: "## Privately funded RSV jabs are available\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies." - actionType: "ButtonWithAuthLink" actionCode: "BookNBS" - description: "##Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment." + description: "## Book a jab at a nearby pharmacy\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment." urlLink: "http://www.nhs.uk/book-rsv" urlLabel: "Continue to booking" example_50000000021: @@ -681,7 +681,7 @@ paths: actions: - actionType: "VideoClipLink" actionCode: "JabInfoVideo" - description: "##View information about the RSV vaccine\nThis video explains what it is and why you should have it." + description: "## View information about the RSV vaccine\nThis video explains what it is and why you should have it." urlLink: "https://www.youtube.com/watch?v=NIkDBejfrGo" example_50000000022: summary: RSV - Unknown action without cohorts @@ -698,7 +698,7 @@ paths: actions: - actionType: "VideoClipLink" actionCode: "JabInfoVideo" - description: "##View information about the RSV vaccine\nThis video explains what it is and why you should have it." + description: "## View information about the RSV vaccine\nThis video explains what it is and why you should have it." urlLink: "https://www.youtube.com/watch?v=NIkDBejfrGo" example_50000000023: summary: RSV - Unknown suitability rule with cohorts @@ -720,7 +720,7 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "PreviousAlergicResponse" - ruleText: "##You've had a reaction to vaccinations in the past\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels." + ruleText: "## You've had a reaction to vaccinations in the past\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels." actions: [] example_50000000024: summary: RSV - Unknown suitability rule without cohorts @@ -736,7 +736,7 @@ paths: suitabilityRules: - ruleType: "S" ruleCode: "PreviousAlergicResponse" - ruleText: "##You've had a reaction to vaccinations in the past\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels." + ruleText: "## You've had a reaction to vaccinations in the past\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels." actions: [] ############################################################################# '400': @@ -1036,7 +1036,7 @@ paths: location: - "parameters/category" ################################################################################ -# Components # +# Components # ################################################################################ components: securitySchemes: From 4cc46f9cc16b7d6c018ea5eb91dd944c4c203fca Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 25 Jun 2025 19:16:32 +0100 Subject: [PATCH 5/6] Update collection.json GFM syntax corrections in examples --- specification/postman/collection.json | 108 +++++++++++++------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/specification/postman/collection.json b/specification/postman/collection.json index 58debca..0cbdc8a 100644 --- a/specification/postman/collection.json +++ b/specification/postman/collection.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "3ffc2833-7a96-4379-970e-84f61d56c346" + "postman_id": "4caa73fa-52b7-40f7-bfdb-dbc9ac514d3a" }, "item": [ { - "id": "c6b1335d-1e50-4293-8f35-46d125ee50c1", + "id": "7a26fff3-62ed-49f7-933a-c61aba58304b", "name": "Eligibility", "description": { "content": "", @@ -14,7 +14,7 @@ "event": [] }, { - "id": "fe60955f-bdc1-4b30-bc1b-2f5b9c68857d", + "id": "e2a588dc-0e08-482c-ab29-b2b43d105fa7", "name": "Signposting", "description": { "content": "", @@ -24,7 +24,7 @@ "event": [] }, { - "id": "1a35aadc-6836-499a-96fb-fdb110a657d0", + "id": "009dd6f7-74b7-4de5-be50-9d00ab708c0c", "name": "NextActions", "description": { "content": "", @@ -34,7 +34,7 @@ "event": [] }, { - "id": "6a75e1a2-1d30-42f6-8ee2-3c0c7b91ef68", + "id": "2e8da27d-035e-4f01-82c2-f8b7170cb541", "name": "Check Eligibility", "request": { "name": "Check Eligibility", @@ -133,7 +133,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "a3830524-7c2f-43ce-a581-88fec765315c", + "id": "ef274e3b-cb41-4e4c-8471-437c21c9e288", "name": "RSV - Actionable due to membership of an Age Cohort including suggested national booking action (actions requested)", "originalRequest": { "url": { @@ -226,7 +226,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "b3df0b3f-58c7-49ae-88fc-0c4a8ac437b7", + "id": "0cc24782-f055-4434-8323-e0bc1e4f7b67", "name": "RSV - Actionable due to membership of an Age Cohort including suggested action (not national booking)", "originalRequest": { "url": { @@ -312,14 +312,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"BookLocal\",\n \"description\": \"##Getting the vaccine\\nYou can get an RSV vaccination at your GP surgery.\\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.\"\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"BookLocal\",\n \"description\": \"## Getting the vaccine\\nYou can get an RSV vaccination at your GP surgery.\\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "cbe49791-c960-47cf-90d6-319bff6a7f5a", + "id": "ed846a3b-c5e9-4c01-a716-36d2e6183f01", "name": "RSV - Actionable due to membership of an alternative Age Cohort including suggested action (not national booking)", "originalRequest": { "url": { @@ -405,14 +405,14 @@ "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\": \"You should have the RSV vaccine\",\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 \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"BookLocal\",\n \"description\": \"##Getting the vaccine\\nYou can get an RSV vaccination at your GP surgery.\\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.\"\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 should have the RSV vaccine\",\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 \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"BookLocal\",\n \"description\": \"## Getting the vaccine\\nYou can get an RSV vaccination at your GP surgery.\\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "71fad2e7-a650-4dc1-bd07-aaed7ba3fdd2", + "id": "aef2d55d-2ea0-46fd-8aa0-36308c9e28ae", "name": "RSV - Actionable due to membership of an Age Cohort including suggested action (future national booking)", "originalRequest": { "url": { @@ -498,14 +498,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"AmendNBS\",\n \"description\": \"##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Manage your appointment\"\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"AmendNBS\",\n \"description\": \"## You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Manage your appointment\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "65a8531e-ecd6-450c-8ff2-14d54c73666c", + "id": "da308411-4f2e-4d0c-9d23-0b4040871094", "name": "RSV - Actionable due to membership of an Age Cohort including suggested actions (with future local booking)", "originalRequest": { "url": { @@ -591,14 +591,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"ManageLocal\",\n \"description\": \"##You have an RSV vaccination appointment\\nContact your healthcare provider to change or cancel your appointment.\"\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"ManageLocal\",\n \"description\": \"## You have an RSV vaccination appointment\\nContact your healthcare provider to change or cancel your appointment.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "2e2feb04-87a7-466c-90bf-8822c7436019", + "id": "4b6bb5f1-75d4-4ab6-ab00-edd30ab6e74f", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of already vaccinated (cohorts hidden)", "originalRequest": { "url": { @@ -684,14 +684,14 @@ "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nWe believe you had your vaccination on 3 April 2025.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"CheckCorrect\",\n \"description\": \"##If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.\"\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"## You've had your RSV vaccination\\nWe believe you had your vaccination on 3 April 2025.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"CheckCorrect\",\n \"description\": \"## If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "91b51b8f-0c55-4c94-9278-8f4fe6c21ee8", + "id": "95dcb219-7926-42f2-9dcd-8126c3dcf91d", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of no available vaccinations (not available type 1)", "originalRequest": { "url": { @@ -784,7 +784,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "f00a014a-b3b2-46fd-be95-5a55789fbc79", + "id": "19337621-98d0-48a5-8027-ef9b652b90c2", "name": "RSV - No RSV response as no active campaign (not available type 2)", "originalRequest": { "url": { @@ -877,7 +877,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "b90fb977-3404-4986-bf1e-91179fb3f346", + "id": "c36ac772-8a5d-4580-8731-c6c2c4b11d92", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not yet due", "originalRequest": { "url": { @@ -970,7 +970,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "2522bd5e-960f-4136-ac9e-b037e9e5ce9e", + "id": "1606d4f0-aba6-4f14-b2cc-ab88321a5f25", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not far enough apart", "originalRequest": { "url": { @@ -1063,7 +1063,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "ac9f2529-ca8a-4620-91db-eb43da08b11e", + "id": "8d2ca8f1-31fd-4989-a5c9-11fa1603eed4", "name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of vaccination given in other setting (e.g. care home)", "originalRequest": { "url": { @@ -1149,14 +1149,14 @@ "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 should have the RSV vaccine\",\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\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n }\n ],\n \"actions\": []\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\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\": \"## Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "4c7a3907-b945-41c9-8573-bb1b9290b61e", + "id": "5ac93c89-c6dc-4b59-9799-82b0f5ba9951", "name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 1 includes unknown cohort)", "originalRequest": { "url": { @@ -1242,14 +1242,14 @@ "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 should have the RSV vaccine\",\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've had your RSV vaccination\\nWe believe you had your vaccination on 3 April 2025.We believe you had your vaccination on 3 April 2025.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"CheckCorrect\",\n \"description\": \"##If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.\"\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\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've had your RSV vaccination\\nWe believe you had your vaccination on 3 April 2025.We believe you had your vaccination on 3 April 2025.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"CheckCorrect\",\n \"description\": \"## If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "5f18cd38-5611-4411-8dd2-dd3a46c25cdc", + "id": "7115646c-cdcd-4758-8fb1-01639887fa31", "name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 2 includes no cohorts)", "originalRequest": { "url": { @@ -1335,14 +1335,14 @@ "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n }\n ],\n \"actions\": []\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"## You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "4d5ba9a6-12cb-4d1c-be57-88930cf97f78", + "id": "e839276d-7f92-4bda-8401-8a1334884250", "name": "RSV - Not Eligible", "originalRequest": { "url": { @@ -1428,14 +1428,14 @@ "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\": \"We do not believe you should have this vaccine\",\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 \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"HealthcareProInfo\",\n \"description\": \"##If you think you need this vaccine\\nSpeak to your healthcare professional if you think you should be offered this vaccination.\"\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\": \"NotEligible\",\n \"statusText\": \"We do not believe you should have this vaccine\",\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 \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"HealthcareProInfo\",\n \"description\": \"## If you think you need this vaccine\\nSpeak to your healthcare professional if you think you should be offered this vaccination.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "b93b1515-f68f-453f-9cba-075b67b89eca", + "id": "57f1139d-9c4b-4a51-91bd-5901750f7e39", "name": "RSV - Multiple actions without cohorts", "originalRequest": { "url": { @@ -1521,14 +1521,14 @@ "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\": \"We do not believe you can have it\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"CheckTheWeb\",\n \"description\": \"##Want Independent Advice\\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*.\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"Disclaimer\",\n \"description\": \"##This is test data\\nThese are not real options, but options created to try out the system ~and break it~.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\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\": \"NotEligible\",\n \"statusText\": \"We do not believe you can have it\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"## Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"CheckTheWeb\",\n \"description\": \"## Want Independent Advice\\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*.\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"Disclaimer\",\n \"description\": \"## This is test data\\nThese are not real options, but options created to try out the system ~and break it~.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"## Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "e7b70aa9-5e14-4036-a0de-6d25b204c781", + "id": "544f5703-6794-4faa-8be6-687d6789201b", "name": "RSV - Multiple actions with cohorts", "originalRequest": { "url": { @@ -1614,14 +1614,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"##Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one, and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"CheckTheWeb\",\n \"description\": \"##Want Independent Advice\\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*.\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"Disclaimer\",\n \"description\": \"##This is test data\\nThese are not real options, but options created to try out the system ~and break it~.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookElsewhere\",\n \"description\": \"\",\n \"urlLink\": \"http://www.nhs.uk/book-non-nbs-rsv\",\n \"urlLabel\": \"Continue to other booking\"\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"## Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one, and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"## Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"CheckTheWeb\",\n \"description\": \"## Want Independent Advice\\nYou can search for independent advice by using the google.co.uk to search for *uk rsv vaccination bgs saga*.\"\n },\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"Disclaimer\",\n \"description\": \"## This is test data\\nThese are not real options, but options created to try out the system ~and break it~.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"## Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookElsewhere\",\n \"description\": \"\",\n \"urlLink\": \"http://www.nhs.uk/book-non-nbs-rsv\",\n \"urlLabel\": \"Continue to other booking\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "e9b675be-d3ea-4f44-87d8-cf32d38a1ac2", + "id": "3818e9d2-fc90-4507-b732-2242cce0c1fc", "name": "RSV - Multiple suitability rules with cohorts", "originalRequest": { "url": { @@ -1707,14 +1707,14 @@ "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": []\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"## You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"## Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"## Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "1d5dfc51-e62f-4919-81fb-ace8c146f891", + "id": "40eb5a80-4630-4c4a-9a4e-10cbb1c1de14", "name": "RSV - Multiple suitability rules without cohorts", "originalRequest": { "url": { @@ -1800,14 +1800,14 @@ "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": []\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"## You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"## Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"## Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "c96b4ea4-0f02-4e0b-a18e-0940a69dc93e", + "id": "a245b597-badb-4224-9640-70275ac2fe1a", "name": "RSV - Multiple suitability , multiple actions rules with cohorts", "originalRequest": { "url": { @@ -1893,14 +1893,14 @@ "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"##Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"## You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"## Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"## Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"## Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"## Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"## Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "3ad25b59-b3d3-452b-8426-3ca02c025faa", + "id": "b99898b4-e5c7-4d69-8829-042c97859b21", "name": "RSV - Multiple suitability , multiple actions rules without cohorts", "originalRequest": { "url": { @@ -1986,14 +1986,14 @@ "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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"##You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"##Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"##Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"##Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"##Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"##Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\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\": \"NotActionable\",\n \"statusText\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"AlreadyVaccinated\",\n \"ruleText\": \"## You've had your RSV vaccination\\nBased on our records, you recently had this vaccination. You do not need to do anything.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"OtherSetting\",\n \"ruleText\": \"## Getting the vaccine\\nOur record show you're living in a setting where care is provided.\\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.\"\n },\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"NotYetDue\",\n \"ruleText\": \"## Your last dose of the RSV vaccination was too recent\\nBased on our records, not enough time has passed since you last had this vaccination. You do not need to do anything at this time.\"\n }\n ],\n \"actions\": [\n {\n \"actionType\": \"InfoText\",\n \"actionCode\": \"GPAdvice\",\n \"description\": \"## Don't Believe Us\\nYou can get get advice about an RSV vaccination at your GP surgery.\"\n },\n {\n \"actionType\": \"CardWithText\",\n \"actionCode\": \"BuyOne\",\n \"description\": \"## Privately funded RSV jabs are available\\nIf you are over 60, you can pay to be vaccinated at many of the UK's leading Pharmacies.\"\n },\n {\n \"actionType\": \"ButtonWithAuthLink\",\n \"actionCode\": \"BookNBS\",\n \"description\": \"## Book a jab at a nearby pharmacy\\nMany pharmacies can give provide you with the RSV vaccine. The National Booking System can help you find a nearby one and book a convenient appointment.\",\n \"urlLink\": \"http://www.nhs.uk/book-rsv\",\n \"urlLabel\": \"Continue to booking\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "f5ec9240-0f8b-48fb-a4b2-49a84696c46f", + "id": "3f59fbda-8230-48e8-99e7-3e1ac95b3366", "name": "RSV - Unknown action with cohorts", "originalRequest": { "url": { @@ -2079,14 +2079,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"VideoClipLink\",\n \"actionCode\": \"JabInfoVideo\",\n \"description\": \"##View information about the RSV vaccine\\nThis video explains what it is and why you should have it.\",\n \"urlLink\": \"https://www.youtube.com/watch?v=NIkDBejfrGo\"\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"VideoClipLink\",\n \"actionCode\": \"JabInfoVideo\",\n \"description\": \"## View information about the RSV vaccine\\nThis video explains what it is and why you should have it.\",\n \"urlLink\": \"https://www.youtube.com/watch?v=NIkDBejfrGo\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "d6bef0ac-2468-4d61-9ede-21602ee9a4b7", + "id": "7fa8dfcc-92d9-4bd1-81d4-9fbf65668dc5", "name": "RSV - Unknown action without cohorts", "originalRequest": { "url": { @@ -2172,14 +2172,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"VideoClipLink\",\n \"actionCode\": \"JabInfoVideo\",\n \"description\": \"##View information about the RSV vaccine\\nThis video explains what it is and why you should have it.\",\n \"urlLink\": \"https://www.youtube.com/watch?v=NIkDBejfrGo\"\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [],\n \"actions\": [\n {\n \"actionType\": \"VideoClipLink\",\n \"actionCode\": \"JabInfoVideo\",\n \"description\": \"## View information about the RSV vaccine\\nThis video explains what it is and why you should have it.\",\n \"urlLink\": \"https://www.youtube.com/watch?v=NIkDBejfrGo\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "0ac30db6-5092-46f6-8db8-edefe29f5cac", + "id": "c8110b49-2297-4291-9f26-a0d8bdb109be", "name": "RSV - Unknown suitability rule with cohorts", "originalRequest": { "url": { @@ -2265,14 +2265,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"PreviousAlergicResponse\",\n \"ruleText\": \"##You've had a reaction to vaccinations in the past\\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels.\"\n }\n ],\n \"actions\": []\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [\n {\n \"cohortCode\": \"rsv_age_rolling\",\n \"cohortText\": \"You are aged 75 to 79 years old.\",\n \"cohortStatus\": \"Actionable\"\n },\n {\n \"cohortCode\": \"rsv_age_in_carehomes\",\n \"cohortText\": \"You reside in an institution that qualifies you for the vaccine.\",\n \"cohortStatus\": \"Actionable\"\n }\n ],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"PreviousAlergicResponse\",\n \"ruleText\": \"## You've had a reaction to vaccinations in the past\\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "35d5e184-3273-4991-886a-7f0886cf35c0", + "id": "84290741-a3ee-4ee1-9cb0-6d201a328722", "name": "RSV - Unknown suitability rule without cohorts", "originalRequest": { "url": { @@ -2358,14 +2358,14 @@ "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\": \"You should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"PreviousAlergicResponse\",\n \"ruleText\": \"##You've had a reaction to vaccinations in the past\\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels.\"\n }\n ],\n \"actions\": []\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 should have the RSV vaccine\",\n \"eligibilityCohorts\": [],\n \"suitabilityRules\": [\n {\n \"ruleType\": \"S\",\n \"ruleCode\": \"PreviousAlergicResponse\",\n \"ruleText\": \"## You've had a reaction to vaccinations in the past\\nBased on our records, you have had reaction that suggests you should not receive the RSV vaccination through usual channels.\"\n }\n ],\n \"actions\": []\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "fbed3199-f73c-4a89-a6aa-ca2f71e7b821", + "id": "d9a554d0-9664-4943-9711-528faec7eb49", "name": "Invalid input data.", "originalRequest": { "url": { @@ -2458,7 +2458,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "e943c1a3-d7ba-4a5b-ac49-a5c09982366c", + "id": "3af1d915-2b00-4fec-bb4c-e2c6e267b1ba", "name": "Person not found.", "originalRequest": { "url": { @@ -2551,7 +2551,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "7c7b40ba-7b58-4405-b9b1-b41b49899a15", + "id": "0d4aa948-ec91-4a08-acaf-02d5b3b2bc55", "name": "Unrecognised input data. (Unprocessable Content)", "originalRequest": { "url": { @@ -2644,7 +2644,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "1ba50e66-d697-4765-9243-db3e2189141f", + "id": "7b1a66c5-fb96-42ed-a974-e14aa2016a0c", "name": "Internal server error.", "originalRequest": { "url": { @@ -2738,7 +2738,7 @@ { "listen": "test", "script": { - "id": "0e39eaa9-bed3-44a4-8e82-fa547fb480c9", + "id": "ca064e0f-2f9e-4419-abf9-8b2146bc0595", "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", @@ -2763,7 +2763,7 @@ } ], "info": { - "_postman_id": "3ffc2833-7a96-4379-970e-84f61d56c346", + "_postman_id": "4caa73fa-52b7-40f7-bfdb-dbc9ac514d3a", "name": "Patient Eligibility Signposting API", "version": { "raw": "1.0.15-alpha", From 363678e2881c25f8d4618174cd44e15413b28f60 Mon Sep 17 00:00:00 2001 From: jhadfield-NHS Date: Wed, 25 Jun 2025 19:32:18 +0100 Subject: [PATCH 6/6] Update eligibility-signposting-api.yaml Adding nhsd-application-id --- specification/eligibility-signposting-api.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/eligibility-signposting-api.yaml b/specification/eligibility-signposting-api.yaml index 24848f3..394dcbd 100644 --- a/specification/eligibility-signposting-api.yaml +++ b/specification/eligibility-signposting-api.yaml @@ -1051,3 +1051,7 @@ x-nhsd-apim: target-identity: - name: nhs-login-nhs-number header: "nhs-login-nhs-number" + target-attributes: + - name: id + required: false + header: nhsd-application-id