Class: Renalware::Feeds::HL7Message::PatientIdentification
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Renalware::Feeds::HL7Message::PatientIdentification
- Defined in:
- app/models/renalware/feeds/hl7_message.rb
Instance Method Summary collapse
Instance Method Details
#family_name ⇒ Object
121 122 123 |
# File 'app/models/renalware/feeds/hl7_message.rb', line 121 def family_name patient_name[0] end |
#given_name ⇒ Object
125 126 127 |
# File 'app/models/renalware/feeds/hl7_message.rb', line 125 def given_name patient_name[1] end |
#internal_id ⇒ Object
113 114 115 |
# File 'app/models/renalware/feeds/hl7_message.rb', line 113 def internal_id patient_id_list.split("^").first end |
#name ⇒ Object
117 118 119 |
# File 'app/models/renalware/feeds/hl7_message.rb', line 117 def name Name.new(patient_name) end |