The QRF segment is used with the QRD segment to further refine the content of an original style query.
SEQ |
LEN |
DT |
OPT |
RP/# |
TBL# |
Item # |
Element Name |
1 |
20 |
ST |
R |
Y |
00037 |
Where Subject Filter |
|
2 |
26 |
TS |
O |
00038 |
When Data Start Date/Time |
||
3 |
26 |
TS |
O |
00039 |
When Data End Date/Time |
||
4 |
60 |
ST |
O |
Y |
00040 |
What User Qualifier |
|
5 |
60 |
ST |
O |
Y |
00041 |
Other QRY Subject Filter |
|
6 |
12 |
ID |
O |
Y |
0156 |
00042 |
Which Date/Time Qualifier |
7 |
12 |
ID |
O |
Y |
0157 |
00043 |
Which Date/Time Status Qualifier |
8 |
12 |
ID |
O |
Y |
0158 |
00044 |
Date/Time Selection Qualifier |
9 |
60 |
TQ |
O |
00694 |
When Quantity/Timing Qualifier |
2.24.5.0 QRF field definitions
Definition: This field identifies the department, system, or subsystem to which the query pertains. This field may repeat as in LAB~HEMO, etc.
Definition: This field contains the dates and times equal or after this value should be included.
Definition: This field contains the dates and times the same as or before this date should be included.
Definition: This field contains an identifier to further define characteristics of the data of interest.
Definition: This field contains a filter defined locally for use between two systems. This filter uses codes and field definitions which have specific meaning only to the applications and/or site involved.
Definition: This field specifies the type of date referred to in QRF-2-when data start date/time and QRF-3-when data end date/time.
Table 0156 - Which date/time qualifier
Value |
Description |
ANY |
Any date/time within a range |
COL |
Collection date/time, equivalent to film or sample collection date/time |
ORD |
Order date/time |
RCT |
Specimen receipt date/time, receipt of specimen in filling ancillary (Lab) |
REP |
Report date/time, report date/time at filing ancillary (i.e., Lab) |
SCHED |
Schedule date/time |
Definition: This field specifies the status type of objects selected in date range defined by QRF-2-when data start date/time and QRF-3-when data end date/time).
Table 0157 - Which date/time status qualifier
Value |
Description |
ANY |
Any status |
CFN |
Current final value, whether final or corrected |
COR |
Corrected only (no final with corrections) |
FIN |
Final only (no corrections) |
PRE |
Preliminary |
REP |
Report completion date/time |
Definition: This field allows the specification of certain types of values within the date/time range.
Table 0158 - Date/time selection qualifier
Value |
Description |
1ST |
First value within range |
ALL |
All values within the range |
LST |
Last value within the range |
REV |
All values within the range returned in reverse chronological order (This is the default if not otherwise specified.) |
Components: <quantity (CQ)> ^ <interval (CM)> ^ <duration> ^ <start date/time (TS)> ^ <end date/time (TS)> ^ <priority (ID)> ^ <condition (ST)> ^ <text (TX)> ^ <conjunction (ID)> ^ <order sequencing>
Definition: This field allows an interval definition to be used for specifying multiple responses to a query. With the addition of this filter, new query specifications should no longer use QRF-2-when data start date/time and QRF-3-when data end date/time in future implementations.