appointment detail now working