Skip to content

Rule blocked: GC0019 #1345

@mhungria

Description

@mhungria

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:
ImageImage
Image
Image

Bugs and expected behavior

    1. Execution errors attached. I would expect no execution errors, all issues reported as CG0019 duplicates.
    1. 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
    1. 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.
    1. 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

Metadata

Metadata

Labels

Define-XML cross checkFunctionality related to define.xml cross checksSDTMCDISC SDTM/SDTMIG

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions