Segments
153 segments in HL7 v2.5.1
§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.
ABS
Abstract
14 fields•Used in 1 structure
ACC
Accident
11 fields•Used in 14 structures
ADD
Addendum
1 field
AFF
Professional Affiliation
5 fields•Used in 3 structures
AIG
Appointment Information - General Resource
14 fields•Used in 5 structures
AIL
Appointment Information - Location Resource
12 fields•Used in 5 structures
AIP
Appointment Information - Personnel Resource
12 fields•Used in 5 structures
AIS
Appointment Information
12 fields•Used in 5 structures
AL1
Patient Allergy Information
6 fields•Used in 33 structures
APR
Appointment Preferences
5 fields•Used in 2 structures
ARQ
Appointment Request
25 fields•Used in 2 structures
AUT
Authorization Information
10 fields•Used in 4 structures
BHS
Batch Header
12 fields
BLC
Blood Code
2 fields•Used in 1 structure
BLG
Billing
4 fields•Used in 10 structures
BPO
Blood product order
14 fields•Used in 6 structures
BPX
Blood product dispense status
21 fields•Used in 2 structures
BTS
Batch Trailer
3 fields
BTX
Blood Product Transfusion/Disposition
19 fields•Used in 2 structures
CDM
Charge Description Master
13 fields•Used in 2 structures
CER
Certificate Detail
31 fields•Used in 5 structures
CM0
Clinical Study Master
11 fields•Used in 4 structures
CM1
Clinical Study Phase Master
3 fields•Used in 2 structures
CM2
Clinical Study Schedule Master
4 fields•Used in 4 structures
CNS
Clear Notification
6 fields•Used in 1 structure
CON
Consent Segment
25 fields
CSP
Clinical Study Phase
4 fields•Used in 3 structures
CSR
Clinical Study Registration
16 fields•Used in 3 structures
CSS
Clinical Study Data Schedule Segment
3 fields•Used in 1 structure
CTD
Contact Data
7 fields•Used in 20 structures
CTI
Clinical Trial Identification
3 fields•Used in 16 structures
DB1
Disability
8 fields•Used in 20 structures
DG1
Diagnosis
21 fields•Used in 33 structures
DRG
Diagnosis Related Group
11 fields•Used in 18 structures
DSC
Continuation Pointer
2 fields•Used in 58 structures
DSP
Display Data
5 fields•Used in 7 structures
ECD
Equipment Command
5 fields•Used in 2 structures
ECR
Equipment Command Response
3 fields•Used in 1 structure
ED
Encapsulated Data (wrong segment)
0 fields•Used in 1 structure
EDU
Educational Detail
9 fields•Used in 3 structures
EQL
Embedded Query Language
4 fields•Used in 1 structure
EQP
Equipment/log Service
5 fields•Used in 1 structure
EQU
Equipment Detail
5 fields•Used in 11 structures
ERQ
Event replay query
3 fields•Used in 2 structures
ERR
Error
12 fields•Used in 60 structures
EVN
Event Type
7 fields•Used in 43 structures
FAC
Facility
12 fields•Used in 1 structure
FHS
File Header
12 fields
FT1
Financial Transaction
31 fields•Used in 12 structures
FTS
File Trailer
2 fields
GOL
Goal Detail
21 fields•Used in 8 structures
GP1
Grouping/Reimbursement - Visit
5 fields•Used in 1 structure
GP2
Grouping/Reimbursement - Procedure Line Item
14 fields•Used in 1 structure
GT1
Guarantor
57 fields•Used in 32 structures
Hxx
any HL7 segment
0 fields•Used in 14 structures•Wildcard
IAM
Patient Adverse Reaction Information
20 fields•Used in 1 structure
IIM
Inventory Item Master
15 fields•Used in 1 structure
IN1
Insurance
53 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
INV
Inventory Detail
20 fields•Used in 5 structures
IPC
Imaging Procedure Control Segment
9 fields•Used in 2 structures
ISD
Interaction Status Detail
3 fields•Used in 1 structure
LAN
Language Detail
4 fields•Used in 3 structures
LCC
Location Charge Code
4 fields•Used in 3 structures
LCH
Location Characteristic
5 fields•Used in 3 structures
LDP
Location Department
12 fields•Used in 3 structures
LOC
Location Identification
9 fields•Used in 3 structures
LRL
Location Relationship
6 fields•Used in 3 structures
MFA
Master File Acknowledgment
6 fields•Used in 1 structure
MFE
Master File Entry
5 fields•Used in 21 structures
MFI
Master File Identification
6 fields•Used in 21 structures
MRG
Merge Patient Information
7 fields•Used in 7 structures
MSA
Message Acknowledgment
6 fields•Used in 70 structures
MSH
Message Header
21 fields•Used in 201 structures
NCK
System Clock
1 field•Used in 3 structures
NDS
Notification Detail
4 fields•Used in 1 structure
NK1
Next of Kin / Associated Parties
39 fields•Used in 27 structures
NPU
Bed Status Update
2 fields•Used in 1 structure
NSC
Application Status Change
9 fields•Used in 3 structures
NST
Application control level statistics
15 fields•Used in 3 structures
NTE
Notes and Comments
4 fields•Used in 90 structures
OBR
Observation Request
50 fields•Used in 39 structures
OBX
Observation/Result
25 fields•Used in 68 structures
ODS
Dietary Orders, Supplements, and Preferences
4 fields•Used in 5 structures
ODT
Diet Tray Instructions
3 fields•Used in 5 structures
OM1
General Segment
47 fields•Used in 6 structures
OM2
Numeric Observation
10 fields•Used in 2 structures
OM3
Categorical Service/Test/Observation
7 fields•Used in 2 structures
OM4
Observations that Require Specimens
14 fields•Used in 3 structures
OM5
Observation Batteries (Sets)
3 fields•Used in 1 structure
OM6
Observations that are Calculated from Other Observations
2 fields•Used in 1 structure
OM7
Additional Basic Attributes
24 fields•Used in 1 structure
ORC
Common Order
31 fields•Used in 67 structures
ORG
Practitioner Organization Unit
12 fields•Used in 4 structures
OVR
Override Segment
5 fields
PCR
Possible Causal Relationship
23 fields•Used in 1 structure
PD1
Patient Additional Demographic
21 fields•Used in 62 structures
PDA
Patient Death and Autopsy
9 fields•Used in 3 structures
PDC
Product Detail Country
15 fields•Used in 1 structure
PEO
Product Experience Observation
25 fields•Used in 1 structure
PES
Product Experience Sender
13 fields•Used in 1 structure
PID
Patient Identification
39 fields•Used in 121 structures
PR1
Procedures
20 fields•Used in 16 structures
PRA
Practitioner Detail
12 fields•Used in 6 structures
PRB
Problem Details
25 fields•Used in 9 structures
PRC
Pricing
18 fields•Used in 2 structures
PRD
Provider Data
9 fields•Used in 13 structures
PSH
Product Summary Header
14 fields•Used in 1 structure
PTH
Pathway
6 fields•Used in 8 structures
PV1
Patient Visit
52 fields•Used in 82 structures
PV2
Patient Visit - Additional Information
49 fields•Used in 68 structures
QAK
Query Acknowledgment
6 fields•Used in 33 structures
QID
Query Identification
2 fields•Used in 1 structure
QPD
Query Parameter Definition
3 fields•Used in 22 structures
QRD
Original-Style Query Definition
12 fields•Used in 37 structures
QRF
Original style query filter
10 fields•Used in 31 structures
QRI
Query Response Instance
3 fields•Used in 1 structure
RCP
Response Control Parameter
7 fields•Used in 13 structures
RDF
Table Row Definition
2 fields•Used in 8 structures
RDT
Table Row Data
1 field•Used in 4 structures
RF1
Referral Information
11 fields•Used in 4 structures
RGS
Resource Group
3 fields•Used in 5 structures
RMI
Risk Management Incident
3 fields•Used in 1 structure
ROL
Role
12 fields•Used in 35 structures
RQ1
Requisition Detail-1
7 fields•Used in 7 structures
RQD
Requisition Detail
10 fields•Used in 7 structures
RXA
Pharmacy/Treatment Administration
26 fields•Used in 8 structures
RXC
Pharmacy/Treatment Component Order
9 fields•Used in 18 structures
RXD
Pharmacy/Treatment Dispense
33 fields•Used in 7 structures
RXE
Pharmacy/Treatment Encoded Order
44 fields•Used in 14 structures
RXG
Pharmacy/Treatment Give
26 fields•Used in 4 structures
RXO
Pharmacy/Treatment Order
28 fields•Used in 14 structures
RXR
Pharmacy/Treatment Route
6 fields•Used in 23 structures
SAC
Specimen Container detail
44 fields•Used in 16 structures
SCH
Scheduling Activity Information
27 fields•Used in 3 structures
SFT
Software Segment
6 fields•Used in 191 structures
SID
Substance Identifier
4 fields•Used in 4 structures
SPM
Specimen
29 fields•Used in 19 structures
SPR
Stored Procedure Request Definition
4 fields•Used in 1 structure
STF
Staff Identification
38 fields•Used in 7 structures
TCC
Test Code Configuration
14 fields•Used in 1 structure
TCD
Test Code Detail
8 fields•Used in 7 structures
TQ1
Timing/Quantity
14 fields•Used in 57 structures
TQ2
Timing/Quantity Relationship
10 fields•Used in 53 structures
TXA
Transcription Document Header
23 fields•Used in 3 structures
UB1
UB82
23 fields•Used in 6 structures
UB2
UB92 Data
17 fields•Used in 6 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 8 structures
VTQ
Virtual Table Query Request
5 fields•Used in 1 structure
ZL7
(proposed example only)
0 fields•Wildcard