Exemple #1
0
        /// <summary>
        /// 获取
        /// </summary>
        private void m_GetDataFromDB()
        {
            long lngRes = 0;

            try
            {
                string[] DataArr;

                clsIntensiveTendRecord_GXService objserv =
                    (clsIntensiveTendRecord_GXService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsIntensiveTendRecord_GXService));

                lngRes = objserv.m_lngGetRecordContent(strRecordInPatientID, strRecordInPatientDate, strRecordCreateDate, out DataArr);
                if (DataArr == null)
                {
                    return;
                }
                //赋值到表单
                m_txtRecordContent.m_mthSetNewText(DataArr[3], DataArr[4]);
                m_dtpCreateDate.Value = DateTime.Parse(DataArr[5]);
                //MDIParent.m_mthChangeFormText(this, m_enmFormEditStatus);
                //根据工号获取签名信息
                m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign }, new string[] { DataArr[1] }, new bool[] { false });
                //m_mthSetModifyControl(DataArr[1],false);
                this.m_dtpCreateDate.Enabled = false;
            }
            catch (Exception ex)
            {
                string strMsg = ex.Message;
            }
        }
Exemple #2
0
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent objContent = (clsGeneralNurseRecordContent)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            m_txtRecordContent.m_mthClearText();
            m_txtRecordContent.m_mthSetNewText(objContent.m_strRecordContent, objContent.m_strRecordContentXml);
            //m_txtEmpSign.Text = objContent.m_strSignName;
            m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign }, new string[] { objContent.m_strCreateUserID }, new bool[] { false });
        }
        /// <summary>
        /// 获取
        /// </summary>
        private void m_GetDataFromDB()
        {
            long lngRes = 0;

            try
            {
                string[] DataArr;
                clsIntensiveTendRecordService objserv = new clsIntensiveTendRecordService();
                lngRes = objserv.m_lngGetRecordContent(strRecordInPatientID, strRecordInPatientDate, strRecordCreateDate, out DataArr);
                //赋值到表单
                m_txtRecordContent.m_mthSetNewText(DataArr[3], DataArr[4]);
                m_dtpCreateDate.Value = DateTime.Parse(DataArr[0]);
                m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign, }, new string[] { DataArr[1] }, new bool[] { false });

                m_mthSetModifyControl(DataArr[1], false);
            }
            catch (Exception ex)
            {
                string strMsg = ex.Message;
            }
        }
Exemple #4
0
        /// <summary>
        /// 获取
        /// </summary>
        private void m_GetDataFromDB()
        {
            long lngRes = 0;

            try
            {
                clsGeneralNurseRecordContent_GXDetail objDetail = null;
                clsGeneralNurseRecord_GXService       objserv   =
                    (clsGeneralNurseRecord_GXService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsGeneralNurseRecord_GXService));

                lngRes = objserv.m_lngGetRecordContent(strRecordInPatientID, strRecordInPatientDate, strRecordCreateDate, out objDetail);
                //objserv.Dispose();
                if (objDetail == null)
                {
                    return;
                }
                //赋值到表单
                m_txtRecordContent.m_mthSetNewText(objDetail.m_strRECORDCONTENTAll, objDetail.m_strRECORDCONTENTXML);
                m_dtpCreateDate.Value = objDetail.m_dtmRECORDDATE;
                m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign, }, new string[] { objDetail.m_strCREATERECORDUSERID }, new bool[] { false });
                //根据工号获取签名信息
                //出于兼容考虑,过渡使用 tfzhang 2006-03-12
                //com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain objEmployeeSign = new com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain();
                //clsEmrEmployeeBase_VO objSign = new clsEmrEmployeeBase_VO();
                //objEmployeeSign.m_lngGetEmpByNO(objDetail.m_strCREATERECORDUSERID.Trim(), out objSign);
                //if (objSign != null)
                //{
                //    txtSign.Text = objSign.m_strLASTNAME_VCHR;
                //    txtSign.Tag = objSign;
                //}
                //this.txtSign.Enabled = false;

                m_mthSetModifyControl(objDetail.m_strCREATERECORDUSERID, false);
                this.m_dtpCreateDate.Enabled = false;
            }
            catch (Exception ex)
            {
                string strMsg = ex.Message;
            }
        }
Exemple #5
0
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(clsTrackRecordContent p_objContent)
        {
            if (p_objContent == null)
            {
                return;
            }
            clsFirstIllnessNoteRecordContent objContent = (clsFirstIllnessNoteRecordContent)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现

            m_txtMostlyContent.m_mthSetNewText(objContent.m_strMostlyContent, objContent.m_strMostlyContentXML);
            m_txtOriginalDiagnose.m_mthSetNewText(objContent.m_strOriginalDiagnose, objContent.m_strOriginalDiagnoseXML);
            m_txtDiagnoseThe.m_mthSetNewText(objContent.m_strThereunderDiagnose, objContent.m_strThereunderDiagnoseXML);
            m_txtDiagnoseDiffe.m_mthSetNewText(objContent.m_strDiagnoseDiffe, objContent.m_strDiagnoseDiffeXML);
            m_txtCurePlan.m_mthSetNewText(objContent.m_strCurePlan, objContent.m_strCurePlanXML);

            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
                //lsvSign.Items.Clear();
                //for (int i = 0; i < objContent.objSignerArr.Length; i++)
                //{
                //    if (objContent.objSignerArr[i].controlName=="lsvSign")
                //    {
                //        ListViewItem lviNewItem=new ListViewItem(objContent.objSignerArr[i].objEmployee.m_strLASTNAME_VCHR);
                //        //ID 检查重复用
                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strEMPID_CHR);
                //        //级别 排序用
                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strLEVEL_CHR);
                //        //tag均为对象
                //        lviNewItem.Tag=objContent.objSignerArr[i].objEmployee;
                //        //是按顺序保存故获取顺序也一样
                //        lsvSign.Items.Add(lviNewItem);

                //    }
                //}
            }
            #endregion 签名
        }
Exemple #6
0
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(clsTrackRecordContent p_objContent)
        {
            if (p_objContent == null)
            {
                return;
            }
            clsLargeConsultationContent objContent = (clsLargeConsultationContent)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            m_txtAddress.m_mthSetNewText(objContent.m_strAddress, objContent.m_strAddressXML);
            m_txtAttendee.m_mthSetNewText(objContent.m_strAttendeeName, objContent.m_strAttendeeNameXml);
            m_txtDiscussContent.m_mthSetNewText(objContent.m_strDiscussContent, objContent.m_strDiscussContentXML);
            m_dtmCreatedDate      = objContent.m_dtmCreateDate;
            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;
            #region 签名集合
            //记录签名
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
                m_mthAddSignToListView(lsvCompere, objContent.objSignerArr);
            }
            #endregion 签名
        }