ex_l7 v0.1.0 ExL7.Field

Structure and Helper functions for a HL7 (ExL7.Message) field.

Summary

Functions

Returns an ExL7.Field from a given list of strings

Returns one or many HL7 field strings representation from one or many ExL7.Fields

Functions

get_value(field, control_characters, query)
parse(field_strings, control_characters)

Returns an ExL7.Field from a given list of strings.

Parameters

  • field_strings: String or list of strings that represent an HL7 field.
  • control_characters: ExL7.ControlCharacters used to parse components and sub components.
to_string(fields, control_characters)

Returns one or many HL7 field strings representation from one or many ExL7.Fields.

Parameters

  • fields: One or many ExL7.Field maps.
  • control_characters: ExL7.ControlCharacters used to join fields, components, and sub components.