More in Health & Medical.
Query cancer records from three hospital systems and prep oncology questions with Claude Code
Alex Towell merged records from three hospital systems and uses Claude Code to turn 1,776 lab results into oncology visit questions.
Result: WorkedTool: Claude CodeLevel: AdvancedSetup: Needs Python
Outcome
Alex Towell has cancer and gets care across three hospital systems: an oncologist at Siteman/BJC, a primary care doctor at another system, and earlier treatment history at a third. Patient portals show one lab result or note at a time and can't answer questions, so Towell built Chartfold, an open-source Python tool that loads each system's record export (Epic CDA XML, MEDITECH FHIR and CCDA, athenahealth FHIR) into one SQLite database and connects it to Claude Code through an MCP server with read-only access to the clinical data. Towell asks Claude Code things like what has changed since the last oncology visit, to show the CEA trend and flag turning points, or to write a prioritized question list for the next day's appointment; Claude reads recent labs, imaging, pathology and genomic results and produces a tiered list organized by clinical urgency, which is saved back to the database. Towell uses it before every oncology visit, with 1,776 lab results, 53 imaging reports and 9 pathology reports to work through. The post describes the tool and how it's used; it doesn't report what the care team made of the question lists.
Evidence: Screenshots or logsThe source shows screenshots, a transcript or the AI's output.
WorkedEvidence: Screenshots or logsPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- Replace anything in [CAPITAL LETTERS IN BRACKETS] with your own details.
- Send it, then read the answer before acting on it.
New to this? What's a prompt?
A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.
Prompt
Recreated prompt
The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.
The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.
Using my medical records database, tell me what has changed since my last [SPECIALIST] visit on [DATE]: new lab results, imaging, medication changes and clinical notes. Show the trend for [LAB TEST] with dates and flag any clear turning points. Then write a prioritized list of questions for my appointment on [DATE], grouped by urgency, and cite the specific result behind each question. Don't interpret beyond what the records say; mark anything I should ask the doctor to explain.
Try this in:
This prompt has blanks to fill in, like [SPECIALIST]. We'll copy it instead of filling it in, so you can edit it before you send.
The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test it.
Before you start, ask me 1–3 short questions about the details below and wait for my answers. Once I've answered, confirm the plan in one line and run the whole task start to finish. Goal: Prepare for a specialist visit by summarizing what changed in my records and writing prioritized questions. Questions to ask me first: - Which specialist and appointment date is this for? - When was your last visit with them? - Which lab tests or scans do you track most closely? Inputs (fill in or confirm): - Records: [EXPORTED RECORDS OR DATABASE, NAMES AND ID NUMBERS REMOVED IF SHARED] - Last visit date: [DATE] - Tests to trend: [TEST NAMES] - My own concerns: [SYMPTOMS, SIDE EFFECTS, QUESTIONS] Rules: - Use only what's in my records and my notes; cite the date and source of each result. - Don't diagnose or suggest treatment changes. - Group questions as urgent, important and nice to know. - Flag records that look duplicated or conflict across hospitals. Checkpoint: Show me the what-changed summary before writing the question list. If you get stuck: If records are missing or unreadable, list what you couldn't use. Verify before you finish: Check that every question points to a real result in the records. Output: A one-page what-changed summary, trend notes and a tiered question list. Done when: I walk into the appointment with a short list of questions tied to my actual results.
AI tool
Source
- Posted
- by Alex Towell (metafunctor)
- Last checked
- Method:
- How we verify
https://metafunctor.com/post/2026-02-24-chartfold-owning-your-medical-records/
Context: Firsthand post by the patient, with screenshots; dated February 24, 2026, and updated July 8, 2026. Chartfold is the author's own open-source tool; the Claude Code queries are the author's examples, and our prompt is recreated and untested. This is not medical advice; take questions to the care team, and keep medical records private.
Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.
More in Health & Medical
Find a forgotten ER pharmacy charge with Claude
Claude searched email card alerts and traced a ₹3,059.30 charge under a store code to a hospital pharmacy, so it went back in the claim.
WorkedClaudeEverydayView CaseSort hospital bills and file an insurance claim with Claude
Claude checked a policy's limits, sorted 62 pages of hospital bills into 16 PDFs and filled the claim portal; the claim was approved.
WorkedClaude +1AdvancedView CaseFile a Medicare claim for a surgeon's fee with ChatGPT
A Medicare beneficiary used ChatGPT to file a claim for a plastic surgeon's earlobe repair fee and says Medicare reimbursed half of it.
WorkedChatGPTBeginnerView CaseFight an $1,800 heart monitor billing charge with DeepSeek, ChatGPT and Whisper
DeepSeek's dispute letter didn't move the billing office; an $1,800 heart monitor charge was reversed after one call to the doctor's lab.
PartialDeepSeek +2Evidence: Described by posterEverydayView CaseCheck two medical bills with Claude and find most of its errors weren't real
Claude flagged three errors on a $2,000 medical bill, but its math was wrong and only a $23.46 duplicate charge held up.
PartialClaudeEvidence: Article or interviewEverydayView CaseFind Medicare Advantage plans that cover doctors at both AHN and UPMC with ChatGPT
ChatGPT listed Medicare Advantage plans for a Pittsburgh senior in minutes, but missed the must-have: doctors at both AHN and UPMC.
PartialChatGPTEverydayView Case
Similar cases
Describe face symptoms to ChatGPT and catch shingles early
ChatGPT asked yes-or-no questions about face symptoms, flagged shingles as urgent and sent the poster to a doctor, who confirmed it.
WorkedChatGPTEvidence: Described by posterEverydayView CaseFill in a GP online consultation form clearly and get seen in five minutes with Grok
When home care didn't clear up their symptoms, X user David Lermarl had Grok help write the online request form for their GP practice.
WorkedGrokEvidence: Described by posterBeginnerView CaseGet a second opinion after Gemini explained a specialist had used the wrong test
david-gpu booked a second opinion after Gemini said an old test was the wrong type; two specialists confirmed the mistake.
WorkedGeminiEvidence: Described by posterBeginnerView CaseGo back to an optometrist with ChatGPT questions and get referred to a specialist
Leigh Ann Ahmad took ChatGPT's follow-up questions back to an optometrist and was referred to a specialist.
WorkedChatGPTEvidence: Article or interviewBeginnerView CaseNarrow down sudden vertigo to likely BPPV before an ENT visit with Grok
Grok flagged likely BPPV from vertigo symptoms and blood pressure data and suggested an ENT visit, where a specialist confirmed it.
WorkedGrokEvidence: Described by posterEverydayView Case

