protected void LoadPatientsData() { //load users list CPatient patadmin = new CPatient(); DataSet dsPatients = patadmin.GetPatientPortalListDS(BaseMstr); storePatAccount.DataSource = m_utils.GetDataTable(dsPatients); storePatAccount.DataBind(); //generates user data JSON string ProcessPatientData(dsPatients); htxtPatientData.Value = utils.GetJSONString(dsPatients); }
protected void btnPopupPatlookupSearch_Click(object sender, EventArgs e) { divPatLookupStatus.InnerHtml = String.Empty; CPatient pat = new CPatient(); string strSearchText = ""; strSearchText = txtSearch.Text.ToUpper(); //TIU SUPPORT - transfer MDWS patient if (BaseMstr.APPMaster.TIU) { //1 = last name, 2 = LSSN long lMatchType = Convert.ToInt32(rblSearchType.SelectedValue); if (lMatchType == 3) { lMatchType = 2; } //transfer patients from MDWS to revamp db MDWSPatientTransfer(lMatchType, strSearchText); } DataSet ds = pat.GetPatientLookupDS(BaseMstr, 1, Convert.ToInt32(rblSearchType.SelectedValue), strSearchText ); if (ds != null) { Store1.DataSource = m_utils.GetDataTable(ds); Store1.DataBind(); if (ds.Tables[0].Rows.Count < 1) { ShowLookupMesage(); } } else { ShowLookupMesage(); } ScriptManager.RegisterClientScriptBlock(upPatLookup, typeof(string), "initRadios", "InitRadios();", true); }