About
The HL7v2 library that treats clinical messages as first-class data structures, not bags of strings. Schema-driven parsing with typed segment structs and named fields, programmatic message building (Message.new + add_segment), opt-in validation (required fields, structural order/group/cardinality), integrated MLLP transport with Ranch 2.x and TLS/mTLS, and ACK/NAK helpers. Covers 21 standard segments, 43 v2.5.1 data types, and ADT/ORM/ORU/SIU/ACK message structures. Part of the Balneario Healthcare Toolkit — together with dicom and dimse, it gives Elixir the same healthcare protocol coverage as Java or C++ on the BEAM.
Tech Stack
ElixirHL7 v2.5.1MLLPRanch 2.xTLS
Quick Start
mix new my_app && cd my_app && echo '{:hl7v2, "~> 0.5"}' && mix deps.get