/// <summary> /// 加载界面 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ucSetExecTime_Load(object sender, EventArgs e) { //如果是护士站 if (this.isNurseStation == true) { //获取登陆科室信息 deptCode = ((HISFC.Models.Base.Employee)dp.Operator).Dept.ID; deptName = ((HISFC.Models.Base.Employee)dp.Operator).Dept.Name; } //获取参数信息 obj = manager.GetConstant("SETEXECTIME", deptCode); this.lblTitle.Text = deptName + "医嘱分解时间"; if (deptCode == "") { } else { if (obj.ID == "") { MessageBox.Show("本科室尚未设置医嘱分解时间,请进入界面后点【初始化】按钮!"); } if (obj.Memo == "12") { this.lblShowTime.Text = deptName + "的分解时间:当日 12:00 到次日 12:00 "; } else if (obj.Memo == "0") { this.lblShowTime.Text = deptName + "的分解时间:当日 00:00 到次日 00:00 "; } else { this.lblShowTime.Text = deptName + "的分解时间:当日______到次日______"; } } }
private void InitListView() { lvMark.View = View.Details; lvMark.CheckBoxes = true; lvMark.GridLines = true; lvMark.FullRowSelect = true; lvMark.Columns.Add("就诊卡号", 150); lvMark.Columns.Add("卡类型", 80); ListViewItem lvi = null; Neusoft.FrameWork.Models.NeuObject obj = null; foreach (AccountCard accountCard in markList) { lvi = new ListViewItem(); lvi.Text = accountCard.MarkNO; //查找卡类型名称 obj = managerIntegrate.GetConstant("MarkType", accountCard.MarkType.ID); if (obj != null) { lvi.SubItems.Add(obj.Name); } lvi.Tag = accountCard; lvMark.Items.Add(lvi); } }
public void SetValue(Neusoft.HISFC.Models.Account.Account account) { this.lblMarkNO.Text = account.AccountCard.MarkNO; this.lblCaseNO.Text = account.AccountCard.Patient.PID.CaseNO; if (!account.AccountCard.Patient.IsEncrypt) { this.lblName.Text = account.AccountCard.Patient.Name; } else { this.lblName.Text = account.AccountCard.Patient.DecryptName; } this.lblSex.Text = account.AccountCard.Patient.Sex.Name; Neusoft.FrameWork.Models.NeuObject tempobj = managerIteger.GetConstant("NATION", account.AccountCard.Patient.Nationality.ID); if (tempobj != null) { this.lblNation.Text = tempobj.Name; } this.lblage.Text = accountManager.GetAge(account.AccountCard.Patient.Birthday); this.lblBirthDay.Text = account.AccountCard.Patient.Birthday.ToString("yyyy-MM-dd"); this.lblIDENType.Text = account.AccountCard.Patient.IDCardType.Name; this.lblLinkTel.Text = account.AccountCard.Patient.Kin.RelationPhone; this.lblIDENO.Text = account.AccountCard.Patient.IDCard; this.lblhj.Text = account.AccountCard.Patient.DIST; this.lblAdress.Text = account.AccountCard.Patient.AddressHome; this.lblHospitalName.Text = this.managerIteger.GetHospitalName(); }