cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
49 stars 13 forks source link

Variable_value to work with other rule types than value metadata check against the define-xml #895

Open eljanssens opened 2 weeks ago

eljanssens commented 2 weeks ago

To support further development of custom rules, I would like to request (as discussed during CORE Rules Office Hours (2024) meeting) following: Currently, the variable_value name only works in combination with rule type = value metadata check against the define-xml Can we also make this work with other rule types not using the define-xml? It would be interesting to check the values of all variables for certain data issues. For example: Check that there are no leading or trailing spaces, non-ASCII or non-printable characters or '.' in a value.

Thanks! Els

SFJohnson24 commented 6 days ago

This would also be helpful with Adam 17 --- we need the metadata to check the record_data_type but also need to check the variable_value to check the length of the actual value