Name: ehl7
Owner: Open Health Care
Description: HL7 parser with segment code generators in Erlang
Created: 2015-05-13 14:08:49.0
Updated: 2016-01-13 18:17:11.0
Pushed: 2016-01-13 18:17:10.0
Homepage: null
Size: 1205
Language: Erlang
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This HL7 parser is an Erlang NIF interface into the C-based hl7parser
.
You'll need Erlang/OTP R16B to be able to compile and use this parser. You'll
also need rebar installed and accessible in
your PATH
.
You'll need to retrieve the dependencies and the compile the project. You can do this by running:
deps
And you can check that everything is working properly by running:
test
The segment accessors are defined in an Erlang file (src/hl7_segment_def.eon
)
and are auto-generated by an escript (ehl7_codegen
). The code used to encode
and decode the segments is already included in the project (see
src/ehl7_segment.erl
and include/ehl7_segment.hrl
). If you need to modify
the segment definitions, just remove these files, modify the definition file
and run the script like this:
l7_codegen