Sha256: d88c362e8316df2c5603cad52a2158fc3f2dd8f2ab1495fe2b619869911cab02

Contents?: true

Size: 678 Bytes

Versions: 3

Compression:

Stored size: 678 Bytes

Contents

require 'core_ext/segments/msh'
require 'core_ext/segments/pid'
require 'core_ext/segments/orc'
require 'core_ext/segments/obr'
require 'core_ext/segments/obx'
require 'core_ext/segments/nte'
require 'core_ext/segments/nk1'
require 'core_ext/segments/pv1'
require 'core_ext/segments/evn'
require 'core_ext/segments/sft'
require 'core_ext/segments/err'

segments = ["MSH","PID","ORC","OBR","OBX","NTE","NK1", "PV1", "EVN", "SFT", "ERR"]
segments.each do |segment_name|

  eval("class HL7::Message::Segment::#{segment_name} < HL7::Message::Segment
    include Extensions::HL7::Segments::#{segment_name}
  end")

end

require 'core_ext/segments/rol'
require 'core_ext/segments/pd1'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-hl7-extensions-0.0.77 lib/core_ext/segments/segments.rb
ruby-hl7-extensions-0.0.76 lib/core_ext/segments/segments.rb
ruby-hl7-extensions-0.0.75 lib/core_ext/segments/segments.rb