# `HL7v2.Segment.BHS`
[🔗](https://github.com/Balneario-de-Cofrentes/hl7v2/blob/v3.10.1/lib/hl7v2/segment/bhs.ex#L1)

Batch Header (BHS) segment — HL7v2 v2.5.1.

Defines the start of a batch within a file, analogous to MSH for a message.

12 fields per HL7 v2.5.1 specification.

# `t`

```elixir
@type t() :: %HL7v2.Segment.BHS{
  batch_comment: term(),
  batch_control_id: term(),
  batch_creation_date_time: term(),
  batch_encoding_characters: term(),
  batch_field_separator: term(),
  batch_name_type_id: term(),
  batch_receiving_application: term(),
  batch_receiving_facility: term(),
  batch_security: term(),
  batch_sending_application: term(),
  batch_sending_facility: term(),
  extra_fields: term(),
  reference_batch_control_id: term()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
