示例#1
0
        public void Update(decimal PatientId, string Pid, string PatientName, string Address, int?YearBirth, bool?Sex,
                           string InsuranceNum, DateTime?Dateupdate, string Diagnostic, string IdentifyNum, short?DepartmentID,
                           string Room, string Bed, int?ObjectType, int?HosStatus, DateTime?Dob, int?LotID, string CanLamSangId,
                           byte?TestCount, byte?TestHasResult, byte?PrintStatus, short?HasAllResult, short?IsFinal)
        {
            var item = new LPatientInfo();

            item.MarkOld();
            item.IsLoaded = true;

            item.PatientId = PatientId;

            item.Pid = Pid;

            item.PatientName = PatientName;

            item.Address = Address;

            item.YearBirth = YearBirth;

            item.Sex = Sex;

            item.InsuranceNum = InsuranceNum;

            item.Dateupdate = Dateupdate;

            item.Diagnostic = Diagnostic;

            item.IdentifyNum = IdentifyNum;

            item.DepartmentID = DepartmentID;

            item.Room = Room;

            item.Bed = Bed;

            item.ObjectType = ObjectType;

            item.HosStatus = HosStatus;

            item.Dob = Dob;

            item.LotID = LotID;

            item.CanLamSangId = CanLamSangId;

            item.TestCount = TestCount;

            item.TestHasResult = TestHasResult;

            item.PrintStatus = PrintStatus;

            item.HasAllResult = HasAllResult;

            item.IsFinal = IsFinal;

            item.Save(UserName);
        }
示例#2
0
 public bool Destroy(object PatientId)
 {
     return(LPatientInfo.Destroy(PatientId) == 1);
 }
示例#3
0
 public bool Delete(object PatientId)
 {
     return(LPatientInfo.Delete(PatientId) == 1);
 }