Пример #1
0
        public long m_lngDelRecipeDet(string strID, string RecID, int RecType)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            switch (RecType)
            {
            case 1:                     //西药
                lngRes = objSvc.m_lngDelWestRecipe(objPrincipal, strID, RecID);
                break;

            case 2:                     //中药
                lngRes = objSvc.m_lngDelCMRecipe(objPrincipal, strID, RecID);
                break;

            case 3:                     //检验
                lngRes = objSvc.m_lngDelCHKRecipe(objPrincipal, strID, RecID);
                break;

            case 4:                     //检查
                lngRes = objSvc.m_lngDelTestRecipe(objPrincipal, strID, RecID);
                break;

            case 5:                     //手术治疗
                lngRes = objSvc.m_lngDelOPSRecipe(objPrincipal, strID, RecID);
                break;

            case 6:     //其它
                lngRes = objSvc.m_lngDelOtherRecipe(objPrincipal, strID, RecID);
                break;
            }
            objSvc.Dispose();
            return(lngRes);
        }
Пример #2
0
        public long m_lngCheckMainRecipe(string strRegID)
        {
            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            long lngRes = objSvc.m_lngCheckMainRecipe(objPrincipal, strRegID);

            objSvc.Dispose();
            return(lngRes);
        }
Пример #3
0
        /// <summary>
        /// 保存治疗记录
        /// </summary>
        public long m_lngSaveCureRec(clsOutpatientDiagRec_VO clsVO)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            lngRes = objSvc.m_lngSaveCure(objPrincipal, clsVO);
            objSvc.Dispose();
            return(lngRes);
        }
Пример #4
0
        /// <summary>
        /// 检查是否能查看病人处方
        /// </summary>
        public long m_lngCheckPatRecipe(string strRegID, string DocID, ref DataTable dtResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            lngRes = objSvc.m_lngCheckPatRecipe(objPrincipal, strRegID, DocID, ref dtResult);
            objSvc.Dispose();
            return(lngRes);
        }
Пример #5
0
        /// <summary>
        /// 查询西药处方
        /// </summary>
        public long m_lngGetWestRec(string strRegID, string strRecID, ref DataTable p_objResultArr)
        {
            long lngRes = 0;

            //			System.Security.Principal.IPrincipal p_objPrincipal = null;
            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            lngRes = objSvc.m_lngFindWestRecipe(objPrincipal, strRegID, strRecID, ref p_objResultArr);
            objSvc.Dispose();
            return(lngRes);
        }
Пример #6
0
        /// <summary>
        /// 撤消接诊
        /// </summary>
        public long m_lngUndoTakeWait(string strID, string strRegID)
        {
            long lngRes = 0;

            //			System.Security.Principal.IPrincipal p_objPrincipal = null;
            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            lngRes = objSvc.m_lngUndoTakeDiag(objPrincipal, strID, strRegID);
            objSvc.Dispose();
            return(lngRes);
        }
Пример #7
0
        /// <summary>
        /// 查看病历
        /// </summary>
        public long m_lngFindPatCase(string strRegID,
                                     out clsOutpatientCaseHis_VO clsCase, out clsOutpatientDiagRec_VO clsDiag)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            lngRes = objSvc.m_lngFindCaseAndCure(objPrincipal, strRegID, out clsCase, out clsDiag);
            objSvc.Dispose();
            return(lngRes);
        }
Пример #8
0
        /// <summary>
        /// 查询处方描述
        /// </summary>
        public long m_lngGetRecDesc(string strRecID, out clsOutpatientRecipeDesc_VO clsVO)
        {
            long lngRes = 0;

            clsVO = new clsOutpatientRecipeDesc_VO();
            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            lngRes = objSvc.m_lngFindRecipeDesc(objPrincipal, strRecID, out clsVO);
            objSvc.Dispose();
            return(lngRes);
        }
Пример #9
0
        public long m_lngSaveOther(clsOutpatientRecipe_VO clsRec, clsOutpatientOtherRecipeDe_VO[] clsVO, bool IsNew)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOPDoctorSvc));
            if (IsNew)
            {
                lngRes = objSvc.m_lngAddOtherRecipe(objPrincipal, clsVO, clsRec);
            }
            else
            {
                lngRes = objSvc.m_lngUPDOtherRecipe(objPrincipal, clsVO);
            }
            objSvc.Dispose();
            return(lngRes);
        }