Communications Medicine (Apr 2024)

Predicting which patients with cancer will see a psychiatrist or counsellor from their initial oncology consultation document using natural language processing

  • John-Jose Nunez,
  • Bonnie Leung,
  • Cheryl Ho,
  • Raymond T. Ng,
  • Alan T. Bates

DOI
https://doi.org/10.1038/s43856-024-00495-x
Journal volume & issue
Vol. 4, no. 1
pp. 1 – 11

Abstract

Read online

Abstract Background Patients with cancer often have unmet psychosocial needs. Early detection of who requires referral to a counsellor or psychiatrist may improve their care. This work used natural language processing to predict which patients will see a counsellor or psychiatrist from a patient’s initial oncology consultation document. We believe this is the first use of artificial intelligence to predict psychiatric outcomes from non-psychiatric medical documents. Methods This retrospective prognostic study used data from 47,625 patients at BC Cancer. We analyzed initial oncology consultation documents using traditional and neural language models to predict whether patients would see a counsellor or psychiatrist in the 12 months following their initial oncology consultation. Results Here, we show our best models achieved a balanced accuracy (receiver-operating-characteristic area-under-curve) of 73.1% (0.824) for predicting seeing a psychiatrist, and 71.0% (0.784) for seeing a counsellor. Different words and phrases are important for predicting each outcome. Conclusion These results suggest natural language processing can be used to predict psychosocial needs of patients with cancer from their initial oncology consultation document. Future research could extend this work to predict the psychosocial needs of medical patients in other settings.