Module: Extensions::HL7::Segments::NTE::InstanceMethods

Defined in:
lib/core_ext/segments/nte.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



12
13
14
15
16
17
18
19
20
21
22
# File 'lib/core_ext/segments/nte.rb', line 12

def to_hash
  return @hash if @hash
  
  @hash = super.to_hash
  
  @hash.merge!({"setId" => self.set_id,
                "source" => self.source,
                "body" => self.comment})
  
  @hash
end