This data processing flow is designed to enhance and summarize clinical notes for further analysis. It begins with a dataset containing detailed medical histories and patient demographics. The flow processes these notes, using a language model to generate summaries and extract relevant medical specialties. The final output is a refined dataset that includes the original patient information along with additional columns for medical specialty and a concise summary of each clinical note, facilitating easier analysis and interpretation of the medical data.

![flow-summarisation.png](JqN4WkXu3MVW)

Prompt recipe[compute_clinical_notes_summary](recipe:compute_clinical_notes_summary)
Output dataset [notes_summarization](dataset:notes_summarization)