///--------------------------------------------------------------------------------------------------------------------------------------- /// \fn GetPhone() /// /// \brief Retrieves a Patient_Dependant's phone number. /// /// \description Returns a string containing the phone number of a Dependant by referencing the corresponding head-of-household object. /// /// \author Kieron Higgs ///--------------------------------------------------------------------------------------------------------------------------------------- /// public override String GetPhone() { Patient_HoH HoH = (Patient_HoH)Database.Patients[this.HoH_HCN]; return(HoH.Phone); }
///--------------------------------------------------------------------------------------------------------------------------------------------- /// \fn GetAddress() /// /// \brief Retrieves a Patient_Dependant's address. /// /// \description Returns a string containing the first address line of a Dependant by referencing the corresponding head-of-household object. /// /// \author Kieron Higgs ///--------------------------------------------------------------------------------------------------------------------------------------------- /// public override String GetAddress() { Patient_HoH HoH = (Patient_HoH)Database.Patients[this.HoH_HCN]; return(HoH.AddressLine1); }