private void btnUnusual_Click(object sender, EventArgs e) { List <MED_LAB_PATIENT> labPatientList = EMRDictService.GetLabPatientList(ExtendApplicationContext.Current.PatientInformationExtend.PATIENT_ID, ExtendApplicationContext.Current.PatientInformationExtend.VISIT_ID); labPatientList = labPatientList.Where(x => x.ABNORMAL_INDICATOR == "H" || x.ABNORMAL_INDICATOR == "L").ToList(); DataTable dt = new ModelHandler <MED_LAB_PATIENT>().ToDataTable(labPatientList); gridControl2.DataSource = dt; }
private void QueryResult(int rowIndex) { if (rowIndex >= 0) { string TestNo = gridView1.GetDataRow(rowIndex)[0].ToString(); DataTable dt = new ModelHandler <MED_LAB_RESULT>().ToDataTable(EMRDictService.GetLabResult(TestNo)); // gridView1.GetDataRow(1) gridControl2.DataSource = dt; } }
private void QueryMasetr() { DataTable dt = new ModelHandler <MED_LAB_TEST_MASTER>().ToDataTable(EMRDictService.GetPatLabTestMaster(ExtendApplicationContext.Current.PatientInformationExtend.PATIENT_ID, ExtendApplicationContext.Current.PatientInformationExtend.VISIT_ID)); gridControl1.DataSource = dt;// }