elixir_hl7 v0.6.2 HL7 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
Link to this type
file_type_hl7()
View Source
file_type_hl7()
View Source
file_type_hl7() :: :mllp | :line | nil
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
open_hl7_file_stream(file_path, file_type \\ nil)
View Source
open_hl7_file_stream(String.t(), file_type_hl7()) :: Enumerable.t()
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.