HL7.Segment.get_part

You're seeing just the function get_part, go back to HL7.Segment module for more information.
Link to this function

get_part(data, field, repetition \\ nil, component \\ nil, subcomponent \\ nil)

View Source

Specs

get_part(
  segment_hl7() | fragment_hl7(),
  field :: pos_integer(),
  repetition :: pos_integer() | nil,
  component :: pos_integer() | nil,
  subcomponent :: pos_integer() | nil
) :: nil | list() | binary()

Extracts content from a parsed HL7 segment, returning nested data by applying each supplied index in turn. Please note that HL7 indices start at 1.