cdisc-org / cdisc-rules-engine

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

There needs to be a way to run USDM datasets/DDF rules in the -LR command #835

Open SFJohnson24 opened 1 week ago

SFJohnson24 commented 1 week ago

Currently we are not able to run USDM datasets with the -LR command. The JSON is not parsed into dataset with the -lr flag.

ASL-rmarshall commented 4 days ago

@SFJohnson24 If the changes suggested in #840 are applied to get USDM data read in OK, I've found that it is possible to run local rules for USDM datasets - the -lr argument then works as expected.

The only real issue is that a CORE id is needed to uniquely identify the issues reported by the validation - but I found that assigning a temporary CORE id (e.g., "DRAFT-{Rule Id}") in the local rule YAML file works around that issue.