/// <summary> /// 特殊记录内容格式Xml的获取 /// </summary> /// <returns></returns> public override string m_strGetTrackXml() { if (m_objRecordContent == null) { return(""); } clsDeathRecordContent_XJ objContent = ((clsDeathRecordContent_XJ)m_objRecordContent); string strText = m_strGetHeaderText(); string strCreateUserName = ""; clsEmployee objEmployee = new clsEmployee(m_objRecordContent.m_strCreateUserID); if (objEmployee != null) { strCreateUserName = objEmployee.m_StrLastName; } string strXML1 = ctlRichTextBox.s_strMakeTextXml(strText, objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); //string strXML2 = ctlRichTextBox.s_strMakeTextXml("\n 心电图号:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); //string strXML3 = ctlRichTextBox.s_strMakeTextXml("\n X光号:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML2 = ctlRichTextBox.s_strMakeTextXml("\n 中医入院诊断:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML3 = ctlRichTextBox.s_strMakeTextXml("\n 西医入院诊断:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML4 = ctlRichTextBox.s_strMakeTextXml("\n 中医死亡诊断:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML5 = ctlRichTextBox.s_strMakeTextXml("\n 西医死亡诊断:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML6 = ctlRichTextBox.s_strMakeTextXml("\n 主治医师:" + objContent.m_strMainDoctorName, objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML7 = ctlRichTextBox.s_strMakeTextXml("\n 入院情况:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); //string strXML8 = ctlRichTextBox.s_strMakeTextXml("\n 诊疗经过:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML8 = ctlRichTextBox.s_strMakeTextXml("\n 诊疗经过:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML9 = ctlRichTextBox.s_strMakeTextXml("\n 死亡原因:", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White); string strXML = ctlRichTextBox.s_strCombineXml(new string[] { strXML1, strXML2, objContent.m_strInHospitalDiagnoseXML, strXML3, objContent.m_strInHospitalDiagnoseXiXML, strXML4, objContent.m_strOutHospitalDiagnoseXML, strXML5, objContent.m_strOutHospitalDiagnoseXiXML, strXML6, strXML7, objContent.m_strInHospitalCaseXML, strXML8, objContent.m_strOutHospitalCaseXML, strXML9, objContent.m_strOutHospitalAdviceXML }); return(strXML); }
/// <summary> /// 特殊记录内容签名的获取 /// </summary> /// <returns></returns> public override string m_strGetSignText() { if (m_objRecordContent == null) { return(""); } clsDeathRecordContent_XJ objContent = ((clsDeathRecordContent_XJ)m_objRecordContent); return(objContent.m_strDoctorName); }
/// <summary> /// 提取表头基本信息 /// </summary> /// <returns></returns> private string m_strGetHeaderText() { if (m_objRecordContent == null) { return(""); } clsDeathRecordContent_XJ objContent = ((clsDeathRecordContent_XJ)m_objRecordContent); string strText; strText = objContent.m_dtmCreateDate.ToString(MDIParent.s_ObjRecordDateTimeInfo.m_strGetRecordTimeFormat("frmDeathRecord_XJ")) + " " + "出院记录\n"; clsPatient objPatient = new clsPatient(objContent.m_strInPatientID); if (objPatient != null && objPatient.m_ObjPeopleInfo != null) { strText += " " + objPatient.m_ObjPeopleInfo.m_StrFirstName + "," + objPatient.m_ObjPeopleInfo.m_StrSex + "," + objPatient.m_ObjPeopleInfo.m_IntAge.ToString() + "岁,"; } else { strText += " 病人信息不详,"; } string strInHospitalReason = ""; #region 入院原因(主诉) clsInPatientCaseHisoryDefaultValue[] objInPatientCaseHisoryDefaultValueArr = new clsInPatientCaseHisoryDefaultDomain().lngGetAllInPatientCaseHisoryDefault(objContent.m_strInPatientID, objContent.m_dtmInPatientDate.ToString("yyyy-MM-dd HH:mm:ss")); if (objInPatientCaseHisoryDefaultValueArr != null && objInPatientCaseHisoryDefaultValueArr.Length > 0) { strInHospitalReason = objInPatientCaseHisoryDefaultValueArr[0].m_strMainDescription; } #endregion 入院原因(主诉) string strLastChar = ""; if (strInHospitalReason != null && strInHospitalReason.Length > 0) { strLastChar = strInHospitalReason.Substring(strInHospitalReason.Length - 1, 1); } if (strLastChar == "." || strLastChar == "," || strLastChar == "," || strLastChar == "。")//去掉最后的标点 { strInHospitalReason = strInHospitalReason.Substring(0, strInHospitalReason.Length - 1); } if (strInHospitalReason != "") { strInHospitalReason = "因" + strInHospitalReason + ","; } TimeSpan ts = objContent.m_dtmOutHospitalDate - objContent.m_dtmInPatientDate; //MM月->01月,M月->1月 只认英文字符 strText += strInHospitalReason + objContent.m_dtmInPatientDate.ToString("yyyy年MM月dd日") + "入院," + objContent.m_dtmOutHospitalDate.ToString("yyyy年MM月dd日") + "出院,共住院" + (ts.Days + 1).ToString() + "天。"; return(strText); }
//infPrintRecord objPrintTool; protected override void m_mthSubPreviewInactiveRecord(IWin32Window p_infOwner, clsInactiveRecordInfo_VO p_objSelectedValue) { if (p_objSelectedValue == null) { return; } objPrintTool = new clsDeathRecord_XJPrintTool(); if (m_objBaseCurrentPatient != null) { objPrintTool.m_mthInitPrintTool(null); objPrintTool.m_mthSetPrintInfo(m_objBaseCurrentPatient, p_objSelectedValue.m_DtmInpatientDate, p_objSelectedValue.m_DtmOpenDate); //clsPrintInfo_Consultation objPrintInfo = new clsPrintInfo_Consultation(); clsPrintInfo_DeathRecord_XJ objPrintInfo = new clsPrintInfo_DeathRecord_XJ(); //objPrintInfo.m_dtmHISInDate = p_objSelectedValue.m_DtmInpatientDate; //??? objPrintInfo.m_dtmInPatientDate = p_objSelectedValue.m_DtmInpatientDate; objPrintInfo.m_dtmOpenDate = p_objSelectedValue.m_DtmOpenDate; //objPrintInfo.m_strAge = p_objSelectedValue; //objPrintInfo.m_strAreaName //objPrintInfo.m_strBedName //objPrintInfo.m_strDeptName= //objPrintInfo.m_strHISInPatientID= objPrintInfo.m_strInPatentID = p_objSelectedValue.m_StrInpatientId; //objPrintInfo.m_strPatientName = //objPrintInfo.m_strSex= clsTrackRecordContent p_objContent = new clsDeathRecordContent_XJ(); long lngRes = m_objGetDiseaseTrackDomain().m_lngGetDeleteRecordContent(p_objSelectedValue.m_StrInpatientId, p_objSelectedValue.m_DtmInpatientDate.ToString("yyyy-MM-dd HH:mm:ss"), p_objSelectedValue.m_DtmOpenDate.ToString("yyyy-MM-dd HH:mm:ss"), out p_objContent); clsDeathRecordContent_XJ objContent = (clsDeathRecordContent_XJ)p_objContent; //objPrintInfo.m_objContent = objContent; objPrintInfo.m_objRecordContent = objContent; //objPrintInfo.m_blnIsFirstPrint = false; objPrintTool.m_mthSetPrintContent(objPrintInfo); m_mthStartPrint(); //ppdPrintPreview.Document = m_pdcPrintDocument; //ppdPrintPreview.ShowDialog(p_infOwner); } }
protected override void m_mthSetDeletedGUIFromContent(clsTrackRecordContent p_objContent) { if (p_objContent == null) { return; } clsDeathRecordContent_XJ objContent = (clsDeathRecordContent_XJ)p_objContent; //把表单值赋值到界面,由子窗体重载实现 // m_dtpOutHospitalDate.Value = objContent.m_dtmOutHospitalDate; m_mthGetSetlectedOutDate(); if (m_dtmOutHospitalDate == new DateTime(1900, 1, 1) || m_dtmOutHospitalDate == DateTime.MinValue) { m_dtpOutHospitalDate.Visible = false; } else { m_dtpOutHospitalDate.Visible = true; m_dtpOutHospitalDate.Value = m_dtmOutHospitalDate; if (clsEMRLogin.m_StrCurrentHospitalNO != "450101001")//非南宁 { m_dtpOutHospitalDate.Enabled = true; } else { m_dtpOutHospitalDate.Enabled = false; } } //m_txtHeartID.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strHeartID, objContent.m_strHeartIDXML); //m_txtXRayID.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strXRayID, objContent.m_strXRayIDXML); m_txtInHospitalDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalDiagnose, objContent.m_strInHospitalDiagnoseXML); m_txtInXiYiDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalDiagnoseXi, objContent.m_strInHospitalDiagnoseXiXML); m_txtOutHospitalDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalDiagnose, objContent.m_strOutHospitalDiagnoseXML); m_txtOutXiYiDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalDiagnoseXi, objContent.m_strOutHospitalDiagnoseXiXML); m_txtInHospitalCase.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalCase, objContent.m_strInHospitalCaseXML); //m_txtInHospitalBy.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalBy, objContent.m_strInHospitalByXML); m_txtOutHospitalCase.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalCase, objContent.m_strOutHospitalCaseXML); m_txtOutHospitalAdvice.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalAdvice, objContent.m_strOutHospitalAdviceXML); }
protected override bool m_blnSubReuse(clsInactiveRecordInfo_VO p_objSelectedValue) { bool blnIsOK = false; if (p_objSelectedValue != null) { clsTrackRecordContent m_objContent = new clsDeathRecordContent_XJ(); long lngRes = m_objGetDiseaseTrackDomain().m_lngGetDeleteRecordContent(p_objSelectedValue.m_StrInpatientId, p_objSelectedValue.m_DtmInpatientDate.ToString("yyyy-MM-dd HH:mm:ss"), p_objSelectedValue.m_DtmOpenDate.ToString("yyyy-MM-dd HH:mm:ss"), out m_objContent); if (lngRes <= 0 || m_objContent == null) { switch (lngRes) { case (long)(iCareData.enmOperationResult.Not_permission): m_mthShowNotPermitted(); break; case (long)(iCareData.enmOperationResult.DB_Fail): m_mthShowDBError(); break; } return(blnIsOK); } clsDeathRecordContent_XJ p_objContent = (clsDeathRecordContent_XJ)m_objContent; this.m_dtpOutHospitalDate.Text = p_objContent.m_dtmOutHospitalDate.ToString("yyyy-MM-dd hh:mm:ss"); this.m_txtMainDoctorSign.Text = p_objContent.m_strMainDoctorName; // this.m_txtDoctorSign.Text = p_objContent.m_strDoctorName; this.m_txtInXiYiDiagnose.Text = p_objContent.m_strInHospitalDiagnoseXi; this.m_txtInHospitalDiagnose.Text = p_objContent.m_strInHospitalDiagnose; this.m_txtOutHospitalDiagnose.Text = p_objContent.m_strOutHospitalDiagnose; this.m_txtOutXiYiDiagnose.Text = p_objContent.m_strOutHospitalDiagnoseXi; this.m_txtInHospitalCase.Text = p_objContent.m_strInHospitalCase; //this.m_txtInHospitalBy.Text = p_objContent.m_strInHospitalBy; this.m_txtOutHospitalCase.Text = p_objContent.m_strOutHospitalCase; this.m_txtOutHospitalAdvice.Text = p_objContent.m_strOutHospitalAdvice; //clsEmrSignToolCollection m_objSign = new clsEmrSignToolCollection(); blnIsOK = true; } return(blnIsOK); }
/// <summary> /// 把选择时间记录内容重新整理为完全正确的内容。 /// </summary> /// <param name="p_objRecordContent"></param> protected override void m_mthReAddNewRecord(clsTrackRecordContent p_objRecordContent) { //把选择时间记录内容重新整理为完全正确的内容,由子窗体重载实现。 clsDeathRecordContent_XJ objContent = (clsDeathRecordContent_XJ)p_objRecordContent; //把表单值赋值到界面,由子窗体重载实现 //m_txtHeartID.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strHeartID, objContent.m_strHeartIDXML); //m_txtXRayID.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strXRayID, objContent.m_strXRayIDXML); m_txtInHospitalDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalDiagnose, objContent.m_strInHospitalDiagnoseXML); m_txtInXiYiDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalDiagnoseXi, objContent.m_strInHospitalDiagnoseXiXML); m_txtOutHospitalDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalDiagnose, objContent.m_strOutHospitalDiagnoseXML); m_txtOutXiYiDiagnose.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalDiagnoseXi, objContent.m_strOutHospitalDiagnoseXiXML); m_txtInHospitalCase.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalCase, objContent.m_strInHospitalCaseXML); //m_txtInHospitalBy.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strInHospitalBy, objContent.m_strInHospitalByXML); m_txtOutHospitalCase.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalCase, objContent.m_strOutHospitalCaseXML); m_txtOutHospitalAdvice.Text = com.digitalwave.controls.ctlRichTextBox.s_strGetRightText(objContent.m_strOutHospitalAdvice, objContent.m_strOutHospitalAdviceXML); }
/// <summary> /// 特殊记录内容文本的获取。 /// </summary> /// <returns></returns> public override string m_strGetTrackText() { if (m_objRecordContent == null) { return(""); } clsDeathRecordContent_XJ objContent = ((clsDeathRecordContent_XJ)m_objRecordContent); string strText = m_strGetHeaderText(); //strText += "\n 心电图号:" + objContent.m_strHeartID; //strText += "\n X光号:" + objContent.m_strXRayID; strText += "\n 中医入院诊断:" + objContent.m_strInHospitalDiagnose; strText += "\n 西医入院诊断:" + objContent.m_strInHospitalDiagnoseXi; strText += "\n 中医死亡诊断:" + objContent.m_strOutHospitalDiagnose; strText += "\n 西医死亡诊断:" + objContent.m_strOutHospitalDiagnoseXi; strText += "\n 主治医师:" + objContent.m_strMainDoctorName; strText += "\n 入院情况:" + objContent.m_strInHospitalCase; // strText += "\n 诊疗经过:" + objContent.m_strInHospitalBy; strText += "\n 诊疗经过:" + objContent.m_strOutHospitalCase; strText += "\n 死亡原因:" + objContent.m_strOutHospitalAdvice; return(strText); }
/// <summary> /// 把特殊记录的值显示到界面上。 /// </summary> /// <param name="p_objContent"></param> protected override void m_mthSetGUIFromContent(clsTrackRecordContent p_objContent) { if (p_objContent == null) { return; } clsDeathRecordContent_XJ objContent = (clsDeathRecordContent_XJ)p_objContent; //把表单值赋值到界面,由子窗体重载实现 m_strCurrentOpenDate = objContent.m_dtmOpenDate.ToString("yyyy-MM-dd HH:mm:ss"); DateTime dtmOut = m_dtmOutHospitalDate; m_dtpOutHospitalDate.Enabled = false; if (clsEMRLogin.m_StrCurrentHospitalNO != "450101001") { if (objContent.m_dtmOutHospitalDate != DateTime.MinValue) { dtmOut = objContent.m_dtmOutHospitalDate; } } else { dtmOut = m_ObjCurrentEmrPatientSession.m_dtmOutDate; } if (dtmOut != DateTime.MinValue && dtmOut != new DateTime(1900, 1, 1)) { m_dtpOutHospitalDate.Value = dtmOut; m_dtpOutHospitalDate.Visible = true; if (clsEMRLogin.m_StrCurrentHospitalNO != "450101001") { m_dtpOutHospitalDate.Enabled = true; } } else { m_dtpOutHospitalDate.Visible = false; } m_dtmOutHospitalDate = dtmOut; // m_dtpOutHospitalDate.Value = objContent.m_dtmOutHospitalDate; //m_txtHeartID.m_mthSetNewText(objContent.m_strHeartID, objContent.m_strHeartIDXML); //m_txtXRayID.m_mthSetNewText(objContent.m_strXRayID, objContent.m_strXRayIDXML); m_txtInHospitalDiagnose.m_mthSetNewText(objContent.m_strInHospitalDiagnose, objContent.m_strInHospitalDiagnoseXML); m_txtInXiYiDiagnose.m_mthSetNewText(objContent.m_strInHospitalDiagnoseXi, objContent.m_strInHospitalDiagnoseXiXML); m_txtOutHospitalDiagnose.m_mthSetNewText(objContent.m_strOutHospitalDiagnose, objContent.m_strOutHospitalDiagnoseXML); m_txtOutXiYiDiagnose.m_mthSetNewText(objContent.m_strOutHospitalDiagnoseXi, objContent.m_strOutHospitalDiagnoseXiXML); m_txtInHospitalCase.m_mthSetNewText(objContent.m_strInHospitalCase, objContent.m_strInHospitalCaseXML); //m_txtInHospitalBy.m_mthSetNewText(objContent.m_strInHospitalBy, objContent.m_strInHospitalByXML); m_txtOutHospitalCase.m_mthSetNewText(objContent.m_strOutHospitalCase, objContent.m_strOutHospitalCaseXML); m_txtOutHospitalAdvice.m_mthSetNewText(objContent.m_strOutHospitalAdvice, objContent.m_strOutHospitalAdviceXML); #region 签名 clsEmrEmployeeBase_VO objEmpVO = new clsEmrEmployeeBase_VO(); objEmployeeSign.m_lngGetEmpByNO(objContent.m_strMainDoctorID, out objEmpVO); if (objEmpVO != null) { m_txtMainDoctorSign.Tag = objEmpVO; m_txtMainDoctorSign.Text = objEmpVO.m_strGetTechnicalRankAndName; } objEmployeeSign.m_lngGetEmpByNO(objContent.m_strDoctorID, out objEmpVO); if (objEmpVO != null) { m_txtDoctorSign.Tag = objEmpVO; m_txtDoctorSign.Text = objEmpVO.m_strGetTechnicalRankAndName; m_txtDoctorSign.Enabled = false; } // lblEmployeeID.Text = objContent.m_strDoctorID; #endregion 签名 // #region 入院原因(主诉) // clsInPatientCaseHisoryDefaultValue[] objInPatientCaseHisoryDefaultValueArr= new clsInPatientCaseHisoryDefaultDomain().lngGetAllInPatientCaseHisoryDefault(m_objCurrentPatient.m_StrInPatientID,m_objCurrentPatient.m_ObjInBedInfo.m_ObjLastSessionInfo.m_DtmInDate.ToString("yyyy-MM-dd HH:mm:ss")); // if(objInPatientCaseHisoryDefaultValueArr !=null && objInPatientCaseHisoryDefaultValueArr.Length>0) // { // m_lblInHospitalReason.Text=objInPatientCaseHisoryDefaultValueArr[0].m_strMainDescription; // } // #endregion 入院原因(主诉) }
/// <summary> /// 从界面获取特殊记录的值。如果界面值出错,返回null。 /// </summary> /// <returns></returns> protected override clsTrackRecordContent m_objGetContentFromGUI() { //界面参数校验 if (m_objCurrentPatient == null || m_ObjCurrentEmrPatientSession == null) { return(null); } //从界面获取表单值 clsDeathRecordContent_XJ objContent = new clsDeathRecordContent_XJ(); objContent.m_dtmCreateDate = m_dtpCreateDate.Value; #region 是否可以无痕迹修改 if (chkModifyWithoutMatk.Checked) { objContent.m_intMarkStatus = 0; } else { objContent.m_intMarkStatus = 1; } #endregion if (m_dtpOutHospitalDate.Visible && m_dtpOutHospitalDate.Enabled) { objContent.m_dtmOutHospitalDate = m_dtpOutHospitalDate.Value; } else { objContent.m_dtmOutHospitalDate = DateTime.MinValue; } //objContent.m_strHeartID_Right = m_txtHeartID.m_strGetRightText(); //objContent.m_strHeartID = m_txtHeartID.Text; //objContent.m_strHeartIDXML = m_txtHeartID.m_strGetXmlText(); //objContent.m_strXRayID_Right = m_txtXRayID.m_strGetRightText(); //objContent.m_strXRayID = m_txtXRayID.Text; //objContent.m_strXRayIDXML = m_txtXRayID.m_strGetXmlText(); objContent.m_strInHospitalDiagnose_Right = m_txtInHospitalDiagnose.m_strGetRightText(); objContent.m_strInHospitalDiagnose = m_txtInHospitalDiagnose.Text; objContent.m_strInHospitalDiagnoseXML = m_txtInHospitalDiagnose.m_strGetXmlText(); objContent.m_strInHospitalDiagnoseXi_Right = m_txtInXiYiDiagnose.m_strGetRightText(); objContent.m_strInHospitalDiagnoseXi = m_txtInXiYiDiagnose.Text; objContent.m_strInHospitalDiagnoseXiXML = m_txtInXiYiDiagnose.m_strGetXmlText(); objContent.m_strOutHospitalDiagnose_Right = m_txtOutHospitalDiagnose.m_strGetRightText(); objContent.m_strOutHospitalDiagnose = m_txtOutHospitalDiagnose.Text; objContent.m_strOutHospitalDiagnoseXML = m_txtOutHospitalDiagnose.m_strGetXmlText(); objContent.m_strOutHospitalDiagnoseXi_Right = m_txtOutXiYiDiagnose.m_strGetRightText(); objContent.m_strOutHospitalDiagnoseXi = m_txtOutXiYiDiagnose.Text; objContent.m_strOutHospitalDiagnoseXiXML = m_txtOutXiYiDiagnose.m_strGetXmlText(); objContent.m_strInHospitalCase_Right = m_txtInHospitalCase.m_strGetRightText(); objContent.m_strInHospitalCase = m_txtInHospitalCase.Text; objContent.m_strInHospitalCaseXML = m_txtInHospitalCase.m_strGetXmlText(); objContent.m_strOutHospitalCase_Right = m_txtOutHospitalCase.m_strGetRightText(); objContent.m_strOutHospitalCase = m_txtOutHospitalCase.Text; objContent.m_strOutHospitalCaseXML = m_txtOutHospitalCase.m_strGetXmlText(); objContent.m_strOutHospitalAdvice_Right = m_txtOutHospitalAdvice.m_strGetRightText(); objContent.m_strOutHospitalAdvice = m_txtOutHospitalAdvice.Text; objContent.m_strOutHospitalAdviceXML = m_txtOutHospitalAdvice.m_strGetXmlText(); objContent.m_strModifyUserID = clsEMRLogin.LoginInfo.m_strEmpNo; if (m_txtMainDoctorSign.Tag != null && m_txtMainDoctorSign.Text.Trim() != "") { objContent.m_strMainDoctorID = ((clsEmrEmployeeBase_VO)m_txtMainDoctorSign.Tag).m_strEMPNO_CHR.Trim(); objContent.m_strMainDoctorName = ((clsEmrEmployeeBase_VO)m_txtMainDoctorSign.Tag).m_strLASTNAME_VCHR; } else { objContent.m_strMainDoctorID = ""; objContent.m_strMainDoctorName = ""; // clsPublicFunction.ShowInformationMessageBox("必须主治医师签名!"); // return null; } //if (m_txtDoctorSign.Tag != null && m_txtDoctorSign.Text.Trim() != "") //{ // objContent.m_strDoctorID = ((clsEmrEmployeeBase_VO)m_txtDoctorSign.Tag).m_strEMPNO_CHR.Trim(); // objContent.m_strDoctorName = ((clsEmrEmployeeBase_VO)m_txtDoctorSign.Tag).m_strLASTNAME_VCHR; //} //else //{ // clsPublicFunction.ShowInformationMessageBox("必须经治医师签名!"); // return null; //} objContent.m_strDoctorID = ""; objContent.m_strDoctorName = ""; return(objContent); }