예제 #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);
        }