public ServiceResponseData GetCasePatFee()
        {
            EmrHomePageDataSource emrCasemanagement = NewObject <EmrHomePageDataSource>();
            int       patlistID     = requestData.GetData <int>(0);
            DataTable dtPatFee      = emrCasemanagement.GetCasePatFee(patlistID);
            DataTable dtPatTotalFee = new DataTable();
            decimal   antFee        = 0;

            if (dtPatFee.Rows.Count > 0)
            {
                dtPatTotalFee = emrCasemanagement.GetCasePatTotalFee(patlistID);
                if (dtPatTotalFee.Rows.Count > 0)
                {
                    antFee = emrCasemanagement.GetAntFee(patlistID);
                }
            }
            else
            {
                dtPatFee = emrCasemanagement.GetCasePatInHospFee(patlistID);
                if (dtPatFee.Rows.Count > 0)
                {
                    dtPatTotalFee = emrCasemanagement.GetCasePatInHospTotalFee(patlistID);
                    if (dtPatTotalFee.Rows.Count > 0)
                    {
                        antFee = emrCasemanagement.GetAntFee(patlistID);
                    }
                }
            }

            responseData.AddData(dtPatFee);
            responseData.AddData(dtPatTotalFee);
            responseData.AddData(antFee);
            return(responseData);
        }
        public ServiceResponseData GetCaseDiagInfo()
        {
            EmrHomePageDataSource emrCasemanagement = NewObject <EmrHomePageDataSource>();
            int       patlistID   = requestData.GetData <int>(0);
            DataTable dtTransInfo = emrCasemanagement.GetCasediagInfo(patlistID);

            responseData.AddData(dtTransInfo);
            return(responseData);
        }