diff --git a/data/configs/storyTestConfigs/AUTO_ELI-727-EMPTY-STATUS.json b/data/configs/storyTestConfigs/AUTO_ELI-727-EMPTY-STATUS.json new file mode 100644 index 0000000..2510fb2 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_ELI-727-EMPTY-STATUS.json @@ -0,0 +1,175 @@ +{ + "CampaignConfig": { + "ID": "Story_Campaign_Config_ID", + "Version": 1, + "Name": "Status Text Override Campaign Config - Empty Status Text", + "Type": "V", + "Target": "COVID", + "Manager": [ + "example@nhs.net" + ], + "Approver": [ + "example@nhs.net" + ], + "Reviewer": [ + "example@nhs.net" + ], + "IterationFrequency": "X", + "IterationType": "O", + "IterationTime": "07:00:00", + "StartDate": "<>", + "EndDate": "<>", + "ApprovalMinimum": 0, + "ApprovalMaximum": 0, + "DefaultCommsRouting": "DEFAULT_CONFIG_LEVEL_ROUTING", + "Iterations": [ + { + "ID": "8ecb742b-45ea-4f0d-8e2e-9c2feb1e46d1", + "DefaultCommsRouting": "DEFAULT_ACTIONABLE_ROUTING", + "DefaultNotActionableRouting": "DEFAULT_NOTACTIONABLE_ROUTING", + "DefaultNotEligibleRouting": "", + "Version": 1, + "Name": "Status Text Override Campaign Config - Iteration", + "IterationDate": "<>", + "IterationNumber": 1, + "CommsType": "I", + "ApprovalMinimum": 0, + "ApprovalMaximum": 0, + "Type": "O", + "StatusText": { + "NotEligible": "NotEligible - Iteration Status Text", + "NotActionable": "NotActionable - Iteration Status Text", + "Actionable": "" + }, + "IterationCohorts": [ + { + "CohortLabel": "cohort_1", + "CohortGroup": "cohort_1_group", + "PositiveDescription": "are in cohort 1 group", + "NegativeDescription": "are NOT in cohort 1 group", + "Priority": 10 + } + ], + "IterationRules": [ + { + "Type": "F", + "Name": "Filter if already vaccinated", + "Description": "Filter if already vaccinated", + "Operator": "is_not_null", + "Comparator": "", + "AttributeTarget": "COVID", + "AttributeLevel": "TARGET", + "AttributeName": "LAST_SUCCESSFUL_DATE", + "Priority": 100 + }, + { + "Type": "S", + "Name": "TriggerSRuleViaICB", + "Description": "You have been made NotActionable by this S rule", + "Priority": 500, + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "Operator": "=", + "Comparator": "Scenario_2", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "TriggerSRuleViaICB_2", + "Description": "You have been made NotActionable by this S other rule", + "Priority": 510, + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "Operator": "=", + "Comparator": "Scenario_3", + "RuleStop": "Y" + }, + { + "Type": "R", + "Name": "Trigger the Override Text if Actionable", + "Description": "If person has the ICB value Scenario_1", + "Priority": 1000, + "Operator": "=", + "Comparator": "Scenario_1", + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "CommsRouting": "STATUS_TEXT_OVERRIDE_ACTIONABLE|OTHER_NORMAL_ACTION" + }, + { + "Type": "Y", + "Name": "Trigger the Override Text if NotActionable", + "Description": "If person has the ICB value Scenario_2", + "Priority": 3000, + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "Operator": "=", + "Comparator": "Scenario_2", + "CommsRouting": "STATUS_TEXT_OVERRIDE_NOT_ACTIONABLE" + }, + { + "Type": "X", + "Name": "Trigger the Override Text if NotEligible", + "Description": "If they are a member of one of the cohorts in the Comparator", + "Priority": 4000, + "AttributeLevel": "COHORT", + "AttributeName": "COHORT_LABEL", + "Operator": "MemberOf", + "Comparator": "covid_16+_immunosuppression,covid_under16_immunosuppression", + "CommsRouting": "STATUS_TEXT_OVERRIDE_NOT_ELIGIBLE|OTHER_NORMAL_ACTION" + } + ], + "ActionsMapper": { + "OTHER_NORMAL_ACTION": { + "ExternalRoutingCode": "OtherNormalAction", + "ActionDescription": "Other Normal Action", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + }, + "DEFAULT_CONFIG_LEVEL_ROUTING": { + "ExternalRoutingCode": "CONFIG_LEVEL_ROUTING_ExternalRoutingCode", + "ActionDescription": "CONFIG_LEVEL_ROUTING_ActionDescription", + "ActionType": "CONFIG_LEVEL_ROUTING_UrlLabel", + "UrlLink": "https://www.nhs.uk/default_url/", + "UrlLabel": "CONFIG_LEVEL_ROUTING_UrlLabel" + }, + "DEFAULT_ACTIONABLE_ROUTING": { + "ExternalRoutingCode": "DEFAULT_ACTIONABLE_ExternalRoutingCode", + "ActionDescription": "DEFAULT_ACTIONABLE_ActionDescription", + "ActionType": "DEFAULT_ACTIONABLE__UrlLabel", + "UrlLink": "https://www.nhs.uk/default_url/", + "UrlLabel": "DEFAULT_ACTIONABLE__UrlLabel" + }, + "DEFAULT_NOTACTIONABLE_ROUTING": { + "ExternalRoutingCode": "DEFAULT_NOTACTIONABLE_ExternalRoutingCode", + "ActionDescription": "DEFAULT_NOTACTIONABLE_ActionDescription", + "ActionType": "DEFAULT_NOTACTIONABLE_UrlLabel", + "UrlLink": "https://www.nhs.uk/default_url/", + "UrlLabel": "DEFAULT_NOTACTIONABLE_UrlLabel" + }, + "STATUS_TEXT_OVERRIDE_ACTIONABLE": { + "ExternalRoutingCode": "StatusTextOverrideActionable", + "ActionDescription": "Status Text Override Actionable", + "ActionType": "norender_StatusTextOverride", + "UrlLink": "https://www.nhs.uk/actionable_overide/", + "UrlLabel": "actionable_overide" + }, + "STATUS_TEXT_OVERRIDE_NOT_ACTIONABLE": { + "ExternalRoutingCode": "StatusTextOverrideNotActionable", + "ActionDescription": "Status Text Override Not Actionable", + "ActionType": "norender_StatusTextOverride", + "UrlLink": "https://www.nhs.uk/notactionable_overide/", + "UrlLabel": "notactionable_overide" + }, + "STATUS_TEXT_OVERRIDE_NOT_ELIGIBLE": { + "ExternalRoutingCode": "StatusTextOverrideNotEligible", + "ActionDescription": "Status Text Override Not Eligible", + "ActionType": "norender_StatusTextOverride", + "UrlLink": "https://www.nhs.uk/noteligible_overide/", + "UrlLabel": "noteligible_overide" + } + } + } + ] + } +} diff --git a/data/configs/storyTestConfigs/AUTO_ELI-727.json b/data/configs/storyTestConfigs/AUTO_ELI-727.json new file mode 100644 index 0000000..03218fc --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_ELI-727.json @@ -0,0 +1,175 @@ +{ + "CampaignConfig": { + "ID": "Story_Campaign_Config_ID", + "Version": 1, + "Name": "Status Text Override Campaign Config", + "Type": "V", + "Target": "COVID", + "Manager": [ + "example@nhs.net" + ], + "Approver": [ + "example@nhs.net" + ], + "Reviewer": [ + "example@nhs.net" + ], + "IterationFrequency": "X", + "IterationType": "O", + "IterationTime": "07:00:00", + "StartDate": "<>", + "EndDate": "<>", + "ApprovalMinimum": 0, + "ApprovalMaximum": 0, + "DefaultCommsRouting": "DEFAULT_CONFIG_LEVEL_ROUTING", + "Iterations": [ + { + "ID": "8ecb742b-45ea-4f0d-8e2e-9c2feb1e46d1", + "DefaultCommsRouting": "DEFAULT_ACTIONABLE_ROUTING", + "DefaultNotActionableRouting": "DEFAULT_NOTACTIONABLE_ROUTING", + "DefaultNotEligibleRouting": "", + "Version": 1, + "Name": "Status Text Override Campaign Config - Iteration", + "IterationDate": "<>", + "IterationNumber": 1, + "CommsType": "I", + "ApprovalMinimum": 0, + "ApprovalMaximum": 0, + "Type": "O", + "StatusText": { + "NotEligible": "NotEligible - Iteration Status Text", + "NotActionable": "NotActionable - Iteration Status Text", + "Actionable": "Actionable - Iteration Status Text" + }, + "IterationCohorts": [ + { + "CohortLabel": "cohort_1", + "CohortGroup": "cohort_1_group", + "PositiveDescription": "are in cohort 1 group", + "NegativeDescription": "are NOT in cohort 1 group", + "Priority": 10 + } + ], + "IterationRules": [ + { + "Type": "F", + "Name": "Filter if already vaccinated", + "Description": "Filter if already vaccinated", + "Operator": "is_not_null", + "Comparator": "", + "AttributeTarget": "COVID", + "AttributeLevel": "TARGET", + "AttributeName": "LAST_SUCCESSFUL_DATE", + "Priority": 100 + }, + { + "Type": "S", + "Name": "TriggerSRuleViaICB", + "Description": "You have been made NotActionable by this S rule", + "Priority": 500, + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "Operator": "=", + "Comparator": "Scenario_2", + "RuleStop": "Y" + }, + { + "Type": "S", + "Name": "TriggerSRuleViaICB_2", + "Description": "You have been made NotActionable by this S other rule", + "Priority": 510, + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "Operator": "=", + "Comparator": "Scenario_3", + "RuleStop": "Y" + }, + { + "Type": "R", + "Name": "Trigger the Override Text if Actionable", + "Description": "If person has the ICB value Scenario_1", + "Priority": 1000, + "Operator": "=", + "Comparator": "Scenario_1", + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "CommsRouting": "STATUS_TEXT_OVERRIDE_ACTIONABLE|OTHER_NORMAL_ACTION" + }, + { + "Type": "Y", + "Name": "Trigger the Override Text if NotActionable", + "Description": "If person has the ICB value Scenario_2", + "Priority": 3000, + "AttributeLevel": "PERSON", + "AttributeName": "ICB", + "Operator": "=", + "Comparator": "Scenario_2", + "CommsRouting": "STATUS_TEXT_OVERRIDE_NOT_ACTIONABLE" + }, + { + "Type": "X", + "Name": "Trigger the Override Text if NotEligible", + "Description": "If they are a member of one of the cohorts in the Comparator", + "Priority": 4000, + "AttributeLevel": "COHORT", + "AttributeName": "COHORT_LABEL", + "Operator": "MemberOf", + "Comparator": "covid_16+_immunosuppression,covid_under16_immunosuppression", + "CommsRouting": "STATUS_TEXT_OVERRIDE_NOT_ELIGIBLE|OTHER_NORMAL_ACTION" + } + ], + "ActionsMapper": { + "OTHER_NORMAL_ACTION": { + "ExternalRoutingCode": "OtherNormalAction", + "ActionDescription": "Other Normal Action", + "ActionType": "InfoText", + "UrlLink": null, + "UrlLabel": "" + }, + "DEFAULT_CONFIG_LEVEL_ROUTING": { + "ExternalRoutingCode": "CONFIG_LEVEL_ROUTING_ExternalRoutingCode", + "ActionDescription": "CONFIG_LEVEL_ROUTING_ActionDescription", + "ActionType": "CONFIG_LEVEL_ROUTING_UrlLabel", + "UrlLink": "https://www.nhs.uk/default_url/", + "UrlLabel": "CONFIG_LEVEL_ROUTING_UrlLabel" + }, + "DEFAULT_ACTIONABLE_ROUTING": { + "ExternalRoutingCode": "DEFAULT_ACTIONABLE_ExternalRoutingCode", + "ActionDescription": "DEFAULT_ACTIONABLE_ActionDescription", + "ActionType": "DEFAULT_ACTIONABLE__UrlLabel", + "UrlLink": "https://www.nhs.uk/default_url/", + "UrlLabel": "DEFAULT_ACTIONABLE__UrlLabel" + }, + "DEFAULT_NOTACTIONABLE_ROUTING": { + "ExternalRoutingCode": "DEFAULT_NOTACTIONABLE_ExternalRoutingCode", + "ActionDescription": "DEFAULT_NOTACTIONABLE_ActionDescription", + "ActionType": "DEFAULT_NOTACTIONABLE_UrlLabel", + "UrlLink": "https://www.nhs.uk/default_url/", + "UrlLabel": "DEFAULT_NOTACTIONABLE_UrlLabel" + }, + "STATUS_TEXT_OVERRIDE_ACTIONABLE": { + "ExternalRoutingCode": "StatusTextOverrideActionable", + "ActionDescription": "Status Text Override Actionable", + "ActionType": "norender_StatusTextOverride", + "UrlLink": "https://www.nhs.uk/actionable_overide/", + "UrlLabel": "actionable_overide" + }, + "STATUS_TEXT_OVERRIDE_NOT_ACTIONABLE": { + "ExternalRoutingCode": "StatusTextOverrideNotActionable", + "ActionDescription": "Status Text Override Not Actionable", + "ActionType": "norender_StatusTextOverride", + "UrlLink": "https://www.nhs.uk/notactionable_overide/", + "UrlLabel": "notactionable_overide" + }, + "STATUS_TEXT_OVERRIDE_NOT_ELIGIBLE": { + "ExternalRoutingCode": "StatusTextOverrideNotEligible", + "ActionDescription": "Status Text Override Not Eligible", + "ActionType": "norender_StatusTextOverride", + "UrlLink": "https://www.nhs.uk/noteligible_overide/", + "UrlLabel": "noteligible_overide" + } + } + } + ] + } +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_01.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_01.json new file mode 100644 index 0000000..6f57aef --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_01.json @@ -0,0 +1,35 @@ +{ + "scenario_name": "ELI-727 - Actionable - Status Override - includeActions Y", + "request_headers": { + "nhs-login-nhs-number": "9000072701", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "query_params": { + "includeActions": "Y" + }, + "config_filenames": [ + "AUTO_ELI-727.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072701", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "<>", + "ICB": "Scenario_1" + }, + { + "NHS_NUMBER": "9000072701", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20240101" + } + ] + }, + { + "NHS_NUMBER": "9000072701", + "ATTRIBUTE_TYPE": "COVID" + } + ] +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_02.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_02.json new file mode 100644 index 0000000..1fc16ab --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_02.json @@ -0,0 +1,35 @@ +{ + "scenario_name": "ELI-727 - NotActionable - Status Override - includeActions Y", + "request_headers": { + "nhs-login-nhs-number": "9000072702", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "query_params": { + "includeActions": "Y" + }, + "config_filenames": [ + "AUTO_ELI-727.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072702", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "<>", + "ICB": "Scenario_2" + }, + { + "NHS_NUMBER": "9000072702", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20240101" + } + ] + }, + { + "NHS_NUMBER": "9000072702", + "ATTRIBUTE_TYPE": "COVID" + } + ] +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_03.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_03.json new file mode 100644 index 0000000..118c456 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_03.json @@ -0,0 +1,37 @@ +{ + "scenario_name": "ELI-727 - NotEligible - Status Override - Default includeActions is Y", + "request_headers": { + "nhs-login-nhs-number": "9000072703", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "config_filenames": [ + "AUTO_ELI-727.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072703", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "20050101", + "ICB": "9000072703" + }, + { + "NHS_NUMBER": "9000072703", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20240101" + }, + { + "COHORT_LABEL": "covid_16+_immunosuppression", + "DATE_JOINED": "20240101" + } + ] + }, + { + "NHS_NUMBER": "9000072703", + "ATTRIBUTE_TYPE": "COVID", + "LAST_SUCCESSFUL_DATE": "20260413" + } + ] +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_04.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_04.json new file mode 100644 index 0000000..9320ed5 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_04.json @@ -0,0 +1,31 @@ +{ + "scenario_name": "ELI-727 - Actionable - No override", + "request_headers": { + "nhs-login-nhs-number": "9000072704", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "config_filenames": [ + "AUTO_ELI-727.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072704", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "<>" + }, + { + "NHS_NUMBER": "9000072704", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20020101" + } + ] + }, + { + "NHS_NUMBER": "9000072704", + "ATTRIBUTE_TYPE": "COVID" + } + ] +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_05.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_05.json new file mode 100644 index 0000000..16426cd --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_05.json @@ -0,0 +1,32 @@ +{ + "scenario_name": "ELI-727 - NotActionable - No override", + "request_headers": { + "nhs-login-nhs-number": "9000072705", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "config_filenames": [ + "AUTO_ELI-727.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072705", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "<>", + "ICB": "Scenario_3" + }, + { + "NHS_NUMBER": "9000072705", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20240101" + } + ] + }, + { + "NHS_NUMBER": "9000072705", + "ATTRIBUTE_TYPE": "COVID" + } + ] +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_06.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_06.json new file mode 100644 index 0000000..ae18952 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_06.json @@ -0,0 +1,32 @@ +{ + "scenario_name": "ELI-727 - NotEligible - NoOverride", + "request_headers": { + "nhs-login-nhs-number": "9000072706", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "config_filenames": [ + "AUTO_ELI-727.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072706", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "<>" + }, + { + "NHS_NUMBER": "9000072706", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20240101" + } + ] + }, + { + "NHS_NUMBER": "9000072706", + "ATTRIBUTE_TYPE": "COVID", + "LAST_SUCCESSFUL_DATE": "<>" + } + ] +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_07.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_07.json new file mode 100644 index 0000000..ddb3dee --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_07.json @@ -0,0 +1,35 @@ +{ + "scenario_name": "ELI-727 - Actionable - Override Suppressed - includeActions N", + "request_headers": { + "nhs-login-nhs-number": "9000072707", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "query_params": { + "includeActions": "N" + }, + "config_filenames": [ + "AUTO_ELI-727.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072707", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "<>", + "ICB": "Scenario_1" + }, + { + "NHS_NUMBER": "9000072707", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20240101" + } + ] + }, + { + "NHS_NUMBER": "9000072707", + "ATTRIBUTE_TYPE": "COVID" + } + ] +} diff --git a/data/dynamoDB/storyTestData/AUTO_ELI-727_08.json b/data/dynamoDB/storyTestData/AUTO_ELI-727_08.json new file mode 100644 index 0000000..1611336 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_ELI-727_08.json @@ -0,0 +1,32 @@ +{ + "scenario_name": "ELI-727 - Actionable - Empty StatusText Fallback", + "request_headers": { + "nhs-login-nhs-number": "9000072708", + "nhsd-End-User-Organisation-ods": "elid_automation_status_text_override" + }, + "config_filenames": [ + "AUTO_ELI-727-EMPTY-STATUS.json" + ], + "data": [ + { + "NHS_NUMBER": "9000072708", + "ATTRIBUTE_TYPE": "PERSON", + "DATE_OF_BIRTH": "<>", + "ICB": "None" + }, + { + "NHS_NUMBER": "9000072708", + "ATTRIBUTE_TYPE": "COHORTS", + "COHORT_MEMBERSHIPS": [ + { + "COHORT_LABEL": "cohort_1", + "DATE_JOINED": "20240101" + } + ] + }, + { + "NHS_NUMBER": "9000072708", + "ATTRIBUTE_TYPE": "COVID" + } + ] +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_01.json b/data/responses/storyTestResponses/AUTO_ELI-727_01.json new file mode 100644 index 0000000..b408763 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_01.json @@ -0,0 +1,30 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:02:34.262240+00:00" + }, + "processedSuggestions": [ + { + "actions": [ + { + "actionCode": "OtherNormalAction", + "actionType": "InfoText", + "description": "Other Normal Action", + "urlLabel": "", + "urlLink": "" + } + ], + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "Actionable", + "cohortText": "are in cohort 1 group" + } + ], + "status": "Actionable", + "statusText": "Status Text Override Actionable", + "suitabilityRules": [] + } + ], + "responseId": "648b6d73-c3d8-4189-8e6d-2103fd1d015f" +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_02.json b/data/responses/storyTestResponses/AUTO_ELI-727_02.json new file mode 100644 index 0000000..a267311 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_02.json @@ -0,0 +1,28 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:15:27.191212+00:00" + }, + "processedSuggestions": [ + { + "actions": [], + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "NotActionable", + "cohortText": "are in cohort 1 group" + } + ], + "status": "NotActionable", + "statusText": "Status Text Override Not Actionable", + "suitabilityRules": [ + { + "ruleCode": "TriggerSRuleViaICB", + "ruleText": "You have been made NotActionable by this S rule", + "ruleType": "S" + } + ] + } + ], + "responseId": "d339397a-885c-483f-b7b0-09c3a263f3c3" +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_03.json b/data/responses/storyTestResponses/AUTO_ELI-727_03.json new file mode 100644 index 0000000..a21cdf4 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_03.json @@ -0,0 +1,30 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:15:56.046604+00:00" + }, + "processedSuggestions": [ + { + "actions": [ + { + "actionCode": "OtherNormalAction", + "actionType": "InfoText", + "description": "Other Normal Action", + "urlLabel": "", + "urlLink": "" + } + ], + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "NotEligible", + "cohortText": "are NOT in cohort 1 group" + } + ], + "status": "NotEligible", + "statusText": "Status Text Override Not Eligible", + "suitabilityRules": [] + } + ], + "responseId": "561ac455-51c3-48a7-b192-d06040b1939e" +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_04.json b/data/responses/storyTestResponses/AUTO_ELI-727_04.json new file mode 100644 index 0000000..9c8aee9 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_04.json @@ -0,0 +1,30 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:18:10.895760+00:00" + }, + "processedSuggestions": [ + { + "actions": [ + { + "actionCode": "DEFAULT_ACTIONABLE_ExternalRoutingCode", + "actionType": "DEFAULT_ACTIONABLE__UrlLabel", + "description": "DEFAULT_ACTIONABLE_ActionDescription", + "urlLabel": "DEFAULT_ACTIONABLE__UrlLabel", + "urlLink": "https://www.nhs.uk/default_url/" + } + ], + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "Actionable", + "cohortText": "are in cohort 1 group" + } + ], + "status": "Actionable", + "statusText": "Actionable - Iteration Status Text", + "suitabilityRules": [] + } + ], + "responseId": "cddfb7f0-890c-468b-8a61-16e6cda027aa" +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_05.json b/data/responses/storyTestResponses/AUTO_ELI-727_05.json new file mode 100644 index 0000000..6c8d72a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_05.json @@ -0,0 +1,36 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:18:46.445394+00:00" + }, + "processedSuggestions": [ + { + "actions": [ + { + "actionCode": "DEFAULT_NOTACTIONABLE_ExternalRoutingCode", + "actionType": "DEFAULT_NOTACTIONABLE_UrlLabel", + "description": "DEFAULT_NOTACTIONABLE_ActionDescription", + "urlLabel": "DEFAULT_NOTACTIONABLE_UrlLabel", + "urlLink": "https://www.nhs.uk/default_url/" + } + ], + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "NotActionable", + "cohortText": "are in cohort 1 group" + } + ], + "status": "NotActionable", + "statusText": "NotActionable - Iteration Status Text", + "suitabilityRules": [ + { + "ruleCode": "TriggerSRuleViaICB_2", + "ruleText": "You have been made NotActionable by this S other rule", + "ruleType": "S" + } + ] + } + ], + "responseId": "6aec81b4-3c2c-48dd-a1cd-cb11d036b812" +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_06.json b/data/responses/storyTestResponses/AUTO_ELI-727_06.json new file mode 100644 index 0000000..1c30889 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_06.json @@ -0,0 +1,22 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:19:40.152819+00:00" + }, + "processedSuggestions": [ + { + "actions": [], + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "NotEligible", + "cohortText": "are NOT in cohort 1 group" + } + ], + "status": "NotEligible", + "statusText": "NotEligible - Iteration Status Text", + "suitabilityRules": [] + } + ], + "responseId": "00bd9847-50cf-453b-a1dc-8a839cf5b68a" +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_07.json b/data/responses/storyTestResponses/AUTO_ELI-727_07.json new file mode 100644 index 0000000..fd3ac19 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_07.json @@ -0,0 +1,21 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:21:05.553562+00:00" + }, + "processedSuggestions": [ + { + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "Actionable", + "cohortText": "are in cohort 1 group" + } + ], + "status": "Actionable", + "statusText": "Actionable - Iteration Status Text", + "suitabilityRules": [] + } + ], + "responseId": "f5c7621b-23f3-454e-9467-69e38cf8c069" +} diff --git a/data/responses/storyTestResponses/AUTO_ELI-727_08.json b/data/responses/storyTestResponses/AUTO_ELI-727_08.json new file mode 100644 index 0000000..3a32fdd --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_ELI-727_08.json @@ -0,0 +1,30 @@ +{ + "meta": { + "lastUpdated": "2026-04-29T15:22:26.094821+00:00" + }, + "processedSuggestions": [ + { + "actions": [ + { + "actionCode": "DEFAULT_ACTIONABLE_ExternalRoutingCode", + "actionType": "DEFAULT_ACTIONABLE__UrlLabel", + "description": "DEFAULT_ACTIONABLE_ActionDescription", + "urlLabel": "DEFAULT_ACTIONABLE__UrlLabel", + "urlLink": "https://www.nhs.uk/default_url/" + } + ], + "condition": "COVID", + "eligibilityCohorts": [ + { + "cohortCode": "cohort_1_group", + "cohortStatus": "Actionable", + "cohortText": "are in cohort 1 group" + } + ], + "status": "Actionable", + "statusText": "You should have the COVID vaccine", + "suitabilityRules": [] + } + ], + "responseId": "5a6b1a52-df43-4c20-804b-7a39bb67ccaa" +}