Class: Hl7Patient

Inherits:
Patient show all
Defined in:
lib/ruby_astm/HL7/hl7_patient.rb

Instance Attribute Summary

Attributes inherited from Patient

#orders, #patient_id, #sequence_number

Instance Method Summary collapse

Methods inherited from Patient

#build_response, #initialize, #to_json

Constructor Details

This class inherits a constructor from Patient

Instance Method Details

#set_patient_id(args) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/ruby_astm/HL7/hl7_patient.rb', line 7

def set_patient_id(args)
	if line = args[:line]
		unless line.fields[3].blank?
			self.patient_id = line.fields[3].strip
		end
	end
end

#set_sequence_number(args) ⇒ Object



3
4
5
# File 'lib/ruby_astm/HL7/hl7_patient.rb', line 3

def set_sequence_number(args)
	
end