Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
509 changes: 509 additions & 0 deletions data/configs/storyTestConfigs/AUTO_RSV_ELI-426.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@
"CohortGroup": "rsv_age",
"PositiveDescription": "are aged between 75 and 79",
"NegativeDescription": "are not aged 75 to 79",
"Priority": 0
"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
"Priority": 10,
"Virtual": "N"
},
{
"CohortLabel": "elid_all_people",
Expand Down
46 changes: 46 additions & 0 deletions data/dynamoDB/storyTestData/AUTO_RSV_ELI-426_001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"scenario_name": "ELI-426-001 - NotEligible - 75 Tomorrow so Filtered out",
"request_headers": {
"nhs-login-nhs-number": "9900426001"
},
"config_filenames": [
"AUTO_RSV_ELI-426.json"
],
"data": [
{
"NHS_NUMBER": "9900426001",
"ATTRIBUTE_TYPE": "COHORTS",
"COHORT_MEMBERSHIPS": [
{
"COHORT_LABEL": "rsv_75to79_plus1day",
"DATE_JOINED": "20231020"
}
]
},
{
"NHS_NUMBER": "9900426001",
"ATTRIBUTE_TYPE": "PERSON",
"DATE_OF_BIRTH": "<<DATE_AGE_75-TOMORROW>>",
"GENDER": "0",
"POSTCODE": "SG8 6EG",
"POSTCODE_SECTOR": "SG86",
"POSTCODE_OUTCODE": "SG8",
"MSOA": "E02003792",
"LSOA": "E01018267",
"GP_PRACTICE_CODE": "D81046",
"PCN": "U75549",
"ICB": "QUE",
"COMMISSIONING_REGION": "Y61",
"13Q_FLAG": "N",
"CARE_HOME_FLAG": "N",
"DE_FLAG": "N"
},
{
"NHS_NUMBER": "9900426001",
"ATTRIBUTE_TYPE": "RSV",
"LAST_SUCCESSFUL_DATE": null,
"BOOKED_APPOINTMENT_DATE": null,
"BOOKED_APPOINTMENT_PROVIDER": null
}
]
}
46 changes: 46 additions & 0 deletions data/dynamoDB/storyTestData/AUTO_RSV_ELI-426_002.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"scenario_name": "ELI-426-002 - Actionable - 75 Today and in rsv_75to79_plus1day",
"request_headers": {
"nhs-login-nhs-number": "9900426002"
},
"config_filenames": [
"AUTO_RSV_ELI-426.json"
],
"data": [
{
"NHS_NUMBER": "9900426002",
"ATTRIBUTE_TYPE": "COHORTS",
"COHORT_MEMBERSHIPS": [
{
"COHORT_LABEL": "rsv_75to79_plus1day",
"DATE_JOINED": "20231020"
}
]
},
{
"NHS_NUMBER": "9900426002",
"ATTRIBUTE_TYPE": "PERSON",
"DATE_OF_BIRTH": "<<DATE_AGE_75>>",
"GENDER": "0",
"POSTCODE": "SG8 6EG",
"POSTCODE_SECTOR": "SG86",
"POSTCODE_OUTCODE": "SG8",
"MSOA": "E02003792",
"LSOA": "E01018267",
"GP_PRACTICE_CODE": "D81046",
"PCN": "U75549",
"ICB": "QUE",
"COMMISSIONING_REGION": "Y61",
"13Q_FLAG": "N",
"CARE_HOME_FLAG": "N",
"DE_FLAG": "N"
},
{
"NHS_NUMBER": "9900426002",
"ATTRIBUTE_TYPE": "RSV",
"LAST_SUCCESSFUL_DATE": null,
"BOOKED_APPOINTMENT_DATE": null,
"BOOKED_APPOINTMENT_PROVIDER": null
}
]
}
46 changes: 46 additions & 0 deletions data/dynamoDB/storyTestData/AUTO_RSV_ELI-426_003.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"scenario_name": "ELI-426-003 - Actionable - 80 Tomorrow and in rsv_75to79_plus1day",
"request_headers": {
"nhs-login-nhs-number": "9900426003"
},
"config_filenames": [
"AUTO_RSV_ELI-426.json"
],
"data": [
{
"NHS_NUMBER": "9900426003",
"ATTRIBUTE_TYPE": "COHORTS",
"COHORT_MEMBERSHIPS": [
{
"COHORT_LABEL": "rsv_75to79_plus1day",
"DATE_JOINED": "20231020"
}
]
},
{
"NHS_NUMBER": "9900426003",
"ATTRIBUTE_TYPE": "PERSON",
"DATE_OF_BIRTH": "<<DATE_AGE_80-TOMORROW>>",
"GENDER": "0",
"POSTCODE": "SG8 6EG",
"POSTCODE_SECTOR": "SG86",
"POSTCODE_OUTCODE": "SG8",
"MSOA": "E02003792",
"LSOA": "E01018267",
"GP_PRACTICE_CODE": "D81046",
"PCN": "U75549",
"ICB": "QUE",
"COMMISSIONING_REGION": "Y61",
"13Q_FLAG": "N",
"CARE_HOME_FLAG": "N",
"DE_FLAG": "N"
},
{
"NHS_NUMBER": "9900426003",
"ATTRIBUTE_TYPE": "RSV",
"LAST_SUCCESSFUL_DATE": null,
"BOOKED_APPOINTMENT_DATE": null,
"BOOKED_APPOINTMENT_PROVIDER": null
}
]
}
46 changes: 46 additions & 0 deletions data/dynamoDB/storyTestData/AUTO_RSV_ELI-426_004.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"scenario_name": "ELI-426-004 - NotEligible - 80 Today and in rsv_75to79_plus1day",
"request_headers": {
"nhs-login-nhs-number": "9900426004"
},
"config_filenames": [
"AUTO_RSV_ELI-426.json"
],
"data": [
{
"NHS_NUMBER": "9900426004",
"ATTRIBUTE_TYPE": "COHORTS",
"COHORT_MEMBERSHIPS": [
{
"COHORT_LABEL": "rsv_75to79_plus1day",
"DATE_JOINED": "20231020"
}
]
},
{
"NHS_NUMBER": "9900426004",
"ATTRIBUTE_TYPE": "PERSON",
"DATE_OF_BIRTH": "<<DATE_AGE_80>>",
"GENDER": "0",
"POSTCODE": "SG8 6EG",
"POSTCODE_SECTOR": "SG86",
"POSTCODE_OUTCODE": "SG8",
"MSOA": "E02003792",
"LSOA": "E01018267",
"GP_PRACTICE_CODE": "D81046",
"PCN": "U75549",
"ICB": "QUE",
"COMMISSIONING_REGION": "Y61",
"13Q_FLAG": "N",
"CARE_HOME_FLAG": "N",
"DE_FLAG": "N"
},
{
"NHS_NUMBER": "9900426004",
"ATTRIBUTE_TYPE": "RSV",
"LAST_SUCCESSFUL_DATE": null,
"BOOKED_APPOINTMENT_DATE": null,
"BOOKED_APPOINTMENT_PROVIDER": null
}
]
}
35 changes: 35 additions & 0 deletions data/responses/storyTestResponses/AUTO_RSV_ELI-426_001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"meta": {
"lastUpdated": "2025-09-30T15:52:16.108007+00:00"
},
"processedSuggestions": [
{
"actions": [
{
"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/).",
"urlLabel": "",
"urlLink": ""
}
],
"condition": "RSV",
"eligibilityCohorts": [
{
"cohortCode": "rsv_age",
"cohortStatus": "NotEligible",
"cohortText": "are not aged 75 to 79"
},
{
"cohortCode": "rsv_age_catchup",
"cohortStatus": "NotEligible",
"cohortText": "did not turn 80 after 1 September 2024"
}
],
"status": "NotEligible",
"statusText": "We do not believe you can have it",
"suitabilityRules": []
}
],
"responseId": "cb3ad66b-f59f-461d-9f46-0e31edf944f9"
}
37 changes: 37 additions & 0 deletions data/responses/storyTestResponses/AUTO_RSV_ELI-426_002.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"meta": {
"lastUpdated": "2025-09-30T15:59:20.009716+00:00"
},
"processedSuggestions": [
{
"actions": [
{
"actionCode": "BookLocal",
"actionType": "InfoText",
"description": "### 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.",
"urlLabel": "",
"urlLink": ""
},
{
"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/).",
"urlLabel": "",
"urlLink": ""
}
],
"condition": "RSV",
"eligibilityCohorts": [
{
"cohortCode": "rsv_age",
"cohortStatus": "Actionable",
"cohortText": "are aged between 75 and 79"
}
],
"status": "Actionable",
"statusText": "You should have the RSV vaccine",
"suitabilityRules": []
}
],
"responseId": "efdea5ac-ba1b-448f-9d63-6691265417ee"
}
37 changes: 37 additions & 0 deletions data/responses/storyTestResponses/AUTO_RSV_ELI-426_003.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"meta": {
"lastUpdated": "2025-09-30T15:59:20.009716+00:00"
},
"processedSuggestions": [
{
"actions": [
{
"actionCode": "BookLocal",
"actionType": "InfoText",
"description": "### 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.",
"urlLabel": "",
"urlLink": ""
},
{
"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/).",
"urlLabel": "",
"urlLink": ""
}
],
"condition": "RSV",
"eligibilityCohorts": [
{
"cohortCode": "rsv_age",
"cohortStatus": "Actionable",
"cohortText": "are aged between 75 and 79"
}
],
"status": "Actionable",
"statusText": "You should have the RSV vaccine",
"suitabilityRules": []
}
],
"responseId": "efdea5ac-ba1b-448f-9d63-6691265417ee"
}
35 changes: 35 additions & 0 deletions data/responses/storyTestResponses/AUTO_RSV_ELI-426_004.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"meta": {
"lastUpdated": "2025-09-30T15:52:16.108007+00:00"
},
"processedSuggestions": [
{
"actions": [
{
"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/).",
"urlLabel": "",
"urlLink": ""
}
],
"condition": "RSV",
"eligibilityCohorts": [
{
"cohortCode": "rsv_age",
"cohortStatus": "NotEligible",
"cohortText": "are not aged 75 to 79"
},
{
"cohortCode": "rsv_age_catchup",
"cohortStatus": "NotEligible",
"cohortText": "did not turn 80 after 1 September 2024"
}
],
"status": "NotEligible",
"statusText": "We do not believe you can have it",
"suitabilityRules": []
}
],
"responseId": "cb3ad66b-f59f-461d-9f46-0e31edf944f9"
}
Loading