Skip to content

Commit b219134

Browse files
added ELI-399, 373 regression tests
tidying the VITA int tests removed 320-12 as invalid
1 parent 8f58478 commit b219134

39 files changed

Lines changed: 2976 additions & 0 deletions

tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json

Lines changed: 453 additions & 0 deletions
Large diffs are not rendered by default.

tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json

Lines changed: 447 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"CampaignConfig": {
3+
"ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0",
4+
"Version": 1,
5+
"Name": "ELI-399-01-Iteration-Config",
6+
"Type": "V",
7+
"Target": "RSV",
8+
"Manager": ["person1@nhs.net"],
9+
"Approver": ["person1@nhs.net"],
10+
"Reviewer": ["person1@nhs.net"],
11+
"IterationFrequency": "X",
12+
"IterationType": "O",
13+
"IterationTime": "07:00:00",
14+
"StartDate": "<<DATE_DAY_-2>>",
15+
"EndDate": "<<DATE_YEAR_1>>",
16+
"ApprovalMinimum": 0,
17+
"ApprovalMaximum": 0,
18+
"DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING",
19+
"Iterations": [
20+
{
21+
"ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1",
22+
"DefaultCommsRouting": "",
23+
"DefaultNotActionableRouting": "",
24+
"DefaultNotEligibleRouting": "",
25+
"Version": 1,
26+
"Name": "ELI-399-01-Iteration-Config",
27+
"IterationDate": "<<DATE_DAY_1>>",
28+
"IterationNumber": 1,
29+
"CommsType": "I",
30+
"ApprovalMinimum": 0,
31+
"ApprovalMaximum": 0,
32+
"Type": "O",
33+
"IterationCohorts": [
34+
{
35+
"CohortLabel": "rsv_eli_399_cohort_1",
36+
"CohortGroup": "rsv_eli_399_cohort_group",
37+
"PositiveDescription": "are a member of eli_399_cohort_group_10",
38+
"NegativeDescription": "are not a member of eli_399_cohort_group_10",
39+
"Priority": 10
40+
}
41+
],
42+
"IterationRules": [
43+
{
44+
"Type": "S",
45+
"Name": "NotActionable Reason 1",
46+
"Description": "Description 1",
47+
"Operator": "Y>",
48+
"Comparator": "-75",
49+
"AttributeLevel": "PERSON",
50+
"AttributeName": "DATE_OF_BIRTH",
51+
"CohortLabel": "rsv_eli_399_cohort_1",
52+
"Priority": 100
53+
}
54+
],
55+
"ActionsMapper": {
56+
"BOOK_NBS": {
57+
"ExternalRoutingCode": "BookNBS",
58+
"ActionDescription": "",
59+
"ActionType": "ButtonWithAuthLink",
60+
"UrlLink": "http://www.nhs.uk/book-rsv",
61+
"UrlLabel": "Continue to booking"
62+
}
63+
}
64+
}
65+
]
66+
}
67+
}
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
{
2+
"CampaignConfig": {
3+
"ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0",
4+
"Version": 1,
5+
"Name": "ELI-399-02-Iteration-Config",
6+
"Type": "V",
7+
"Target": "RSV",
8+
"Manager": ["person1@nhs.net"],
9+
"Approver": ["person1@nhs.net"],
10+
"Reviewer": ["person1@nhs.net"],
11+
"IterationFrequency": "X",
12+
"IterationType": "O",
13+
"IterationTime": "07:00:00",
14+
"StartDate": "<<DATE_DAY_-2>>",
15+
"EndDate": "<<DATE_YEAR_1>>",
16+
"ApprovalMinimum": 0,
17+
"ApprovalMaximum": 0,
18+
"DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING",
19+
"Iterations": [
20+
{
21+
"ID": "inactive-future-iteration-id",
22+
"DefaultCommsRouting": "",
23+
"DefaultNotActionableRouting": "",
24+
"DefaultNotEligibleRouting": "",
25+
"Version": 1,
26+
"Name": "inactive-future-iteration",
27+
"IterationDate": "<<DATE_MONTH_6>>",
28+
"IterationNumber": 1,
29+
"CommsType": "I",
30+
"ApprovalMinimum": 0,
31+
"ApprovalMaximum": 0,
32+
"Type": "O",
33+
"IterationCohorts": [
34+
{
35+
"CohortLabel": "rsv_eli_399_inactive_cohort_1",
36+
"CohortGroup": "rsv_eli_399_inactive_cohort_group",
37+
"PositiveDescription": "are a member of eli_399_inactive_cohort_group",
38+
"NegativeDescription": "are not a member of eli_399_inactive_cohort_group",
39+
"Priority": 0
40+
},
41+
{
42+
"CohortLabel": "rsv_eli_399_inactive_cohort_2",
43+
"CohortGroup": "rsv_eli_399_inactive_cohort_group",
44+
"PositiveDescription": "are a member of eli_399_inactive_cohort_group",
45+
"NegativeDescription": "are not a member of eli_399_inactive_cohort_group",
46+
"Priority": 10
47+
},
48+
{
49+
"CohortLabel": "rsv_eli_399_inactive_cohort_3",
50+
"CohortGroup": "rsv_eli_399_inactive_cohort_group_other",
51+
"PositiveDescription": "are a member of eli_399_inactive_cohort_group_other",
52+
"NegativeDescription": "are not a member of eli_399_inactive_cohort_group_other",
53+
"Priority": 20
54+
}
55+
],
56+
"IterationRules": [
57+
{
58+
"Type": "S",
59+
"Name": "NotActionable Reason",
60+
"Description": "",
61+
"Operator": "Y>",
62+
"Comparator": "-75",
63+
"AttributeLevel": "PERSON",
64+
"AttributeName": "DATE_OF_BIRTH",
65+
"CohortLabel": "rsv_eli_399_inactive_cohort_1",
66+
"Priority": 100,
67+
"RuleStop:": "Y"
68+
},
69+
{
70+
"Type": "S",
71+
"Name": "NotActionable Reason",
72+
"Description": "Description 4",
73+
"Operator": "=",
74+
"Comparator": "AAB",
75+
"AttributeLevel": "PERSON",
76+
"AttributeName": "ICB",
77+
"CohortLabel": "rsv_eli_399_inactive_cohort_2",
78+
"Priority": 110
79+
},
80+
{
81+
"Type": "S",
82+
"Name": "NotActionable Reason",
83+
"Description": "Description 3",
84+
"Operator": "=",
85+
"Comparator": "ZZY",
86+
"AttributeLevel": "PERSON",
87+
"AttributeName": "COMMISSIONING_REGION",
88+
"CohortLabel": "rsv_eli_399_inactive_cohort_3",
89+
"Priority": 120
90+
}
91+
],
92+
"ActionsMapper": {
93+
"BOOK_NBS": {
94+
"ExternalRoutingCode": "BookNBS",
95+
"ActionDescription": "",
96+
"ActionType": "ButtonWithAuthLink",
97+
"UrlLink": "http://www.nhs.uk/book-rsv",
98+
"UrlLabel": "Continue to booking"
99+
}
100+
}
101+
},
102+
{
103+
"ID": "active-current-iteration-id",
104+
"DefaultCommsRouting": "",
105+
"DefaultNotActionableRouting": "",
106+
"DefaultNotEligibleRouting": "",
107+
"Version": 1,
108+
"Name": "active-current-iteration",
109+
"IterationDate": "<<DATE_DAY_-1>>",
110+
"IterationNumber": 2,
111+
"CommsType": "I",
112+
"ApprovalMinimum": 0,
113+
"ApprovalMaximum": 0,
114+
"Type": "O",
115+
"IterationCohorts": [
116+
{
117+
"CohortLabel": "rsv_eli_399_active_cohort_1",
118+
"CohortGroup": "rsv_eli_399_active_cohort_group",
119+
"PositiveDescription": "are a member of eli_399_active_cohort_group",
120+
"NegativeDescription": "are not a member of eli_399_active_cohort_group",
121+
"Priority": 0
122+
},
123+
{
124+
"CohortLabel": "rsv_eli_399_active_cohort_2",
125+
"CohortGroup": "rsv_eli_399_active_cohort_group",
126+
"PositiveDescription": "are a member of eli_399_active_cohort_group",
127+
"NegativeDescription": "are not a member of eli_399_active_cohort_group",
128+
"Priority": 10
129+
},
130+
{
131+
"CohortLabel": "rsv_eli_399_active_cohort_3",
132+
"CohortGroup": "rsv_eli_399_active_cohort_group_other",
133+
"PositiveDescription": "are a member of eli_399_active_cohort_group_other",
134+
"NegativeDescription": "are not a member of eli_399_active_cohort_group_other",
135+
"Priority": 20
136+
}
137+
],
138+
"IterationRules": [
139+
{
140+
"Type": "S",
141+
"Name": "NotActionable Reason",
142+
"Description": "",
143+
"Operator": "Y>",
144+
"Comparator": "-75",
145+
"AttributeLevel": "PERSON",
146+
"AttributeName": "DATE_OF_BIRTH",
147+
"CohortLabel": "rsv_eli_399_active_cohort_1",
148+
"Priority": 100,
149+
"RuleStop:": "Y"
150+
},
151+
{
152+
"Type": "S",
153+
"Name": "NotActionable Reason",
154+
"Description": "Description 4",
155+
"Operator": "=",
156+
"Comparator": "AAB",
157+
"AttributeLevel": "PERSON",
158+
"AttributeName": "ICB",
159+
"CohortLabel": "rsv_eli_399_active_cohort_2",
160+
"Priority": 110
161+
},
162+
{
163+
"Type": "S",
164+
"Name": "NotActionable Reason",
165+
"Description": "Description 3",
166+
"Operator": "=",
167+
"Comparator": "ZZY",
168+
"AttributeLevel": "PERSON",
169+
"AttributeName": "COMMISSIONING_REGION",
170+
"CohortLabel": "rsv_eli_399_active_cohort_3",
171+
"Priority": 120
172+
}
173+
],
174+
"ActionsMapper": {
175+
"BOOK_NBS": {
176+
"ExternalRoutingCode": "BookNBS",
177+
"ActionDescription": "",
178+
"ActionType": "ButtonWithAuthLink",
179+
"UrlLink": "http://www.nhs.uk/book-rsv",
180+
"UrlLabel": "Continue to booking"
181+
}
182+
}
183+
}
184+
]
185+
}
186+
}

0 commit comments

Comments
 (0)