cdisc-org/DDF-RA

Update GeneratorApp code to prevent criterionIds/criteria being reported as a discrepancy in alignment.csv

Closed this issue · 1 comments

Add the following to fromIds in GeneratorApp.java in the usdm-dictionary-generator repository to prevent criterionIds/criteria being reported as a discrepancy in alignment.csv:

        if (name.contains("criterion") && name.endsWith("Ids")){
            synonyms.add(name.substring(0, name.length() - "Ids".length()).replace("criterion", "criteria"));
        }

Also added synonym to toIds