Sha256: 9062aff752d3a1a4d6ba9df23c4f331f4530614bcf5e06b88f035612cfd739be

Contents?: true

Size: 434 Bytes

Versions: 7

Compression:

Stored size: 434 Bytes

Contents

module Extensions
  module HL7
    module Segments
      module EVN

        def self.included base
          base.send :include, InstanceMethods
          base.extend ClassMethods
        end
        
        module InstanceMethods
          def event_datetime
            self.event_occurred || self.recorded_date
          end  
        end
        
        module ClassMethods
        end
        
      end
    end
  end
end
    

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby-hl7-extensions-0.0.68 lib/core_ext/segments/evn.rb
ruby-hl7-extensions-0.0.67 lib/core_ext/segments/evn.rb
ruby-hl7-extensions-0.0.66 lib/core_ext/segments/evn.rb
ruby-hl7-extensions-0.0.65 lib/core_ext/segments/evn.rb
ruby-hl7-extensions-0.0.64 lib/core_ext/segments/evn.rb
ruby-hl7-extensions-0.0.63 lib/core_ext/segments/evn.rb
ruby-hl7-extensions-0.0.62 lib/core_ext/segments/evn.rb