/* protected void LoadSurveyForm() * { * if (null != SurveyFormHolder) * { * SurveyFormControl = (Caisis.UI.Core.Classes.BasePaperFormControl)this.LoadControl("UroSurveyUrinSexFunc.ascx"); * * * SurveyFormControl.BatchPatientId = this._batchPatientId; * SurveyFormControl.FormInPatientId = this._formInPatientId; * SurveyFormControl.FormAppointmentId = this._formAppointmentId; * * * * SurveyFormHolder.Controls.Add(SurveyFormControl); * } * } */ protected void BuildHPI() { if (patientID != 0) { try { PatientDa hpiDa = new PatientDa(); DataSet hpiDs = hpiDa.GetPatientHPIProstateGU(this.patientID, 0); if (hpiDs.Tables[0].Rows.Count > 0) { hpi.DataSource = hpiDs.Tables[0].DefaultView; hpi.DataBind(); } } catch (Exception ex) { hpi.Visible = false; ExceptionHandler.Publish(ex); } NomogramDa nda = new NomogramDa(); try { preRP5Nomo.Text = "PreRP 5: " + ((int)Math.Round(nda.GetPreRPResult(patientID, 5), 0)).ToString(); } catch { } try { preRP10Nomo.Text = "PreRP 10: " + ((int)Math.Round(nda.GetPreRPResult(patientID, 10), 0)).ToString(); } catch { } try { preXRTNomo.Text = "PreXRT: " + ((int)Math.Round(nda.GetPreXRTResult(patientID), 0)).ToString(); } catch { } try { preBrachyNomo.Text = "PreBrachy: " + ((int)Math.Round(nda.GetPreBrachyResult(patientID), 0)).ToString(); } catch { } /* * try * { * psaDT.Text = "PSA Doubling Time calculated based on all PSA values from the last 6 months: " + ((int)Math.Round(nda.GetPreBrachyResult(patientID), 0)).ToString(); * } * catch { } */ } }
protected void BuildHPI() { if (patientID != 0) { try { PatientDa hpiDa = new PatientDa(); DataSet hpiDs = hpiDa.GetPatientHPIProstateGU(this.patientID, 0); hpi.DataSource = hpiDs.Tables[0].DefaultView; hpi.DataBind(); int rowCount = hpiDs.Tables[0].Rows.Count; } catch (Exception ex) { hpi.Visible = false; ExceptionHandler.Publish(ex); } } }
protected void BuildHPI() { InitContentBuffer(); PatientDa hpiDa = new PatientDa(); DataSet hpiDs; hpiDs = hpiDa.GetPatientHPIProstateGU(this._patientId, 1); if (hpiDs.Tables[0].Rows.Count > 0) { DataTable ExpandedHpiDT = ExpandedHpi(hpiDs.Tables[0]); hpi.DataSource = ExpandedHpiDT.DefaultView; hpi.DataBind(); } else { NoHPIMsg.Visible = true; } }