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 selection.ex
Raw

lib/hl7/selection.ex

defmodule HL7.Selection do
@moduledoc false
require Logger
@type t :: %HL7.Selection{
segments: list(),
prefix: list(),
suffix: list(),
data: map(),
id: non_neg_integer(),
complete: boolean(),
broken: boolean(),
valid: boolean(),
fed: boolean()
}
defstruct segments: [],
prefix: [],
suffix: [],
data: %{index: 1},
id: 0,
complete: false,
broken: false,
valid: false,
fed: false
end