SQR_S25

SQM/SQR - Schedule Query Message and Response (Event S25)

21 segments · 1 events

Retained for backwards compatibility only in version 2.4 and later; refer to Chapter 5 section 5.4. The original mode query and the QRD/QRF segments have been replaced.

Original Mode record-oriented query transactions are initiated from the querying application using the Schedule Query (SQM) to request information about a filler application's schedule(s). The filler application responds to these requests, using the Schedule Query Response (SQR) message to either return the requested information, or to signal that an interfacing error of some kind has occurred. The definitions for the SQM message and the SQR response are listed below.

Message Structure

21 segments
R RequiredO Optional Choice
MSH
R1
MSA
R1
ERR
O*
QAK
R1
SCHEDULE
O*
SCH
R1
TQ1
O*
NTE
O*
PATIENT
O1
PID
R1
PV1
O1
PV2
O1
DG1
O1
RESOURCES
R*
RGS
R1
SERVICE
O*
AIS
R1
NTE
O*
GENERAL_RESOURCE
O*
AIG
R1
NTE
O*
PERSONNEL_RESOURCE
O*
AIP
R1
NTE
O*
LOCATION_RESOURCE
O*
AIL
R1
NTE
O*
DSC
O1
Used by Events:S25SQM/SQR - Schedule query message and response