The novel Regeneration , by Pat Barker , is a fictionalised account of this period in Sassoon 's life , and was made into a film starring James Wilby as Sassoon and Jonathan Pryce as W. H. R. Rivers , the psychiatrist responsible for Sassoon 's treatment .