added in view_patient cake file