Oussama Essamadi

わたしの作品

gomu-gomu/Patho Draft

Pathologists write a long, structured report for every specimen. Patho Draft drafts it: from a few keywords it picks the template for that organ, fills it in, and takes dictation, and it keeps working offline. I built it as my master’s final-year project, for the good folks at CHU Mohammed VI Tanger.

役割

Author

期間

2025年3月13日~2025年8月10日

読了時間

2分

使用技術

メモ

For every specimen, a pathologist writes a report: long, structured, and largely the same each time for the same organ, with the findings changing inside it. Patho Draft was my master’s final-year project, built with the pathology department of CHU Mohammed VI in Tangier, to draft those reports so the pathologist only has to read, correct and sign.

Templates as a small language

Each organ has several report templates, so the heart of it is a detailed map from keywords to templates, and a way to write templates that the system can understand. I designed a small template language for it. A template declares its inputs, typed (text, a number, one choice or several), gathers its text into sections, and can include a passage only when a condition holds. It can also pass a value through converters, a measurement turned into another unit, for instance. Expressions are evaluated safely rather than run as code.

The same template becomes the form the pathologist fills in, and that form, filled in, produces the report. A pathologist can edit a template on the fly, and the language was meant to sit underneath a drag-and-drop editor, so the templates could be changed without writing them by hand.

Where AI helps

AI does two things. From a few keywords, it identifies which template applies, so the pathologist does not hunt through a list. And it takes dictation, turning speech into text in the report’s fields, since a pathologist at the microscope rarely has a free hand. The pathologist reviews everything before it is final.

Built for the hospital

Report writing cannot stop when the network does, so it keeps working offline, and access is limited to the hospital’s staff. It is a Next.js application on Supabase, with a Lexical editor for the reports.

次へ

または作品全42件またはホーム

わたしの作品わたしの文章

一覧を読み込んでいます…

一覧を読み込んでいます…

キーボードショートカット

検索とコマンド
Ctrl K⌘K
ライト/ダークを切り替え
T
すべての作品
P
すべての文章
W
開いている一覧を検索
S
ホーム
H
メールを送る
C
このショートカットを表示
?
開いているものを閉じる
esc

ショートカットはオンです。