Added patients and visits model