private void ExecuteCreateNewAppointment( PatientSearchResultDto patientQuickSearchResultDto ) { _navigationService.NavigateToActiveView ( WorkspacesRegion, "CreateAppointment", new[] { new KeyValuePair<string, string> ( "PatientKey", patientQuickSearchResultDto.Key.ToString () ), new KeyValuePair<string, string> ( "PatientFirstName", patientQuickSearchResultDto.FirstName ), new KeyValuePair<string, string> ( "PatientLastName", patientQuickSearchResultDto.LastName ) } ); }
private void ExecuteViewProfile( PatientSearchResultDto patientQuickSearchResultDto ) { if ( patientQuickSearchResultDto != null ) { _navigationService.Navigate ( WorkspacesRegion, PatientWorkspaceView, "ViewPatient", new[] { new KeyValuePair<string, string> ( "PatientKey", patientQuickSearchResultDto.Key.ToString () ), new KeyValuePair<string, string> ( "FullName", patientQuickSearchResultDto.FullName ), new KeyValuePair<string, string> ( "SubViewName", PatientEditorView ) } ); } else { _userDialogService.ShowDialog ( "No patient is selected, couldn't view profile.", "Viewing Profile Failed", UserDialogServiceOptions.Ok ); } }
private void ExecuteApplyPayment( PatientSearchResultDto patientQuickSearchResultDto ) { _navigationService.Navigate ( WorkspacesRegion, "FrontDeskDashboardView", "MakePayment", new KeyValuePair<string, string> ( "PatientKey", patientQuickSearchResultDto.Key.ToString () ), new KeyValuePair<string, string> ( "PatientFullName", string.Format ( "{0} {1}", patientQuickSearchResultDto.FirstName, patientQuickSearchResultDto.LastName ) ) ); }