Skip to content

Adding custom ZCF segment to the ruby-hl7 gem

License

Notifications You must be signed in to change notification settings

doctolib/ruby-hl7-zcf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

HL7::ZCF

Adds support for the ZCF segment to ruby-hl7 This segment was present in ruby-hl7 gem but segments starting by a Z are supposed to be custom, and should not be in a standard gem. This gem is here for retro-compatibility.

Installation

Add this line to your application's Gemfile:

gem 'ruby-hl7-zcf'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby-hl7-zcf

Usage

msg = HL7::Message.parse(hl7_with_zcf)
Array(msg[:ZCF]).each do |zcf|
  puts "Custom field 1: #{zcf.custom_field_1}"
end

Contributing

  1. Fork it ( https://github.com/[my-github-username]/ruby-hl7-zcf/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 a new Pull Request

About

Adding custom ZCF segment to the ruby-hl7 gem

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages