public ActionResult UserAdministration() { ViewBag.Titles = _IListHandler.GetFieldValues("Patient", "Title"); ViewBag.Genders = _IListHandler.GetFieldValues("Patient", "Gender"); ViewBag.SecurityUserRoles = _IListHandler.GetRoles(); return(View()); }
public ActionResult Patient() { if (PatientId == null) { throw new Exception("Patient Unknown."); } ViewBag.Titles = _IListHandler.GetFieldValues("Patient", "Title"); ViewBag.MaritalStatuses = _IListHandler.GetFieldValues("Patient", "MaritalStatus"); ViewBag.MarriageTypes = _IListHandler.GetFieldValues("Patient", "MarriageType"); ViewBag.Genders = _IListHandler.GetFieldValues("Patient", "Gender"); ViewBag.PrefferedContactTypes = _IListHandler.GetFieldValues("Patient", "PrefferedContactMethod"); ViewBag.IDTypes = _IListHandler.GetFieldValues("Patient", "IDType"); ViewBag.EthnicGroups = _IListHandler.GetFieldValues("Patient", "EthnicGroup"); ViewBag.SourceOfDiscoveries = _IListHandler.GetFieldValues("Patient", "SourceOfDiscovery"); ViewBag.EthnicGroups = _IListHandler.GetFieldValues("Patient", "EthnicGroup"); ViewBag.Provinces = _IListHandler.GetProvinces(); ViewBag.Relationships = _IListHandler.GetFieldValues("MedicalAidDependancies", "Relationship"); PatientViewModel model = new PatientViewModel(); return(View(model)); }