Menu

I parse blood test PDFs on the phone, and the parser has no AI in it
📰

I parse blood test PDFs on the phone, and the parser has no AI in it

DEV Community: dart·Anton Kozionov·7 days ago
#kYpmQaDY
#devtodart#devto#dev#model#every
Reading 0:00
15s threshold

I have 113 lab reports. Five labs, three countries: Ukraine, Poland, Turkey. Same ferritin, three spellings, two units, one of them in Turkish. For years my "system" was a spreadsheet and a folder called analizy_final_2 .

I wanted one chart per marker. I also didn't want to upload my blood to anyone to get that chart. So I built Soma, an iPhone app that reads the reports on the device.

Full disclosure before anyone asks in the comments: I'm a product designer, and I wrote most of the code with AI coding agents. Yes, I see the irony of an article about keeping AI out of the parser. The agents write the code. They don't read your blood test.

Rule one: no model in the parsing

The obvious move in 2026 is to hand the PDF to an LLM and ask for JSON. I tried. It reads a clean report nicely, and then, when a line is cut off, it quietly invents a reference range. Once it "fixed" 0.91 into 9.1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.