HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

BHS segment

The BHS segment defines the start of a batch. 2.15.2.0 BHS field definitions 2.15.2.1 BHS-1 Batch Field Separator (ST) 00081 Definition: This field contains the separator between the segment ID and the first real field, BHS-2-batch encoding characters. As such it serves as the separator and defines the character to be used as a separator for the rest of the message. Recommended value is |,(ASCII 124).

The shape of one line

segmentBHS|BHS-1Batch Field Separator|BHS-2Batch Encoding Character…|BHS-3Batch Sending Applicatio…|BHS-4Batch Sending Facility|BHS-5Batch Receiving…|BHS-6Batch Receiving Facility|BHS-7Batch Creation Date/Time|BHS-8Batch Security|BHS-9Batch Name/ID/Type|BHS-10Batch Comment| …2 more

required optional

Count the pipes to find a field, and count the empty ones too: an empty field still holds its place. Leave out the separator before BHS-2 and its value arrives as BHS-1, so the receiver stores Batch Encoding Characters as Batch Field Separator.

This page carries the BHS field table as published and nothing beyond it. The field notes, vendor behaviour, FHIR mapping and parsing guidance that thePID page has are still to be written for BHS.

Every field

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
BHS-11STR00081Batch Field Separator1..1
BHS-23STR00082Batch Encoding Characters1..1
227HDO00083Batch Sending Application0..1

BHS-3 is a HD, which holds 3 components separated by carets.

SEQLENDTOPTTBL#Component name
HD.120ISO0300Namespace ID
HD.2199STCUniversal ID
HD.36IDC0301Universal ID Type
227HDO00084Batch Sending Facility0..1

BHS-4 is a HD, which holds 3 components separated by carets.

SEQLENDTOPTTBL#Component name
HD.120ISO0300Namespace ID
HD.2199STCUniversal ID
HD.36IDC0301Universal ID Type
227HDO00085Batch Receiving Application0..1

BHS-5 is a HD, which holds 3 components separated by carets.

SEQLENDTOPTTBL#Component name
HD.120ISO0300Namespace ID
HD.2199STCUniversal ID
HD.36IDC0301Universal ID Type
227HDO00086Batch Receiving Facility0..1

BHS-6 is a HD, which holds 3 components separated by carets.

SEQLENDTOPTTBL#Component name
HD.120ISO0300Namespace ID
HD.2199STCUniversal ID
HD.36IDC0301Universal ID Type
26TSO00087Batch Creation Date/Time0..1

BHS-7 is a TS, which holds 2 components separated by carets.

SEQLENDTOPTTBL#Component name
TS.124DTMRTime
TS.21IDB0529Degree of Precision
BHS-840STO00088Batch Security0..1
BHS-920STO00089Batch Name/ID/Type0..1
BHS-1080STO00090Batch Comment0..1
BHS-1120STO00091Batch Control ID0..1
BHS-1220STO00092Reference Batch Control ID0..1

No message structure in v2.5.1 carries BHS, and no other segment is linked to it here. The standard defines the segment on its own.