Skip to content

Commit fd6bbb9

Browse files
Test/awd eli 223 provide date of last vaccs (#329)
* Update test data for existing vita cases In process of adding new scenarios * Adding and updating new scenarios for ELI-223 * Adding and updating new scenarios for ELI-223 * fixed padding formatting errors
1 parent e373cc1 commit fd6bbb9

37 files changed

+2472
-14
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"CampaignConfig": {
3+
"ID": "AUTO_RSV_ELI-223-01-Campaign-ID",
4+
"Version": 1,
5+
"Name": "ELI-223-01-Iteration-Config-Name",
6+
"Type": "V",
7+
"Target": "RSV",
8+
"Manager": [
9+
10+
],
11+
"Approver": [
12+
13+
],
14+
"Reviewer": [
15+
16+
],
17+
"IterationFrequency": "X",
18+
"IterationType": "O",
19+
"IterationTime": "07:00:00",
20+
"StartDate": "20250717",
21+
"EndDate": "20350717",
22+
"ApprovalMinimum": 0,
23+
"ApprovalMaximum": 0,
24+
"DefaultCommsRouting": "BOOK_NBS",
25+
"Iterations": [
26+
{
27+
"ID": "AUTO_RSV_ELI-223-01-Iteration-ID",
28+
"DefaultCommsRouting": "TEST_ACTION",
29+
"DefaultNotActionableRouting": "TEST_NOT_ACTION",
30+
"DefaultNotEligibleRouting": "TEST_NOT_ELI",
31+
"Version": 1,
32+
"Name": "ELI-223-01-Iteration-Config-Name",
33+
"IterationDate": "20240808",
34+
"IterationNumber": 1,
35+
"CommsType": "I",
36+
"ApprovalMinimum": 0,
37+
"ApprovalMaximum": 0,
38+
"Type": "O",
39+
"IterationCohorts": [
40+
{
41+
"CohortLabel": "rsv_eli_223_cohort_1",
42+
"CohortGroup": "rsv_eli_223_cohort_group",
43+
"PositiveDescription": "are a member of eli_223_cohort_group",
44+
"NegativeDescription": "are not a member of eli_223_cohort_group",
45+
"Priority": 0
46+
}
47+
],
48+
"IterationRules": [
49+
{
50+
"Type": "S",
51+
"Name": "Already Vaccinated",
52+
"Description": "## You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]]",
53+
"Priority": 200,
54+
"AttributeLevel": "TARGET",
55+
"AttributeTarget": "RSV",
56+
"AttributeName": "LAST_SUCCESSFUL_DATE",
57+
"Operator": "Y>=",
58+
"Comparator": "-25",
59+
"RuleStop": "Y"
60+
}
61+
],
62+
"ActionsMapper": {
63+
"TEST_ACTION": {
64+
"ExternalRoutingCode": "TestActionDefault",
65+
"ActionDescription": "TestActionDefault Description",
66+
"ActionType": "ButtonWithAuthLink",
67+
"UrlLink": "http://www.nhs.uk/book-rsv",
68+
"UrlLabel": "TestActionDefault"
69+
},
70+
"TEST_NOT_ACTION": {
71+
"ExternalRoutingCode": "TestNotAction",
72+
"ActionDescription": "TestNotAction Description",
73+
"ActionType": "ButtonWithAuthLink",
74+
"UrlLink": null,
75+
"UrlLabel": ""
76+
},
77+
"AMEND_NBS": {
78+
"ExternalRoutingCode": "AmendNBS",
79+
"ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.",
80+
"ActionType": "ButtonWithAuthLink",
81+
"UrlLink": "http://www.nhs.uk/book-rsv",
82+
"UrlLabel": "Manage your appointment"
83+
}
84+
}
85+
}
86+
]
87+
}
88+
}
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"CampaignConfig": {
3+
"ID": "AUTO_RSV_ELI-223-02-Campaign-ID",
4+
"Version": 1,
5+
"Name": "ELI-223-02-Iteration-Config-Name",
6+
"Type": "V",
7+
"Target": "RSV",
8+
"Manager": [
9+
10+
],
11+
"Approver": [
12+
13+
],
14+
"Reviewer": [
15+
16+
],
17+
"IterationFrequency": "X",
18+
"IterationType": "O",
19+
"IterationTime": "07:00:00",
20+
"StartDate": "20250717",
21+
"EndDate": "20350717",
22+
"ApprovalMinimum": 0,
23+
"ApprovalMaximum": 0,
24+
"DefaultCommsRouting": "BOOK_NBS",
25+
"Iterations": [
26+
{
27+
"ID": "AUTO_RSV_ELI-223-02-Iteration-ID",
28+
"DefaultCommsRouting": "TEST_ACTION",
29+
"DefaultNotActionableRouting": "TEST_NOT_ACTION",
30+
"DefaultNotEligibleRouting": "TEST_NOT_ELI",
31+
"Version": 1,
32+
"Name": "ELI-223-02-Iteration-Config-Name",
33+
"IterationDate": "20240808",
34+
"IterationNumber": 1,
35+
"CommsType": "I",
36+
"ApprovalMinimum": 0,
37+
"ApprovalMaximum": 0,
38+
"Type": "O",
39+
"IterationCohorts": [
40+
{
41+
"CohortLabel": "rsv_eli_223_cohort_1",
42+
"CohortGroup": "rsv_eli_223_cohort_group",
43+
"PositiveDescription": "are a member of eli_223_cohort_group",
44+
"NegativeDescription": "are not a member of eli_223_cohort_group",
45+
"Priority": 0
46+
}
47+
],
48+
"IterationRules": [
49+
{
50+
"Type": "S",
51+
"Name": "Already Vaccinated",
52+
"Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]] and a COVID vaccination on [[TARGET.COVID.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]].You also have a Flu Vaccination Booking on [[TARGET.FLU.BOOKED_APPOINTMENT_DATE:DATE(%Y/%m/%d)]] and your date of birth is [[PERSON.DATE_OF_BIRTH]]",
53+
"Priority": 200,
54+
"AttributeLevel": "TARGET",
55+
"AttributeTarget": "RSV",
56+
"AttributeName": "LAST_SUCCESSFUL_DATE",
57+
"Operator": "Y>=",
58+
"Comparator": "-25",
59+
"RuleStop": "Y"
60+
}
61+
],
62+
"ActionsMapper": {
63+
"TEST_ACTION": {
64+
"ExternalRoutingCode": "TestActionDefault",
65+
"ActionDescription": "ActionDefault Description",
66+
"ActionType": "ButtonWithAuthLink",
67+
"UrlLink": "http://www.nhs.uk/book-rsv",
68+
"UrlLabel": "TestActionDefault"
69+
},
70+
"TEST_NOT_ACTION": {
71+
"ExternalRoutingCode": "TestNotAction",
72+
"ActionDescription": "ActionDescription ICB: [[PERSON.ICB]]",
73+
"ActionType": "ActionType PCN: [[PERSON.PCN]]",
74+
"UrlLink": null,
75+
"UrlLabel": "urlLabel MSOA: [[PERSON.MSOA]]"
76+
},
77+
"AMEND_NBS": {
78+
"ExternalRoutingCode": "AmendNBS",
79+
"ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.",
80+
"ActionType": "ButtonWithAuthLink",
81+
"UrlLink": "http://www.nhs.uk/book-rsv",
82+
"UrlLabel": "Manage your appointment"
83+
}
84+
}
85+
}
86+
]
87+
}
88+
}
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"CampaignConfig": {
3+
"ID": "AUTO_RSV_ELI-223-03-Campaign-ID",
4+
"Version": 1,
5+
"Name": "ELI-223-03-Iteration-Config-Name",
6+
"Type": "V",
7+
"Target": "RSV",
8+
"Manager": [
9+
10+
],
11+
"Approver": [
12+
13+
],
14+
"Reviewer": [
15+
16+
],
17+
"IterationFrequency": "X",
18+
"IterationType": "O",
19+
"IterationTime": "07:00:00",
20+
"StartDate": "20250717",
21+
"EndDate": "20350717",
22+
"ApprovalMinimum": 0,
23+
"ApprovalMaximum": 0,
24+
"DefaultCommsRouting": "BOOK_NBS",
25+
"Iterations": [
26+
{
27+
"ID": "AUTO_RSV_ELI-223-03-Iteration-ID",
28+
"DefaultCommsRouting": "TEST_ACTION",
29+
"DefaultNotActionableRouting": "TEST_NOT_ACTION",
30+
"DefaultNotEligibleRouting": "TEST_NOT_ELI",
31+
"Version": 1,
32+
"Name": "ELI-223-03-Iteration-Config-Name",
33+
"IterationDate": "20240808",
34+
"IterationNumber": 1,
35+
"CommsType": "I",
36+
"ApprovalMinimum": 0,
37+
"ApprovalMaximum": 0,
38+
"Type": "O",
39+
"IterationCohorts": [
40+
{
41+
"CohortLabel": "rsv_eli_223_cohort_1",
42+
"CohortGroup": "rsv_eli_223_cohort_group",
43+
"PositiveDescription": "are a member of eli_223_cohort_group",
44+
"NegativeDescription": "are not a member of eli_223_cohort_group",
45+
"Priority": 0
46+
}
47+
],
48+
"IterationRules": [
49+
{
50+
"Type": "S",
51+
"Name": "Already Vaccinated",
52+
"Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]] and a COVID vaccination on [[TARGET.COVID.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]].You also have a Flu Vaccination Booking on [[TARGET.FLU.BOOKED_APPOINTMENT_DATE:DATE(%Y/%m/%d)]] and your date of birth is [[PERSON.DATE_OF_BIRTHS]]",
53+
"Priority": 200,
54+
"AttributeLevel": "TARGET",
55+
"AttributeTarget": "RSV",
56+
"AttributeName": "LAST_SUCCESSFUL_DATE",
57+
"Operator": "Y>=",
58+
"Comparator": "-25",
59+
"RuleStop": "Y"
60+
}
61+
],
62+
"ActionsMapper": {
63+
"TEST_ACTION": {
64+
"ExternalRoutingCode": "TestActionDefault",
65+
"ActionDescription": "ActionDefault Description",
66+
"ActionType": "ButtonWithAuthLink",
67+
"UrlLink": "http://www.nhs.uk/book-rsv",
68+
"UrlLabel": "TestActionDefault"
69+
},
70+
"TEST_NOT_ACTION": {
71+
"ExternalRoutingCode": "TestNotAction",
72+
"ActionDescription": "ActionDescription ICB: [[PERSON.ICB]]",
73+
"ActionType": "ActionType PCN: [[PERSON.PCN]]",
74+
"UrlLink": null,
75+
"UrlLabel": "urlLabel MSOA: [[PERSON.MSOA]]"
76+
},
77+
"AMEND_NBS": {
78+
"ExternalRoutingCode": "AmendNBS",
79+
"ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.",
80+
"ActionType": "ButtonWithAuthLink",
81+
"UrlLink": "http://www.nhs.uk/book-rsv",
82+
"UrlLabel": "Manage your appointment"
83+
}
84+
}
85+
}
86+
]
87+
}
88+
}
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"CampaignConfig": {
3+
"ID": "AUTO_RSV_ELI-223-04-Campaign-ID",
4+
"Version": 1,
5+
"Name": "ELI-223-04-Iteration-Config-Name",
6+
"Type": "V",
7+
"Target": "RSV",
8+
"Manager": [
9+
10+
],
11+
"Approver": [
12+
13+
],
14+
"Reviewer": [
15+
16+
],
17+
"IterationFrequency": "X",
18+
"IterationType": "O",
19+
"IterationTime": "07:00:00",
20+
"StartDate": "20250717",
21+
"EndDate": "20350717",
22+
"ApprovalMinimum": 0,
23+
"ApprovalMaximum": 0,
24+
"DefaultCommsRouting": "BOOK_NBS",
25+
"Iterations": [
26+
{
27+
"ID": "AUTO_RSV_ELI-223-04-Iteration-ID",
28+
"DefaultCommsRouting": "TEST_ACTION",
29+
"DefaultNotActionableRouting": "TEST_NOT_ACTION",
30+
"DefaultNotEligibleRouting": "TEST_NOT_ELI",
31+
"Version": 1,
32+
"Name": "ELI-223-04-Iteration-Config-Name",
33+
"IterationDate": "20240808",
34+
"IterationNumber": 1,
35+
"CommsType": "I",
36+
"ApprovalMinimum": 0,
37+
"ApprovalMaximum": 0,
38+
"Type": "O",
39+
"IterationCohorts": [
40+
{
41+
"CohortLabel": "rsv_eli_223_cohort_1",
42+
"CohortGroup": "rsv_eli_223_cohort_group",
43+
"PositiveDescription": "are a member of eli_223_cohort_group",
44+
"NegativeDescription": "are not a member of eli_223_cohort_group",
45+
"Priority": 0
46+
}
47+
],
48+
"IterationRules": [
49+
{
50+
"Type": "S",
51+
"Name": "Already Vaccinated",
52+
"Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]].You also have a Flu Vaccination Booking on [[TARGET.FLU.BOOKED_APPOINTMENT_DATE:DATE(%Y/%m/%d)]] and your ICB is [[PERSON.ICB]]",
53+
"Priority": 200,
54+
"AttributeLevel": "TARGET",
55+
"AttributeTarget": "COVID",
56+
"AttributeName": "LAST_SUCCESSFUL_DATE",
57+
"Operator": "Y>=",
58+
"Comparator": "-25",
59+
"RuleStop": "Y"
60+
}
61+
],
62+
"ActionsMapper": {
63+
"TEST_ACTION": {
64+
"ExternalRoutingCode": "TestActionDefault",
65+
"ActionDescription": "ActionDefault Description",
66+
"ActionType": "ButtonWithAuthLink",
67+
"UrlLink": "http://www.nhs.uk/book-rsv",
68+
"UrlLabel": "TestActionDefault"
69+
},
70+
"TEST_NOT_ACTION": {
71+
"ExternalRoutingCode": "TestNotAction",
72+
"ActionDescription": "ActionDescription ICB: [[PERSON.ICB]]",
73+
"ActionType": "ActionType PCN: [[PERSON.PCN]]",
74+
"UrlLink": null,
75+
"UrlLabel": "urlLabel MSOA: [[PERSON.MSOA]]"
76+
},
77+
"AMEND_NBS": {
78+
"ExternalRoutingCode": "AmendNBS",
79+
"ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.",
80+
"ActionType": "ButtonWithAuthLink",
81+
"UrlLink": "http://www.nhs.uk/book-rsv",
82+
"UrlLabel": "Manage your appointment"
83+
}
84+
}
85+
}
86+
]
87+
}
88+
}

0 commit comments

Comments
 (0)