Packages

An Elixir library for working with HL7 v2.x healthcare data

Retired package: Release invalid - Bug introduced which would prevent get_part/2, get_parts/2, and replace_parts/3 to from working with binaries under specific conditons

Current section

Files

Jump to
elixir_hl7 lib hl7 invalid_message.ex
Raw

lib/hl7/invalid_message.ex

defmodule HL7.InvalidMessage do
@moduledoc """
Contains information concerning any failed attempt to parse an HL7 message, generally MSH-related.
"""
@type t :: %HL7.InvalidMessage{
raw: nil | String.t(),
header: nil | HL7.InvalidHeader.t(),
created_at: nil | DateTime.t(),
reason: nil | atom()
}
defstruct raw: nil,
header: nil,
created_at: nil,
reason: nil
end