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