Sha256: d030bc87fd255683c222ee1b99349151bddc0972b8a2f37080c38679efd56a53

Contents?: true

Size: 503 Bytes

Versions: 13

Compression:

Stored size: 503 Bytes

Contents

module Extensions
  module HL7
    module Segments
      module NTE

        def self.included base
          base.send :include, InstanceMethods
          base.extend ClassMethods
        end
        
        module InstanceMethods
          def to_hash
            @hash = {"setId" => self.set_id,
                     "source" => self.source,
                     "body" => self.comment}
          end
        end
        
        module ClassMethods
        end
        
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ruby-hl7-extensions-0.0.60 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.59 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.58 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.57 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.56 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.55 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.53 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.52 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.51 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.5 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.4 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.3 lib/core_ext/segments/nte.rb
ruby-hl7-extensions-0.0.1 lib/core_ext/segments/nte.rb