TEG® Analytical Software
HL7 Interface Specifications Document
Overview............................................................................................................................. 2
TEG® HL7 formatted message ...................................................................................... 2
Communication protocol ................................................................................................ 2
Common lab setup .......................................................................................................... 2
Acknowledgement Message ........................................................................................... 2
MSH Segment..................................................................................................................... 2
PID segment........................................................................................................................ 3
OBR Segment ..................................................................................................................... 4
OBX Segment ..................................................................................................................... 6
OBX implementation - V4.2.3............................................................................................ 7
OBX implementation - 4.3 and later................................................................................... 8
MSA segment...................................................................................................................... 9
TEG HL7 Message Sample .............................................................................................. 10
TEG HL7 Interface Data Types........................................................................................ 12
Haemoscope Corp Page 1 of 13
8/12/2008
Overview
TEG® HL7 formatted message
Each HL7 formatted record consists of a number of HL7 segments. The implementation
of each segment is described in the subsequent sections of this document. Specifically, a
formatted record shall consist of a single MSH segment, single PID segment, single OBR
segment, and a number of OBX segments, respectively.
Communication protocol
A minimal HL7 lower level protocol is used. Each HL7 message is enclosed as follows
<VT>…..<FS><CR>. HL7 formatted data is inserted between <VT> and the <FS>.
Common lab setup
The TEG® 5000 analyzer connects to an A/D box via a serial interface RS232, the A/D
box in turn connects to a computer via a serial RS232 interface. The TEG Analytical
Software reads and stores the results that are generated by the TEG 5000 analyzer.
If the software is activated for the LIS/HIS, the textual results which include patient and
sample identifying information as well as sample results (no graphical data) are
transferred to the LIS/HIS via TCP/IP upon sample termination (completion). The
message format uses HL7.
Acknowledgement Message
The checking of successful upload is done through acknowledgment from the server. The
ACK will have to be generated from the server upon successful receipt of the message.
The ACK will need to provide the Message Control ID and be in the HL7 format. See
“MSA Segment” section for more information.
MSH Segment
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
1 1 ST R Field Separator Implemented ASCII 124
2 4 ST R Encoding Characters Implemented ASCII 94, 126, 92, and 38,
respectively
3 180 HD O Sending Application Implemented TEG Hemostasis Analyzer
4 180 HD O Sending Facility Not
implemented
5 180 HD O Receiving Application Not
implemented
6 180 HD O Receiving Facility Not
implemented
7 26 TS R Date/Time Of Message Implemented YYYYMMDDhhmmss
8 40 ST O Security Not
implemented
9 13 CM R Message Type Implemented ORU^R01
10 20 ST R Message Control ID Implemented Numeric (ex. 100001) Resets
upon reloading of the software
Haemoscope Corp Page 2 of 13
8/12/2008
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
11 3 PT R Processing ID Implemented P
12 60 VID R Version ID Implemented 2.1
13 15 NM O Sequence Number Not
implemented
14 180 ST O Continuation Pointer Not
implemented
15 2 ID O Accept Acknowledgment Not
Type implemented
16 2 ID O Application Not
Acknowledgment Type implemented
17 3 ID O Country Code Not
implemented
18 16 ID O Character Set Not
implemented
19 250 CE O Principal Language Of Not
Message implemented
20 20 ID O Alternate Character Set Not
Handling Scheme implemented
21 10 ID O Conformance Statement Not
ID implemented
PID segment
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
1 4 SI O Set ID - PID Not
implemented
2 20 CX B Patient ID Not
implemented
3 250 CX R Patient Identifier List Implemented
4 20 CX B Alternate Patient ID - PID Not
implemented
5 250 XPN R Patient Name Implemented Last name^First name^Middle
initial
6 250 XPN O Mother’s Maiden Name Not
implemented
7 26 TS O Date/Time of Birth Not
implemented
8 1 IS O Administrative Sex Not
implemented
9 250 XPN B Patient Alias Not
implemented
10 250 CE O Race Not
implemented
11 250 XAD O Patient Address Not
implemented
12 4 IS B County Code Not
implemented
13 250 XTN O Phone Number - Home Not
implemented
14 250 XTN O Phone Number - Business Not
implemented
15 250 CE O Primary Language Not
implemented
16 250 CE O Marital Status Not
implemented
17 250 CE O Religion Not
implemented
Haemoscope Corp Page 3 of 13
8/12/2008
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
18 250 CX O Patient Account Number Not
implemented
19 16 ST B SSN Number - Patient Not
implemented
20 25 DLN O Driver's License Number - Not
Patient implemented
21 250 CX O Mother's Identifier Not
implemented
22 250 CE O Ethnic Group Not
implemented
23 250 ST O Birth Place Not
implemented
24 1 ID O Multiple Birth Indicator Not
implemented
25 2 NM O Birth Order Not
implemented
26 250 CE O Citizenship Not
implemented
27 250 CE O Veterans Military Status Not
implemented
28 250 CE B Nationality Not
implemented
29 26 TS O Patient Death Date and Not
Time implemented
30 1 ID O Patient Death Indicator Not
implemented
31 1 ID O Identity Unknown Indicator Not
implemented
32 20 IS O Identity Reliability Code Not
implemented
33 26 TS O Last Update Date/Time Not
implemented
34 40 HD O Last Update Facility Not
implemented
35 250 CE C Species Code Not
implemented
36 250 CE C Breed Code Not
implemented
37 80 ST O Strain Not
implemented
38 250 CE O Production Class Code Not
implemented
OBR Segment
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
1 4 SI O Set ID - OBR Implemented
2 22 EI C Placer Order Number Not
implemented
3 22 EI C Filler Order Number Not
implemented
4 250 CE R Universal Service Identifier Not
implemented
5 2 ID B Priority - OBR Not
implemented
6 26 TS B Requested Date/Time Not
implemented
7 26 TS C Observation Date/Time # Implemented YYYYMMDDhhmmss
Haemoscope Corp Page 4 of 13
8/12/2008
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
8 26 TS O Observation End Date/Time # Implemented YYYYMMDDhhmmss
9 20 CQ O Collection Volume * Not
implemented
10 250 XCN O Collector Identifier * Not
implemented
11 1 ID O Specimen Action Code * Not
implemented
12 250 CE O Danger Code Not
implemented
13 300 ST O Relevant Clinical Information Not
implemented
14 26 TS C Specimen Received Date/Time Not
* implemented
15 300 CM O Specimen Source Implemented Site ID field
16 250 XCN O Ordering Provider Not
implemented
17 250 XTN O Order Callback Phone Number Not
implemented
18 60 ST O Placer Field 1 Not
implemented
19 60 ST O Placer Field 2 Not
implemented
20 60 ST O Filler Field 1 + Not
implemented
21 60 ST O Filler Field 2 + Not
implemented
22 26 TS C Results Rpt/Status Chng - Not
Date/Time + implemented
23 40 CM O Charge to Practice + Not
implemented
24 10 ID O Diagnostic Serv Sect ID Not
implemented
25 1 ID C Result Status + Not
implemented
26 400 CM O Parent Result + Not
implemented
27 200 TQ O Quantity/Timing Not
implemented
28 250 XCN O Result Copies To Not
implemented
29 200 CM O Parent Not
implemented
30 20 ID O Transportation Mode Not
implemented
31 250 CE O Reason for Study Not
implemented
32 200 CM O Principal Result Interpreter + Implemented Interpretation reported by
field
33 200 CM O Assistant Result Interpreter + Not
implemented
34 200 CM O Technician + Implemented Operator ID field
35 200 CM O Transcriptionist + Not
implemented
36 26 TS O Scheduled Date/Time + Not
implemented
37 4 NM O Number of Sample Containers Not
* implemented
38 250 CE O Transport Logistics of Not
Collected Sample * implemented
Haemoscope Corp Page 5 of 13
8/12/2008
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
39 250 CE O Collector’s Comment * Not
implemented
40 250 CE O Transport Arrangement Not
Responsibility implemented
41 30 ID O Transport Arranged Not
implemented
42 1 ID O Escort Required Not
implemented
43 250 CE O Planned Patient Transport Not
Comment implemented
44 250 CE O Procedure Code Not
implemented
45 250 CE O Procedure Code Modifier Not
implemented
46 250 CE O Placer Supplemental Service Not
Information implemented
47 250 CE O Filler Supplemental Service Not
Information implemented
OBX Segment
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
1 4 SI O Set ID - OBX Implemented
2 2 ID C Value Type Implemented Always ST
3 250 CE R Observation Identifier Implemented
4 20 ST C Observation Sub-ID Implemented Always 1
5 65536 * C Observation Value Implemented
6 250 CE O Units Implemented Reported for test results only
(see OBX implementation)
7 60 ST O References Range Implemented Reported for test results only
(see OBX implementation)
8 5 IS O Abnormal Flags Implemented Reported for test results only
(see OBX implementation)
9 5 NM O Probability Not
implemented
10 2 ID O Nature of Abnormal Not
Test implemented
11 1 ID R Observation Result Implemented Reported for test results only
Status (see OBX implementation)
12 26 TS O Date Last Observation Not
Normal Value implemented
13 20 ST O User Defined Access Not
Checks implemented
14 26 TS O Date/Time of the Not
Observation implemented
15 250 CE O Producer's ID Not
implemented
16 250 XCN O Responsible Observer Not
implemented
17 250 CE O Observation Method Not
implemented
18 22 EI O Equipment Instance Not
Identifier implemented
19 26 TS O Date/Time of the Not
Analysis implemented
Haemoscope Corp Page 6 of 13
8/12/2008
OBX implementation - V4.2.3
|1| Channel number
|2| Sample description
|3| Sample type
|4| Ordered by
|5| Interpretation reported
|6| Temperature
|7| Interpretation date
|8| Surgeon
|9| Anesthesiologist
|10| Pathologist
|11| Hemotologist
|12| Perfusionist
|13| Cardiologist
|14| Procedure name
|15| Comment
|16| Flag 1
|17| Flag 2
|18| Flag 3
|19| R (19 - 39 are test results)
|20| K
|21| Angle
|22| MA
|23| PMA
|24| G
|25| PG
|26| EPL
|27| A
|28| CI
|29| A30
|30| CL30
|31| LY30
|32| A60
|33| CL60
|34| LY60
|35| CLT
|36| SP
|37| TPI
|38| TMA
|39| E
Haemoscope Corp Page 7 of 13
8/12/2008
OBX implementation - 4.3 and later
|1| Channel number
|2| Sample description
|3| Sample type
|4| Ordered by
|5| Interpretation reported
|6| Specimen drawn date
|7| Specimen drawn time
|8| Temperature
|9| Interpretation date
|10| Surgeon
|11| Anesthesiologist
|12| Pathologist
|13| Hemotologist
|14| Perfusionist
|15| Cardiologist
|16| Procedure name
|17| Comment
|18| Flag 1
|19| Flag 2
|20| Flag 3
|21| R (21 - 41 are test results)
|22| K
|23| Angle
|24| MA
|25| PMA
|26| G
|27| PG
|28| EPL
|29| A
|30| CI
|31| A30
|32| CL30
|33| LY30
|34| A60
|35| CL60
|36| LY60
|37| CLT
|38| SP
|39| TPI
Haemoscope Corp Page 8 of 13
8/12/2008
|40| TMA
|41| E
MSA segment
SEQ LEN DT OPT ELEMENT NAME Implementation Notes
1 2 ID R Acknowledgment Code Implemented
2 20 ST R Message Control ID Implemented
3 80 ST O Text Message Not implemented
4 15 NM O Expected Sequence Number Not implemented
5 1 ID B Delayed Acknowledgment Type Not implemented
6 250 CE O Error Condition Not implemented
Haemoscope Corp Page 9 of 13
8/12/2008
TEG HL7 Message Sample
MSH|^~\&|TEG Hemostasis Analyzer||||20030814130826||ORU^R01|100001|P|2.1|
PID|||555-X||Doe^John^|
OBR|1||||||20020222175409|20020222183519|
OBX|1|ST|Channel number|1|1|
OBX|2|ST|Sample description|1|(abrogated platelets)|
OBX|3|ST|Sample type|1|K|
OBX|4|ST|Ordered by|1|
OBX|5|ST|Interpretation reported|1|Reported|
OBX|6|ST|Temperature|1|37|degrees Celsius|
OBX|7|ST|Interpretation date|1|
OBX|8|ST|Surgeon|1|Dr. Smith|
OBX|9|ST|Anesthesiologist|1|Dr. Frank|
OBX|10|ST|Pathologist|1|Rick Smith|
OBX|11|ST|Hemotologist|1|Bob Smith|
OBX|12|ST|Perfusionist|1|Joe Smith|
OBX|13|ST|Cardiologist|1|Mike Smith|
OBX|14|ST|Procedure name|1|Some procedure|
OBX|15|ST|Comment|1|
OBX|16|ST|Flag 1|1|
OBX|17|ST|Flag 2|1|T|
OBX|18|ST|Flag 3|1|
OBX|19|ST|R|1|2.5|min|4 -- 8|
OBX|20|ST|K|1|1.3|min|1 -- 4|
OBX|21|ST|Angle|1|69.7|degrees|47 -- 74|
OBX|22|ST|MA|1|64.2|mm|55 -- 73|
OBX|23|ST|PMA|1|0.0|
OBX|24|ST|G|1|8,949.4|d/cm2|5,989 -- 13,182|
OBX|25|ST|PG|1|
OBX|26|ST|EPL|1|0|%|0 -- 15|Interim|
Haemoscope Corp Page 10 of 13
8/12/2008
OBX|27|ST|A|1|64.6|mm|
OBX|28|ST|CI|1|3.2||-3 -- 3|
OBX|29|ST|A30|1|64.4|mm||Interim|
OBX|30|ST|CL30|1|100.0|%|93 -- 100|Interim|
OBX|31|ST|LY30|1|0|%|0 -- 8|Interim|
OBX|32|ST|A60|1||mm|
OBX|33|ST|CL60|1||%|
OBX|34|ST|LY60|1||%|
OBX|35|ST|CLT|1|19.5|min||Interim|
OBX|36|ST|SP|1|2.0|min|
OBX|37|ST|TPI|1|33.6|/sec|32 -- 527|
OBX|38|ST|TMA|1|20.6|min|
OBX|39|ST|E|1|179.0|d/cm2|120 -- 264|
Haemoscope Corp Page 11 of 13
8/12/2008
TEG HL7 Interface Data Types
Field Format Example
Patient ID String (50char) P1034Z
Patient Last name String (50char) Anderson
Patient First name String (50char) Bob
Patient MI String (50char) K
Sample date Short date (system) 1/11/2001
Sample time start Short time (system) 11:12:02
Sample time end Short time (system) 11:12:02
Channel number Integer (2byte) 8
Sample description String (50char) baseline
Sample type String (50char) Kaolin
Site ID String (50char) OR-3
Operator ID String (50char) ER
Ordered By String (50char) Todd
Interpretation reported String (255char) hypercoagulable
Temperature Long (4bytes) 37
Interpretation reported
by String (50char) Bob
Interpretation date Short date (system) 1/11/2001
Surgeon String (50char) Joe Doe
Anesthesiologist String (50char) Rick Smith
Pathologist String (50char) Michael Smith
Hemotologist String (50char) Tom Doe
Perfusionist String (50char) Darek Smith
Cardiologist String (50char) Anna Doe
Procedure name String (50char) CABG
Comment String (Appx. 300 char) patient treated with anticoagulants
Flag 1 String (50char) Anything 1
Flag 2 String (50char) Anything 2
Flag 3 String (50char) Anything 3
Test Format Example
R Integer (2byte) 2.0
K Integer (2byte) 1.0
Angle Integer (2byte) 80.5
MA Integer (2byte) 49.0
PMA Integer (2byte) 0.0
G Long (4byte) 4800.0
PG Integer (2byte) 1.0
EPL Integer (2byte) 15.0
A Integer (2byte) 47.0
CI Integer (2byte) 0.5
A30 Integer (2byte) 49.0
CL30 Integer (2byte) 100.0
LY30 Integer (2byte) 8.0
A60 Integer (2byte) 49.0
CL60 Integer (2byte) 100.0
Haemoscope Corp Page 12 of 13
8/12/2008
LY60 Integer (2byte) 0.0
CLT Integer (2byte) 79.5
SP Integer (2byte) 2.0
TPI Integer (2byte) 1.0
TMA Integer (2byte) 16.0
E Integer (2byte) 96.0
Test properties Format Example
AbnormalFlags String (50char) Anything 4
Status String (50char) Interim
Range String (50char) .5 -- 13.7
Value String (50char) 10.0
Haemoscope Corp Page 13 of 13
8/12/2008