Data Types
90 data types in HL7 v2.5
§2A.3 Data Types:Data types define the format and structure of values within message fields. They range from simple primitives (ST, NM, DT) to complex composite types (XPN, XAD, CX) that contain multiple components. Understanding data types is essential for correctly parsing and constructing HL7 messages.
AD
Address
8 components•LA1•Composite
AUI
Authorization Information
3 components•IN1-14•Composite
CCD
Charge Code and Date
2 components•BLG-1•Composite
CCP
Channel Calibration Parameters
3 components•CD•Composite
CD
Channel Definition
6 components•Composite
CE
Coded Element
6 components•Used in 463•Composite
CF
Coded Element With Formatted Values
6 components•Composite
CNE
Coded With No Exceptions
9 components•Used in 14•Composite
CNN
Composite ID Number and Name Simplified
11 components•NDL•Composite
CP
Composite Price
6 components•Used in 18•Composite
CQ
Composite Quantity With Units
2 components•Used in 26•Composite
CSU
Channel Sensitivity
7 components•CD•Composite
CWE
Coded With Exceptions
9 components•Used in 94•Composite
CX
Extended Composite ID With Check Digit
10 components•Used in 36•Composite
DDI
Daily Deductible Information
3 components•IN2-30•Composite
DIN
Date and Institution Name
2 components•Used in 2•Composite
DLD
Discharge Location and Date
2 components•PV1-37•Composite
DLN
Driver_s License Number
3 components•Used in 2•Composite
DLT
Delta
4 components•OM2-9•Composite
DR
Date/Time Range
2 components•Used in 13•Composite
DT
Date
Used in 59•Primitive
DTM
Date/Time
TS•Primitive
DTN
Day Type and Number
2 components•IN3-11•Composite
ED
Encapsulated Data
5 components•CER-6•Composite
EI
Entity Identifier
4 components•Used in 74•Composite
EIP
Entity Identifier Pair
2 components•Used in 4•Composite
ELD
Error Location and Description
4 components•ERR-1•Composite
ERL
Error Location
6 components•ERR-2•Composite
FC
Financial Class
2 components•Used in 2•Composite
FN
Family Name
5 components•Used in 3•Composite
FT
Formatted Text Data
Used in 17•Primitive
GTS
General Timing Specification
RPT•Primitive
HD
Hierarchic Designator
3 components•Used in 29•Composite
ICD
Insurance Certification Definition
3 components•IN3-20•Composite
ID
Coded Value for HL7 Defined Tables
Used in 243•Primitive
IS
Coded Value for User-Defined Tables
Used in 185•Primitive
JCC
Job Code/Class
3 components•Used in 4•Composite
LA1
Location With Address Variation 1
9 components•Used in 2•Composite
LA2
Location With Address Variation 2
16 components•Used in 3•Composite
MA
Multiplexed Array
6 components•Composite
MO
Money
2 components•Used in 8•Composite
MOC
Money and Code
2 components•OBR-23•Composite
MOP
Money or Percentage
3 components•Used in 3•Composite
MSG
Message Type
3 components•MSH-9•Composite
NA
Numeric Array
4 components•Used in 2•Composite
NDL
Name With Date and Location
11 components•Used in 4•Composite
NM
Numeric
Used in 193•Primitive
NR
Numeric Range
2 components•Used in 3•Composite
OCD
Occurrence Code and Date
2 components•Used in 2•Composite
OSD
Order Sequence Definition
11 components•TQ•Composite
OSP
Occurrence Span Code and Date
3 components•UB2-8•Composite
PIP
Practitioner Institutional Privileges
5 components•PRA-7•Composite
PL
Person Location
11 components•Used in 29•Composite
PLN
Practitioner License or Other ID Number
4 components•Used in 3•Composite
PPN
Performing Person Time Stamp
24 components•TXA-22•Composite
PRL
Parent Result Link
3 components•OBR-26•Composite
PT
Processing Type
2 components•MSH-11•Composite
PTA
Policy Type and Amount
4 components•IN2-29•Composite
QIP
Query Input Parameter List
2 components•Used in 2•Composite
QSC
Query Selection Criteria
4 components•VTQ-5•Composite
RCD
Row Column Definition
3 components•RDF-2•Composite
RFR
Reference Range
7 components•Used in 3•Composite
RI
Repeat Interval
2 components•Used in 2•Composite
RMC
Room Coverage
4 components•IN2-28•Composite
RP
Reference Pointer
4 components•Composite
RPT
Repeat Pattern
11 components•TQ1-3•Composite
SAD
Street Address
3 components•XAD•Composite
SCV
Scheduling Class Value Pair
2 components•Used in 4•Composite
SI
Sequence ID
Used in 43•Primitive
SN
Structured Numeric
4 components•Used in 11•Composite
SPD
Specialty Description
4 components•PRA-5•Composite
SPS
Specimen Source
7 components•Used in 3•Composite
SRT
Sort Order
2 components•RCP-6•Composite
ST
String Data
Used in 229•Primitive
TM
Time
Used in 2•Primitive
TQ
Timing Quantity
12 components•Used in 10•Composite
TS
Time Stamp
2 components•Used in 192•Composite
TX
Text Data
Used in 30•Primitive
UVC
UB Value Code and Amount
2 components•Used in 2•Composite
varies
Variable Data Type
Used in 5•Primitive
VH
Visiting Hours
4 components•LDP-10•Composite
VID
Version Identifier
3 components•MSH-12•Composite
VR
Value Range
2 components•QRD-11•Composite
WVI
Channel Identifier
2 components•CD•Composite
WVS
Waveform Source
2 components•CD•Composite
XAD
Extended Address
14 components•Used in 35•Composite
XCN
Extended Composite ID Number and Name for Persons
23 components•Used in 72•Composite
XON
Extended Composite Name and Identification Number for Organizations
10 components•Used in 24•Composite
XPN
Extended Person Name
14 components•Used in 27•Composite
XTN
Extended Telecommunication Number
12 components•Used in 40•Composite