From b9ac7726b9016e6350c941e722a5ac6e1dc6c1d3 Mon Sep 17 00:00:00 2001 From: Adam Waller <176666249+adam-wallernhs1@users.noreply.github.com> Date: Tue, 7 Oct 2025 16:17:30 +0100 Subject: [PATCH] Changes to the vita integration tests in line with the new version of the campaign config --- .../RSV_Config_v0_12.json | 494 +++++++++++++++++ .../vita_integration_test_config.json | 511 ------------------ .../AUTO_RSV_VITA_INT_001.json | 2 +- .../AUTO_RSV_VITA_INT_002.json | 2 +- .../AUTO_RSV_VITA_INT_003.json | 2 +- .../AUTO_RSV_VITA_INT_004.json | 2 +- .../AUTO_RSV_VITA_INT_005.json | 2 +- .../AUTO_RSV_VITA_INT_006.json | 2 +- .../AUTO_RSV_VITA_INT_007.json | 2 +- .../AUTO_RSV_VITA_INT_009.json | 2 +- .../AUTO_RSV_VITA_INT_010.json | 2 +- .../AUTO_RSV_VITA_INT_011.json | 2 +- .../AUTO_RSV_VITA_INT_012.json | 2 +- .../AUTO_RSV_VITA_INT_013.json | 2 +- .../AUTO_RSV_VITA_INT_014.json | 2 +- .../AUTO_RSV_VITA_INT_500.json | 2 +- .../AUTO_RSV_VITA_INT_001.json | 2 +- .../AUTO_RSV_VITA_INT_002.json | 2 +- .../AUTO_RSV_VITA_INT_003.json | 2 +- .../AUTO_RSV_VITA_INT_006.json | 2 +- .../AUTO_RSV_VITA_INT_011.json | 2 +- .../AUTO_RSV_VITA_INT_012.json | 2 +- .../AUTO_RSV_VITA_INT_013.json | 2 +- .../AUTO_RSV_VITA_INT_014.json | 2 +- 24 files changed, 516 insertions(+), 533 deletions(-) create mode 100644 data/configs/vitaIntegrationTestConfigs/RSV_Config_v0_12.json delete mode 100644 data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json diff --git a/data/configs/vitaIntegrationTestConfigs/RSV_Config_v0_12.json b/data/configs/vitaIntegrationTestConfigs/RSV_Config_v0_12.json new file mode 100644 index 00000000..8d30969b --- /dev/null +++ b/data/configs/vitaIntegrationTestConfigs/RSV_Config_v0_12.json @@ -0,0 +1,494 @@ +{ + "CampaignConfig": { + "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", + "Version": 1, + "Name": "EliD RSV example config", + "Type": "V", + "Target": "RSV", + "Manager": ["example@nhs.net"], + "Approver": ["example@nhs.net"], + "Reviewer": ["example@nhs.net"], + "IterationFrequency": "X", + "IterationType": "O", + "IterationTime": "07:00:00", + "StartDate": "20250717", + "EndDate": "20350717", + "ApprovalMinimum": 0, + "ApprovalMaximum": 0, + "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", + "Iterations": [ + { + "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", + "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", + "DefaultNotActionableRouting": "", + "DefaultNotEligibleRouting": "CHECK_CORRECT_X", + "Version": 1, + "Name": "EliD RSV example config", + "IterationDate": "20250717", + "IterationNumber": 1, + "CommsType": "I", + "ApprovalMinimum": 0, + "ApprovalMaximum": 0, + "Type": "O", + "IterationCohorts": [ + { + "CohortLabel": "rsv_75to79_plus1day", + "CohortGroup": "rsv_age", + "PositiveDescription": "are aged between 75 and 79", + "NegativeDescription": "are not aged 75 to 79", + "Priority": 0, + "Virtual": "N" + }, + { + "CohortLabel": "rsv_80_2024_plus1day", + "CohortGroup": "rsv_age_catchup", + "PositiveDescription": "turned 80 after 1st September 2024", + "NegativeDescription": "did not turn 80 after 1 September 2024", + "Priority": 10, + "Virtual": "N" + }, + { + "CohortLabel": "elid_all_people", + "CohortGroup": "magic_cohort", + "PositiveDescription": "", + "NegativeDescription": "", + "Priority": 20, + "Virtual": "Y" + } + ], + "IterationRules": [ + { + "Type": "F", + "Name": "Remove from magic cohort unless already vaccinated or have future booking", + "Description": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", + "Operator": "Y<=", + "Comparator": "-25[[NVL:18000101]]", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "LAST_SUCCESSFUL_DATE", + "CohortLabel": "elid_all_people", + "Priority": 100 + }, + { + "Type": "F", + "Name": "Remove from magic cohort unless already vaccinated or have future booking", + "Description": "Remove anyone without a future booking from magic cohort", + "Operator": "D<", + "Comparator": "0[[NVL:18000101]]", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "BOOKED_APPOINTMENT_DATE", + "CohortLabel": "elid_all_people", + "Priority": 100 + }, + { + "Type": "F", + "Name": "Remove under 75 Years on day of execution", + "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", + "Priority": 120, + "AttributeLevel": "PERSON", + "AttributeName": "DATE_OF_BIRTH", + "Operator": "Y>", + "Comparator": "-75", + "CohortLabel": "rsv_75to79_plus1day" + }, + { + "Type": "F", + "Name": "Remove anyone 80 or over on day of execution from the 75 to 79 cohort", + "Description": "Exclude anyone who turned 80 on the day", + "Priority": 130, + "AttributeLevel": "PERSON", + "AttributeName": "DATE_OF_BIRTH", + "Operator": "Y<=", + "Comparator": "-80", + "CohortLabel": "rsv_75to79_plus1day" + }, + { + "Type": "F", + "Name": "Remove under 80 years on day of execution from the 80 since 2nd Sept 2024 cohort", + "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 80 years is filtered out", + "Priority": 140, + "AttributeLevel": "PERSON", + "AttributeName": "DATE_OF_BIRTH", + "Operator": "Y>", + "Comparator": "-80", + "CohortLabel": "rsv_80_2024_plus1day" + }, + { + "Type": "F", + "Name": "Remove those over 80 before 2nd September 2024 from the 80 since 2nd Sept 2024 cohort", + "Description": "Exclude anyone who turned 80 before 2nd September 2024", + "Priority": 150, + "AttributeLevel": "PERSON", + "AttributeName": "DATE_OF_BIRTH", + "Operator": "<", + "Comparator": "19440902", + "CohortLabel": "rsv_80_2024_plus1day" + }, + { + "Type": "F", + "Name": "Remove from rsv 80 cohort if already vaccinated", + "Description": "Remove anyone already vaccinated from 80 cohort", + "Operator": "Y>=", + "Comparator": "-25", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "LAST_SUCCESSFUL_DATE", + "CohortLabel": "rsv_80_2024_plus1day", + "Priority": 160 + }, + { + "Type": "F", + "Name": "Remove from rsv 80 cohort if future booking", + "Description": "Remove anyone with a future booking from RSV 80 cohort", + "Operator": "D>=", + "Comparator": "0", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "BOOKED_APPOINTMENT_DATE", + "CohortLabel": "rsv_80_2024_plus1day", + "Priority": 170 + }, + { + "Type": "F", + "Name": "Remove from rsv 75-79 cohort if already vaccinated", + "Description": "Remove anyone already vaccinated from 75-79 cohort", + "Operator": "Y>=", + "Comparator": "-25", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "LAST_SUCCESSFUL_DATE", + "CohortLabel": "rsv_75to79_plus1day", + "Priority": 180 + }, + { + "Type": "F", + "Name": "Remove from rsv 75-79 cohort if future booking", + "Description": "Remove anyone with a future booking from RSV 75-79 cohort", + "Operator": "D>=", + "Comparator": "0", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "BOOKED_APPOINTMENT_DATE", + "CohortLabel": "rsv_75to79_plus1day", + "Priority": 190 + }, + { + "Type": "S", + "Name": "Not Available", + "Description": "##RSV vaccinations are not currently available\n\nPlease try again soon.", + "Priority": 195, + "AttributeLevel": "PERSON", + "AttributeName": "NHS_NUMBER", + "Operator": "=", + "Comparator": "9658218997", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "NotYetDue", + "Description": "##Your RSV vaccination is not yet due\\n\\nYour next dose will be due in 3 months.", + "Priority": 196, + "AttributeLevel": "PERSON", + "AttributeName": "NHS_NUMBER", + "Operator": "=", + "Comparator": "9658219012", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "TooClose", + "Description": "##You have recently have the RSV vaccination\n\nYou must leave 90 days between doses of the RSV vaccine. Please try again soon.", + "Priority": 197, + "AttributeLevel": "PERSON", + "AttributeName": "NHS_NUMBER", + "Operator": "=", + "Comparator": "9658220142", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "AlreadyVaccinated", + "Description": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%-d %B %Y)]].", + "Priority": 200, + "AttributeLevel": "TARGET", + "AttributeTarget": "RSV", + "AttributeName": "LAST_SUCCESSFUL_DATE", + "Operator": "Y>=", + "Comparator": "-25", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "OtherSetting", + "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", + "Priority": 510, + "AttributeLevel": "PERSON", + "AttributeName": "CARE_HOME_FLAG", + "Operator": "=", + "Comparator": "Y", + "CohortLabel": "rsv_80_2024_plus1day", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "OtherSetting", + "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", + "Priority": 520, + "AttributeLevel": "PERSON", + "AttributeName": "DE_FLAG", + "Operator": "=", + "Comparator": "Y", + "CohortLabel": "rsv_80_2024_plus1day", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "OtherSetting", + "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", + "Priority": 530, + "AttributeLevel": "PERSON", + "AttributeName": "13Q_FLAG", + "Operator": "=", + "Comparator": "Y", + "CohortLabel": "rsv_80_2024_plus1day", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "OtherSetting", + "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", + "Priority": 540, + "AttributeLevel": "PERSON", + "AttributeName": "CARE_HOME_FLAG", + "Operator": "=", + "Comparator": "Y", + "CohortLabel": "rsv_75to79_plus1day", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "OtherSetting", + "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", + "Priority": 550, + "AttributeLevel": "PERSON", + "AttributeName": "DE_FLAG", + "Operator": "=", + "Comparator": "Y", + "CohortLabel": "rsv_75to79_plus1day", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "OtherSetting", + "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", + "Priority": 560, + "AttributeLevel": "PERSON", + "AttributeName": "13Q_FLAG", + "Operator": "=", + "Comparator": "Y", + "CohortLabel": "rsv_75to79_plus1day", + "RuleStop": "Y" + }, + { + "Type": "R", + "Name": "Actionable Future Booked NBS Appointment", + "Description": "Amend NBS future booking", + "Priority": 1000, + "Operator": "D>=", + "Comparator": "0", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "BOOKED_APPOINTMENT_DATE", + "CommsRouting": "AMEND_NBS" + }, + { + "Type": "R", + "Name": "Actionable Future Booked NBS Appointment", + "Description": "Amend NBS future booking", + "Priority": 1000, + "Operator": "in", + "Comparator": "NBS,MYA", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", + "CommsRouting": "AMEND_NBS" + }, + { + "Type": "R", + "Name": "Actionable Future Booked Local Appointment", + "Description": "Amend local future booking", + "Priority": 1100, + "Operator": "D>=", + "Comparator": "0", + "AttributeTarget": "RSV", + "AttributeLevel": "TARGET", + "AttributeName": "BOOKED_APPOINTMENT_DATE", + "CommsRouting": "MANAGE_LOCAL" + }, + { + "Type": "R", + "Name": "Within CP Expansion ICB not 80 plus", + "Description": "Book an appointment on NBS as within CP expansion", + "Priority": 1200, + "Operator": "in", + "Comparator": "QH8,QJG", + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" + }, + { + "Type": "R", + "Name": "Within CP Expansion ICB not 80 plus", + "Description": "Book an appointment on NBS as within CP expansion", + "Priority": 1200, + "AttributeLevel": "PERSON", + "AttributeName": "DATE_OF_BIRTH", + "Operator": "Y>", + "Comparator": "-80", + "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" + }, + { + "Type": "R", + "Name": "Within CP Expansion Local Authority", + "Description": "Book an appointment on NBS as within CP expansion", + "Priority": 1300, + "Operator": "in", + "Comparator": "E08000028,E08000031,E08000025,E06000016,E06000008,E07000117,E07000120,E08000011,E08000012,E07000122,E07000123,E08000014,E07000126,E08000013,E07000127,E08000015,E07000128,E09000002,E09000003,E09000004,E09000005,E09000007,E09000001,E09000008,E09000009,E09000010,E09000011,E09000012,E09000013,E09000014,E09000015,E09000016,E09000017,E09000018,E09000019,E09000020,E09000022,E09000023,E09000024,E09000025,E09000026,E09000028,E09000030,E09000031,E09000032,E09000033", + "AttributeLevel": "PERSON", + "AttributeName": "LOCAL_AUTHORITY", + "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" + }, + { + "Type": "R", + "Name": "Within CP Expansion ICB not 80 plus", + "Description": "Book an appointment on NBS as within CP expansion", + "Priority": 1300, + "AttributeLevel": "PERSON", + "AttributeName": "DATE_OF_BIRTH", + "Operator": "Y>", + "Comparator": "-80", + "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" + }, + { + "Type": "Y", + "Name": "Already vaccinated default text", + "Description": "Already vaccinated default text", + "Priority": 3000, + "AttributeLevel": "TARGET", + "AttributeTarget": "RSV", + "AttributeName": "LAST_SUCCESSFUL_DATE", + "Operator": "Y>=", + "Comparator": "-25", + "CommsRouting": "CHECK_CORRECT_ALREADY_VACCINATED" + }, + { + "Type": "Y", + "Name": "Other setting default text", + "Description": "Other setting default text", + "Priority": 3100, + "AttributeLevel": "PERSON", + "AttributeName": "CARE_HOME_FLAG", + "Operator": "=", + "Comparator": "Y", + "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" + }, + { + "Type": "Y", + "Name": "Other setting default text", + "Description": "Other setting default text", + "Priority": 3200, + "AttributeLevel": "PERSON", + "AttributeName": "DE_FLAG", + "Operator": "=", + "Comparator": "Y", + "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" + }, + { + "Type": "Y", + "Name": "Other setting default text", + "Description": "Other setting default text", + "Priority": 3300, + "AttributeLevel": "PERSON", + "AttributeName": "13Q_FLAG", + "Operator": "=", + "Comparator": "Y", + "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" + } + ], + "ActionsMapper": { + "BOOK_NBS_INFO": { + "ExternalRoutingCode": "BookNBSInfoText", + "ActionDescription": "### Book an appointment online at a pharmacy\n\nYou can book an appointment online at a pharmacy that offers the RSV vaccination. You need to be registered with a GP to do this.", + "ActionType": "ButtonWithAuthLinkWithInfoText", + "UrlLink": "https://www.nhswebsite-staging.nhs.uk/nbs/nhs-app/vita/rsv", + "UrlLabel": "Continue to booking" + }, + "AMEND_NBS": { + "ExternalRoutingCode": "AmendNBS", + "ActionDescription": "## You have an RSV vaccination appointment booked\n\nYou can view, change or cancel your appointment below.", + "ActionType": "ButtonWithAuthLink", + "UrlLink": "https://www.nhswebsite-staging.nhs.uk/nbs/nhs-app/vita/rsv", + "UrlLabel": "Manage your appointment" + }, + "CONTACT_GP": { + "ExternalRoutingCode": "ContactGP", + "ActionDescription": "### Get vaccinated at your GP surgery\n\nContact your GP surgery to book an appointment.", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + }, + "BOOK_LOCAL": { + "ExternalRoutingCode": "BookLocal", + "ActionDescription": "### Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\n\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.", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + }, + "MANAGE_LOCAL": { + "ExternalRoutingCode": "ManageLocal", + "ActionDescription": "## You have an RSV vaccination appointment booked\n\nTo change or cancel your appointment, contact the provider you booked with.", + "ActionType": "CardWithText", + "UrlLink": null, + "UrlLabel": "" + }, + "HELP_SUPPORT": { + "ExternalRoutingCode": "HelpSupportInfo", + "ActionDescription": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + }, + "CHECK_CORRECT_X": { + "ExternalRoutingCode": "HealthcareProInfo", + "ActionDescription": "### If this applies to you\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + }, + "CHECK_CORRECT_ALREADY_VACCINATED": { + "ExternalRoutingCode": "AlreadyVaccinatedInfo", + "ActionDescription": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + }, + "WALKIN": { + "ExternalRoutingCode": "WalkIn", + "ActionDescription": "### Get vaccinated without an appointment\n\nYou can get an RSV vaccination at some pharmacies without needing an appointment.\n\nYou do not need to be registered with a GP to do this.", + "ActionType": "ActionLinkWithInfoText", + "UrlLink": "https://www.nhs.uk/service-search/vaccination-and-booking-services/find-a-pharmacy-where-you-can-get-a-free-rsv-vaccination", + "UrlLabel": "Find a pharmacy where you can get a free RSV vaccination" + }, + "CHECK_CORRECT_OTHER_SETTING": { + "ExternalRoutingCode": "ManagedSettingInfo", + "ActionDescription": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page] (https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + } + } + } + ] + } +} diff --git a/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json b/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json deleted file mode 100644 index 488491c2..00000000 --- a/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json +++ /dev/null @@ -1,511 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "EliD RSV example config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "example@nhs.net" - ], - "Approver": [ - "example@nhs.net" - ], - "Reviewer": [ - "example@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "CHECK_CORRECT_X", - "Version": 1, - "Name": "EliD RSV example config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79_plus1day", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged between 75 and 79", - "NegativeDescription": "are not aged 75 to 79", - "Priority": 0, - "Virtual": "N" - }, - { - "CohortLabel": "rsv_80_2024_plus1day", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10, - "Virtual": "N" - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "magic_cohort", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Operator": "Y<=", - "Comparator": "-25[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone without a future booking from magic cohort", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75to79_plus1day" - }, - { - "Type": "F", - "Name": "Remove anyone 80 or over on day of execution from the 75 to 79 cohort", - "Description": "Exclude anyone who turned 80 on the day", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<=", - "Comparator": "-80", - "CohortLabel": "rsv_75to79_plus1day" - }, - { - "Type": "F", - "Name": "Remove under 80 years on day of execution from the 80 since 2nd Sept 2024 cohort", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 80 years is filtered out", - "Priority": 140, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CohortLabel": "rsv_80_2024_plus1day" - }, - { - "Type": "F", - "Name": "Remove those over 80 before 2nd September 2024 from the 80 since 2nd Sept 2024 cohort", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 150, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_80_2024_plus1day" - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 80 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_80_2024_plus1day", - "Priority": 160 - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 80 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_80_2024_plus1day", - "Priority": 170 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 75-79 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_75to79_plus1day", - "Priority": 180 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 75-79 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_75to79_plus1day", - "Priority": 190 - }, - { - "Type": "S", - "Name": "Not Available", - "Description": "##RSV vaccinations are not currently available\n\nPlease try again soon.", - "Priority": 195, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658218997", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotYetDue", - "Description": "##Your RSV vaccination is not yet due\\n\\nYour next dose will be due in 3 months.", - "Priority": 196, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658219012", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "TooClose", - "Description": "##You have recently have the RSV vaccination\n\nYou must leave 90 days between doses of the RSV vaccine. Please try again soon.", - "Priority": 197, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658220142", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "EmptySuggestion", - "Description": "", - "Priority": 198, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658219004", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%-d %B %Y)]].", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_2024_plus1day", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 520, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_2024_plus1day", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 530, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_2024_plus1day", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79_plus1day", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 550, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79_plus1day", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "### Getting the vaccine\n\nWe believe you live in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 560, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79_plus1day", - "RuleStop": "Y" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "in", - "Comparator": "NBS,MYA", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Local Appointment", - "Description": "Amend local future booking", - "Priority": 1100, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "Operator": "in", - "Comparator": "QH8,QJG", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion Local Authority", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "Operator": "in", - "Comparator": "E08000028,E08000031,E08000025,E06000016,E06000008,E07000117,E07000120,E08000011,E08000012,E07000122,E07000123,E08000014,E07000126,E08000013,E07000127,E08000015,E07000128", - "AttributeLevel": "PERSON", - "AttributeName": "LOCAL_AUTHORITY", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "Y", - "Name": "Already vaccinated default text", - "Description": "Already vaccinated default text", - "Priority": 3000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "CommsRouting": "CHECK_CORRECT_ALREADY_VACCINATED" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3100, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3200, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3300, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - } - ], - "ActionsMapper": { - "BOOK_NBS_INFO": { - "ExternalRoutingCode": "BookNBSInfoText", - "ActionDescription": "### Book an appointment online at a pharmacy\n\nYou can book an appointment online at a pharmacy that offers the RSV vaccination. You need to be registered with a GP to do this.", - "ActionType": "ButtonWithAuthLinkWithInfoText", - "UrlLink": "https://www.nhswebsite-staging.nhs.uk/nbs/nhs-app/vita/rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment booked\n\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "https://www.nhswebsite-staging.nhs.uk/nbs/nhs-app/vita/rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "### Get vaccinated at your GP surgery\n\nContact your GP surgery to book an appointment.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "### Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\n\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.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "## You have an RSV vaccination appointment booked\n\nTo change or cancel your appointment, contact the provider you booked with.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "HELP_SUPPORT": { - "ExternalRoutingCode": "HelpSupportInfo", - "ActionDescription": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_X": { - "ExternalRoutingCode": "HealthcareProInfo", - "ActionDescription": "### If this applies to you\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_ALREADY_VACCINATED": { - "ExternalRoutingCode": "AlreadyVaccinatedInfo", - "ActionDescription": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "WALKIN": { - "ExternalRoutingCode": "WalkIn", - "ActionDescription": "### Get vaccinated without an appointment\n\nYou can get an RSV vaccination at some pharmacies without needing an appointment.\n\nYou do not need to be registered with a GP to do this.", - "ActionType": "ActionLinkWithInfoText", - "UrlLink": "https://www.nhs.uk/service-search/vaccination-and-booking-services/find-a-pharmacy-where-you-can-get-a-free-rsv-vaccination", - "UrlLabel": "Find a pharmacy where you can get a free RSV vaccination" - }, - "CHECK_CORRECT_OTHER_SETTING": { - "ExternalRoutingCode": "ManagedSettingInfo", - "ActionDescription": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page] (https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json index 0d8052be..f6a6187a 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9686368973" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json index b1f32aac..6d8efbf4 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9686368906" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json index 1a323f34..0c575934 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658218873" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json index 01c541a9..375ac84e 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658218881" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json index f21e7710..4a978dd2 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658218903" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json index 5233219f..704b8986 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658218989" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json index d93bca93..e5df85de 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658218997" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json index 34bdbd89..b270d954 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658219012" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json index 614bcef9..68726844 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658220142" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json index 907f336f..cad8ce3b 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9658220150" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json index 5de285ee..87001059 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9450114080" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json index 0282a768..9258bb9c 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9466447939" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json index e11d722f..0fbc6d3e 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json @@ -4,7 +4,7 @@ "nhs-login-nhs-number": "9657933617" }, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json index 986dccd1..92949bcb 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json @@ -5,7 +5,7 @@ }, "expected_response_code": 500, "config_filenames": [ - "vita_integration_test_config.json" + "RSV_Config_v0_12.json" ], "data": [ { diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json index 50dd16bb..e9bd3795 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json @@ -29,7 +29,7 @@ { "actionCode": "HelpSupportInfo", "actionType": "InfoText", - "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json index 67a7e8cb..936a158b 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json @@ -15,7 +15,7 @@ { "actionCode": "HelpSupportInfo", "actionType": "InfoText", - "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json index 80ad4a56..f4e3f0b4 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json @@ -15,7 +15,7 @@ { "actionCode": "HelpSupportInfo", "actionType": "InfoText", - "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json index 2e458724..3b51c1f0 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json @@ -8,7 +8,7 @@ { "actionCode": "AlreadyVaccinatedInfo", "actionType": "InfoText", - "description": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json index 2a264214..719dcdf0 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json @@ -8,7 +8,7 @@ { "actionCode": "ManagedSettingInfo", "actionType": "InfoText", - "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page] (https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page] (https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json index 7af18ed6..c167dac0 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json @@ -8,7 +8,7 @@ { "actionCode": "AlreadyVaccinatedInfo", "actionType": "InfoText", - "description": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json index af0ee642..35b8fa68 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json @@ -8,7 +8,7 @@ { "actionCode": "AlreadyVaccinatedInfo", "actionType": "InfoText", - "description": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json index 82ea5183..0c49b143 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json @@ -8,7 +8,7 @@ { "actionCode": "HealthcareProInfo", "actionType": "InfoText", - "description": "### If this applies to you\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", + "description": "### If this applies to you\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/vaccinations/check-and-book-an-rsv-vaccination).", "urlLabel": "", "urlLink": "" }