made getter methods for patient
implemented get all patients like method