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