Ejemplo n.º 1
0
        /// <summary>
        /// 特殊记录内容格式Xml的获取
        /// </summary>
        /// <returns></returns>
        public override string m_strGetTrackXml()
        {
            if (m_objRecordContent == null)
            {
                return("");
            }

            clsAfterOperationRecordContent objContent = ((clsAfterOperationRecordContent)m_objRecordContent);
            string strText           = m_strGetHeaderText();
            string strCreateUserName = m_strGetSignText();

            string strXML1 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml(strText, objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);
            string strXML2 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml("\n  " + objContent.m_dtmTakeOutStitchesDate.ToString("yyyy年M月d日H时m分") + "在", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);
            string strXML3 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml("麻醉下,进行", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);
            string strXML4 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml("。" + "\n术中诊断:\n", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);
            string strXML5 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml("\n手术中所见(手术简要经过,引流物,手术标本及其处理):\n", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);
            string strXML6 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml("\n术后处理:\n", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);
            string strXML7 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml("\n术后注意:\n", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);
            string strXML8 = ctlRichTextBox.clsXmlTool.s_strMakeTextXml("\n伤口愈合情况:\n", objContent.m_strCreateUserID, strCreateUserName, System.Drawing.Color.White);

            string strXML = ctlRichTextBox.clsXmlTool.s_strCombineXml(new string[] { strXML1, strXML2, objContent.m_strAnaesthesiaModeXML, strXML3, objContent.m_strOperationNameXML,
                                                                                     strXML4, objContent.m_strOperationDiagnoseXML, strXML5, objContent.m_strInOperationSeeingXML, strXML6, objContent.m_strAfterOperationDealXML,
                                                                                     strXML7, objContent.m_strAfterOperationNoticeXML, strXML8, objContent.m_strCutHealUpStatusXML });

            return(strXML);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 提取表头基本信息
        /// </summary>
        /// <returns></returns>
        private string m_strGetHeaderText()
        {
            if (m_objRecordContent == null)
            {
                return("");
            }

            clsAfterOperationRecordContent objContent = ((clsAfterOperationRecordContent)m_objRecordContent);
            string strText;

            strText = objContent.m_dtmCreateDate.ToString(MDIParent.s_ObjRecordDateTimeInfo.m_strGetRecordTimeFormat("frmAfterOperation")) + "   " + "手术后病程记录";

            return(strText);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 特殊记录内容文本的获取。
        /// </summary>
        /// <returns></returns>
        public override string m_strGetTrackText()
        {
            if (m_objRecordContent == null)
            {
                return("");
            }

            clsAfterOperationRecordContent objContent = ((clsAfterOperationRecordContent)m_objRecordContent);
            string strText = m_strGetHeaderText();

            strText += "\n  " + objContent.m_dtmTakeOutStitchesDate.ToString("yyyy年M月d日H时m分") + "在" + objContent.m_strAnaesthesiaMode;
            strText += "麻醉下,进行" + objContent.m_strOperationName;
            strText += "。" + "\n术中诊断:\n" + objContent.m_strOperationDiagnose;
            strText += "\n手术中所见(手术简要经过,引流物,手术标本及其处理):\n" + objContent.m_strInOperationSeeing;
            strText += "\n术后处理:\n" + objContent.m_strAfterOperationDeal;
            strText += "\n术后注意:\n" + objContent.m_strAfterOperationNotice;
            strText += "\n伤口愈合情况:\n" + objContent.m_strCutHealUpStatus;

            return(strText);
        }
Ejemplo n.º 4
0
        // 获取记录的主要信息(必须获取的是CreateDate,OpenDate,LastModifyDate)
        protected override clsTrackRecordContent m_objGetRecordMainContent(int p_intRecordType,
                                                                           object[] p_objDataArr)
        {
            //根据 p_intRecordType 获取对应的 clsTrackRecordContent
            clsTrackRecordContent objContent = null;

            #region
            switch ((enmDiseaseTrackType)p_intRecordType)
            {
            case enmDiseaseTrackType.GeneralDisease:
                objContent = new clsGeneralDiseaseRecordContent();
                break;

            case enmDiseaseTrackType.HandOver:
                objContent = new clsHandOverRecordContent();
                break;

            case enmDiseaseTrackType.HandOver_XJ:
                objContent = new clsHandOverRecordContent_XJ();
                break;

            case enmDiseaseTrackType.TakeOver:
                objContent = new clsTakeOverRecordContent();
                break;

            case enmDiseaseTrackType.TakeOver_XJ:
                objContent = new clsTakeOverRecordContent_XJ();
                break;

            case enmDiseaseTrackType.Consultation:
                objContent = new clsConsultationRecordContent();
                break;

            case enmDiseaseTrackType.Convey:
                objContent = new clsConveyRecordContent();
                break;

            case enmDiseaseTrackType.Convey_XJ:
                objContent = new clsConveyRecordContent_XJ();
                break;

            case enmDiseaseTrackType.TurnIn:
                objContent = new clsTurnInRecordContent();
                break;

            case enmDiseaseTrackType.TurnIn_XJ:
                objContent = new clsTurnInRecordContent_XJ();
                break;

            case enmDiseaseTrackType.DiseaseSummary:
                objContent = new clsDiseaseSummaryRecordContent();
                break;

            case enmDiseaseTrackType.DiseaseSummary_XJ:
                objContent = new clsDiseaseSummaryRecordContent_XJ();
                break;

            case enmDiseaseTrackType.CheckRoom:
                objContent = new clsCheckRoomRecordContent();
                break;

            case enmDiseaseTrackType.CaseDiscuss:
                objContent = new clsCaseDiscussRecordContent();
                break;

            case enmDiseaseTrackType.BeforeOperationDiscuss:
                objContent = new clsBeforeOperationDiscussRecordContent();
                break;

            case enmDiseaseTrackType.DeadCaseDiscuss:
                objContent = new clsDeadCaseDiscussRecordContent();
                break;

            case enmDiseaseTrackType.DeathCaseDiscuss:
                objContent = new clsDeadCaseDiscussRecord_VO();
                break;

            case enmDiseaseTrackType.AfterOperation:
                objContent = new clsAfterOperationRecordContent();
                break;

            case enmDiseaseTrackType.Dead:
                objContent = new clsDeadRecordContent();
                break;

            case enmDiseaseTrackType.Death:
                objContent = new clsDeadRecord_VO();
                break;

            case enmDiseaseTrackType.OutHospital:
                objContent = new clsOutHospitalRecordContent();
                break;

            case enmDiseaseTrackType.Save:
                objContent = new clsSaveRecordContent();
                break;

            case enmDiseaseTrackType.FirstIllnessNote:
                objContent = new clsFirstIllnessNoteRecordContent();
                break;

            case enmDiseaseTrackType.FirstIllnessNote_ZY:
                objContent = new clsFirstIllnessNote_ZYRecordContent();
                break;

            case enmDiseaseTrackType.EMR_SummaryBeforeOP:
                objContent = new clsEMR_SummaryBeforeOPValue();
                break;

            case enmDiseaseTrackType.FirstIllnessNote_F2:
                objContent = new clsFirstIllnessNoteRecordContent();
                break;

            case enmDiseaseTrackType.FirstIllnessNote_XJ:
                objContent = new clsFirstIllnessNoteRecordContent_XJ();
                break;
            }
            #endregion
            if (m_objCurrentPatient != null && m_ObjCurrentEmrPatientSession != null)
            {
                objContent.m_strInPatientID = m_objCurrentPatient.m_StrInPatientID;
            }
            else
            {
                clsPublicFunction.ShowInformationMessageBox("当前病人为空!");
                return(null);
            }
            objContent.m_dtmInPatientDate = m_ObjLastEmrPatientSession.m_dtmEMRInpatientDate;
            objContent.m_dtmCreateDate    = DateTime.Parse((string)p_objDataArr[0]);
            objContent.m_dtmOpenDate      = DateTime.Parse((string)p_objDataArr[2]);
            objContent.m_dtmModifyDate    = DateTime.Parse((string)p_objDataArr[3]);
            objContent.m_strCreateUserID  = (string)p_objDataArr[6];

            return(objContent);
        }