dbSelectDoctorName added
status check function changed: returns doctor name in the result