added patient detail view