HL7 (elixir_hl7 v0.8.0) View Source

Utility functions to load HL7 files as local streams.

Link to this section Summary

Functions

Opens an HL7 file stream of either :mllp, :smat or :line. If the file_type is not specified it will be inferred from the first three characters of the file contents.

Link to this section Types

Specs

file_type_hl7() :: :mllp | :line | nil

Link to this section Functions

Link to this function

open_hl7_file_stream(file_path, file_type \\ nil)

View Source

Specs

open_hl7_file_stream(String.t(), file_type_hl7()) :: Enumerable.t()

Opens an HL7 file stream of either :mllp, :smat or :line. If the file_type is not specified it will be inferred from the first three characters of the file contents.