Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 public int PrintSetValue(Neusoft.HISFC.Models.Account.Account account)
 {
     this.lblCardNo.Text     = account.AccountRecord[0].Patient.PID.CardNO;
     this.lbldate.Text       = account.AccountRecord[0].OperTime.ToString();
     this.lblInvoiceNo.Text  = account.AccountRecord[0].ReMark;
     this.lblMoney.Text      = account.AccountRecord[0].Money.ToString();
     this.lblMoneyUpper.Text = Neusoft.FrameWork.Function.NConvert.ToCapital(account.AccountRecord[0].Money);
     //if(account.Patient!=null)
     //    this.lblName.Text = account.Patient.DecryptName;
     this.lblOper.Text        = account.AccountRecord[0].Oper;
     this.lblInvoiceNo.Text   = account.AccountRecord[0].ReMark;
     this.lblCardNo.Text      = account.AccountRecord[0].Patient.PID.CardNO;
     this.lblPrePayMoney.Text = account.AccountRecord[0].Money.ToString();
     return(1);
 }