HCA-Healthcare / elixir-hl7

An Elixir library for working with HL7 v2.x healthcare data
Apache License 2.0
110 stars 22 forks source link

fix invalid header issue #18

Closed DarkMarmot closed 1 year ago

DarkMarmot commented 1 year ago

An incomplete header passed into Message.new will NOT result in InvalidMessage which is bad. This fixes that but isn't terribly pretty.

The next PR I'd like to do will replace some of this though, simplify the library, and cause some breaking changes.... (getting rid of Message.raw() and storing data as maps, etc)