You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: application/CohortManager/src/Functions/ScreeningValidationService/LookupValidation/Breast_Screening_lookupRules.json
+5-13Lines changed: 5 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2,33 +2,25 @@
2
2
{
3
3
"WorkflowName": "Common",
4
4
"GlobalParams": [
5
-
{
6
-
"Name": "ValidCurrentPosting",
7
-
"Expression": "string.IsNullOrEmpty(newParticipant.CurrentPosting) OR dbLookup.CheckIfCurrentPostingExists(newParticipant.CurrentPosting)"
"Enter the date of death in the correct format. The date cannot be in the future.",
36
30
reportingId: "CMR22",
37
31
},
38
-
21: {
39
-
ruleDescription:
40
-
"The 'Superseded by NHS number' field has been populated with an NHS number by NBO.",
41
-
moreDetails: "",
42
-
reportingId: "CMR33",
43
-
},
44
-
22: {
45
-
ruleDescription:
46
-
"Amendment received for an NHS number that is not in this cohort.",
47
-
moreDetails:
48
-
"Raise with Cohorting as a Service (CaaS). An amendment cannot be applied as the record has not yet been added to the cohort. There may have been a delay in adding the new record to Cohort Manager. ",
49
-
reportingId: "CMR39",
50
-
portalFormTitle: "Raise with Cohorting as a Service (CaaS)",
51
-
},
52
32
30: {
53
33
ruleDescription: "Postcode is in the wrong format.",
[DataRow(null,null,null,null,null,null,"Existing Address 1","Existing Address 2","Existing Address 3","Existing Address 4","Existing Address 5","RG2 5TX")]// All New Address Fields null, New Postcode null, Existing Address fields full.
300
308
[DataRow("","","","","","","Existing Address 1","Existing Address 2","Existing Address 3","Existing Address 4","Existing Address 5","RG2 5TX")]// All New Address Fields empty, New Postcode empty, Existing Address fields full.
301
309
[DataRow(null,null,null,null,null,"RG2 5TX","Existing Address 1","Existing Address 2","Existing Address 3","Existing Address 4","Existing Address 5","ZZ99 6TF")]// All New Address Fields null, All existing address field full, Postcode does not match.
@@ -327,7 +335,7 @@ public async Task Run_AddressLinesNullAndPostcodeDoesNotMatchExisting_ReturnVali
0 commit comments