Sha256: 5e7d14c818beb373b74b492700ad915767728f6c56fc44ec2a4000ea3c269dff
Contents?: true
Size: 851 Bytes
Versions: 43
Compression:
Stored size: 851 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 def description "Event Type" end def field_description(field_index) [ "Event Type Code", "Recorded Date/Time", "Date/Time Planned Event", "Event Reason Code", "Operator Id", "Event Occurred", "Event Facility" ][field_index-1] end end end end end end
Version data entries
43 entries across 43 versions & 1 rubygems