public ActionResult Index(string FromDate, string ToDate, string departmentlist, string PatientId, string PatientName) { EmergecyMasterModel model = new EmergecyMasterModel(); model.EmergencyMasterModelList = new List <EmergecyMasterModel>(); ViewBag.fromdate = FromDate; ViewBag.todate = ToDate; ViewBag.department = departmentlist; if (departmentlist == "3") { if (PatientId == null && PatientName == null) { model.EmergencyMasterModelList = new List <EmergecyMasterModel>(); return(View(model)); } else { ViewBag.Id = PatientId; ViewBag.Name = PatientName; ViewBag.print = 1; return(View(model)); } } if (departmentlist != "4") { ViewBag.List = MisPorvider.GetOpdList(FromDate, ToDate, departmentlist); } return(View(model)); }
public JsonResult PieChartDepartmentsWise() { MisPorvider pro = new MisPorvider(); MisModel model = new MisModel(); model.PieChartDepartmentswiseViewModelList = pro.GetDeptWiseDetailForPie(); return(Json(model.PieChartDepartmentswiseViewModelList, JsonRequestBehavior.AllowGet)); }
public ActionResult MedicalRecordIndex() { MisModel model = new MisModel(); MisPorvider pro = new MisPorvider(); model = pro.GetMrDischargeReports(); return(View(model)); }
public ActionResult DoctorCommission(string FromDateString, string TodateString) { MisModel model = new MisModel(); MisPorvider prop = new MisPorvider(); model.DoctorCommissionViewModelList = prop.GetDoctorCommissionListForMis(FromDateString, TodateString); return(View(model)); }
public ActionResult PathoReportDetails(string JvDate, string JvDateEnd) { MisModel model = new MisModel(); MisPorvider pro = new MisPorvider(); model.PathoTestDetailViewModelList = pro.GetMisPathoTestDetails(JvDate, JvDateEnd); return(View(model)); }
public ActionResult DoctorDtlById(int id) { MisModel model = new MisModel(); MisPorvider pro = new MisPorvider(); model = pro.GetEHSDoctorDetailsByDocId(id); return(PartialView("_Details1", model)); }
public ActionResult Report(int id) { EmergecyMasterModel model = new EmergecyMasterModel(); model = MisPorvider.GetEmergencyDetails(id); return(View(model)); }
public ActionResult getGenderReport(string genderlist, string FromDate, string ToDate) { EmergecyMasterModel model = new EmergecyMasterModel(); ViewBag.fromdate = FromDate; ViewBag.todate = ToDate; ViewBag.List = MisPorvider.GetGenderTypeProvider(FromDate, ToDate, genderlist); return(View(model)); }
public ActionResult GetDistrictReportIndex(string districtlist, string FromDate, string ToDate) { EmergecyMasterModel model = new EmergecyMasterModel(); ViewBag.fromdate = FromDate; ViewBag.todate = ToDate; ViewBag.List = MisPorvider.GetDistrictProvider(FromDate, ToDate, districtlist); return(View(model)); }
public ActionResult GetVdcMunReportIndex(string vdcmunlist, string FromDate, String ToDate) { EmergecyMasterModel model = new EmergecyMasterModel(); ViewBag.fromdate = FromDate; ViewBag.todate = ToDate; ViewBag.List = MisPorvider.GetVdcMunProvider(FromDate, ToDate, vdcmunlist); return(View(model)); }
public ActionResult AgeReportIndex(string agegrouplist) { EmergecyMasterModel model = new EmergecyMasterModel(); ViewBag.List = MisPorvider.GetAgerangeListProvider(agegrouplist); return(View(model)); }
public ActionResult GetZoneReportIndex(string zonelist, string FromDate, string ToDate) { //EmergecyMasterModel model = new EmergecyMasterModel(); //ViewBag.List = MisPorvider.GetZoneProvider(zonelist); //return View(model); EmergecyMasterModel model = new EmergecyMasterModel(); ViewBag.fromdate = FromDate; ViewBag.todate = ToDate; ViewBag.list = MisPorvider.GetZoneProvider(FromDate, ToDate, zonelist); return(View(model)); }
public ActionResult DoctorReportIndex(string FromDate, string ToDate, string doctorlist) { EmergecyMasterModel model = new EmergecyMasterModel(); ViewBag.fromdate = FromDate; ViewBag.todate = ToDate; //ViewBag.department = departmentlist; ViewBag.doctor = doctorlist; { ViewBag.List = MisPorvider.GetDoctorListProvider(FromDate, ToDate, doctorlist); } return(View(model)); }
public ActionResult ShowMRDischargeForm(string IpNumber, string OpdNumber) { MisModel model = new MisModel(); if (!string.IsNullOrEmpty(IpNumber) && !string.IsNullOrEmpty(OpdNumber)) { //model.ObjIPDetailViewModel.IPId = Convert.ToInt32(IpNumber); //model.ObjIPDetailViewModel.OpdId = Convert.ToInt32(OpdNumber); MisPorvider pro = new MisPorvider(); int IpNubmer = Convert.ToInt32(IpNumber); model = pro.GetIPDPatientDetailsFromIPNumber(IpNubmer); } return(View(model)); }
public ActionResult MRDischarge(string value) { MisModel model = new MisModel(); MisPorvider pro = new MisPorvider(); int IpNubmer = Convert.ToInt32(0); if (!string.IsNullOrEmpty(value)) { IpNubmer = Convert.ToInt32(value); model = pro.GetIPDPatientDetailsFromIPNumber(IpNubmer); } return(PartialView("_IPsearchValue", model)); }
public ActionResult SaveMedicalRecordDisharge(MisModel model) { MisPorvider pro = new MisPorvider(); if (model.ObjMRRecordViewModel.ICDName != null) { var IcdNumber = model.ObjMRRecordViewModel.ICDName.Substring(model.ObjMRRecordViewModel.ICDName.IndexOf('~') + 1); using (EHMSEntities ent = new EHMSEntities()) { model.ObjMRRecordViewModel.ICDCode = Convert.ToInt32(ent.SetupIcdCodes.Where(m => m.CodeNumber == IcdNumber).Select(m => m.ICDCODEID).FirstOrDefault()); } } pro.InsertMRRecordDischarge(model); return(RedirectToAction("MedicalRecordIndex")); }
public ActionResult BillAmountDifference(string FromDateString, string TodateString) { MisModel model = new MisModel(); MisPorvider prop = new MisPorvider(); if (string.IsNullOrEmpty(FromDateString)) { FromDateString = DateTime.Now.ToShortDateString(); } if (string.IsNullOrEmpty(TodateString)) { TodateString = DateTime.Now.ToShortDateString(); } model.BillAmountDifferenceModelList = prop.GetBillingAmountDifference(FromDateString, TodateString); return(View(model)); }
public ActionResult GeneralAndPayableReport(string FromDateString, string TodateString, string Type) { MisModel model = new MisModel(); MisPorvider prop = new MisPorvider(); if (string.IsNullOrEmpty(FromDateString)) { FromDateString = DateTime.Now.ToShortDateString(); } if (string.IsNullOrEmpty(TodateString)) { TodateString = DateTime.Now.ToShortDateString(); } if (string.IsNullOrEmpty(Type)) { Type = "0"; } model.GeneralPayableReportModelList = prop.GetBillingReportGeneralAndPayable(FromDateString, TodateString, Type); return(View(model)); }
public ActionResult PayDoctorCommission(string FromDateString, string TodateString, string DoctorName) { MisModel model = new MisModel(); MisPorvider prop = new MisPorvider(); if (string.IsNullOrEmpty(DoctorName)) { model.DoctorCommissionViewModelList = prop.GetDoctorCommissionListByDocId(0, FromDateString, TodateString); } else { int ReferDocId = Convert.ToInt32(DoctorName); if (ReferDocId == 1009) { model.DoctorCommissionViewModelList = prop.GetDoctorCommissionListByDocId(0, FromDateString, TodateString); } else { model.DoctorCommissionViewModelList = prop.GetDoctorCommissionListByDocId(ReferDocId, FromDateString, TodateString); } } return(View(model)); }