⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 currentmedicaltherapy_gu.ascx.cs

📁 医疗决策支持系统
💻 CS
字号:
namespace Caisis.UI.Modules.Prostate.Eforms
{
	using System;
	using System.Data;
	using System.Drawing;
	using System.Web;
	using System.Web.UI.WebControls;
	using System.Web.UI.HtmlControls;

	using Caisis.BusinessObject;
	using Caisis.UI.Core.Classes;
	using Caisis.UI.Modules.Prostate.PaperForms;
	using Caisis.DataAccess;
	using Caisis.UI.Core.Classes.CustomControls;

	/// <summary>
	///		Summary description for MedicationsClinical.
	/// </summary>
	public class CurrentMedicalTherapy_GU : BaseEFormControl
	{

		protected Label CurrentTXLabel, CurrentTXStartDateLabel;
		protected HtmlTableRow CurrentTXRow;
		protected EformComboBox MedTxAgent_Current;
		protected EformTextBox CurrentMedTxDateText;


		override protected void Page_Load(object sender, System.EventArgs e)
		{
			base.Page_Load(sender, e);
			BuildCurrentMedTx();
		
		}

		protected void BuildCurrentMedTx()
		{
			MedicalTherapyDa Da = new MedicalTherapyDa();
			DataSet Ds = new DataSet();

			Ds = Da.FormGetRecords(this._patientId, this._eformName, "Dynamic");


			if (Ds.Tables.Count > 0 && Ds.Tables[0].Rows.Count > 0)
			{
				CurrentTXLabel.Text = Ds.Tables[0].Rows[(Ds.Tables[0].Rows.Count)-1]["MedTxAgent"].ToString();
				CurrentTXStartDateLabel.Text = Ds.Tables[0].Rows[(Ds.Tables[0].Rows.Count)-1]["MedTxDateText"].ToString();
				CurrentTXRow.Attributes.Add("class", "ClinicalEformPopulatedRow");
				CurrentTXRow.Attributes.Add("onMouseOver", "this.className='ClinicalEformHighlightedRow';");
				CurrentTXRow.Attributes.Add("onMouseOut", "this.className='ClinicalEformPopulatedRow';");
				CurrentTXRow.Attributes.Add("onclick", "LoadDataEntryForm('MedicalTherapy', " + Ds.Tables[0].Rows[(Ds.Tables[0].Rows.Count)-1]["MedicalTherapyId"].ToString() + ", 'MedTxDateText,MedTxDate,MedTxType,MedTxAgent,MedTxDose,MedTxUnits,MedTxInstitution,MedTxNotes', 'CurrentMedicalTherapy_GU');");
			
				CurrentMedTxDateText.Visible = false;
				MedTxAgent_Current.Visible = false;
			}
		}



	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -