cdisc-org / cdisc-rules-engine

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

Rule blocked: SEND105 #720

Open JozefAerts opened 4 weeks ago

JozefAerts commented 4 weeks ago

It looks as the operator "exists" only works on the variable level, and not on the domain/dataset level. In SEND rule 105, we need to check whether "SPECIES" is present either in TX or TS, but this fails when the TX dataset is not present. When I use "non_empty" this causes an error: "error":"An unknown exception has occurred" "message":"'NoneType' object is not subscriptable"

So, I think we need an additional operator "dataset_exists" or "domain_present" or something like that and the negation of it.