XPT and Dataset-JSON Viewer
Opens clinical trial datasets as a grid and checks them against the study's own Define-XML. It works offline, sends no telemetry and makes no network connection.
What it does
- Opens SAS transport (XPT) v5 and v8, and CDISC Dataset-JSON 1.0 and 1.1 (
.json, .ndjson). XPT files are paged from disk, so large files open quickly. Dataset-JSON in a .json file opens with Open With… → Clinical Data Viewer (Dataset-JSON) or Open in Clinical Data Viewer in the Explorer's context menu.
- Filter and sort: type in the box under a column (
=x, !=x, >x, <=x, missing, !missing, or plain text for "contains"); click a header to sort, Shift-click to add a level.
- Variable summary: counts, missing values, range and most frequent values per variable.
- SAS formats for dates, datetimes, times and
w.d are applied; switch off "Formats" to see stored values.
- Define-XML checks: with a
define.xml (1.0, 2.0 or 2.1) in the same folder as the dataset, it shows each variable's origin, codelist, derivation and role, shows codelist decodes, and reports differences between data and definition (rule ids DEF-*): undefined or missing variables, order, labels, types, lengths, codelist values, mandatory values and duplicate keys. If a Define-XML is there but cannot be read, or does not describe the dataset, the viewer says so and why.
- ADaM rules (
ADAM-*) for datasets named AD..., and SDTM cross-domain rules (SDTM-XD-*) for DM, TA, AE, SUPPDM, RS and TR, reading the other datasets they need from the same folder.
- Keyboard and screen readers: the grid is an ARIA grid; findings differ by symbol and name, not only colour.
What it does not do
- These checks are an aid to review. They are not the CDISC conformance rules and do not replace a conformance validator. The ADaM and SDTM cross-domain rules are the project's own; each says which published rule it reads, or that it is the project's interpretation. You remain responsible for checking your data.
- CDISC standards checks (
STD-*) need a standards registry that you build on your own computer from CDISC's open-source rules engine. This extension ships no CDISC content. Without a registry the viewer says so ("No CDISC standards registry") and everything above still works. If you have a registry, name its folder (the one holding index.json) in the setting tessaly.dataViewer.standardsPath, in your user settings: a workspace's settings cannot set it.
- It reads files only: it never changes a dataset or a Define-XML. Because it only reads, it also works in a folder you have not trusted (Restricted Mode).
- Where a variable has value-level metadata, its variable-level codelist is not enforced. Key uniqueness is skipped above 3 million rows. The ADaM and cross-domain rules read up to 2 million rows per dataset.
Privacy
No telemetry. The extension reads the dataset you open and, from the same folder, the list of file names, a Define-XML file named define*.xml and the other datasets a rule needs; it looks for a standards registry in the folder the setting above names or, when the setting is empty, in the default places described in the setting (environment variables TESSALY_STANDARDS_PATH and TESSALY_STANDARDS_HOME, then ~/.tessaly/standards/json, then older equivalents). It writes nothing and connects to nothing.
Send Feedback
Run Clinical: Send Feedback about the XPT and Dataset-JSON Viewer from the Command Palette. It offers two places and opens the one you choose: the public feedback repository in your browser, or a new email in your email program. The extension adds nothing to it and sends nothing itself.
Licence
Apache License 2.0 (LICENSE). Third-party code bundled in the extension and its licences are listed in NOTICE and dist/THIRD_PARTY.txt.
| |