Esempio n. 1
0
        public ActionResult ViewPrescription(int id, string viewMessage = "")
        {
            var drugList      = _objIHospitalMaster.GetDrugsDdl();
            var dosageList    = _objIAdminOperations.GetAllDrugDosage();
            var frequencyList = _objIAdminOperations.GetAllDrugFrequency();

            ViewBag.DrugList      = drugList.GetDropDownList("DRUGID", "DRUGNAME");
            ViewBag.DosageList    = dosageList.GetDropDownList("DOSAGEID", "DOSAGEPOWER");
            ViewBag.FrequencyList = frequencyList.GetDropDownList("FREQUENCYID", "FREQUENCY");
            var getPatientPrescription = _objIPatient.GetPatientPrescriptionById(id);

            SetPatientName(id);
            ViewBag.Message = viewMessage;
            return(PartialView("_ViewPrescription", getPatientPrescription));
        }