Executing with the CLI 0.12.0 on a Mac:
python3 core.py validate -s sdtmig -v 3-4 -dv 2-1 -dxp .../subset/define_msg20_testsupp_core.xml -d .../subset --output .../subset/results/gc0019_draft_results --output-format JSON --output-format XLSX -lr .../subset/draft_rules -r CDISC.SDTMIG.CG0019 -l error &> .../subset_execution_errors.txt
The attached zip includes the subset of source json files, define_msg20_testsupp_core.xml file, the draft rule and the results of the above execution:
subset.zip
Plus execution errors:
subset_execution_errors.txt
From the define_msg20_testsupp_core.xml in the zip attached:




Bugs and expected behavior
-
- Execution errors attached. I would expect no execution errors, all issues reported as CG0019 duplicates.
-
- the define_dataset_key_sequence variable doesn't include the key specified for EC from SUPPEC, per the Define-XML document referenced. See output files attached. I would expect to see the last key in SUPPEC.ECREASOC
-
- it appears that supp* datasets are not individually considered to report duplicate key issues (as a standard SUPPQUAL structure). I would expect issues reported for SUPPDM and SUPPEC separately.
-
- got execution error for RELREC. I would expect an issue reported for RELREC as it has a duplicate row based on its define keys.
Links to related JIRA Tickets
Rule Information
- Standard: SDTMIG, testing with 3.4; however, should bbe applicable to any standard, any version
- Rule ID: CG0019 (CDISC.SDTMIG.CG0019)
- Rule Description: Trigger error if records are not unique as per sponsor defined key variables as documented in the define.xml
Executing with the CLI 0.12.0 on a Mac:
python3 core.py validate -s sdtmig -v 3-4 -dv 2-1 -dxp .../subset/define_msg20_testsupp_core.xml -d .../subset --output .../subset/results/gc0019_draft_results --output-format JSON --output-format XLSX -lr .../subset/draft_rules -r CDISC.SDTMIG.CG0019 -l error &> .../subset_execution_errors.txt
The attached zip includes the subset of source json files, define_msg20_testsupp_core.xml file, the draft rule and the results of the above execution:




subset.zip
Plus execution errors:
subset_execution_errors.txt
From the define_msg20_testsupp_core.xml in the zip attached:
Bugs and expected behavior
Links to related JIRA Tickets
Links to related github Tickets
Rule Information