Ejemplo n.º 1
0
 public ActionResult ViewPatient(ViewPatientViewModel model)
 {
     model.patient = _patientService.GetPatient(model.patient.Id);
     model.patientData = model.patient.PatientData;
     string activityTag = model.ActivityTagFilter.Replace(" ", "_");
     // Get all data sessions for patient matching activityTag
     return View(model);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Displays the information about the patient
 /// </summary>
 /// <param name="patientId">Patient Id</param>
 /// <returns></returns>
 public ActionResult ViewPatient(int patientId)
 {
     ViewPatientViewModel model = new ViewPatientViewModel();
     model.patient = _patientService.GetPatient(patientId);
     model.patientData = model.patient.PatientData;
     model.ActivityTagFilter = "All";
     return View(model);
 }