Ejemplo n.º 1
0
        public void GetReturn(Models.Domains.Entities.ObserveRoomInfo target)
        {
            target.InDepartmentTime        = this.InDepartmentTime;
            target.BedId                   = this.BedId;
            target.FirstNurseName          = this.FirstNurseName;
            target.InObserveRoomWayId      = this.InObserveRoomWayId;
            target.InObserveRoomWayRemarks = this.InObserveRoomWayRemarks;
            target.AdditionalDiagnosis     = this.AdditionalDiagnosis;

            target.DestinationFirstId      = this.DestinationFirstId;
            target.DestinationFirstTime    = this.DestinationFirstTime;
            target.DestinationFirstContact = this.DestinationFirstContact;
            target.DestinationSecondId     = this.DestinationSecondId;

            target.OutDepartmentTime  = this.OutDepartmentTime;
            target.DestinationId      = this.DestinationId;
            target.DestinationRemarks = this.DestinationRemarks;
            target.HandleNurse        = this.HandleNurse;
            target.DiagnosisName      = this.DiagnosisName;
            target.TransferReasonId   = this.TransferReasonId;
            target.TransferTarget     = this.TransferTarget;
            target.ProfessionalTarget = this.ProfessionalTarget;

            target.TimeStamp = this.TimeStamp;

            target.UpdateTime = DateTime.Now;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 初始化。
        /// </summary>
        /// <param name="target">原留观室病例。</param>
        public Item(Models.Domains.Entities.ObserveRoomInfo target)
        {
            this.ObserveRoomInfoId = target.ObserveRoomInfoId;
            this.IsLeave           = target.OutDepartmentTime.HasValue;

            this.PatientName      = target.PatientName;
            this.OutPatientNumber = target.OutPatientNumber;
            this.Sex                 = target.Sex;
            this.ReceiveAgeName      = target.ReceiveAgeName;
            this.DiagnosisNameOrigin = target.DiagnosisNameOrigin;
            this.ReceiveTime         = target.ReceiveTime;
            this.FirstDoctorName     = target.FirstDoctorName;

            this.InDepartmentTime         = target.InDepartmentTime;
            this.BedNameFull              = target.BedNameFull;
            this.FirstNurseName           = target.FirstNurseName;
            this.InObserveRoomWayNameFull = target.InObserveRoomWayNameFull;
            this.AdditionalDiagnosis      = target.AdditionalDiagnosis;

            this.DestinationFirstName    = target.DestinationFirstName;
            this.DestinationFirstTime    = target.DestinationFirstTime;
            this.DestinationFirstContact = target.DestinationFirstContact;
            this.DestinationSecondName   = target.DestinationSecondName;

            this.OutDepartmentTime   = target.OutDepartmentTime;
            this.During              = target.During;
            this.DestinationNameFull = target.DestinationNameFull;
            this.HandleNurse         = target.HandleNurse;
            this.DiagnosisName       = target.DiagnosisName;
        }
Ejemplo n.º 3
0
        public Models.Domains.Entities.ObserveRoomInfo GetReturn()
        {
            var target = new Models.Domains.Entities.ObserveRoomInfo();

            target.ObserveRoomInfoId = Guid.NewGuid();

            target.PatientName      = this.PatientName;
            target.OutPatientNumber = this.OutPatientNumber;
            target.Sex                 = this.Sex;
            target.BirthDate           = this.BirthDate;
            target.DiagnosisNameOrigin = this.DiagnosisNameOrigin;
            target.ReceiveTime         = this.ReceiveTime;
            target.FirstDoctorName     = this.FirstDoctorName;

            target.InDepartmentTime = DateTime.Now;

            target.KDJID  = this.KDJID;
            target.BRXXID = this.BRXXID;
            target.GHXXID = this.GHXXID;
            target.JZID   = this.JZID;

            target.UpdateTime = DateTime.Now;

            return(target);
        }
Ejemplo n.º 4
0
 /// <summary>
 /// 初始化。
 /// </summary>
 /// <param name="target">留观室病例。</param>
 public Header(Models.Domains.Entities.ObserveRoomInfo target)
 {
     this.PatientName      = target.PatientName;
     this.OutPatientNumber = target.OutPatientNumber;
     this.Sex                 = target.Sex;
     this.ReceiveAgeName      = target.ReceiveAgeName;
     this.DiagnosisNameOrigin = target.DiagnosisNameOrigin;
     this.ReceiveTime         = target.ReceiveTime;
     this.FirstDoctorName     = target.FirstDoctorName;
 }
Ejemplo n.º 5
0
        public Item(Models.Domains.Entities.ObserveRoomInfo target)
        {
            this.ObserveRoomInfoId = target.ObserveRoomInfoId;
            this.Controller        = "ObserveRoomInfos";

            this.PatientName      = target.PatientName;
            this.OutPatientNumber = target.OutPatientNumber;
            this.InDepartmentTime = target.InDepartmentTime;
            this.BedNameFull      = target.BedNameFull;
            this.Sex                     = target.Sex;
            this.ReceiveAgeName          = target.ReceiveAgeName;
            this.DestinationFirstName    = target.DestinationFirstName;
            this.DestinationFirstTime    = target.DestinationFirstTime;
            this.DestinationFirstContact = target.DestinationFirstContact;
            this.DestinationSecondName   = target.DestinationSecondName;
            this.Source                  = "留观室";
        }
Ejemplo n.º 6
0
        /// <summary>
        /// 初始化。
        /// </summary>
        /// <param name="target">原留观室病例。</param>
        public Details(Models.Domains.Entities.ObserveRoomInfo target)
        {
            this.ObserveRoomInfoId = target.ObserveRoomInfoId;

            this.InDepartmentTime         = target.InDepartmentTime;
            this.BedNameFull              = target.BedNameFull;
            this.FirstNurseName           = target.FirstNurseName;
            this.InObserveRoomWayNameFull = target.InObserveRoomWayNameFull;
            this.AdditionalDiagnosis      = target.AdditionalDiagnosis;

            this.DestinationFirstName    = target.DestinationFirstName;
            this.DestinationFirstTime    = target.DestinationFirstTime;
            this.DestinationFirstContact = target.DestinationFirstContact;
            this.DestinationSecondName   = target.DestinationSecondName;

            this.OutDepartmentTime   = target.OutDepartmentTime;
            this.During              = target.During;
            this.DuringDetained      = target.DuringDetained;
            this.DestinationNameFull = target.DestinationNameFull;
            this.HandleNurse         = target.HandleNurse;
            this.DiagnosisName       = target.DiagnosisName;
            this.IsLeaveName         = target.IsLeaveName;
        }