Skip to content

ruby-hl7/hl7-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
message = HL7::Message.parse('hl7_file.dat')

# In progress:
cvs_exporter.export(message) # returns the data


# Future implementation:
cvs_exporter.export(message, template)

# I'm also thinking about this one:
json_exporter = HL7::Exporter::Json
json_exporter.export(message)

# Next goal after simple json is
fhir_exporter = HL7::Exporter::Fhir
fhir_exporter.export(message)

Contributing

  1. Fork it ( http://github.com/ruby-hl7/hl7-exporter/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A library to export messages from the ruby-hl7 gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages