cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
46 stars 12 forks source link

Rule blocked: CORERULES-CG0232, CG0233, CG0234, CG0235 #527

Open TCasteris opened 1 year ago

TCasteris commented 1 year ago

Links to related JIRA Tickets CG0232: https://jira.cdisc.org/browse/CORERULES-273 https://jira.cdisc.org/browse/CORERULES-971 https://jira.cdisc.org/browse/CORERULES-7615

CG0233: https://jira.cdisc.org/browse/CORERULES-274 https://jira.cdisc.org/browse/CORERULES-972 https://jira.cdisc.org/browse/CORERULES-7616

CG0234: https://jira.cdisc.org/browse/CORERULES-275 https://jira.cdisc.org/browse/CORERULES-973 https://jira.cdisc.org/browse/CORERULES-1358

CG0235: https://jira.cdisc.org/browse/CORERULES-276 https://jira.cdisc.org/browse/CORERULES-974 https://jira.cdisc.org/browse/CORERULES-1350

Rule Information

Describe the bug date_equal_to operator is not working correctly when one of the dates is not present on the dataset

Error returned from Rule Engine "Unknown string format: CMDTC"

Expected behavior Would expect the CM dataset to be skipped if CMDTC is not present

Screenshots If applicable, add screenshots to help explain your problem.

nhaydel commented 1 year ago

@nickdedonder because execution errors are currently skipped, this rule would result in a skip in the report output. Is that sufficient or should something else be done to accommodate the rule authors?

nhaydel commented 1 year ago

If it is a common practice to skip a rule when an operator requires a variable that is not present, I believe we should handle that in a single issue with an update that applies to all operators