Class: HealthcarePhony::Patient
- Inherits:
-
Object
- Object
- HealthcarePhony::Patient
- Defined in:
- lib/healthcare_phony/patient.rb
Overview
Public: Randomly generate a Patient
Instance Attribute Summary collapse
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#addresses ⇒ Object
Returns the value of attribute addresses.
-
#birth_order ⇒ Object
Returns the value of attribute birth_order.
-
#cell_phone ⇒ Object
Returns the value of attribute cell_phone.
-
#date_of_birth ⇒ Object
Returns the value of attribute date_of_birth.
-
#death_datetime ⇒ Object
Returns the value of attribute death_datetime.
-
#death_indicator ⇒ Object
Returns the value of attribute death_indicator.
-
#drivers_license ⇒ Object
Returns the value of attribute drivers_license.
-
#email ⇒ Object
Returns the value of attribute email.
-
#ethnic_group ⇒ Object
Returns the value of attribute ethnic_group.
-
#gender ⇒ Object
Returns the value of attribute gender.
-
#home_phone ⇒ Object
Returns the value of attribute home_phone.
-
#language ⇒ Object
Returns the value of attribute language.
-
#marital_status ⇒ Object
Returns the value of attribute marital_status.
-
#medical_record_number ⇒ Object
Returns the value of attribute medical_record_number.
-
#multiple_birth_indicator ⇒ Object
Returns the value of attribute multiple_birth_indicator.
-
#names ⇒ Object
Returns the value of attribute names.
-
#races ⇒ Object
Returns the value of attribute races.
-
#religion ⇒ Object
Returns the value of attribute religion.
-
#ssn ⇒ Object
Returns the value of attribute ssn.
-
#work_phone ⇒ Object
Returns the value of attribute work_phone.
Instance Method Summary collapse
-
#initialize(init_args = {}) ⇒ Patient
constructor
A new instance of Patient.
Constructor Details
#initialize(init_args = {}) ⇒ Patient
28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/healthcare_phony/patient.rb', line 28 def initialize(init_args = {}) define_gender(init_args) define_names(init_args) define_addresses(init_args) define_phones(init_args) define_dob(init_args) define_race(init_args) define_other define_identifiers define_birth_order define_death end |
Instance Attribute Details
#account_number ⇒ Object
Returns the value of attribute account_number.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def account_number @account_number end |
#addresses ⇒ Object
Returns the value of attribute addresses.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def addresses @addresses end |
#birth_order ⇒ Object
Returns the value of attribute birth_order.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def birth_order @birth_order end |
#cell_phone ⇒ Object
Returns the value of attribute cell_phone.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def cell_phone @cell_phone end |
#date_of_birth ⇒ Object
Returns the value of attribute date_of_birth.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def date_of_birth @date_of_birth end |
#death_datetime ⇒ Object
Returns the value of attribute death_datetime.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def death_datetime @death_datetime end |
#death_indicator ⇒ Object
Returns the value of attribute death_indicator.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def death_indicator @death_indicator end |
#drivers_license ⇒ Object
Returns the value of attribute drivers_license.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def drivers_license @drivers_license end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def email @email end |
#ethnic_group ⇒ Object
Returns the value of attribute ethnic_group.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def ethnic_group @ethnic_group end |
#gender ⇒ Object
Returns the value of attribute gender.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def gender @gender end |
#home_phone ⇒ Object
Returns the value of attribute home_phone.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def home_phone @home_phone end |
#language ⇒ Object
Returns the value of attribute language.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def language @language end |
#marital_status ⇒ Object
Returns the value of attribute marital_status.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def marital_status @marital_status end |
#medical_record_number ⇒ Object
Returns the value of attribute medical_record_number.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def medical_record_number @medical_record_number end |
#multiple_birth_indicator ⇒ Object
Returns the value of attribute multiple_birth_indicator.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def multiple_birth_indicator @multiple_birth_indicator end |
#names ⇒ Object
Returns the value of attribute names.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def names @names end |
#races ⇒ Object
Returns the value of attribute races.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def races @races end |
#religion ⇒ Object
Returns the value of attribute religion.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def religion @religion end |
#ssn ⇒ Object
Returns the value of attribute ssn.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def ssn @ssn end |
#work_phone ⇒ Object
Returns the value of attribute work_phone.
6 7 8 |
# File 'lib/healthcare_phony/patient.rb', line 6 def work_phone @work_phone end |