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# Data Element Name DataType Usage Vocabulary Cardinality Item # Length C.LEN Flags
BTS
1 Batch Message Count ST O [0..1] 00093 10 #
2 Batch Comment ST O [0..1] 00090 80 #
3 Batch Totals NM O [0..*] 00095

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: 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.