HL7 v2.5.1 Data Type Definitions

Copy Markdown View Source

Component-by-component reference for all 90 data types in the HL7 v2.5.1 standard as implemented by this library.

Generated from code metadata -- do not edit by hand. Run mix hl7v2.gen_docs to regenerate.


Primitive Data Types

CodeName
DTDate
FTFormatted Text Data
GTSGeneral Timing Specification
IDCoded Value for HL7 Defined Tables
ISCoded Value for User-Defined Tables
NMNumeric
SISequence ID
STString Data
TMTime
TNTelephone Number (deprecated)
TXText Data

Composite Data Types

AD -- Address

8 components.

#Component
1Street Address
2Other Designation
3City
4State Or Province
5Zip Or Postal Code
6Country
7Address Type
8Other Geographic Designation

AUI -- Authorization Information

3 components.

#Component
1Authorization Number
2Date
3Source

CCD -- Charge Code and Date

2 components.

#Component
1Invocation Event
2Date Time

CCP -- Channel Calibration Parameters

3 components.

#Component
1Channel Calibration Sensitivity Correction Factor
2Channel Calibration Baseline
3Channel Calibration Time Skew

CD -- Channel Definition

7 components.

#Component
1Channel Identifier
2Waveform Source
3Channel Sensitivity And Units
4Channel Calibration Parameters
5Channel Sampling Frequency
6Minimum Data Value
7Maximum Data Value

CE -- Coded Element

6 components.

#Component
1Identifier
2Text
3Name Of Coding System
4Alternate Identifier
5Alternate Text
6Name Of Alternate Coding System

CF -- Coded Element with Formatted Values

6 components.

#Component
1Identifier
2Formatted Text
3Name Of Coding System
4Alternate Identifier
5Alternate Formatted Text
6Name Of Alternate Coding System

CNE -- Coded with No Exceptions

9 components.

#Component
1Identifier
2Text
3Name Of Coding System
4Alternate Identifier
5Alternate Text
6Name Of Alternate Coding System
7Coding System Version Id
8Alternate Coding System Version Id
9Original Text

CNN -- Composite Number and Name without Authority

11 components.

#Component
1Id Number
2Family Name
3Given Name
4Second Name
5Suffix
6Prefix
7Degree
8Source Table
9Assigning Authority Namespace Id
10Assigning Authority Universal Id
11Assigning Authority Universal Id Type

CP -- Composite Price

6 components.

#Component
1Price
2Price Type
3From Value
4To Value
5Range Units
6Range Type

CQ -- Composite Quantity with Units

2 components.

#Component
1Quantity
2Units

CSU -- Channel Sensitivity and Units

7 components.

#Component
1Channel Sensitivity
2Unit Of Measure Identifier
3Unit Of Measure Description
4Unit Of Measure Coding System
5Alternate Unit Of Measure Identifier
6Alternate Unit Of Measure Text
7Alternate Unit Of Measure Coding System

CWE -- Coded with Exceptions

9 components.

#Component
1Identifier
2Text
3Name Of Coding System
4Alternate Identifier
5Alternate Text
6Name Of Alternate Coding System
7Coding System Version Id
8Alternate Coding System Version Id
9Original Text

CX -- Extended Composite ID with Check Digit

10 components.

#Component
1Id
2Check Digit
3Check Digit Scheme
4Assigning Authority
5Identifier Type Code
6Assigning Facility
7Effective Date
8Expiration Date
9Assigning Jurisdiction
10Assigning Agency

DDI -- Daily Deductible Information

3 components.

#Component
1Delay Days
2Monetary Amount
3Number Of Days

DIN -- Date and Institution Name

2 components.

#Component
1Date
2Institution Name

DLD -- Discharge to Location and Date

2 components.

#Component
1Discharge To Location
2Effective Date

DLN -- Driver's License Number

3 components.

#Component
1License Number
2Issuing State Province Country
3Expiration Date

DLT -- Delta

4 components.

#Component
1Normal Range
2Numeric Threshold
3Change Computation
4Days Retained

DR -- Date/Time Range

2 components.

#Component
1Range Start
2Range End

DTM -- Date/Time

9 components.

#Component
1Year
2Month
3Day
4Hour
5Minute
6Second
7Fraction
8Offset
9Original

DTN -- Day Type and Number

2 components.

#Component
1Day Type
2Number Of Days

ED -- Encapsulated Data

5 components.

#Component
1Source Application
2Type Of Data
3Data Subtype
4Encoding
5Data

EI -- Entity Identifier

4 components.

#Component
1Entity Identifier
2Namespace Id
3Universal Id
4Universal Id Type

EIP -- Entity Identifier Pair

2 components.

#Component
1Placer Assigned Identifier
2Filler Assigned Identifier

ELD -- Error Location and Description

4 components.

#Component
1Segment Id
2Segment Sequence
3Field Position
4Code Identifying Error

ERL -- Error Location

6 components.

#Component
1Segment Id
2Segment Sequence
3Field Position
4Component Number
5Sub Component Number
6Source Table

FC -- Financial Class

2 components.

#Component
1Financial Class Code
2Effective Date

FN -- Family Name

5 components.

#Component
1Surname
2Own Surname Prefix
3Own Surname
4Surname Prefix From Partner
5Surname From Partner

HD -- Hierarchic Designator

3 components.

#Component
1Namespace Id
2Universal Id
3Universal Id Type

ICD -- Insurance Certification Definition

3 components.

#Component
1Certification Patient Type
2Certification Required
3Date Time Certification Required

JCC -- Job Code/Class

2 components.

#Component
1Job Code
2Job Class

LA1 -- Location with Address Variation 1

9 components.

#Component
1Point Of Care
2Room
3Bed
4Facility
5Location Status
6Patient Location Type
7Building
8Floor
9Address

LA2 -- Location with Address Variation 2

14 components.

#Component
1Point Of Care
2Room
3Bed
4Facility
5Location Status
6Patient Location Type
7Building
8Floor
9Street Address
10Other Designation
11City
12State Or Province
13Zip Or Postal Code
14Country

MA -- Multiplexed Array

1 components.

#Component
1Values

MO -- Money

2 components.

#Component
1Quantity
2Denomination

MOC -- Money and Charge Code

2 components.

#Component
1Monetary Amount
2Charge Code

MOP -- Money or Percentage

2 components.

#Component
1Money Or Percentage Indicator
2Money Or Percentage Quantity

MSG -- Message Type

3 components.

#Component
1Message Code
2Trigger Event
3Message Structure

NA -- Numeric Array

1 components.

#Component
1Values

NDL -- Name with Date and Location

11 components.

#Component
1Name
2Start Date Time
3End Date Time
4Point Of Care
5Room
6Bed
7Facility
8Location Status
9Patient Location Type
10Building
11Floor

NR -- Numeric Range

2 components.

#Component
1Low
2High

OCD -- Occurrence Code and Date

2 components.

#Component
1Occurrence Code
2Occurrence Date

OSD -- Order Sequence Definition

11 components.

#Component
1Sequence Results Flag
2Placer Order Number Entity Identifier
3Placer Order Number Namespace Id
4Filler Order Number Entity Identifier
5Filler Order Number Namespace Id
6Sequence Condition Value
7Maximum Number Of Repeats
8Placer Order Number Universal Id
9Placer Order Number Universal Id Type
10Filler Order Number Universal Id
11Filler Order Number Universal Id Type

OSP -- Occurrence Span Code and Date

3 components.

#Component
1Occurrence Span Code
2Occurrence Span Start Date
3Occurrence Span Stop Date

PIP -- Practitioner Institutional Privileges

5 components.

#Component
1Privilege
2Privilege Class
3Expiration Date
4Activation Date
5Facility

PL -- Person Location

11 components.

#Component
1Point Of Care
2Room
3Bed
4Facility
5Location Status
6Person Location Type
7Building
8Floor
9Location Description
10Comprehensive Location Identifier
11Assigning Authority For Location

PLN -- Practitioner License or Other ID Number

4 components.

#Component
1Id Number
2Type Of Id Number
3State Other Qualifying Information
4Expiration Date

PPN -- Performing Person Time Stamp

17 components.

#Component
1Id Number
2Family Name
3Given Name
4Second Name
5Suffix
6Prefix
7Degree
8Source Table
9Assigning Authority
10Name Type Code
11Identifier Check Digit
12Check Digit Scheme
13Identifier Type Code
14Assigning Facility
15Date Time Action Performed
16Name Representation Code
17Raw 17 24

3 components.

#Component
1Parent Observation Identifier
2Parent Observation Sub Identifier
3Parent Observation Value Descriptor

PT -- Processing Type

2 components.

#Component
1Processing Id
2Processing Mode

PTA -- Policy Type and Amount

3 components.

#Component
1Policy Type
2Amount Class
3Money Or Percentage Quantity

QIP -- Query Input Parameter List

2 components.

#Component
1Segment Field Name
2Values

QSC -- Query Selection Criteria

4 components.

#Component
1Segment Field Name
2Relational Operator
3Value
4Relational Conjunction

RCD -- Row Column Definition

3 components.

#Component
1Segment Field Name
2Hl7 Data Type
3Maximum Column Width

RFR -- Reference Range

7 components.

#Component
1Numeric Range
2Administrative Sex
3Age Range
4Gestational Age Range
5Species
6Race Subspecies
7Conditions

RI -- Repeat Interval

2 components.

#Component
1Repeat Pattern
2Explicit Time Interval

RMC -- Room Coverage

4 components.

#Component
1Room Type
2Amount Type
3Coverage Amount
4Money Or Percentage

RP -- Reference Pointer

4 components.

#Component
1Pointer
2Application Id
3Type Of Data
4Subtype

RPT -- Repeat Pattern

10 components.

#Component
1Repeat Pattern Code
2Calendar Alignment
3Phase Range Begin Value
4Phase Range End Value
5Period Quantity
6Period Units
7Institution Specified Time
8Event
9Event Offset Quantity
10Event Offset Units

SAD -- Street Address

3 components.

#Component
1Street Or Mailing Address
2Street Name
3Dwelling Number

SCV -- Scheduling Class Value Pair

2 components.

#Component
1Parameter Class
2Parameter Value

SN -- Structured Numeric

4 components.

#Component
1Comparator
2Num1
3Separator Suffix
4Num2

SPD -- Specialty Description

4 components.

#Component
1Specialty Name
2Governing Board
3Eligible Or Certified
4Date Of Certification

SPS -- Specimen Source

7 components.

#Component
1Specimen Source Name Or Code
2Additives
3Specimen Collection Method
4Body Site
5Site Modifier
6Collection Method Modifier Code
7Specimen Role

SRT -- Sort Order

2 components.

#Component
1Sort By Field
2Sequencing

TQ -- Timing/Quantity

12 components.

#Component
1Quantity
2Interval
3Duration
4Start Date Time
5End Date Time
6Priority
7Condition
8Text
9Conjunction
10Order Sequencing
11Occurrence Duration
12Total Occurrences

TS -- Time Stamp

2 components.

#Component
1Time
2Degree Of Precision

UVC -- UB Value Code and Amount

2 components.

#Component
1Value Code
2Value Amount

VH -- Visiting Hours

4 components.

#Component
1Start Day Range
2End Day Range
3Start Hour Range
4End Hour Range

VID -- Version Identifier

3 components.

#Component
1Version Id
2Internationalization Code
3International Version Id

VR -- Value Range

2 components.

#Component
1First Data Code Value
2Last Data Code Value

WVI -- Channel Identifier

2 components.

#Component
1Channel Number
2Channel Name

WVS -- Waveform Source

2 components.

#Component
1Source One Name
2Source Two Name

XAD -- Extended Address

14 components.

#Component
1Street Address
2Other Designation
3City
4State
5Zip
6Country
7Address Type
8Other Geographic
9County Code
10Census Tract
11Address Representation Code
12Address Validity Range
13Effective Date
14Expiration Date

XCN -- Extended Composite ID Number and Name for Persons

23 components.

#Component
1Id Number
2Family Name
3Given Name
4Second Name
5Suffix
6Prefix
7Degree
8Source Table
9Assigning Authority
10Name Type Code
11Identifier Check Digit
12Check Digit Scheme
13Identifier Type Code
14Assigning Facility
15Name Representation Code
16Name Context
17Name Validity Range
18Name Assembly Order
19Effective Date
20Expiration Date
21Professional Suffix
22Assigning Jurisdiction
23Assigning Agency

XON -- Extended Composite Name and ID Number for Organizations

10 components.

#Component
1Organization Name
2Organization Name Type Code
3Id Number
4Check Digit
5Check Digit Scheme
6Assigning Authority
7Identifier Type Code
8Assigning Facility
9Name Representation Code
10Organization Identifier

XPN -- Extended Person Name

14 components.

#Component
1Family Name
2Given Name
3Second Name
4Suffix
5Prefix
6Degree
7Name Type Code
8Name Representation Code
9Name Context
10Name Validity Range
11Name Assembly Order
12Effective Date
13Expiration Date
14Professional Suffix

XTN -- Extended Telecommunication Number

12 components.

#Component
1Telephone Number
2Telecom Use Code
3Telecom Equipment Type
4Email Address
5Country Code
6Area Code
7Local Number
8Extension
9Any Text
10Extension Prefix
11Speed Dial Code
12Unformatted Telephone Number