functionality for clinic view added