Exemplo n.º 1
0
        public ActionResult IpdMrMainTest(int id, int ipdid)
        {
            IpdMrMainTestModel       model = new IpdMrMainTestModel();
            IpdMedicalRecordProvider pro   = new IpdMedicalRecordProvider();

            model.InsertedDate = DateTime.Today;

            model.PatientID         = id;
            model.IpdRegistrationID = ipdid;

            model.IpdMedicalRecordList    = pro.IpdMedicalRecordData(id, ipdid);
            model.SectionTestCheckBoxList = pro.SectionCheckListModelList();
            model.IpdMrMainTestModelList  = pro.ListSectionCheckBox(id);

            return(View(model));
        }
Exemplo n.º 2
0
        public ActionResult EditMainTest(int id, int opd, int ipd)
        {
            IpdMrMainTestModel       model = new IpdMrMainTestModel();
            IpdMedicalRecordProvider pro   = new IpdMedicalRecordProvider();

            model = pro.EditMainTest(id).FirstOrDefault();

            model.SectionTestCheckBoxList = pro.SectionCheckListModelList();
            SectionTestCheckBox models = new SectionTestCheckBox();

            models.isSelected       = model.status;
            model.PatientID         = opd;
            model.IpdRegistrationID = ipd;

            return(View(model));
        }