added doctor visit add functionality