CDISC Define-XML validator using SAS DS2 procedure and RESTful web service.
This is an experimental SAS program to validate the CodeList elements of CDISC Define-XML for SDTM.
For the purpose of getting information about CDISC Controlled Terminology, RESTful web service is used.
Now supported validation rule ID is as below. Please see the PMDA Validation Rules for details of the rules.
- DD0024: Invalid Term in Codelist <codelist>
- DD0028: Term/NCI Code mismatch in Codelist <codelist>
- DD0029: Required attribute def:ExtendedValue is missing or empty
- DD0032: Missing NCI Code for Term in Codelist <codelist>
- DD0033: Unknown NCI Code value for Codelist <codelist>
- DD0034: Unknown NCI Code value for Term in Codelist <codelist>
- Base SAS 9.4
Use of SAS University Edition is recommended.
- An environment that you can access to the following web server.
CDISC Controlled Terminology RESTful Web Service
- Set the Define-XML file in define folder.
- Change the value of root global macro variable of Main.sas in accordance with your environment.
- Execute Main.sas program with Base SAS 9.4.
- Validation report is saved as CSV format in report folder.
Due to the constraint of the specification of HTTP predefined package in SAS DS2 procedure, only the HTTP message body up to 32,767 bytes can be received by HTTP GET method.
Therefore, the validation rules relative to the following CodeList C-Code cannot be executed normally.
- C65047: LBTESTCD (Laboratory Test Code)
- C67154: LBTEST (Laboratory Test Name)
- C85491: MICROORG (Microorganism)
This program is released under the MIT License.