Example #1
0
        // GET: Rpm
        //private readonly ApplicationdbContect _db = new ApplicationdbContect();

        public ActionResult Index(int PatientId)
        {
            ViewBag.PatientId = PatientId;
            var Category = "RPM";

            ViewBag.Message         = Category;
            ViewBag.BillingReviewId = HelperExtensions.ReviewTimeGet(Category, PatientId, User.Identity.GetUserId(), BillingCodeHelper.RPMBillingCatagoryid);
            ViewBag.RpmServices     = _db.Patients.Where(x => x.Id == PatientId).FirstOrDefault().Patients_Services.Where(x => x.IsActive == (int)IsActiveStatus.Active).Select(y => y.RPMService).Select(x => new SelectListItem {
                Value = x.Id.ToString(), Text = x.ServiceName
            }).ToList();
            ViewBag.CurrentWorkingTimeOnRpm = HelperExtensions.GetTotalReviewTime(PatientId, BillingCodeHelper.RPMBillingCatagoryid);
            return(View());
        }