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

Draft Website - For Review Purposes Only

BTS - Batch Trailer Segment

The BTS segment defines the end of a batch.

HL7 Attribute Table - BTS - batch trailer segment
Seq# DataElement Description Must Implement Flags Cardinality Length C.LEN Vocabulary DataType
BTS
1 00093 Batch Message Count = [0..1] 10 ST
2 00090 Batch Comment = [0..1] 80 ST
3 00095 Batch Totals [0..*] NM

BTS-1: Batch Message Count (ST) 00093

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

BTS-2: Batch Comment (ST) 00090

(Definition from BHS.10 in Ch. 2)

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

(Definition from BTS.2 in Ch. 2)

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

BTS-3: Batch Totals (NM) 00095

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.