Q

Q — a query generated by the execution of dfaddqc

Synopsis

Content model

Q ::=
(V?, QR?, NT?)

Attributes

NameTypeDefaultDescription
frCDATANone

The id of the unique history element (HN) during which this item was recorded.

prEnumeration: 1=missing, 2=illegal, 3=inconsistent, 4=illegible, 5=fax noise, 6=other, 30-99=user-defined category None

The category code identified by the query.

uEnumeration:
1=external
2=internal
None

The usage type identified by the query.

fEnumeration:
1=Q&A (Clarification)
2=Fax/Refax (Correction)
None

The response type identified by the query.

cEnumeration:
0=fail
1=success
2=success, but value truncated
None

The completion status of the action, or function during which this item was recorded. The only time that a status of "failure" (code 0) is produced is when the database server is found to be unavailable. Otherwise, a status of success (codes 1 or 2) is produced.

prlblCDATANone

The label of the query when a user-defined category type is used. When a default DFdiscover category type is used, this attribute is not included.

Description

Any queries generated by the dfaddqc function during the execution of an edit check are recorded in a Q element.

The V element identifies the variable by name to which the query was added, even if it is the current variable.

A Q element does not imply that a query was added to the database, simply that one would have been added if the APPLY element had allowed queries to be added.

Processing Expectations

The history element that records which batch execution generated this element can be determined by matching the values of the fr attribute and the fd attribute.

Parents

These elements contain Q: E

Children

The following elements occur in Q: V, QR, NT

Examples

Example 6.85. A query added to the age variable

<Q fr='8' pr='3' u='1' f'=1' c='1'><V n='age'/>
<QR>The reported age is inconsistent with
the exam date and the subject's birth date</QR></Q>

Example 6.86. A user defined query added to the visitDate variable

<Q fr='9' pr='30' u='1' f'=1' c='1' prlbl="Requires Follow-Up"><V n='visitDate'/>
<QR>The reported visit date does not match up with the trial schedule and needs to be verified by the trial coordinator.</QR></Q>