Z89
Lab Results History
To retrieve patient laboratory results information from the Server.
The "Lab Results History" query returns laboratory results information in the form of the Segment Pattern Response corresponding to the ORU^R01 – unsolicited transmission of an observation message. It returns all of the results which meet the criteria defined in the QPD – Query Parameter Definition Segment of the RSP^R11 – Segment Pattern Response message.
QPD Input Parameter Specification
Query/Response Flow
Input Fields
QPD
VIRTUAL
| Seq | Field Name | Type | Opt | Rep | Len | K/S | Sort | Op | Table | Segment Field |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | PatientList PID-3: Patient Identifier List | CX | O | 20 | S | Y | PID.3 | |||
| 2 | ResultReportTime.LL OBR-22: Results rpt/status chng – date/time – lower limit | DTM | O | 26 | - | OBR.22 | ||||
| 3 | ResultReportTime.UL OBR-22: Results rpt/status chng – date/time – upper limit | DTM | O | 26 | - | OBR.22 | ||||
| 4 | LabDept OBR-24: Diagnostic Serv Sect ID | CWE | O | * | 80 | - | 74 | OBR.24 | ||
| 5 | LOINCCode OBX-3-4: Observation identifier – alternate identifier | CWE | O | * | 80 | - | OBX.3.4 |
Message Structures
8 segments
R RequiredO Optional Choice
MSH
R1ARV
O*SFT
O*UAC
O1QPD
R1QBP
O1Hxx
O1RCP
R1DSC
O125 segments
R RequiredO Optional Choice
MSH
R1SFT
O*UAC
O1MSA
R1ERR
O1QAK
R1QPD
R1RCP
R1PATIENT
O1PID
R1PD1
O1NK1
O*NTE
O*VISIT
O1PV1
R1PV2
O1COMMON_ORDER
R*ORC
R1TIMING
O*TQ1
R1TQ2
O*OBR
R1NTE
O*CTD
O1OBSERVATION
R*OBX
O1NTE
O*SPECIMEN
O*SPM
R1OBX
O*DSC
R1Query Properties
Query Mode
BothSegment Pattern
ORU_O01Query Characteristics
May specify patient, report time, laboratory department, and LOINC code of result to be returned.
Response Control Parameters (RCP)
| Seq | Name | Component | Type | Len | Description |
|---|---|---|---|---|---|
| 1 | Query Priority | - | ID | 1 | (D)eferred or (I)mmediate. Default is I. |
| 2 | Quantity Limited Request | - | CQ | 10 | - |
| ↳Quantity | NM | - | Number of units (specified by the following component) that will be returned in each increment of the response. If no value is given, the entire response will be returned in a single increment. | ||
| ↳Units | CWE | - | CHaracters, LInes, PaGes, or RecorDs. Default is LI. | ||
| 5 | Response Modality | - | CWE | 60 | Real time or Batch. Default is R. |
| 6 | Segment group inclusion | - | ID | 256 | What segment group(s) are to be included. If this field is not valued, all segment groups will be included. |