visit the hl7 website The Demo site for our new HL7 Version 2+ (plus) Standard

18.8.181 UB2 - UB92 Data Segment (6.5.11)

The UB2 segment contains data necessary to complete UB92 bills specific to the United States. Realms outside the US are referred to chapter 16. Only Uniform Billing fields that do not exist in other HL7 defined segments appear in this segment. For example, Patient Name and Date of Birth are required; they are included in the PID segment and therefore do not appear here. Uniform Billing field locators are provided in parentheses ( ). The UB codes listed as examples are not an exhaustive or current list; refer to a UB specification for additional information.

HL7 Attribute Table - UB2 - Uniform Billing Data 2

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
UB2
100553Set ID - UB2 MAY[0..1][1..4]
SI

Sequence ID

200554Co-Insurance Days (9) MAY[0..1][1..3]
ST

String Data

300555Condition Code (24-30) MAY[0..7] ConditionCode (CD)
CWE

Coded with Exceptions

400556Covered Days (7) MAY[0..1][1..3]
ST

String Data

500557Non-Covered Days (8) MAY[0..1][1..4]
ST

String Data

600558Value Amount & Code (39-41) MAY[0..12] 
UVC

UB Value Code and Amount

700559Occurrence Code & Date (32-35) MAY[0..8] 
OCD

Occurrence Code and Date

800560Occurrence Span Code/Dates (36) MAY[0..2] 
OSP

Occurrence Span Code and Date

900561Uniform Billing Locator 2 (state) MAY[0..2][1..29]
ST

String Data

1000562Uniform Billing Locator 11 (state) MAY[0..2][1..12]
ST

String Data

1100563Uniform Billing Locator 31 (national) MAY[0..1][1..5]
ST

String Data

1200564Document Control Number MAY[0..3][1..23]
ST

String Data

1300565Uniform Billing Locator 49 (national) MAY[0..23][1..4]
ST

String Data

1400566Uniform Billing Locator 56 (state) MAY[0..5][1..14]
ST

String Data

1500567Uniform Billing Locator 57 (sational) MAY[0..1][1..27]
ST

String Data

1600568Uniform Billing Locator 78 (state) MAY[0..2][1..2]
ST

String Data

1700815Special Visit Count MAY[0..1][1..3]
NM

Numeric

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
UB2
100553Set ID - UB2 MAY[0..1][1..4]
SI

Sequence ID

200554Co-Insurance Days (9) MAY[0..1][1..3]
ST

String Data

300555Condition Code (24-30) MAY[0..7] ConditionCode (CD)
CWE

Coded with Exceptions

400556Covered Days (7) MAY[0..1][1..3]
ST

String Data

500557Non-Covered Days (8) MAY[0..1][1..4]
ST

String Data

600558Value Amount & Code (39-41) MAY[0..12] 
UVC

UB Value Code and Amount

700559Occurrence Code & Date (32-35) MAY[0..8] 
OCD

Occurrence Code and Date

800560Occurrence Span Code/Dates (36) MAY[0..2] 
OSP

Occurrence Span Code and Date

900561Uniform Billing Locator 2 (state) MAY[0..2][1..29]
ST

String Data

1000562Uniform Billing Locator 11 (state) MAY[0..2][1..12]
ST

String Data

1100563Uniform Billing Locator 31 (national) MAY[0..1][1..5]
ST

String Data

1200564Document Control Number MAY[0..3][1..23]
ST

String Data

1300565Uniform Billing Locator 49 (national) MAY[0..23][1..4]
ST

String Data

1400566Uniform Billing Locator 56 (state) MAY[0..5][1..14]
ST

String Data

1500567Uniform Billing Locator 57 (sational) MAY[0..1][1..27]
ST

String Data

1600568Uniform Billing Locator 78 (state) MAY[0..2][1..2]
ST

String Data

1700815Special Visit Count MAY[0..1][1..3]
NM

Numeric

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
UB2 
100553Set ID - UB2 MAY[0..1][1..4]
SI

Sequence ID

MAY
200554Co-Insurance Days (9) MAY[0..1][1..3]
ST

String Data

MAY
300555Condition Code (24-30) MAY[0..7] ConditionCode (CD)
CWE

Coded with Exceptions

MAY
400556Covered Days (7) MAY[0..1][1..3]
ST

String Data

MAY
500557Non-Covered Days (8) MAY[0..1][1..4]
ST

String Data

MAY
600558Value Amount & Code (39-41) MAY[0..12] 
UVC

UB Value Code and Amount

MAY
700559Occurrence Code & Date (32-35) MAY[0..8] 
OCD

Occurrence Code and Date

MAY
800560Occurrence Span Code/Dates (36) MAY[0..2] 
OSP

Occurrence Span Code and Date

MAY
900561Uniform Billing Locator 2 (state) MAY[0..2][1..29]
ST

String Data

MAY
1000562Uniform Billing Locator 11 (state) MAY[0..2][1..12]
ST

String Data

MAY
1100563Uniform Billing Locator 31 (national) MAY[0..1][1..5]
ST

String Data

MAY
1200564Document Control Number MAY[0..3][1..23]
ST

String Data

MAY
1300565Uniform Billing Locator 49 (national) MAY[0..23][1..4]
ST

String Data

MAY
1400566Uniform Billing Locator 56 (state) MAY[0..5][1..14]
ST

String Data

MAY
1500567Uniform Billing Locator 57 (sational) MAY[0..1][1..27]
ST

String Data

MAY
1600568Uniform Billing Locator 78 (state) MAY[0..2][1..2]
ST

String Data

MAY
1700815Special Visit Count MAY[0..1][1..3]
NM

Numeric

MAY
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
UB2  
1 00553 Set ID - UB2   O   [1..4]  
SI

Sequence ID

   
2 00554 Co-Insurance Days (9)   O   [1..3]  
ST

String Data

   
3 00555 Condition Code (24-30)   O Y/7    
CWE

Coded with Exceptions

  (0043)
4 00556 Covered Days (7)   O   [1..3]  
ST

String Data

   
5 00557 Non-Covered Days (8)   O   [1..4]  
ST

String Data

   
6 00558 Value Amount & Code (39-41)   O Y/12    
UVC

UB Value Code and Amount

   
7 00559 Occurrence Code & Date (32-35)   O Y/8    
OCD

Occurrence Code and Date

   
8 00560 Occurrence Span Code/Dates (36)   O Y/2    
OSP

Occurrence Span Code and Date

   
9 00561 Uniform Billing Locator 2 (state)   O Y/2 [1..29]  
ST

String Data

   
10 00562 Uniform Billing Locator 11 (state)   O Y/2 [1..12]  
ST

String Data

   
11 00563 Uniform Billing Locator 31 (national)   O   [1..5]  
ST

String Data

   
12 00564 Document Control Number   O Y/3 [1..23]  
ST

String Data

   
13 00565 Uniform Billing Locator 49 (national)   O Y/23 [1..4]  
ST

String Data

   
14 00566 Uniform Billing Locator 56 (state)   O Y/5 [1..14]  
ST

String Data

   
15 00567 Uniform Billing Locator 57 (sational)   O   [1..27]  
ST

String Data

   
16 00568 Uniform Billing Locator 78 (state)   O Y/2 [1..2]  
ST

String Data

   
17 00815 Special Visit Count   O   [1..3]  
NM

Numeric

   
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
UB2
1 00553 Set ID - UB2 O   [1..4]  
SI

Sequence ID

2 00554 Co-Insurance Days (9) O   [1..3]  
ST

String Data

3 00555 Condition Code (24-30) O Y/7   (0043)
CWE

Coded with Exceptions

4 00556 Covered Days (7) O   [1..3]  
ST

String Data

5 00557 Non-Covered Days (8) O   [1..4]  
ST

String Data

6 00558 Value Amount & Code (39-41) O Y/12    
UVC

UB Value Code and Amount

7 00559 Occurrence Code & Date (32-35) O Y/8    
OCD

Occurrence Code and Date

8 00560 Occurrence Span Code/Dates (36) O Y/2    
OSP

Occurrence Span Code and Date

9 00561 Uniform Billing Locator 2 (state) O Y/2 [1..29]  
ST

String Data

10 00562 Uniform Billing Locator 11 (state) O Y/2 [1..12]  
ST

String Data

11 00563 Uniform Billing Locator 31 (national) O   [1..5]  
ST

String Data

12 00564 Document Control Number O Y/3 [1..23]  
ST

String Data

13 00565 Uniform Billing Locator 49 (national) O Y/23 [1..4]  
ST

String Data

14 00566 Uniform Billing Locator 56 (state) O Y/5 [1..14]  
ST

String Data

15 00567 Uniform Billing Locator 57 (sational) O   [1..27]  
ST

String Data

16 00568 Uniform Billing Locator 78 (state) O Y/2 [1..2]  
ST

String Data

17 00815 Special Visit Count O   [1..3]  
NM

Numeric

18.8.181.1 UB2 Field Definitions (6.5.11.0)

18.8.181.2 UB2-1 Set ID - UB2 (SI) 00553 (6.5.11.1)

Definition: This field contains the number that identifies this transaction. For the first occurrence of the segment the sequence number shall be 1, for the second occurrence it shall be 2, etc.

18.8.181.3 UB2-2 Co-Insurance Days (9) (ST) 00554 (6.5.11.2)

Definition: This field contains the number of inpatient days exceeding defined benefit coverage. In the US, this corresponds to Uniform Billing form locator 9. This field is defined by CMS or other regulatory agencies.

18.8.181.4 UB2-3 Condition Code (24-30) (CWE) 00555 (6.5.11.3)

Definition: This field contains a code reporting conditions that may affect payer processing; for example, the condition is related to employment (Patient covered by insurance not reflected here, treatment of non-terminal condition for hospice patient). The code in this field can repeat up to seven times to correspond to Uniform Billing form locators 24-30. Refer to User-defined Table 0043 - Condition Code in Chapter 2C, Code Tables, for suggested values. Refer to a UB specification for additional information. This field is defined by CMS or other regulatory agencies.

18.8.181.5 UB2-4 Covered Days (7) (ST) 00556 (6.5.11.4)

Definition: This field contains Uniform Billing field 7. This field is defined by CMS or other regulatory agencies.

18.8.181.6 UB2-5 Non-Covered Days (8) (ST) 00557 (6.5.11.5)

Definition: This field contains Uniform Billing field 8. This field is defined by CMS or other regulatory agencies.

18.8.181.7 UB2-6 Value Amount & Code (39-41) (UVC) 00558 (6.5.11.6)

Definition: This field contains a monetary amount and an associated billing code. The pair in this field can repeat up to twelve times to represent/contain UB92 form locators 39a, 39b, 39c, 39d, 40a, 40b, 40c, 40d, 41a, 41b, 41c, and 41d. This field is defined by CMS or other regulatory agencies.

18.8.181.8 UB2-7 Occurrence Code & Date (32-35) (OCD) 00559 (6.5.11.7)

Definition: The set of values in this field can repeat up to eight times. Uniform Billing fields 32a, 32b, 33a, 33b, 34a, 34b, 35a, and 35b. This field is defined by CMS or other regulatory agencies.

18.8.181.9 UB2-8 Occurrence Span Code/Dates (36) (OSP) 00560 (6.5.11.8)

18.8.181.10 UB2-9 UB92 Locator 2 (state) (ST) 00561 (6.5.11.9)

Definition: This field contains an occurrence span code and an associated date. This field can repeat up to two times to represent/contain Uniform Billing form locators 36a and 36b. This field is defined by CMS or other regulatory agencies.

Definition: The value in this field may repeat up to two times.

18.8.181.11 UB2-10 UB92 Locator 11 (state) (ST) 00562 (6.5.11.10)

Definition: The value in this field may repeat up to two times.

18.8.181.12 UB2-11 UB92 Locator 31 (national) (ST) 00563 (6.5.11.11)

Definition: Defined by CMS or other regulatory agencies.

18.8.181.13 UB2-12 Document Control Number (ST) 00564 (6.5.11.12)

Definition: This field contains the number assigned by payor that is used for rebilling/adjustment purposes. It may repeat up to three times. Refer Uniform Billing field 37.

18.8.181.14 UB2-13 UB92 Locator 49 (national) (ST) 00565 (6.5.11.13)

Definition: This field is defined by CMS or other regulatory agencies. This field may repeat up to twenty-three times.

18.8.181.15 UB2-14 UB92 Locator 56 (state) (ST) 00566 (6.5.11.14)

Definition: This field may repeat up to five times.

18.8.181.16 UB2-15 UB92 Locator 57 (national) (ST) 00567 (6.5.11.15)

Definition: Defined by Uniform Billing CMS specification.

18.8.181.17 UB2-16 UB92 Locator 78 (state) (ST) 00568 (6.5.11.16)

Definition: This field may repeat up to two times.

18.8.181.18 UB2-17 Special Visit Count (NM) 00815 (6.5.11.17)

Definition: This field contains the total number of special therapy visits.