-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAUTO_RSV_ELI-365.json
More file actions
451 lines (451 loc) · 15.6 KB
/
AUTO_RSV_ELI-365.json
File metadata and controls
451 lines (451 loc) · 15.6 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
{
"CampaignConfig": {
"ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0",
"Version": 1,
"Name": "EliD RSV example config",
"Type": "V",
"Target": "RSV",
"Manager": ["person1@nhs.net"],
"Approver": ["person1@nhs.net"],
"Reviewer": ["person1@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",
"CohortGroup": "rsv_age",
"PositiveDescription": "are aged 75 to 79 years old",
"NegativeDescription": "are not aged 75 to 79 years old",
"Priority": 0
},
{
"CohortLabel": "rsv_80_since_02_Sept_2024",
"CohortGroup": "rsv_age_catchup",
"PositiveDescription": "turned 80 after 1st September 2024",
"NegativeDescription": "did not turn 80 after 1 September 2024",
"Priority": 10
},
{
"CohortLabel": "elid_all_people",
"CohortGroup": "magic_cohort",
"PositiveDescription": "",
"NegativeDescription": "",
"Priority": 20
}
],
"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"
},
{
"Type": "F",
"Name": "Remove over 80 on day of execution",
"Description": "Exclude anyone who turned 80 before 2nd September 2024",
"Priority": 130,
"AttributeLevel": "PERSON",
"AttributeName": "DATE_OF_BIRTH",
"Operator": "<",
"Comparator": "19440902",
"CohortLabel": "rsv_75to79"
},
{
"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": 140,
"AttributeLevel": "PERSON",
"AttributeName": "DATE_OF_BIRTH",
"Operator": "Y>",
"Comparator": "-75",
"CohortLabel": "rsv_80_since_02_Sept_2024"
},
{
"Type": "F",
"Name": "Remove over 80 on day of execution",
"Description": "Exclude anyone who turned 80 before 2nd September 2024",
"Priority": 150,
"AttributeLevel": "PERSON",
"AttributeName": "DATE_OF_BIRTH",
"Operator": "<",
"Comparator": "19440902",
"CohortLabel": "rsv_80_since_02_Sept_2024"
},
{
"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_since_02_Sept_2024",
"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_since_02_Sept_2024",
"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",
"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",
"Priority": 190
},
{
"Type": "S",
"Name": "Already Vaccinated",
"Description": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.",
"Priority": 200,
"AttributeLevel": "TARGET",
"AttributeTarget": "RSV",
"AttributeName": "LAST_SUCCESSFUL_DATE",
"Operator": "Y>=",
"Comparator": "-25",
"RuleStop": "Y"
},
{
"Type": "S",
"Name": "Other Setting",
"Description": "## Getting the vaccine\n\nWe believe you're living 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_since_02_Sept_2024",
"RuleStop": "Y"
},
{
"Type": "S",
"Name": "Other Setting",
"Description": "## Getting the vaccine\n\nWe believe you're living 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_since_02_Sept_2024",
"RuleStop": "Y"
},
{
"Type": "S",
"Name": "Other Setting",
"Description": "## Getting the vaccine\n\nWe believe you're living 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_since_02_Sept_2024",
"RuleStop": "Y"
},
{
"Type": "S",
"Name": "Other Setting",
"Description": "## Getting the vaccine\n\nWe believe you're living 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",
"RuleStop": "Y"
},
{
"Type": "S",
"Name": "Other Setting with no future booking",
"Description": "## Getting the vaccine\n\nWe believe you're living 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",
"RuleStop": "Y"
},
{
"Type": "S",
"Name": "Other Setting",
"Description": "## Getting the vaccine\n\nWe believe you're living 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",
"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": "=",
"Comparator": "NBS",
"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",
"Description": "Book an appointment on NBS as within CP expansion",
"Priority": 1200,
"Operator": "in",
"Comparator": "QH8,QJG",
"AttributeLevel": "PERSON",
"AttributeName": "ICB",
"CommsRouting": "BOOK_LOCAL|BOOK_NBS|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": "BOOK_LOCAL|BOOK_NBS|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": "BOOK_LOCAL|BOOK_NBS|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": "BOOK_LOCAL|BOOK_NBS|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": {
"ExternalRoutingCode": "BookNBS",
"ActionDescription": "",
"ActionType": "ButtonWithAuthLink",
"UrlLink": "http://www.nhs.uk/book-rsv",
"UrlLabel": "Continue to booking"
},
"AMEND_NBS": {
"ExternalRoutingCode": "AmendNBS",
"ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.",
"ActionType": "ButtonWithAuthLink",
"UrlLink": "http://www.nhs.uk/book-rsv",
"UrlLabel": "Manage your appointment"
},
"CONTACT_GP": {
"ExternalRoutingCode": "ContactGP",
"ActionDescription": "Contact your GP",
"ActionType": "InfoText",
"UrlLink": null,
"UrlLabel": ""
},
"BOOK_LOCAL": {
"ExternalRoutingCode": "BookLocal",
"ActionDescription": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\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\n\nContact your healthcare provider to change or cancel your appointment.",
"ActionType": "CardWithText",
"UrlLink": null,
"UrlLabel": ""
},
"HELP_SUPPORT": {
"ExternalRoutingCode": "HelpSupportInfo",
"ActionDescription": "## CONTENT TBC\n\nBlah blah blah.",
"ActionType": "InfoText",
"UrlLink": null,
"UrlLabel": ""
},
"CHECK_CORRECT_X": {
"ExternalRoutingCode": "HealthcareProInfo",
"ActionDescription": "## If you think this is incorrect\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. (ADD LINK)",
"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 please see our help and support page. (ADD LINK).",
"ActionType": "InfoText",
"UrlLink": null,
"UrlLabel": ""
},
"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. (ADD LINK).",
"ActionType": "InfoText",
"UrlLink": null,
"UrlLabel": ""
}
}
}
]
}
}