public Models.Domains.Entities.RescueRoomInfo GetReturn()
        {
            var target = new Models.Domains.Entities.RescueRoomInfo();

            target.RescueRoomInfoId = 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);
        }
Beispiel #2
0
        public void GetReturn(Models.Domains.Entities.RescueRoomInfo target)
        {
            target.InDepartmentTime       = this.InDepartmentTime;
            target.BedId                  = this.BedId;
            target.FirstNurseName         = this.FirstNurseName;
            target.InRescueRoomWayId      = this.InRescueRoomWayId;
            target.InRescueRoomWayRemarks = this.InRescueRoomWayRemarks;
            target.AdditionalDiagnosis    = this.AdditionalDiagnosis;

            target.CriticalLevelId          = this.CriticalLevelId;
            target.IsRescue                 = this.IsRescue;
            target.RescueResultId           = this.RescueResultId;
            target.GreenPathCategoryId      = this.GreenPathCategoryId;
            target.GreenPathCategoryRemarks = this.GreenPathCategoryRemarks;
            target.Antibiotic               = this.Antibiotic;
            target.Remarks = this.Remarks;

            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;
        }
Beispiel #3
0
        /// <summary>
        /// 初始化。
        /// </summary>
        /// <param name="target">原抢救室病例。</param>
        public Details(Models.Domains.Entities.RescueRoomInfo target)
        {
            this.RescueRoomInfoId    = target.RescueRoomInfoId;
            this.GreenPathActionName = target.GreenPathActionName;
            this.GreenPathId         = target.GreenPathId;

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

            this.CriticalLevelName         = target.CriticalLevel?.CriticalLevelName;
            this.RescueResultNameFull      = target.RescueResultNameFull;
            this.GreenPathCategoryNameFull = target.GreenPathCategoryNameFull;
            this.Antibiotic = target.Antibiotic;
            this.Remarks    = target.Remarks;

            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;
        }
 public Item(Models.Domains.Entities.RescueRoomInfo rescueRoomInfo)
 {
     this.PatientName       = rescueRoomInfo.PatientName;
     this.OutPatientNumber  = rescueRoomInfo.OutPatientNumber;
     this.InDepartmentTime  = rescueRoomInfo.InDepartmentTime;
     this.OutDepartmentTime = rescueRoomInfo.OutDepartmentTime;
     this.During            = rescueRoomInfo.During;
 }
 /// <summary>
 /// 初始化。
 /// </summary>
 /// <param name="target">抢救室病例。</param>
 public Header(Models.Domains.Entities.RescueRoomInfo 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;
 }
        public Item(Models.Domains.Entities.RescueRoomInfo target)
        {
            this.RescueRoomInfoId = target.RescueRoomInfoId;
            this.Controller       = "RescueRoomInfos";

            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                  = "抢救室";
        }
Beispiel #7
0
        /// <summary>
        /// 初始化。
        /// </summary>
        /// <param name="target">原抢救室病例。</param>
        public Item(Models.Domains.Entities.RescueRoomInfo target)
        {
            this.RescueRoomInfoId = target.RescueRoomInfoId;
            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.InRescueRoomWayNameFull = target.InRescueRoomWayNameFull;
            this.AdditionalDiagnosis     = target.AdditionalDiagnosis;

            this.CriticalLevelName         = target.CriticalLevel?.CriticalLevelName;
            this.RescueResultNameFull      = target.RescueResultNameFull;
            this.GreenPathCategoryNameFull = target.GreenPathCategoryNameFull;
            this.Antibiotic = target.Antibiotic;
            this.Remarks    = target.Remarks;

            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;
        }