The XML4Pharma Application Server

Rule FDAC001 in XQuery: Missing DM dataset

Description: Demographics (DM) dataset must be included in every submission

The rule written in XQuery:

Explanation

As you might already have noticed, the whole XQuery has the structure "let", "where", "return".
These are part of the so-called FLWOR principle of XQuery (pronounced "flower"): "for", "let", "where", "order by", "return".
For a nice introduction about FLWOR, see here.


Courtesy of XML4Pharma - last update: May 2016