Sha256: 073921440a7dfdb90e27568b429ae9367579eb54ee185ea54a15cade713a8d87

Contents?: true

Size: 856 Bytes

Versions: 3

Compression:

Stored size: 856 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/pv2'
require 'core_ext/segments/evn'
require 'core_ext/segments/sft'
require 'core_ext/segments/err'
require 'core_ext/segments/rol'
require 'core_ext/segments/pd1'
require 'segments/dg1'
require 'segments/znp'
require 'core_ext/segments/dg1'
require 'core_ext/segments/in1'


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

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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-hl7-extensions-0.3.1 lib/core_ext/segments/segments.rb
ruby-hl7-extensions-0.2.2 lib/core_ext/segments/segments.rb
ruby-hl7-extensions-0.2.1 lib/core_ext/segments/segments.rb