protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { try { if (Request.QueryString["ReqId"] != null) { Session.Remove("ReqId"); Session["ReqId"] = EHRDataManager.Decrypt(Request.QueryString["ReqId"], "gftj-5dx7-lsavv1"); LoadPatientProfile(Convert.ToInt32(Session["ReqId"])); LoadMedication(Convert.ToInt32(Session["AccountId"]), Convert.ToInt32(Session["ToId"])); } } catch (Exception ex) { } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { try { if (Request.QueryString["ReqId"] != null) { Session.Remove("ReqId"); Session["ReqId"] = EHRDataManager.Decrypt(Request.QueryString["ReqId"], "gftj-5dx7-lsavv1"); LoadDoctorProfile(Convert.ToInt32(Session["ReqId"])); // Change Request Status from 'New' to 'Read' UpdateRequestStatus(Convert.ToInt32(Session["ReqId"]), Convert.ToInt32(Status.Request.Read)); } } catch (Exception ex) { } } }