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

18.8.21 BTS - batch trailer segment (2.14.3)

The BTS segment defines the end of a batch.

HL7 Attribute Table - BTS - Batch Trailer

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
BTS
100093Batch Message Count
=

Truncation not allowed!

MAY[0..1] 10
ST

String Data

200090Batch Comment
=

Truncation allowed.

MAY[0..1] 80
ST

String Data

300095Batch Totals MAY[0..*] 
NM

Numeric

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
BTS
100093Batch Message Count
=

Truncation not allowed!

MAY[0..1] 10
ST

String Data

200090Batch Comment
=

Truncation allowed.

MAY[0..1] 80
ST

String Data

300095Batch Totals MAY[0..*] 
NM

Numeric

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
BTS 
100093Batch Message Count
=

Truncation not allowed!

MAY[0..1] 10
ST

String Data

MAY 
200090Batch Comment
=

Truncation allowed.

MAY[0..1] 80
ST

String Data

MAY 
300095Batch Totals MAY[0..*] 
NM

Numeric

MAY 
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
BTS  
1 00093 Batch Message Count   O     10=  
ST

String Data

   
2 00090 Batch Comment   O     80#  
ST

String Data

   
3 00095 Batch Totals   O Y    
NM

Numeric

   
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
BTS
1 00093 Batch Message Count O     10=  
ST

String Data

2 00090 Batch Comment O     80#  
ST

String Data

3 00095 Batch Totals O Y    
NM

Numeric

18.8.21.1 BTS field definitions (2.14.3.0)

18.8.21.2 BTS-1 Batch Message Count (ST) 00093 (2.14.3.1)

Definition: This field contains the count of the individual messages contained within the batch.

18.8.21.3 BTS-2 Batch Comment (ST) 00090 (2.14.3.2)

Definition: This field is a comment field that is not further defined in the HL7 protocol.

18.8.21.4 BTS-3 Batch Totals (NM) 00095 (2.14.3.3)

Definition: We encourage new users of this field to use the HL7 Version 2.3 data type of NM and to define it as "repeating." This field contains the batch total. If more than a single batch total exists, this field MAY be repeated.

Prior to v2.5 this field might have been defined as a CM data type for backward compatibility with HL7 Versions 2.2 and 2.1 with each total being carried as a separate component. Each component in this case is an NM data type.