View Source HL7.Path (elixir_hl7 v0.9.3)

Summary

Functions

Generates an ~p sigil data structure at runtime.

Types

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

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"