Segments
177 segments in HL7 v2.7
§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
12 fields•Used in 20 structures
ADD
Addendum
1 field
ADJ
Adjustment
15 fields•Used in 5 structures
AFF
Professional Affiliation
5 fields•Used in 3 structures
AIG
Appointment Information - General Resource
14 fields•Used in 8 structures
AIL
Appointment Information - Location Resource
12 fields•Used in 8 structures
AIP
Appointment Information - Personnel Resource
12 fields•Used in 8 structures
AIS
Appointment Information
12 fields•Used in 8 structures
AL1
Patient Allergy Information
6 fields•Used in 38 structures
APR
Appointment Preferences
5 fields•Used in 1 structure
ARQ
Appointment Request
25 fields•Used in 1 structure
ARV
Access Restriction
6 fields•Used in 10 structures
AUT
Authorization Information
12 fields•Used in 7 structures
BHS
Batch Header
14 fields
BLC
Blood Code
2 fields•Used in 1 structure
BLG
Billing
4 fields•Used in 11 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 1 structure
CER
Certificate Detail
31 fields•Used in 5 structures
CM0
Clinical Study Master
11 fields•Used in 2 structures
CM1
Clinical Study Phase Master
3 fields•Used in 1 structure
CM2
Clinical Study Schedule Master
4 fields•Used in 2 structures
CNS
Clear Notification
6 fields•Used in 1 structure
CON
Consent Segment
25 fields•Used in 2 structures
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 28 structures
CTI
Clinical Trial Identification
3 fields•Used in 18 structures
DB1
Disability
8 fields•Used in 24 structures
DG1
Diagnosis
26 fields•Used in 38 structures
DMI
DRG Master File Information
5 fields•Used in 1 structure
DRG
Diagnosis Related Group
33 fields•Used in 22 structures
DSC
Continuation Pointer
2 fields•Used in 30 structures
DSP
Display Data
5 fields•Used in 4 structures
ECD
Equipment Command
5 fields•Used in 2 structures
ECR
Equipment Command Response
3 fields•Used in 1 structure
EDU
Educational Detail
9 fields•Used in 3 structures
EQP
Equipment/log Service
5 fields•Used in 1 structure
EQU
Equipment Detail
5 fields•Used in 11 structures
ERR
Error
12 fields•Used in 49 structures
EVN
Event Type
7 fields•Used in 40 structures
FAC
Facility
12 fields
FHS
File Header
14 fields
FT1
Financial Transaction
43 fields•Used in 13 structures
FTS
File Trailer
2 fields
GOL
Goal Detail
22 fields•Used in 13 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 31 structures
Hxx
any HL7 segment
0 fields•Used in 15 structures•Wildcard
IAM
Patient Adverse Reaction Information
30 fields•Used in 6 structures
IAR
allergy reaction
4 fields•Used in 1 structure
IIM
Inventory Item Master
15 fields•Used in 1 structure
ILT
Material Lot
10 fields•Used in 1 structure
IN1
Insurance
54 fields•Used in 37 structures
IN2
Insurance Additional Information
72 fields•Used in 37 structures
IN3
Insurance Additional Information, Certification
25 fields•Used in 34 structures
INV
Inventory Detail
20 fields•Used in 6 structures
IPC
Imaging Procedure Control Segment
9 fields•Used in 2 structures
IPR
Invoice Processing Results
8 fields•Used in 4 structures
ISD
Interaction Status Detail
3 fields•Used in 1 structure
ITM
Material Item
29 fields•Used in 1 structure
IVC
Invoice Segment
30 fields•Used in 11 structures
IVT
Material Location
26 fields•Used in 1 structure
LAN
Language Detail
4 fields•Used in 3 structures
LCC
Location Charge Code
4 fields•Used in 1 structure
LCH
Location Characteristic
5 fields•Used in 1 structure
LDP
Location Department
12 fields•Used in 1 structure
LOC
Location Identification
9 fields•Used in 3 structures
LRL
Location Relationship
6 fields•Used in 1 structure
MFA
Master File Acknowledgment
6 fields•Used in 1 structure
MFE
Master File Entry
7 fields•Used in 15 structures
MFI
Master File Identification
6 fields•Used in 16 structures
MRG
Merge Patient Information
7 fields•Used in 6 structures
MSA
Message Acknowledgment
8 fields•Used in 57 structures
MSH
Message Header
25 fields•Used in 192 structures
NCK
System Clock
1 field•Used in 1 structure
NDS
Notification Detail
4 fields•Used in 1 structure
NK1
Next of Kin / Associated Parties
41 fields•Used in 41 structures
NPU
Bed Status Update
2 fields•Used in 1 structure
NSC
Application Status Change
9 fields•Used in 1 structure
NST
Application control level statistics
15 fields•Used in 1 structure
NTE
Notes and Comments
8 fields•Used in 92 structures
OBR
Observation Request
53 fields•Used in 46 structures
OBX
Observation/Result
26 fields•Used in 77 structures
ODS
Dietary Orders, Supplements, and Preferences
4 fields•Used in 7 structures
ODT
Diet Tray Instructions
3 fields•Used in 2 structures
OM1
General Segment
47 fields•Used in 5 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
33 fields•Used in 68 structures
ORG
Practitioner Organization Unit
13 fields•Used in 4 structures
OVR
Override Segment
5 fields
PAC
Shipment Package
8 fields•Used in 3 structures
PCE
Patient Charge Cost Center Exceptions
4 fields•Used in 1 structure
PCR
Possible Causal Relationship
23 fields•Used in 1 structure
PD1
Patient Additional Demographic
22 fields•Used in 67 structures
PDA
Patient Death and Autopsy
9 fields•Used in 7 structures
PDC
Product Detail Country
15 fields
PEO
Product Experience Observation
25 fields•Used in 1 structure
PES
Product Experience Sender
13 fields•Used in 1 structure
PID
Patient Identification
40 fields•Used in 123 structures
PKG
Item Packaging
7 fields•Used in 1 structure
PMT
Payment Information
12 fields•Used in 1 structure
PR1
Procedures
25 fields•Used in 21 structures
PRA
Practitioner Detail
12 fields•Used in 6 structures
PRB
Problem Details
28 fields•Used in 14 structures
PRC
Pricing
18 fields•Used in 1 structure
PRD
Provider Data
14 fields•Used in 19 structures
PRT
Participation Information
15 fields•Used in 41 structures
PSG
Product/Service Group
6 fields•Used in 8 structures
PSH
Product Summary Header
14 fields
PSL
Product/Service Line Item
48 fields•Used in 11 structures
PSS
Product/Service Section
5 fields•Used in 7 structures
PTH
Pathway
7 fields•Used in 13 structures
PV1
Patient Visit
54 fields•Used in 86 structures
PV2
Patient Visit - Additional Information
50 fields•Used in 73 structures
PYE
Payee Information
7 fields•Used in 4 structures
QAK
Query Acknowledgment
6 fields•Used in 21 structures
QID
Query Identification
2 fields•Used in 1 structure
QPD
Query Parameter Definition
3 fields•Used in 27 structures
QRD
withdrawn
0 fields•Used in 9 structures•Withdrawn
QRF
withdrawn
0 fields•Used in 5 structures•Withdrawn
QRI
Query Response Instance
3 fields•Used in 3 structures
RCP
Response Control Parameter
7 fields•Used in 15 structures
RDF
Table Row Definition
2 fields•Used in 4 structures
RDT
Table Row Data
1 field•Used in 2 structures
REL
Clinical Relationship Segment
16 fields•Used in 6 structures
RF1
Referral Information
12 fields•Used in 10 structures
RFI
Request for Information
4 fields•Used in 2 structures
RGS
Resource Group
3 fields•Used in 8 structures
RMI
Risk Management Incident
3 fields•Used in 6 structures
ROL
Role
14 fields•Used in 44 structures
RQ1
Requisition Detail-1
7 fields•Used in 4 structures
RQD
Requisition Detail
10 fields•Used in 4 structures
RXA
Pharmacy/Treatment Administration
28 fields•Used in 11 structures
RXC
Pharmacy/Treatment Component Order
9 fields•Used in 19 structures
RXD
Pharmacy/Treatment Dispense
34 fields•Used in 7 structures
RXE
Pharmacy/Treatment Encoded Order
45 fields•Used in 16 structures
RXG
Pharmacy/Treatment Give
30 fields•Used in 3 structures
RXO
Pharmacy/Treatment Order
36 fields•Used in 15 structures
RXR
Pharmacy/Treatment Route
6 fields•Used in 23 structures
SAC
Specimen Container detail
44 fields•Used in 21 structures
SCD
Anti-Microbial Cycle Data
37 fields•Used in 2 structures
SCH
Scheduling Activity Information
27 fields•Used in 7 structures
SCP
Sterilizer Configuration (Anti-Microbial Devices)
8 fields•Used in 1 structure
SDD
Sterilization Device Data
7 fields•Used in 2 structures
SFT
Software Segment
6 fields•Used in 189 structures
SHP
Shipment
11 fields•Used in 3 structures
SID
Substance Identifier
4 fields•Used in 3 structures
SLT
Sterilization Lot
5 fields•Used in 1 structure
SPM
Specimen
32 fields•Used in 25 structures
STF
Staff Identification
41 fields•Used in 7 structures
STZ
Sterilization Parameter
4 fields•Used in 1 structure
TCC
Test Code Configuration
14 fields•Used in 1 structure
TCD
Test Code Detail
8 fields•Used in 8 structures
TQ1
Timing/Quantity
14 fields•Used in 59 structures
TQ2
Timing/Quantity Relationship
10 fields•Used in 56 structures
TXA
Transcription Document Header
26 fields•Used in 3 structures
UAC
User Authentication Credential Segment
2 fields•Used in 188 structures
UB1
UB82
23 fields•Used in 5 structures
UB2
Uniform Billing Data
17 fields•Used in 5 structures
URD
withdrawn
0 fields•Used in 1 structure•Withdrawn
URS
withdrawn
0 fields•Used in 1 structure•Withdrawn
VAR
Variance
6 fields•Used in 13 structures
VND
Purchasing Vendor
5 fields•Used in 1 structure
ZL7
(proposed example only)
0 fields•Wildcard
Zxx
any Z segment
0 fields•Wildcard