Query by location, Qry/qrf format – Welch Allyn Connectivity Server - Programmers guide User Manual
Page 42

38
WACS outbound HL7 messages
Welch Allyn Connectivity Server
Query by location
This section covers these two formats for Query by location:
•
QRY/ORF
•
QBP/RSP
QRY/QRF format
QRY^R02 query segments
Segment QRD: Query definition
QRD-2: R
QRD-3: I
QRD-9: Res
Segment QRF: Query filter
QRF-1: List of Patient’s Unit - point of care
QRF-4: List of Data Requested
QRF-5: List of Patient’s Room - Room + Bed
QRF-9: Required (Start/End Time and Interval)
QRY/ORF query and reply example
Get the heart rate and respiration rate of Patient in Unit MEDICAL Room 1310A from
20030624115000 to 20030624115002 interval of 1 sec.
QRY query:
MSH|^~\&|Van Goe^Edgar^A||||20030624120505.544-0800||QRY^R02|20030624120505544e|P|2.4
QRD|20030624120505.544-0800|R|I|Q1056481505544|||||RES
QRF|MEDICAL|||HeartRate~RR/BR|1310A||||^&1^^20030624115000-0800^20030624115002-0800
ORF reply:
MSH|^~\&|WAP^WAP||||20030624121744.994-0800||ORF^R04|20030624121744995a|P|2.4
QRD|20030624120505.544-0800|R|I|Q1056481505544|||||RES
QRF|MEDICAL|||HeartRate~RR/BR|1310A||||^&1^^20030624115000-0800^20030624115002-0800
PID|1|GA003560|GA003560
OBR|1|||VITALS^Vital Signs^WAP|||20030624115001.000-0800
OBX|1|ST|Heart Rate^Heart Rate^WAP||80.0|^BPM||||||||20030624115000.000-0800
OBX|2|ST|RR/BR^RR/BR^WAP||20.0|^Br/M||||||||20030624115000.000-0800
OBR|2|||VITALS^Vital Signs^WAP|||20030624115002.000-0800
OBX|1|ST|Heart Rate^Heart Rate^WAP||80.0|^BPM||||||||20030624115001.000-0800
OBX|2|ST|RR/BR^RR/BR^WAP||20.0|^Br/M||||||||20030624115001.000-0800