Segments
112 segments in HL7 v2.3
§2.5.2 Segments and Segment Groups:Segments are the building blocks of HL7 messages. Each segment is a logical grouping of related data fields, identified by a three-character code (e.g., MSH, PID, OBR). Segments can be required, optional, or repeating within a message structure.
ACC
Accident
6 fields•Used in 26 structures
ADD
Addendum
1 field
AIG
Appointment Information - General Resource
14 fields•Used in 26 structures
AIL
Appointment Information - Location Resource
12 fields•Used in 26 structures
AIP
Appointment Information - Personnel Resource
12 fields•Used in 26 structures
AIS
Appointment Information - Service
10 fields•Used in 26 structures
AL1
Patient allergy information
6 fields•Used in 36 structures
APR
Appointment Preferences
5 fields•Used in 11 structures
ARQ
Appointment Request
23 fields•Used in 11 structures
AUT
Authorization Information
10 fields•Used in 16 structures
BHS
Batch header
12 fields
BLG
Billing Segment
3 fields•Used in 4 structures
BTS
Batch trailer segment
3 fields
CDM
Charge Description Master
13 fields•Used in 1 structure
CM0
Clinical Study Master
11 fields•Used in 2 structures
CM1
Clinical Study Phase Master
3 fields•Used in 2 structures
CM2
Clinical Study Schedule Master
4 fields•Used in 2 structures
CSP
Clinical Study Phase
4 fields•Used in 14 structures
CSR
Clinical Study Registration
16 fields•Used in 14 structures
CSS
Clinical Study Data Schedule
3 fields•Used in 4 structures
CTD
Contact Data
7 fields•Used in 29 structures
CTI
Clinical Trial Identification
3 fields•Used in 7 structures
DB1
Disability Segment
8 fields•Used in 36 structures
DG1
Diagnosis
19 fields•Used in 63 structures
DRG
Diagnosis Related Group
10 fields•Used in 31 structures
DSC
Continuation pointer segment
1 field•Used in 26 structures
DSP
Display Data
5 fields•Used in 6 structures
EQL
Embedded Query Language
4 fields•Used in 1 structure
ERQ
Event Replay Query
3 fields•Used in 2 structures
ERR
Error
1 field•Used in 139 structures
EVN
Event type
6 fields•Used in 70 structures
FAC
Facility
12 fields•Used in 1 structure
FHS
File Header
12 fields
FT1
Financial transaction
25 fields•Used in 1 structure
FTS
File Trailer
2 fields
GOL
Goal Detail
21 fields•Used in 16 structures
GT1
Guarantor
55 fields•Used in 31 structures
Hxx
any HL7 segment
0 fields•Used in 2 structures•Wildcard
IN1
Insurance
49 fields•Used in 30 structures
IN2
Insurance Additional Information
72 fields•Used in 30 structures
IN3
Insurance Additional Information, Certification
25 fields•Used in 30 structures
LCC
Location Charge Code
4 fields•Used in 1 structure
LCH
Location Characteristic
5 fields•Used in 1 structure
LDP
Location Department
11 fields•Used in 1 structure
LOC
Location Identification
8 fields•Used in 1 structure
LRL
Location Relationship
6 fields•Used in 1 structure
MFA
Master File Acknowledgment
5 fields•Used in 6 structures
MFE
Master File Entry
4 fields•Used in 11 structures
MFI
Master File Identification
6 fields•Used in 17 structures
MRG
Merge patient information
7 fields•Used in 20 structures
MSA
Message Acknowledgment
6 fields•Used in 162 structures
MSH
Message Header
19 fields•Used in 335 structures
NCK
System Clock
1 field
NK1
Next of kin
37 fields•Used in 39 structures
NPU
Bed status update
2 fields•Used in 1 structure
NSC
STATUS CHANGE
8 fields
NST
Statistics
15 fields
NTE
Notes and Comments
3 fields•Used in 97 structures
OBR
Observation Request
43 fields•Used in 38 structures
OBX
Observation/Result
17 fields•Used in 113 structures
ODS
Dietary orders, supplements, and preferences
4 fields•Used in 4 structures
ODT
Diet Tray Instructions
3 fields•Used in 4 structures
OM1
General - fields that apply to most observations
47 fields•Used in 5 structures
OM2
Numeric observation
10 fields•Used in 2 structures
OM3
Categorical test/observation
7 fields•Used in 2 structures
OM4
Observations that require specimens
14 fields•Used in 3 structures
OM5
Observation batteries
3 fields•Used in 1 structure
OM6
Observations that are calculated from other observations
2 fields•Used in 1 structure
ORC
Common Order
19 fields•Used in 43 structures
PCR
Possible Causal Relationship
23 fields•Used in 2 structures
PD1
Patient Demographic
12 fields•Used in 71 structures
PDC
Product Detail Country
15 fields•Used in 1 structure
PEO
Product Experience Observation
25 fields•Used in 2 structures
PES
Product Experience Sender
13 fields•Used in 2 structures
PID
Patient Identification
30 fields•Used in 176 structures
PR1
Procedures
15 fields•Used in 27 structures
PRA
Practitioner Detail
7 fields•Used in 1 structure
PRB
Problem Detail
25 fields•Used in 18 structures
PRC
Pricing
18 fields•Used in 1 structure
PRD
Provider Data
9 fields•Used in 29 structures
PSH
Product Summary Header
14 fields•Used in 1 structure
PTH
Pathway
6 fields•Used in 16 structures
PV1
Patient visit
52 fields•Used in 137 structures
PV2
Patient visit - additional information
37 fields•Used in 105 structures
QAK
Query Acknowledgement
2 fields•Used in 8 structures
QRD
Query definition segment
12 fields•Used in 34 structures
QRF
Query filter segment
9 fields•Used in 29 structures
RDF
Table Row Definition
2 fields•Used in 3 structures
RDT
Table Row Data
1 field•Used in 1 structure
RF1
Referral Information Segment
11 fields•Used in 16 structures
RGS
Resource Group
3 fields•Used in 26 structures
ROL
Role
8 fields•Used in 31 structures
RQ1
Requisition Detail-1
7 fields•Used in 4 structures
RQD
Requisition detail
10 fields•Used in 5 structures
RXA
Pharmacy administration segment
22 fields•Used in 10 structures
RXC
Pharmacy component order segment
6 fields•Used in 11 structures
RXD
Pharmacy dispense segment
24 fields•Used in 2 structures
RXE
Pharmacy encoded order segment
30 fields•Used in 10 structures
RXG
Pharmacy give segment
22 fields•Used in 2 structures
RXO
Pharmacy/Treatment Order
22 fields•Used in 9 structures
RXR
Pharmacy route segment
4 fields•Used in 19 structures
SCH
Schedule Activity Information
25 fields•Used in 15 structures
SPR
Stored Procedure Request Definition
4 fields•Used in 1 structure
STF
Staff identification segment
26 fields•Used in 1 structure
TXA
Document notification segment
23 fields•Used in 12 structures
UB1
UB82 data
23 fields•Used in 13 structures
UB2
UB92 data
17 fields•Used in 13 structures
URD
Results/update Definition
7 fields•Used in 1 structure
URS
Unsolicited Selection
9 fields•Used in 1 structure
VAR
Variance
6 fields•Used in 16 structures
VTQ
Virtual Table Query Request
5 fields•Used in 1 structure
Zxx
any Z-Segment
0 fields•Wildcard