edit page1, page2 in addHospitalClauses method