HL7 Ref Guide2.5.1
HL7 Ref Guide2.5.1
v2.5
SPECIFICATION
GUIDE
www.corepointhealth.com
HL7@corepointhealth.com
HL7 Standard
Introduction
This is an update to the Corepoint Health HL7 Reference Guide that includes
HL7 V2.5.
Please continue to use the HL7 Reference Guide, Second Edition, for a
complete overview of HL7 and industry best practices.
Read current insights and commentary about HL7 at www.HL7Standards.com
or the HL7 Resource Center at www.corepointhealth.com.
Thank you for your support and participation in the HL7 community!
The HL7 v2.x specification is a complex specification, defining required and optional
message ingredients for every HL7 message. Starting at chapter 2, each chapter of the
HL7 standard defines the ingredients that can be used when creating HL7 messages
for a specific healthcare problem area (i.e. patient tracking, orders, results, etc.).
The HL7 v2.5 specification is over 1500 pages long. To avoid duplication of data within
the specification, references are made to information previously defined, making the
specification easier to keep updated, but harder to read.
It is difficult to gain the big picture of HL7 by reading the specification. Therefore,
training is recommended as the most effective way to learn HL7. Visit the NeoTool
website for information on HL7 training.
Due to the varying nature of information exchanged within an HL7 message, HL7 messages have been defined with many levels of information. In the HL7 v2.x standard:
Real
world events are represented as triggers
Triggers
are modeled as messages
Messages
are built using segments
Segments
are built of fields
Fields
are built of components/data
HL7 Version 2.5 introduces a number of new events, segments and messages, as well
as a significantly expanded chapter on Control. Version 2.5 is more consistent and
supports more functionality than any of the previous versions.
NOTE: Only voting members can download final specifications of the latest HL7 version from www.hl7.org.
To get a copy of an approved HL7 Specification, you must purchase it from HL7.
1. Join the HL7 organization!
Members get discounts. HL7 specifications cost $25 - $250.
2. Non-member copies of HL7 specifications cost $450 - $700.
w w w . c o r e p o i n t h e a lt h . c o m
HL7 Standard
HL7 Standard
Message
Description
Message
Description
MDM
ACK
General acknowledgement
MFD
ADR
ADT response
MFK
ADT
ADT message
MFN
ARD
MFQ
BAR
MFR
BPS
NMD
BRP
NMQ
BRT
NMR
BTS
OMB
CNQ
OMD
Dietary order
CRM
OMG
CSU
OMI
Imaging order
DFT
OML
Laboratory order
DOC
Document response
OMN
DSR
Display response
OMP
Pharmacy/treatment order
EAC
OMS
EAN
ORB
EAR
ORD
EDR
ORF
EQQ
ORG
ERP
ORI
ESR
ORL
ESU
ORM
Order (Pharmacy/treatment)
INR
ORN
INU
ORP
LSR
ORR
LSU
ORS
MCF
ORU
OSQ
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
HL7 Standard
HL7 Standard
Message
Description
Message
Description
OSR
RER
OUL
RGR
PEX
Product experience
RGV
Pharmacy/treatment give
PGL
Patient goal
ROR
PIN
RPA
PMU
RPI
PPG
RPL
PPP
RPR
PPR
Patient problem
RQA
PPT
RQC
PPV
RQI
PRM
RQP
PRR
RQQ
PTR
RRA
QBP
Query by parameter
RRD
QCK
Deferred query
RRE
QCN
Cancel query
RRG
QRY
RRI
QSB
Create subscription
RSP
QSX
Cancel subscription/acknowledge
RTB
Tabular response
QVR
SIU
RAR
SPQ
RAS
Pharmacy/treatment administration
SQM
Schedule query
RCI
SQR
RCL
SRM
Schedule request
RDE
SRR
RDR
SSR
RDS
Pharmacy/treatment dispense
SSU
RDY
SUR
REF
Patient referral
TBR
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
HL7 Standard
HL7 Standard
Message
Description
Event
Description
TCR
A16
TCU
A17
UDM
VQQ
A18
VXQ
A19
VXR
A20
VXU
A21
VXX
A22
Any Z message event type (e.g., ZZZ, ZXX, etc.) is site or vendor defined.
See local or vendor documents for details.
A23
A24
A25
A26
A27
A28
A29
A30
A31
A32
A33
Description
A01
A02
A03
A04
A05
A06
A07
A08
A09
A10
A37
A11
A38
A12
A13
A14
A40
A15
A41
A34
A35
A36
A39
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
HL7 Standard
HL7 Standard
Event
Description
Event
Description
A42
C04
A43
C05
A44
C06
A45
C07
C08
C09
C10
C11
C12
CNQ
I01
I02
I03
I04
I05
I06
I07
I08
I09
I10
I11
I12
I13
I14
I15
J01
J02
K11
K13
K15
A46
A47
A48
A49
A50
A51
A52
A53
A54
A55
A60
A61
A62
B01
B02
B03
B04
B05
B06
B07
B08
C01
C02
CRM - Cancel a patient registration on clinical trial (for clerical mistakes only)
C03
10
11
HL7 Standard
HL7 Standard
Event
Description
Event
Description
K21
O09
K22
O10
K23
O11
K24
O12
K25
O13
M01
O14
M02
O15
M03
O16
M04
O17
M05
O18
M06
O19
M07
MFN/MFK - Clinical study without phases but with schedules master file
O20
M08
O21
M09
O22
M10
O23
M11
O24
M12
O25
M13
O26
M14
O27
M15
O28
N01
O29
N02
O30
O01
O31
O02
O32
O03
O33
O04
O34
O05
O06
O35
O07
O08
O36
ORL - Laboratory order response for multiple orders related to a single container
of a specimen OML
12
13
HL7 Standard
HL7 Standard
Event
Description
Event
Description
P01
PCK
P02
PCL
P03
Q01
P04
Q02
P05
Q03
P06
Q04
P07
Q05
P08
Q06
P09
Q07
P10
Q08
P11
Q09
P12
Q11
PC1
Q13
PC2
Q15
PC3
Q16
PC4
Q17
PC5
Q21
PC6
Q22
PC7
Q23
PC8
Q24
PC9
Q25
PCA
Q26
PCB
Q27
PCC
Q28
PCD
Q29
PCE
Q30
PCF
R01
PCG
R02
PCH
R03
PCJ
14
15
HL7 Standard
HL7 Standard
Event
Description
Event
Description
R04
S12
R05
S13
R06
S14
R07
S15
R08
S16
R09
S17
R21
S18
R22
S19
R23
S20
R24
S21
R30
ORU - Unsolicited point-of-care observation message without existing order place an order
S22
S23
R31
S24
R32
S25
RAR
S26
SIU/ACK - Notification that patient did not show up for scheduled appointment
RDR
T01
RER
T02
RGR
T03
ROR
T04
S01
T05
S02
T06
S03
T07
S04
T08
S05
T09
S06
T10
S07
T11
S08
T12
S09
U01
S10
U02
S11
U03
16
17
HL7 Standard
HL7 Standard
Event
Description
Segment
Description
Chapter
U04
AIS
10
U05
AL1
U06
APR
Appointment Preferences
10
U07
ARQ
Appointment Request
10
U08
AUT
Authorization Information
11
U09
BHS
Batch Header
U10
BLC
Blood Code
U11
BLG
Billing
U12
BPO
U13
BPX
V01
BTS
Batch Trailer
V02
BTX
V03
CDM
V04
CER
Certificate Detail
15
Varies
CM0
7,8
W01
CM1
7,8
W02
CM2
7,8
Any Z event type (e.g., Z01, ZXX, etc.) is site or vendor defined. See local or vendor
documents for details.
CNS
Clear Notification
13
CON
Consent
CSP
CSR
CSS
CTD
Contact Data
11
CTI
DB1
Disability
DG1
Diagnosis
DRG
DSC
Continuation Pointer
DSP
Display Data
ECD
Equipment Command
13
HL7 SEGMENTS
Segment
Description
Chapter
ABS
Abstract
ACC
Accident
ADD
Addendum
AFF
Professional Affiliation
15
AIG
10
AIL
10
AIP
10
w w w . c o r e p o i n t h e a lt h . c o m
18
19
HL7 Standard
HL7 Standard
Segment
Description
Chapter
Segment
Description
Chapter
ECR
13
MFA
EDU
Educational Detail
15
MFE
EQL
MFI
EQP
Equipment/Log Service
13
MRG
EQU
Equipment Detail
13
MSA
Message Acknowledgment
ERQ
MSH
Message Header
ERR
Error
NCK
System Clock
14
EVN
Event Type
NDS
Notification Detail
13
FAC
Facility
NK1
FHS
File Header
NPU
FT1
Financial Transaction
NSC
14
FTS
File Trailer
NST
14
GOL
Goal Detail
12
NTE
GP1
Grouping/Reimbursement - Visit
OBR
Observation Request
4,7
GP2
OBX
Observation / Result
7,9
GT1
Guarantor
ODS
IAM
ODT
IIM
OM1
IN1
Insurance
OM2
Numeric Observation
IN2
OM3
Categorical Service/Test/Observation
IN3
OM4
INV
Inventory Detail
13
OM5
IPC
OM6
ISD
13
OM7
LAN
Language Detail
15
LCC
ORC
Common Order
LCH
Location Characteristic
ORG
15
LDP
Location Department
OVR
Override
PCR
PD1
PDA
LOC
Location Identification
LRL
Location Relationship
w w w . c o r e p o i n t h e a lt h . c o m
20
21
HL7 Standard
HL7 Standard
Segment
Description
Chapter
Segment
Description
Chapter
PDC
RXD
Pharmacy/Treatment Dispense
PEO
RXE
PES
RXG
Pharmacy/Treatment Give
PID
Patient Identification
RXO
Pharmacy/Treatment Order
PR1
Procedures
RXR
Pharmacy/Treatment Route
PRA
Practitioner Detail
15
SAC
13
PRB
Problem Detail
12
SCH
10
PRC
Pricing
SFT
Software
PRD
Provider Data
11
SID
Substance Identifier
13
PSH
SPM
Specimen
PTH
Pathway
12
SPR
PV1
Patient Visit
STF
Staff Identification
15
PV2
TCC
13
QAK
Query Acknowledgment
TCD
13
QID
Query Identification
TQ1
Timing/Quantity
QPD
TQ2
QRD
TXA
QRF
UB1
UB82 Data
QRI
UB2
UB92 Data
RCP
URD
Results/Update Definition
RDF
URS
Unsolicited Selection
RDT
VAR
Variance
12
RF1
Referral Information
11
VTQ
RGS
Resource Group
10
RMI
ROL
Role
12,15
RQ1
Requisition Detail-1
RQD
Requisition Detail
RXA
Pharmacy/Treatment Administration
RXC
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
22
23
HL7 Standard
HL7 Standard
Type
Description
Sub-components
AD
Address
415
AUI
Authorization
information
239
CCD
28
CCP
Channel
calibration
parameters
20
CD
Channel
definition
581
Coded element
483
1. <identifier (ST)>^
2. <formatted text (FT)>^
3. <name of coding system (ID)>^
4. <alternate identifier (ST)>^
5. <alternate formatted text (FT)>^
6. <name of alternate coding system (ID)>
65536
CE
CF
Coded element
with formatted
values
Maximum
length
Type
Description
Sub-components
CK
Composite ID
with check digit
Withdrawn as of v2.5.
1. <ID number (NM)>^
2. <check digit (NM)>^
3. <code ID for chk digit schm (ID)>^
4. <assigning authority (HD)>
n/a
CM
Composite
n/a
CN
Composite ID
number and
name
n/a
CNE
Coded with no
exceptions
1. <identifier (ST)>^
2. <text (ST)>^
3. <name of coding system (ID)>^
4. <alternate identifier (ST)>^
5. <
alternate text (ST)>^
6. <name of alternate coding system (ID)>^
7. <coding system version ID (ST)>^
8. <alternate coding system version ID (ST)>^
9. <original text (ST)>
705
CNN
Composite ID
number and
name simplified
406
CP
Composite price
Replaces MO as of v2.3
1. <price (MO)>^
2. <price type (ID)>^
3. <from value (NM)>^
4. <to value (NM)>^
5. <
range units (CE)>^
6. <range type (ID)>
543
w w w . c o r e p o i n t h e a lt h . c o m
24
25
HL7 Standard
HL7 Standard
Maximum
length
Type
Description
Sub-components
1. <quantity (NM)>^
2. <units (CE)>
500
DLT
Delta
45
490
DR
Date/time range
53
DT
Date
YYYY[MM[DD]]
DTM
Date/time
705
YYYY[MM[DD[HH[MM[SS[.S[S[S[S]]]]]]]]][+/ZZZZ]
24
1. <identifier (ST)>^
2. <text (ST)>^
3. <name of coding system (ID)>^
4. <alternate identifier (ST)>^
5. <alternate text (ST)>^
6. <name of alternate coding system (ID)>^
7. <coding system version ID (ST)>^
8. <alternate coding system version ID (ST)>^
9. <original text (ST)>
DTN
ED
Encapsulated
data
65536
1913
EI
Entity identifier
427
EIP
Entity identifier
pair
855
ELD
493
ERL
Error location
1. <segment ID (ST)>^
2. <segment sequence (NM)>^
3. < field position (NM)>^
4. < field repetition (NM)>^
5. <component number (NM)>^
6. <sub-component number (NM)>
18
FC
Financial class
47
Type
Description
Sub-components
CQ
Composite
quantity with
units
CSU
Channel
sensitivity
CWE
CX
Coded with
exceptions
Extended
composite ID
with check digit
DDI
Daily deductible
information
25
DIN
Date and
institution name
510
DLD
Discharge to
location and date
47
DLN
Drivers license
number
66
Maximum
length
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
26
27
HL7 Standard
HL7 Standard
Maximum
length
Type
Description
Sub-components
194
LA2
Location with
address variation
2
790
Formatted text
data
65536
GTS
General timing
specification
199
HD
Hierarchic
designator
1. <namespace ID (IS)>^
2. <universal ID (ST)>^
3. <universal ID type (ID)>
227
ICD
Insurance
certification
definition
40
MA
Multiplexed array
65536
ID
Coded value
Varies
IS
Coded value
20
JCC
Job code/class
292
LA1
Location with
address variation
1
790
MO
Money
1. <quantity (NM)>^
2. <denomination (ID)>
20
MOC
Money and
charge code
504
MOP
Money or
percentage
23
MSG
Message type
15
Type
Description
Sub-components
FN
Family name
FT
Maximum
length
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
28
29
HL7 Standard
HL7 Standard
Maximum
length
Type
Description
Sub-components
65536
PIP
Practitioner
institutional
privileges
1413
PL
Person location
835
1230
PLN
Practitioner
license or other
ID number
101
PN
Person name
n/a
Type
Description
Sub-components
NA
Numeric array
NDL
NM
Numeric
Numeric
16
NR
Numeric range
33
OCD
Occurrence code
and date
714
OSD
Order sequence
definition
110
723
OSP
Occurrence span
code and date
Maximum
length
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
30
31
HL7 Standard
HL7 Standard
Maximum
length
Type
Description
Sub-components
2993
RFR
Reference range
352
RI
Repeat interval
206
RMC
Room coverage
82
RP
Reference pointer
1. <pointer (ST)>^
2. <application ID (HD)>^
3. <type of data (ID)>^
4. <subtype (ID)>
273
RPT
Repeat pattern
284
SAD
Street address
184
SCV
Scheduling class
value pair
41
SI
Sequence ID
SN
Structured
numeric
1. <comparator (ST)>^
2. <num1 (NM)>^
3. <separator/suffix (ST)>^
4. <num2 (NM)>
36
Type
Description
Sub-components
PPN
Performing
person time
stamp
PRL
755
PT
Processing type
1. <processing ID (ID)>^
2. <processing mode (ID)>
PTA
56
QIP
Query input
parameter list
212
QSC
Query selection
criteria
219
Row column
definition
19
RCD
Maximum
length
32
33
HL7 Standard
HL7 Standard
Maximum
length
Type
Description
Sub-components
112
UVC
UB value code
and amount
41
VH
Visiting hours
41
4436
VID
Version identifier
1. <version ID (ID)>^
2. <internationalization code (CE)>^
3. <
international version ID (CE)>
973
VR
Value range
13
WVI
Channel identifier
22
WVS
Waveform source
17
XAD
Extended
address
631
Type
Description
Sub-components
SPD
Specialty
description
SPS
Specimen source
SRT
Sort order
15
ST
String
199
TM
Time
HH[MM[SS[.S[S[S[S]]]]]][+/-ZZZZ]
16
TN
Telephone
number
N/A
Timing/
quantity
1545
TQ
WARNING:
CQ cannot be
implemented
as it contains
a CE w/ no
sub-subcomponent.
To use TQ, leave
off
2 & 3.
TS
Time stamp
1. <time (DTM)>^
2. <degree of precision (ID)>
Format: YYYY[MM[DD
[HH[MM[SS[.S[S[S[S]]]]]]]]][+/-ZZZZ]^<degree
of precision>
26
TX
Text data
65536
Maximum
length
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
34
35
HL7 Standard
Maximum
length
Type
Description
Sub-components
3002
XPN
Extended person
name
1103
XTN
Extended
telecommunication number
850
567
Type
Description
Sub-components
XCN
Extended
composite ID
number and
name for persons
XON
Extended
composite name
and identification
number for
organizations
Maximum
length
w w w . c o r e p o i n t h e a lt h . c o m
w w w . c o r e p o i n t h e a lt h . c o m
Meeting standards.
Setting new ones.
Corepoint Integration Engine
Ranked #1 by KLAS for 2009 & 2010.
Interface Engines Market Segment, Top 20 Best in KLAS Awards:
Software & Professional Services Report.
2010 KLAS Enterprises, LLC. All rights reserved.
www.KLASresearch.com
Follow us at:
@corepointhealth
facebook.com/corepointhealth
linkedin