HL7 Data Types

HL7 data types define the kind of data that can be included in a field, and are used throughout the HL7 message structure. Examples would be a string, formatted text, timestamp, address, or coded element. Each data type may contain additional data types that are referenced as components or subcomponents. Complex data types use other data types to define the kind of data they can contain.

Certain data types cannot reference each other due to the nature of the components. For instance, a data type cannot reference data types that already reference multiple components, because there is no way to code the information at that level.

Below is a list of the HL7HL7 is a Standards Developing Organization accredited by the American National Standards Institute (... More data types:

DATA TYPE CATEGORY/ DATA TYPE DATA TYPE NAME
Alphanumeric
ST String
TX Text data
FT Formatted text
Numerical
CQ Composite quantity with units
MO Money
NM Numeric
SI Sequence IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More
SN Structured numeric
Identifier
IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More Coded values for HL7HL7 is a Standards Developing Organization accredited by the American National Standards Institute (... More tables
IS Coded values for user-defined tables
HD Hierarchic designator
EI Entity identifier
RP Reference pointer
PL Person location
PT Processing type
Date/Time
DT Date
TM Time
TS Time stamp
Code Values
CE Coded element
CF Coded element with formatted values
CK Composite IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More with check digit
CN Composite IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More number and name
CX Extended composite IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More with check digit
XCN Extended composite IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More number and name
Generic
CM Composite
Demographics
AD Address
PN Person name
TN Telephone number
XAD Extended address
XPN Extended person name
XON Extended composite name and IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More number for organizations
XTN Extended telecommunications number
Specialty/Chapter specific
CD Channel definition
MA Multiplexed array
NA Numeric array
ED Encapsulated data
CP Composite price
FC Financial class
Extended Queries
QSC Query selection criteria
QIP Query input parameter list
RCD Row column definition
Master Files
DLN Driver’s license number
JCC Job code/class
VH Visiting hours
Medical Records/Info Mgmt
PPN Performing person time stamp
Time Series
DR Date/time range
RI Repeat interval
SCV Scheduling class value pair
TQ Timing/quantity

Understanding components and subcomponents

A data type may reference one or more additional data types as components or subcomponents. For example, the CK (composite IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More with check digit) data type can be broken down into four components, each referencing a specific data type. One of these components (HD) also references three other data types as subcomponents.

CK data type:

SEQ DATA TYPE COMPONENT NAME
1 NM IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More Number
2 ST Check Digit
3 IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More Code Identifying the Check Digit Scheme Employed
4 HD Assigning Authority

HD component:

SEQ DATA TYPE COMPONENT NAME
1 IS Namespace IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More
2 ST Universal IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More
3 IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More Universal IDID is a coded value data type. The value of such a field follows the formatting rules for a ST field... More Type

 

Register for an upcoming HL7: First Steps training class to learn more about HL7HL7 is a Standards Developing Organization accredited by the American National Standards Institute (... More data types.

How Corepoint Integration Engine works with HL7

 

The #1 Integration Engine Nine Consecutive Years

Customers have confidence in Corepoint Health’s history of focusing on healthcare interoperabilityInteroperability refers to the ability of two or more systems or components to exchange information ... More, as evident by our #1 KLAS® ranking nine years in a row. Discover the power Corepoint Integration Engine offers healthcare providers of all sizes and specialties.
 Print Friendly