HL7.Path (elixir_hl7 v0.9.1) View Source

Link to this section Summary

Functions

Generates an ~p sigil data structure at runtime.

Link to this section Types

Specs

level() :: :segment | :field | :repetition | :component | :subcomponent

Specs

t() :: %HL7.Path{
  component: term(),
  data: term(),
  field: term(),
  path: term(),
  repetition: term(),
  segment: term(),
  segment_number: term(),
  subcomponent: term(),
  truncate: term()
}

Link to this section Functions

Generates an ~p sigil data structure at runtime.

Examples

iex> HL7.Examples.wikipedia_sample_hl7()
...> |> HL7.new!()
...> |> HL7.get(HL7.Path.new("OBX-5"))
"1.80"