cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
46 stars 12 forks source link

CORERULES-9552 - checking values against Library CT for SDTM #837

Open SFJohnson24 opened 2 weeks ago

SFJohnson24 commented 2 weeks ago

This is the first part of the generalized library CT check operator that will crosscheck values against codelist values

  1. The operator will check the rule type, if it is a 'value check againbst define XML' we are SDTM operator, if it is a 'value check - metadata' we are DDF as this will give us access to the values to compare to codelists.

  2. the version of the CT package will be specified in CLI command or found in the defineXML - Codelist - Standard - publishingSet/Version:

  3. sdtm gets from library differently - uses define and library metadata; ddf uses schema for library. with SDTM, will need to check if it is non-extensible. if it is extensible, not in list of CT but in defineXML:

  4. we will want to cache codelist values, if there are mutiple codelists will need the union of them

  5. this operator should be able to check both for valid "submission values" and for valid C-codes for the terms in the specified codelist.

see #794 for the DDF implementation and notes from initial ticket