public void savePatientEncounterChronicIllness(string chronicIllness, string vaccines, string allergies) { PatientEncounterLogic patientEncounter = new PatientEncounterLogic(); patientEncounter.savePatientEncounterChronicIllness(Session["ExistingRecordPatientMasterVisitID"].ToString() == "0" ? Session["PatientMasterVisitID"].ToString() : Session["ExistingRecordPatientMasterVisitID"].ToString(), Session["PatientPK"].ToString(), Session["AppUserId"].ToString(), chronicIllness, vaccines, allergies); }