Appointment and Patient registration to get the value for "Gender" when an employee/dependent  is selected

1) When we save a new employee info. from Appointment/patient registration, it should automatically get Gender Value
2) For dependent case, Gender value should be fetched from HR
