ex_hl7 v1.0.0 HL7.Config
Stores configuration variables for the HL7 parser.
Link to this section Summary
Functions
Returns the country code used by default in the MSH HL7 segment. Set it in mix.exs
as the
corresponding 3-letter ISO code
Returns the characters used to encode components, repetitions, escaped values and subcomponents
within an HL7 field. Set it in mix.exs
Returns the field separator used by default in the MSH HL7 segment. Set it in mix.exs
Returns the processing ID used by default in the MSH HL7 segment. Set it in mix.exs
as
P
for production and D
for debugging
Returns the version used by default in the MSH HL7 segment. Set it in mix.exs
Link to this section Functions
country_code()
Returns the country code used by default in the MSH HL7 segment. Set it in mix.exs
as the
corresponding 3-letter ISO code:
config :ex_hl7, country_code: "ARG"
encoding_chars()
Returns the characters used to encode components, repetitions, escaped values and subcomponents
within an HL7 field. Set it in mix.exs
:
config :ex_hl7, encoding_chars: "^~\&"
field_sep()
Returns the field separator used by default in the MSH HL7 segment. Set it in mix.exs
:
config :ex_hl7, field_sep: "|"
processing_id()
Returns the processing ID used by default in the MSH HL7 segment. Set it in mix.exs
as
P
for production and D
for debugging:
config :ex_hl7, processing_id: "P"
version()
Returns the version used by default in the MSH HL7 segment. Set it in mix.exs
:
config :ex_hl7, version: "2.4"