Data Types
85 data types in HL7 v2.2
§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•Used in 11•Composite
CE
Coded Element
6 components•Used in 89•Composite
CE_0049
CE With Table 49
6 components•FT1-13•Composite
CE_0051
CE Bound to Table 51
6 components•FT1-19•Composite
CE_0063
CE Bound to Table 63
6 components•NK1-3•Composite
CE_0066
CE Bound to Table 66
6 components•IN1-42•Composite
CE_0118
CE Bound to Table 118
6 components•DG1-7•Composite
CE_0129
CE Bound to Table 129
6 components•PV2-2•Composite
CE_0131
CE Bound to Table 131
6 components•NK1-7•Composite
CE_0132
CE Bound to Table 132
6 components•FT1-7•Composite
CE_0160
CE Bound to Table 160
6 components•ODT-1•Composite
CE_0162
CE Bound to Table 162
6 components•RXR-1•Composite
CE_0163
CE Bound to Table 163
6 components•RXR-2•Composite
CE_0164
CE Bound to Table 164
6 components•RXR-3•Composite
CE_0165
CE Bound to Table 165
6 components•RXR-4•Composite
CE_0175
CE Bound to Table 175
6 components•MFI-1•Composite
CE_0181
CE Bound to Table 181
6 components•MFA-4•Composite
CE_0184
CE Bound to Table 184
6 components•STF-8•Composite
CF
Coded Element With Formatted Values
Primitive
CK
Composite ID With Check Digit
Primitive
CK_ACCOUNT_NO
Account Number
4 components•Used in 2•Composite
CK_PAT_ID
Patient ID With Check Digit
4 components•Used in 4•Composite
CM_ABS_RANGE
Absolute Range
4 components•OM2-9•Composite
CM_AUI
Authorization Information
3 components•IN1-14•Composite
CM_BATCH_TOTAL
CM for Batch Totals
2 components•BTS-3•Composite
CM_CCD
Charge Time
2 components•BLG-1•Composite
CM_DDI
Daily Deductible
3 components•IN2-30•Composite
CM_DIN
Activation Date
2 components•Used in 2•Composite
CM_DLD
Discharge Location
2 components•PV1-37•Composite
CM_DLT
Delta Check
4 components•OM2-10•Composite
CM_DTN
Day Type and Number
2 components•IN3-11•Composite
CM_EIP
Parent Order
2 components•Used in 2•Composite
CM_ELD
Error
4 components•ERR-1•Composite
CM_FILLER
Filler Order Number
2 components•Used in 3•Composite
CM_FINANCE
Financial Transaction
2 components•PV1-20•Composite
CM_GROUP_ID
Order Group Number
2 components•ORC-4•Composite
CM_INTERNAL_LOCATION
Internal Location
8 components•Used in 10•Composite
CM_JOB_CODE
Job Code/Class
2 components•NK1-11•Composite
CM_LA1
Location With Address Information
2 components•Used in 5•Composite
CM_LICENSE_NO
Driver's License Number
2 components•PID-20•Composite
CM_MOC
Charge To Practise
2 components•OBR-23•Composite
CM_MSG
Message Type
2 components•MSH-9•Composite
CM_NDL
Observing Practitioner
4 components•Used in 4•Composite
CM_OCD
Occurence
2 components•Used in 2•Composite
CM_OSP
Occurence Span
3 components•UB2-8•Composite
CM_PAT_ID
Patient ID
5 components•Used in 4•Composite
CM_PAT_ID_0192
Patient ID With Table 0192
5 components•PV1-50•Composite
CM_PCF
Pre-certification Required
3 components•IN3-20•Composite
CM_PEN
Penalty
2 components•IN3-5•Composite
CM_PIP
Privileges
4 components•PRA-7•Composite
CM_PLACER
Placer Order Number
2 components•Used in 2•Composite
CM_PLN
Practitioner ID Numbers
3 components•PRA-6•Composite
CM_POSITION
Seat/Location Position
3 components•Composite
CM_PRACTITIONER
Practitioner Performing Procedure
2 components•PR1-12•Composite
CM_PTA
Policy Type
3 components•IN2-29•Composite
CM_RANGE
Value Range
2 components•Used in 4•Composite
CM_RFR
Reference Range
7 components•OM2-7•Composite
CM_RI
Interval
2 components•TQ•Composite
CM_RMC
Room Coverage
3 components•IN2-28•Composite
CM_SPD
Specialty
4 components•PRA-5•Composite
CM_SPS
Specimen Source
5 components•OBR-15•Composite
CM_UNDEFINED
Undefined CM Data Type
Used in 2•Primitive
CM_UVC
Value Code and Amount
2 components•Used in 2•Composite
CM_VR
Value Qualifier
2 components•QRD-11•Composite
CN_PERSON
Composite ID and Name
8 components•Used in 26•Composite
CN_PHYSICIAN
Physician ID and Name
13 components•Used in 5•Composite
COMP_ID_DIGIT
COMPOSITE ID W/CHK DIGIT
GT1-2•Primitive
COMP_ID_NAME
COMPOSITE ID AND NAME
Primitive
CQ_COMP_QUANT
COMPOSITE QUANTITY WITH UNITS
Used in 3•Primitive
CQ_QUANTITY
Composite Quantity With Units
2 components•Used in 5•Composite
DT
DATE
Used in 32•Primitive
FT
Formatted Text Data
NTE-3•Primitive
ID
CODED VALUE
Used in 212•Primitive
MO
Money
Primitive
NM
Numeric
Used in 102•Primitive
PN
Person Name
6 components•Used in 11•Composite
RP
Reference Pointer
Primitive
SI
SEQUENCE ID
Used in 19•Primitive
ST
String Data
Used in 199•Primitive
TM
Time
Primitive
TN
Telephone Number
Used in 16•Primitive
TQ
Timing Quantity
10 components•Used in 4•Composite
TS
Time Stamp
2 components•Used in 53•Composite
TX
Text Data
Used in 15•Primitive
varies
Variable Data Type
OBX-5•Primitive