コード例 #1
0
        private void cmbBedNo_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            if (this.cmbBedNo.Tag == null || this.cmbBedNo.Tag.ToString() == "")
            {
                return;
            }
            if (this.arrivetype == ArriveType.Regedit)
            {
                Neusoft.HISFC.Models.Base.Bed obj = manager.GetBed(this.cmbBedNo.Tag.ToString());
                if (obj == null)
                {
                    return;
                }
                //this.cmbDoc.Tag = obj.Doctor.ID;					//住院医生
                //this.cmbAttendingDoc.Tag = obj.AttendingDoctor.ID;	//主治医生
                //this.cmbConsultingDoc.Tag = obj.ConsultingDoctor.ID;//主任医生
                //this.cmbAdmittingNur.Tag = obj.AdmittingNurse.ID;	//责任护士
                //this.cmbDirector.Tag = obj.AttendingDoctor.ID;//科主任

                #region {52158BBD-8AAF-4048-9C51-2BB6AF9F6F81}
                this.cmbDoc.Tag           = this.patientInfo.PVisit.AdmittingDoctor.ID;   //住院医生
                this.cmbAttendingDoc.Tag  = this.patientInfo.PVisit.AttendingDoctor.ID;   //主治医生
                this.cmbConsultingDoc.Tag = this.patientInfo.PVisit.ConsultingDoctor.ID;  //主任医生
                this.cmbAdmittingNur.Tag  = this.patientInfo.PVisit.AdmittingNurse.ID;    //责任护士
                this.cmbDirector.Tag      = this.patientInfo.PVisit.AttendingDirector.ID; //科主任
                #endregion
            }
        }
コード例 #2
0
 private void cmbBedNo_SelectedIndexChanged_1(object sender, EventArgs e)
 {
     if (this.cmbBedNo.Tag == null || this.cmbBedNo.Tag.ToString() == "")
     {
         return;
     }
     Neusoft.HISFC.Models.Base.Bed obj = deptManager.GetBed(this.cmbBedNo.Tag.ToString());
     if (obj == null)
     {
         return;
     }
     this.cmbDoc.Tag           = obj.Doctor.ID;              //住院医生
     this.cmbAttendingDoc.Tag  = obj.AttendingDoctor.ID;     //主治医生
     this.cmbConsultingDoc.Tag = obj.ConsultingDoctor.ID;    //主任医生
     this.cmbAdmittingNur.Tag  = obj.AdmittingNurse.ID;      //责任护士
 }
コード例 #3
0
 private void cmbBedNo_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     if (this.cmbBedNo.Tag == null || this.cmbBedNo.Tag.ToString() == "")
     {
         return;
     }
     if (this.arrivetype == ArriveType.Regedit)
     {
         Neusoft.HISFC.Models.Base.Bed obj = manager.GetBed(this.cmbBedNo.Tag.ToString());
         if (obj == null)
         {
             return;
         }
         this.cmbDoc.Tag           = obj.Doctor.ID;           //住院医生
         this.cmbAttendingDoc.Tag  = obj.AttendingDoctor.ID;  //主治医生
         this.cmbConsultingDoc.Tag = obj.ConsultingDoctor.ID; //主任医生
         this.cmbAdmittingNur.Tag  = obj.AdmittingNurse.ID;   //责任护士
     }
 }