HL7::Exporter
A simple library to export 'ruby-hl7' messages into different formats.
Installation
Add this line to your application's Gemfile:
gem 'hl7-exporter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hl7-exporter
Usage
cvs_exporter = HL7::Exporter::Csv
= HL7::Message.parse('hl7_file.dat')
# In progress:
cvs_exporter.export() # returns the data
# Future implementation:
cvs_exporter.export(, template)
# I'm also thinking about this one:
json_exporter = HL7::Exporter::Json
json_exporter.export()
# Next goal after simple json is
fhir_exporter = HL7::Exporter::Fhir
fhir_exporter.export()
Contributing
- Fork it ( http://github.com/ruby-hl7/hl7-exporter/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request