Adds support for the ZPS segment to ruby-hl7
Add this line to your application's Gemfile:
gem 'ruby-hl7-zps'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-hl7-zps
msg = HL7::Message.parse(hl7_with_zps)
Array(msg[:ZPS]).each do |zps|
puts "Facility: #{zps.facility_name}"
end
- Fork it ( https://github.com/[my-github-username]/ruby-hl7-zps/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 a new Pull Request