elixir_hl7 v0.3.4 HL7.Header View Source
An HL7 header implementation that can be used to build MSH segments and HL7 messages. It is also exposed as metadata after parsing any HL7 message.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %HL7.Header{
hl7_version: binary(),
message_control_id: String.t(),
message_date_time: String.t(),
message_type: binary(),
processing_id: String.t(),
receiving_application: term(),
receiving_facility: term(),
security: String.t(),
sending_application: binary(),
sending_facility: binary(),
separators: HL7.Separators.t(),
trigger_event: binary()
}
t() :: %HL7.Header{ hl7_version: binary(), message_control_id: String.t(), message_date_time: String.t(), message_type: binary(), processing_id: String.t(), receiving_application: term(), receiving_facility: term(), security: String.t(), sending_application: binary(), sending_facility: binary(), separators: HL7.Separators.t(), trigger_event: binary() }
Link to this section Functions
Link to this function
get_message_date_time()
View Source
get_message_date_time()
View Source
get_message_date_time() :: String.t()
get_message_date_time() :: String.t()
Link to this function
get_message_type_field(h)
View Source
get_message_type_field(h)
View Source
get_message_type_field(HL7.Header.t()) :: [any()]
get_message_type_field(HL7.Header.t()) :: [any()]
Link to this function
new(message_type, trigger_event, message_control_id, processing_id \\ "P", version \\ "2.1") View Source
Link to this function
to_msh(h)
View Source
to_msh(h)
View Source
to_msh(HL7.Header.t()) :: list()
to_msh(HL7.Header.t()) :: list()