Skip to content

Commit 4c5475e

Browse files
fix: change rule to use IsNullOrEmpty (#805)
fix: change rule to use NullOrEmpty
1 parent 0f4114f commit 4c5475e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • application/CohortManager/src/Functions/CohortDistributionServices/TransformDataService

application/CohortManager/src/Functions/CohortDistributionServices/TransformDataService/transformRules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@
482482
},
483483
{
484484
"RuleName": "03.Other.DateOfDeath.NotDea",
485-
"Expression": "participant.DateOfDeath != null && participant.ReasonForRemoval != \"DEA\"",
485+
"Expression": "!string.IsNullOrEmpty(participant.DateOfDeath) && participant.ReasonForRemoval != \"DEA\"",
486486
"Actions": {
487487
"OnSuccess": {
488488
"Name": "TransformAction",

0 commit comments

Comments
 (0)