|
| 1 | +{ |
| 2 | + "CampaignConfig": { |
| 3 | + "ID": "id_100", |
| 4 | + "Version": "1", |
| 5 | + "Name": "Test Config", |
| 6 | + "Type": "V", |
| 7 | + "Target": "RSV", |
| 8 | + |
| 9 | + "Approver": [ "[email protected]"], |
| 10 | + "Reviewer": [ "[email protected]"], |
| 11 | + "StartDate": "20250101", |
| 12 | + "EndDate": "20260101", |
| 13 | + "ApprovalMinimum": 1, |
| 14 | + "ApprovalMaximum": 5000000, |
| 15 | + "IterationFrequency": "X", |
| 16 | + "IterationType": "M", |
| 17 | + "IterationTime": "07:00:00", |
| 18 | + "Iterations": [ |
| 19 | + { |
| 20 | + "ID": "id_100", |
| 21 | + "Version": "1", |
| 22 | + "Name": "Test Config", |
| 23 | + "Type": "M", |
| 24 | + "IterationDate": "20250101", |
| 25 | + "IterationNumber": 1, |
| 26 | + "CommsType": "R", |
| 27 | + "ApprovalMinimum": 1, |
| 28 | + "ApprovalMaximum": 5000000, |
| 29 | + "DefaultCommsRouting": "INTERNALCONTACTGP1", |
| 30 | + "DefaultNotActionableRouting": "INTERNALCONTACTGP1", |
| 31 | + "DefaultNotEligibleRouting": "INTERNALCONTACTGP1", |
| 32 | + "StatusText": { |
| 33 | + "NotEligible": "You are not eligible to take RSV vaccines", |
| 34 | + "NotActionable": "You have taken RSV vaccine in the last 90 days", |
| 35 | + "Actionable": "You can take RSV vaccine" |
| 36 | + }, |
| 37 | + "ActionsMapper": { |
| 38 | + "INTERNALCONTACTGP1": {"ExternalRoutingCode": "CONTACTGP","ActionDescription":"Contact GP Text1 description", "ActionType":"text1"}, |
| 39 | + "INTERNALCONTACTGP2": {"ExternalRoutingCode": "CONTACTGP","ActionDescription":"Contact GP Link description", "ActionType":"link", "UrlLink": "https://www.link123.example", "UrlLabel": "link label"}, |
| 40 | + "INTERNALTESCO": {"ExternalRoutingCode": "TESCO","ActionDescription":"Tesco description", "ActionType":"link", "UrlLink": "https://www.tesco_link.example", "UrlLabel": "link label"}, |
| 41 | + "INTERNALFINDWALKIN": {"ExternalRoutingCode": "FINDWALKIN","ActionDescription":"Find walkin description", "ActionType":"button"}, |
| 42 | + |
| 43 | + "XRULEID1": {"ExternalRoutingCode": "FINDWALKIN","ActionDescription":"Find walkin description", "ActionType":"button"}, |
| 44 | + "YRULEID1": {"ExternalRoutingCode": "FINDWALKIN","ActionDescription":"Find walkin description", "ActionType":"button"} |
| 45 | + }, |
| 46 | + "IterationCohorts": [ |
| 47 | + { |
| 48 | + "CohortLabel": "rsv_75_rolling", |
| 49 | + "CohortGroup": "rsv_age_range", |
| 50 | + "PositiveDescription": "You are currently aged 75 to 79", |
| 51 | + "NegativeDescription": "You are not currently aged 75 to 79", |
| 52 | + "Priority": 0, |
| 53 | + "Virtual": "N" |
| 54 | + }, |
| 55 | + { |
| 56 | + "CohortLabel": "rsv_75to79_2024", |
| 57 | + "CohortGroup": "rsv_catch_up_age_range", |
| 58 | + "PositiveDescription": "You turned 80 after 1 September 2024, so are eligible for the RSV vaccine until 31 August 2025", |
| 59 | + "NegativeDescription": "You did not turn 80 after 1 September 2024 and get vaccinated by 31 August 2025", |
| 60 | + "Priority": 10 |
| 61 | + }, |
| 62 | + { |
| 63 | + "CohortLabel": "virtual_rsv_80_since_02_Sept_2024", |
| 64 | + "CohortGroup": "rsv_age_catchup", |
| 65 | + "PositiveDescription": "You turned 80 after 1 September 2024, so are eligible for the RSV vaccine until 31 August 2025", |
| 66 | + "NegativeDescription": "You did not turn 80 after 1 September 2024 and get vaccinated by 31 August 2025", |
| 67 | + "Priority": 10, |
| 68 | + "Virtual": "Y" |
| 69 | + } |
| 70 | + ], |
| 71 | + "IterationRules": [ |
| 72 | + { |
| 73 | + "Type": "F", |
| 74 | + "Name": "Test Rule", |
| 75 | + "Description": "Test Rule Desc", |
| 76 | + "Priority": 20, |
| 77 | + "AttributeLevel": "PERSON", |
| 78 | + "AttributeName": "DATE_OF_BIRTH", |
| 79 | + "Operator": "=", |
| 80 | + "Comparator": "19000101" |
| 81 | + }, |
| 82 | + { |
| 83 | + "Type": "F", |
| 84 | + "Name": "Test Rule", |
| 85 | + "Description": "Test Rule Desc", |
| 86 | + "Priority": 30, |
| 87 | + "AttributeLevel": "PERSON", |
| 88 | + "AttributeName": "place of birth", |
| 89 | + "Operator": "=", |
| 90 | + "Comparator": "london" |
| 91 | + }, |
| 92 | + { |
| 93 | + "Type": "S", |
| 94 | + "Name": "Already Vaccinated", |
| 95 | + "Description": "Already Vaccinated|You have already been Vaccinated", |
| 96 | + "Priority": 30, |
| 97 | + "AttributeLevel": "TARGET", |
| 98 | + "AttributeTarget": "RSV", |
| 99 | + "AttributeName": "LAST_SUCCESSFUL_DATE", |
| 100 | + "CohortLabel": "rsv_75to79_2024", |
| 101 | + "Operator": "is_not_null", |
| 102 | + "Comparator": "" |
| 103 | + }, |
| 104 | + { |
| 105 | + "Type": "S", |
| 106 | + "Name": "In Supressed Cohort", |
| 107 | + "Description": "In Supressed Cohort|You Are In Supressed Cohort", |
| 108 | + "Priority": 40, |
| 109 | + "AttributeLevel": "COHORT", |
| 110 | + "AttributeName": "COHORT_LABEL", |
| 111 | + "Operator": "=", |
| 112 | + "Comparator": "rsv_75to79_2024" |
| 113 | + }, |
| 114 | + { |
| 115 | + "Type": "R", |
| 116 | + "Name": "Test Redirect Rule", |
| 117 | + "Description": "Test Redirect Rule Desc", |
| 118 | + "Priority": 20, |
| 119 | + "AttributeLevel": "PERSON", |
| 120 | + "AttributeName": "DATE_OF_BIRTH", |
| 121 | + "Operator": ">", |
| 122 | + "Comparator": "19000101", |
| 123 | + "CommsRouting": "INTERNALCONTACTGP1|INTERNALTESCO" |
| 124 | + }, |
| 125 | + { |
| 126 | + "Type": "X", |
| 127 | + "Name": "Test X Rule for not eligible", |
| 128 | + "Description": "Test X Rule Desc", |
| 129 | + "Priority": 20, |
| 130 | + "AttributeLevel": "PERSON", |
| 131 | + "AttributeName": "DATE_OF_BIRTH", |
| 132 | + "Operator": ">", |
| 133 | + "Comparator": "19000101", |
| 134 | + "CommsRouting": "XRULEID1|INTERNALTESCO" |
| 135 | + }, |
| 136 | + { |
| 137 | + "Type": "Y", |
| 138 | + "Name": "Test Y Rule for not actionable", |
| 139 | + "Description": "Test Y Rule Desc", |
| 140 | + "Priority": 20, |
| 141 | + "AttributeLevel": "PERSON", |
| 142 | + "AttributeName": "DATE_OF_BIRTH", |
| 143 | + "Operator": ">", |
| 144 | + "Comparator": "19000101", |
| 145 | + "CommsRouting": "YRULEID1|INTERNALTESCO" |
| 146 | + } |
| 147 | + ] |
| 148 | + } |
| 149 | + ] |
| 150 | + } |
| 151 | +} |
0 commit comments