cdisc-org / cdisc-rules-engine

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

There needs to be a way to check for define_dataset_key_sequence #868

Open SFJohnson24 opened 1 month ago

SFJohnson24 commented 1 month ago

Currently this is an enhancement but there may be other rules that need to check the keyseq. The output would likely go in Dataset Metadata Check against Define XML ruletype. This enhancement would need to be within the define_xml_reader_factory.
it would: Parse the Define-XML file For each ItemGroupDef (representing a dataset): Find the ItemRef elements with KeySequence attributes. Match these with their corresponding variable names. Return the results in a structured format. the dataset builder would then add them to the available metadata for rule logic.

mhungria commented 1 month ago

Thanks @SFJohnson24 !