HL7 Version 2.x Data Types
The following are the data types supported by the HL7 Accelerator in BizTalk 2013. Microsoft added support for HL7 Version 2.6 in BizTalk 2013 R2. You can view the changes for the Version 2.6 data types in Appendix 4.
Note All the information contained within these sections is from the HL7 Version 2.5.1 Standard Implementation Guide. You can view the brief for this guide at www.hl7.org/implement/standards/product_brief.cfm?product_id=144.
Data Structure—Definition
Table A3-1 lists the complex data structures used in Version 2.5.1.
Table A3-1. Complex Data Structure Definitions
Data Structure |
Description |
---|---|
AD |
Address |
AUI |
Authorization Information |
CCD |
Charge Code and Date |
CCP |
Channel Calibration Parameters |
CD |
Channel Definition |
CE |
Coded Element |
CF |
Coded Element with Formatted Values |
CNE |
Coded with No Exceptions |
CNN |
Composite ID Number and Name Simplified |
CP |
Composite Price |
CQ |
Composite Quantity with Units |
CSU |
Channel Sensitivity |
CWE |
Coded with Exceptions |
CX |
Extended Composite ID with Check Digit |
DDI |
Daily Deductible Information |
DIN |
Date and Institution Name |
DLD |
Discharge Location and Date |
DLN |
Driver's License Number |
DLT |
Delta |
DR |
Date/Time Range |
DT |
Date |
DTM |
Date/Time |
DTN |
Day Type and Number |
ED |
Encapsulated Data |
EI |
Entity Identifier |
EIP |
Entity Identifier Pair |
ELD |
Error Location and Description |
ERL |
Error Location |
FC |
Financial Class |
FN |
Family Name |
FT |
Formatted Text Data |
GTS |
General Timing Specification |
HD |
Hierarchic Designator |
ICD |
Insurance Certification Definition |
ID |
String Data |
IS |
String Data |
JCC |
Job Code/Class |
LA1 |
Location with Address Variation 1 |
LA2 |
Location with Address Variation 2 |
MA |
Multiplexed Array |
MO |
Money |
MOC |
Money and Code |
MOP |
Money or Percentage |
MSG |
Message Type |
NA |
Numeric Array |
NDL |
Name with Date and Location |
NM |
Numeric |
NR |
Numeric Range |
NUL | |
OCD |
Occurrence Code and Date |
OSD |
Order Sequence Definition |
OSP |
Occurrence Span Code and Date |
PIP |
Practitioner Institutional Privileges |
PL |
Person Location |
PLN |
Practitioner License or Other ID Number |
PPN |
Performing Person Time Stamp |
PRL |
Parent Result Link |
PT |
Processing Type |
PTA |
Policy Type and Amount |
QIP |
|
QSC |
Query Selection Criteria |
RCD |
Row Column Definition |
RFR |
Reference Range |
RI |
Repeat Interval |
RMC |
Room Coverage |
RP |
Reference Pointer |
RPT |
Repeat Pattern |
SAD |
Street Address |
SCV |
Scheduling Class Value Pair |
SI |
Sequence ID |
SN |
Structured Numeric |
SPD |
Specialty Description |
SPS |
Specimen Source |
SRT |
Sort Order |
ST |
String Data |
TM |
Time |
TQ |
Timing Quantity |
TS |
Time Stamp |
TX |
Text Data |
UVC |
UB Value Code and Amount |
varies |
Varies |
VH |
Visiting Hours |
VID |
Version Identifier |
VR |
Value Range |
WVI |
Channel Identifier |
WVS |
Waveform Source |
XAD |
Extended Address |
XCN |
Extended Composite ID Number and Name for Persons |
XON |
Extended Composite Name and Identification Number for Organizations |
XPN |
Extended Person Name |
XTN |
Extended Telecommunication Number |
Each of the above complex data structures contains multiple components. Let’s look at one of these.
Data Structure AD
This data structure defines what components are in the address data structure. Table A3-2 shows these.
Table A3-2. Address Components
The last column in Table A3-2 lists the base data type for a component. An example of this is the street address. The base data type for this is ST. This refers to string data.
Table A3-3 shows all the HL7 data types for the components used in the data structures.
Table A3-3. HL7 Data Types
Data Type Category |
Data Type |
Data Type Name |
---|---|---|
Alphanumeric | ||
ST |
String |
|
TX |
Text data |
|
FT |
Formatted text |
|
Numerical | ||
NM |
Numeric |
|
SI |
Sequence ID |
|
SN |
Structured numeric |
|
Identifier | ||
ID |
Coded values for HL7 tables |
|
EI |
Entity identifier |
|
PT |
Processing type |
|
Date/Time | ||
DT |
Date |
|
TS |
Time stamp |
|
Code Values | ||
CE |
Coded element |
|
CF |
Coded element with formatted values |
|
CK |
Composite ID with check digit |
|
CN |
Composite ID number and name |
|
CX |
Extended composite ID with check digit |
|
XCN |
Extended composite ID number and name |
|
Demographics | ||
AD |
Address |
|
PN |
Person name |
|
TN |
Telephone number |
|
XON |
Extended composite name and ID number for organizations |
|
XTN |
Extended telecommunications number |
Rules Applied to Components
HL7 Version 2.5 and higher have restrictions on the maximum lengths of data types. The following are the rules that apply.
Tip The information contained in this appendix is just a sampling of the information about the HL7 Version 2.5 and above data types. You can find more information in The HL7 Implementation Guide for the HL7 version 2.x you are using, by viewing the HL7 Product Brief for the Version 2 Product suite at www.hl7.org/implement/standards/product_brief.cfm?product_id=185.
3.147.66.128