Data Types
85 data types in HL7 v2.9
§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•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
CF
Coded Element With Formatted Values
22 components•Composite
CNE
Coded With No Exceptions
22 components•Used in 92•Composite
CNN
Composite ID Number and Name Simplified
11 components•NDL•Composite
CP
Composite Price
6 components•Used in 43•Composite
CQ
Composite Quantity With Units
2 components•Used in 61•Composite
CSU
Channel Sensitivity and Units
23 components•CD•Composite
CWE
Coded With Exceptions
22 components•Used in 881•Composite
CX
Extended Composite ID With Check Digit
12 components•Used in 48•Composite
DDI
Daily Deductible Information
3 components•IN2-30•Composite
DIN
Date and Institution Name
2 components•Used in 2•Composite
DLD
Discharge to Location and Date
2 components•PV1-37•Composite
DLN
Driver's License Number
3 components•STF-22•Composite
DLT
Delta
4 components•OM2-9•Composite
DR
Date/Time Range
2 components•Used in 14•Composite
DT
Date
Used in 74•Primitive
DTM
Date/Time
Used in 241•Primitive
DTN
Day Type and Number
2 components•IN3-11•Composite
ED
Encapsulated Data
5 components•Used in 3•Composite
EI
Entity Identifier
4 components•Used in 159•Composite
EIP
Entity Identifier Pair
2 components•Used in 8•Composite
ERL
Error Location
6 components•Used in 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 18•Primitive
GTS
General Timing Specification
RPT•Primitive
HD
Hierarchic Designator
3 components•Used in 34•Composite
ICD
Insurance Certification Definition
3 components•IN3-20•Composite
ID
Coded Value for HL7 Defined Tables
Used in 281•Primitive
IS
Coded Value for User-Defined Tables
Used in 6•Primitive
JCC
Job Code/Class
3 components•Used in 4•Composite
MA
Multiplexed Array
5 components•MA•Composite
MO
Money
2 components•Used in 22•Composite
MOC
Money and Code
2 components•OBR-23•Composite
MOP
Money or Percentage
3 components•Used in 6•Composite
MSG
Message Type
3 components•MSH-9•Composite
NA
Numeric Array
5 components•Used in 4•Composite
NDL
Name With Date and Location
11 components•Composite
NM
Numeric
Used in 240•Primitive
NR
Numeric Range
2 components•Used in 6•Composite
OCD
Occurrence Code and Date
2 components•UB2-7•Composite
OG
Observation Grouper
4 components•OBX-4•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 36•Composite
PLN
Practitioner License or Other ID Number
4 components•Used in 4•Composite
PPN
Performing Person Time Stamp
26 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•Composite
QSC
Query Selection Criteria
4 components•Composite
RCD
Row Column Definition
3 components•RDF-2•Composite
RFR
Reference Range
7 components•Used in 3•Composite
RI
Repeat Interval
2 components•ARQ-13•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 67•Primitive
SN
Structured Numeric
4 components•Used in 12•Composite
SNM
String of Telephone Number Digits
XTN•Primitive
SPD
Specialty Description
4 components•PRA-5•Composite
SRT
Sort Order
2 components•RCP-6•Composite
ST
String Data
Used in 268•Primitive
TM
Time
Used in 4•Primitive
TX
Text Data
Used in 31•Primitive
UVC
UB Value Code and Amount
4 components•UB2-6•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•Composite
WVI
Channel Identifier
2 components•CD•Composite
WVS
Waveform Source
2 components•CD•Composite
XAD
Extended Address
23 components•Used in 45•Composite
XCN
Extended Composite ID Number and Name for Persons
25 components•Used in 79•Composite
XON
Extended Composite Name and Identification Number for Organizations
10 components•Used in 53•Composite
XPN
Extended Person Name
15 components•Used in 37•Composite
XTN
Extended Telecommunication Number
18 components•Used in 52•Composite
-
Withdrawn
Used in 8•Primitive