Validate datasets with CDISC CORE
sdtm_validateValidate SDTM, SEND, and ADaM datasets against CDISC CORE conformance rules and return grouped issues with counts, rule IDs, and examples for review.
Instructions
Run CDISC CORE conformance rules on SDTM/SEND/ADaM datasets and return issues grouped by rule, with counts, CDISC/FDA rule IDs and a few example records. The full report is stored; page through it with sdtm_get_run and compare runs with sdtm_diff_runs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datasets_path": "<datasets_path>"
},
"name": "sdtm_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Groups per page. | |
| domains | No | Only report issues for these domains, e.g. ['AE', 'DM']. | |
| version | No | Standard version, e.g. '3-4' (SDTMIG 3.4) or '3.1.1'. | 3-4 |
| group_by | No | 'rule' (default) gives one line per rule with a count and examples. | rule |
| rule_ids | No | Run only these CORE rules (fast re-check after a fix). | |
| standard | No | CDISC standard. | sdtmig |
| timeout_s | No | ||
| ct_packages | No | Controlled terminology packages, e.g. ['sdtmct-2024-09-27']. | |
| datasets_path | Yes | Folder of datasets (.xpt, Dataset-JSON .json/.ndjson, .xlsx) or one file. | |
| define_xml_path | No | Define-XML, enables define-based rules. | |
| examples_per_group | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes | ||
| run_id | Yes | ||
| totals | Yes | ||
| summary | Yes | One or two sentence plain-language answer. | |
| version | Yes | ||
| datasets | Yes | ||
| findings | No | ||
| group_by | Yes | ||
| standard | Yes | ||
| citations | Yes | ||
| disclaimer | No | Decision support only. Verify against the current guideline and your site SOPs. | |
| provenance | Yes | ||
| assumptions | No | ||
| next_cursor | No | Pass as cursor to get the next page of groups. | |
| core_version | Yes | ||
| execution_errors | No |