Previous Page TOC Index Next Page

2.24.5 QRF - original style query filter segment

The QRF segment is used with the QRD segment to further refine the content of an original style query.

Figure 2-12. QRF attributes

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

2.24.5.1 Where subject filter (ST) 00037

Definition: This field identifies the department, system, or subsystem to which the query pertains. This field may repeat as in LAB~HEMO, etc.

2.24.5.2 When data start date/time (TS) 00038

Definition: This field contains the dates and times equal or after this value should be included.

2.24.5.3 When data end date/time (TS) 00039

Definition: This field contains the dates and times the same as or before this date should be included.

2.24.5.4 What user qualifier (ST) 00040

Definition: This field contains an identifier to further define characteristics of the data of interest.

2.24.5.5 Other QRY subject filter (ST) 00041

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.

2.24.5.6 Which date/time qualifier (ID) 00042

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

2.24.5.7 Which date/time status qualifier (ID) 00043

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

2.24.5.8 Date/time selection qualifier (ID) 00044

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.)

2.24.5.9 When timing/quantity qualifier (TQ) 00694

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.

Previous Page TOC Index Next Page