added listing to the diagnosis and procedure code sections and added more error messages (all to patient detail screen)