doctor can studying a patients charts