Added visit and visit diagnosis.