MQ

MQ — a missing page query generated by the execution of dfaddmpqc

Synopsis

Content model

MQ ::=
(K, QR?, NT?)

Attributes

NameTypeDefaultDescription
frCDATANone

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

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.

Description

Any missing page queries generated by the dfaddmpqc function during the execution of an edit check are recorded in a MQ element.

Since missing page queries are never added to the current record, a K child element is needed to identify the keys that will get the missing page query. If query or note arguments were specified to dfaddmpqc, QR or NT child elements, respectively, will be present.

A MQ element does not imply that a missing page 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 MQ: E

Children

The following elements occur in MQ: K, QR, NT

Examples

Example 6.68. A missing page query added for subject 1001, visit 1, plate 5, with no additional query or note

<MQ fr='5' c='1'><K i='1001' v='1' p='5'/></MQ>