Class: DZero::Segments::Patient
- Defined in:
- lib/dzero/segments/01_patient.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#[], #[]=, build, get_field_by_symbol, get_klass_by_identifier, get_klass_by_symbol, get_symbol_by_field, inherited, #initialize, #merge, register_segment
Methods included from Concerns::Serializer
Methods included from Concerns::Parser
Constructor Details
This class inherits a constructor from DZero::Segments::Base
Class Method Details
.field_id_to_symbol ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/dzero/segments/01_patient.rb', line 5 def self.field_id_to_symbol super.merge({ 'CX' => :patient_id_qualifier, 'CY' => :patient_id, 'C4' => :date_of_birth, 'C5' => :patient_gender_code, 'CA' => :patient_first_name, 'CB' => :patient_last_name, 'CM' => :patient_street_address, 'CN' => :patient_city, 'CO' => :patient_state_or_province, 'CP' => :patient_zip_postal_code, 'CQ' => :patient_phone_number, 'C7' => :place_of_service, 'CZ' => :employer_id, '1C' => :smoker_non_smoker_code, '2C' => :pregnancy_indicator, 'HN' => :patient_email_address, '4X' => :patient_residence, }) end |