DefineCheck

Guides / What is define.xml?

What is define.xml?

Your define.xml is the guide to your study data. It tells a reviewer what each dataset and variable is, where each value came from, and which list of allowed values it uses.

What a define.xml file holds

A define.xml is one XML file that sits next to your datasets. It follows the CDISC Define-XML standard and describes, for each dataset:

Why define.xml matters to a reviewer

A reviewer opens your define.xml first. If it says AGE is an integer but your DM dataset holds text, or it lists a codelist your data doesn't follow, the reviewer has to stop and ask. FDA's Study Data Technical Conformance Guide asks for a define.xml with each study sent in a CDISC standard, so checking your define.xml and your datasets together saves a round of questions.

Define-XML versions: 1.0, 2.0 and 2.1

VersionPublishedWhat changed
1.02005The first version. Labels, origins and comments are attributes, and value-level rows have no where clause.
2.02013Where clauses for value-level metadata, origins as elements, links to codelists with NCI codes.
2.12019Standards and their versions listed in the file, more origin types, comments on codelist terms.

Check the FDA Data Standards Catalog for the versions accepted for your submission date.

Common define.xml mistakes

How to open and read a define.xml

A define.xml usually comes with a stylesheet (an .xsl file) that turns it into a web page when you open it in a browser. That depends on a browser feature called XSLT, which Google plans to remove from Chrome. Our checker reads define.xml without XSLT, so you can open it in Chrome or Firefox, follow every link, see the problems it found, and save it as one offline web page.

Questions about define.xml

Is define.xml required for an FDA submission?

FDA's Study Data Technical Conformance Guide asks for a define.xml with each study sent in SDTM, ADaM or SEND. Read the current guide and the FDA Data Standards Catalog for your submission date.

What's the difference between define.xml and define.pdf?

define.xml is the machine-readable file that describes your datasets. A define.pdf is a printable copy. Reviewers and tools work from define.xml.

Can I check my define.xml without uploading it?

Yes. Our checker reads your define.xml in your browser tab on your computer. The file isn't sent to us.

This guide is general information to help you understand the standards. It isn't official FDA or CDISC guidance; read the published documents for your submission.