/// <summary> /// 创建新的 Iem_Mainpage_Basicinfo 对象。 /// </summary> /// <param name="iem_Mainpage_NO">Iem_Mainpage_NO 的初始值。</param> /// <param name="patNoOfHis">PatNoOfHis 的初始值。</param> /// <param name="noOfInpat">NoOfInpat 的初始值。</param> /// <param name="inCount">InCount 的初始值。</param> /// <param name="name">Name 的初始值。</param> /// <param name="sexID">SexID 的初始值。</param> /// <param name="birth">Birth 的初始值。</param> /// <param name="valide">Valide 的初始值。</param> /// <param name="create_User">Create_User 的初始值。</param> /// <param name="create_Time">Create_Time 的初始值。</param> public static Iem_Mainpage_Basicinfo CreateIem_Mainpage_Basicinfo(decimal iem_Mainpage_NO, string patNoOfHis, decimal noOfInpat, int inCount, string name, string sexID, string birth, decimal valide, string create_User, string create_Time) { Iem_Mainpage_Basicinfo iem_Mainpage_Basicinfo = new Iem_Mainpage_Basicinfo(); iem_Mainpage_Basicinfo.Iem_Mainpage_NO = iem_Mainpage_NO; iem_Mainpage_Basicinfo.PatNoOfHis = patNoOfHis; iem_Mainpage_Basicinfo.NoOfInpat = noOfInpat; iem_Mainpage_Basicinfo.InCount = inCount; iem_Mainpage_Basicinfo.Name = name; iem_Mainpage_Basicinfo.SexID = sexID; iem_Mainpage_Basicinfo.Birth = birth; iem_Mainpage_Basicinfo.Valide = valide; iem_Mainpage_Basicinfo.Create_User = create_User; iem_Mainpage_Basicinfo.Create_Time = create_Time; return(iem_Mainpage_Basicinfo); }
/// <summary> /// 病案首页基本信息 /// </summary> /// <returns></returns> public Iem_Mainpage_Basicinfo GetPrintBasicInfo() { Iem_Mainpage_Basicinfo _BasicInfo = new Iem_Mainpage_Basicinfo(); //_BasicInfo.HospitalName = labelHospitalName.Text; //_BasicInfo.PayName = luePayId.Text; //_BasicInfo.InCount = seInCount.Value.ToString(); //_BasicInfo.PatNoOfHis = txtPatNoOfHis.Text; //_BasicInfo.Name = txtName.Text; //_BasicInfo.SexID = lueSex.CodeValue; //_BasicInfo.Birth = deBirth.DateTime.ToShortDateString(); //_BasicInfo.Age = txtAge.Text; //_BasicInfo.Marital = lueMarital.CodeValue; //_BasicInfo.JobName = lueJob.Text; //_BasicInfo.CountyName = lueCounty.Text; //_BasicInfo.NationName = lueNation.Text; //_BasicInfo.NationalityName = lueNationality.Text; //_BasicInfo.IDNO = txtIDNO.Text; //_BasicInfo.OfficePlace = txtOfficePlace.Text; //_BasicInfo.OfficeTEL = txtOfficeTEL.Text; //_BasicInfo.OfficePost = txtOfficePost.Text; //_BasicInfo.NativeAddress = txtNativeAddress.Text; //_BasicInfo.NativeTEL = txtNativeTEL.Text; //_BasicInfo.NativePost = txtNativePost.Text; //_BasicInfo.ContactPerson = txtContactPerson.Text; //_BasicInfo.Relationship = lueRelationship.Text; //_BasicInfo.ContactAddress = txtContactAddress.Text; //_BasicInfo.ContactTEL = txtContactTEL.Text; //_BasicInfo.AdmitDate = deAdmitDate.DateTime.ToString("yyyy-MM-dd") + " " + teAdmitDate.Time.ToString("HH:mm:ss"); //_BasicInfo.AdmitDeptName = lueAdmitDept.Text; //_BasicInfo.AdmitWardName = lueAdmitWard.Text; //_BasicInfo.Trans_AdmitDept = lueTransAdmitDept.Text; //_BasicInfo.OutWardDate = deOutWardDate.DateTime.ToString("yyyy-MM-dd") + " " + teOutWardDate.Time.ToString("HH:mm:ss"); //_BasicInfo.OutHosDeptName = lueOutHosDept.Text; //_BasicInfo.OutHosWardName = lueOutHosWard.Text; //_BasicInfo.ActualDays = seActualDays.Value.ToString(); return(_BasicInfo); }