예제 #1
0
        public static Patient MapToPatient(SearchForPatientVM vm)
        {
            var patient = new Patient()
            {
                First = vm.First, Last = vm.Last, DOB = vm.Dob
            };

            return(patient);
        }
예제 #2
0
        public static SearchForPatientVM MapToSearchForPatientVM(IList <IDictionary <string, string> > patients)
        {
            var result = new SearchForPatientVM()
            {
                SearchResults = patients
            };

            return(result);
        }
 public ActionResult SearchForPatient(SearchForPatientVM model)
 {
     return(View(athena.Search(model)));
 }