Currently this code allows rules to be run with test data from the ruletester endpoint without specifying a standard version:
https://github.com/cdisc-org/cdisc-rules-engine/blob/2cb62eef087d44269fe504aa8dc191f58ce7db47/scripts/run_validation.py#L296-L303
This conflicts with the open rules which runs from the cli, which requires a standard version:
https://github.com/cdisc-org/cdisc-rules-engine/blob/2cb62eef087d44269fe504aa8dc191f58ce7db47/core.py#L367
Note that none of the USDM rule test data have a version specified in the .env file. We will need to:
A. add any missing versions to all of the .env files using the same logic in run_validation
B. allow standard version to be an optional param in the cli
A is preferred but harder.
Currently this code allows rules to be run with test data from the ruletester endpoint without specifying a standard version:
https://github.com/cdisc-org/cdisc-rules-engine/blob/2cb62eef087d44269fe504aa8dc191f58ce7db47/scripts/run_validation.py#L296-L303
This conflicts with the open rules which runs from the cli, which requires a standard version:
https://github.com/cdisc-org/cdisc-rules-engine/blob/2cb62eef087d44269fe504aa8dc191f58ce7db47/core.py#L367
Note that none of the USDM rule test data have a version specified in the .env file. We will need to:
A. add any missing versions to all of the .env files using the same logic in run_validation
B. allow standard version to be an optional param in the cli
A is preferred but harder.