Example #1
0
        public ActionResult CloseIncident()
        {
            Incident model = new Incident();

            DateTime dt = new DateTime(2010, 12, 15);
            model.IncidentDate = dt;
            model.ReportDate = dt;
            model.IncidentNumber = "107888";
            model.Time = "10:00";
            model.ReportName = "Employee";
            model.PersonName = "Andrews Lee";
            model.Location = "Operating Room";
            model.ReportDesc = "Description goes here..................";
            model.AddlInfo = "Additional info goes here..................";
            model.Person1 = "Person 1 Name";
            model.Person2 = "Person 2 Name";
            model.Person3 = "Person 3 Name";
            model.Person4 = "Person 4 Name";
            model.Person5 = "Person 5 Name";
            model.Person6 = "Person 6 Name";
            model.Category = "Patient Incident";
            model.slc_target = "Unexpected Complication";
            model.SubType = "Hemorrhage/Excessive Bleeding";
            model.chkTransfer = true;
            model.chkEmergency = true;
            model.bTrends = false;
            model.bChart = true;
            model.bCare = true;

            DateTime dt1 = DateTime.Now;
            model.ClosedDate = dt1;

            return View(model);
        }
Example #2
0
        public ActionResult IncidentDetail()
        {
            Incident model = new Incident();
            DateTime dt = new DateTime(2010, 12, 15);
            model.IncidentDate = dt;
            model.Time = "10:00";
            model.ReportName = "Employee";
            model.PersonName = "Andrews Lee";
            model.Location = "Operating Room";
            model.ReportDesc = "Description goes here..................";
            model.AddlInfo = "Additional info goes here..................";
            model.Person1 = "Person 1 Name";
            model.Person2 = "Person 2 Name";
            model.Person3 = "Person 3 Name";
            model.Person4 = "Person 4 Name";
            model.Person5 = "Person 5 Name";
            model.Person6 = "Person 6 Name";
            model.Category = "Select";
            model.slc_target = "Unexpected Complication";
            model.SubType = "Hemorrhage/Excessive Bleeding";
            model.chkTransfer = true;
            model.chkEmergency = true;
            model.commDate = dt;

            return View(model);
            //return View();
        }
Example #3
0
        public ActionResult NewIncident()
        {
            Incident model = new Incident();
            DateTime dt = DateTime.Now;
            model.ReportDate = dt;
            model.IncidentDate = dt;
            model.commDate = dt;

            return View(model);
        }