Sha256: 6677b0e08f499cc3edc8b12d9e20212259d351916f3d93b9e0e5539426338fc5

Contents?: true

Size: 957 Bytes

Versions: 2

Compression:

Stored size: 957 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/mrg'
require 'segments/znp'
require 'core_ext/segments/dg1'
require 'core_ext/segments/in1'
require 'core_ext/segments/mrg'
require 'core_ext/segments/drf'


segments = ["MSH","PID","ORC","OBR","OBX","NTE","NK1", "PV1", "PV2", "EVN", "SFT", "ERR", "PD1", "ROL", "DG1", "IN1", "MRG", "DRF"]
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

2 entries across 2 versions & 1 rubygems

Version Path
ruby-hl7-extensions-0.3.6 lib/core_ext/segments/segments.rb
ruby-hl7-extensions-0.3.4 lib/core_ext/segments/segments.rb