How It Works
🔍 Workflow Audit — $350 ⚡ Quick Win — $500 ⚙️ Systems Buildout — $1,500 🎯 AI Lead Engine — $3,000 🤖 Your First AI Employee — $750
Who I Help About 📊 Free Presence Audit Book a Call →
Case Study — Healthcare AI

From 45-minute chart review to 30-second AI summary.

A discharge summary tool built on Gemini 2.5 Flash that reads hospital PDFs and instantly surfaces the three things every care transition team needs to know.

IndustryPost-acute care / care transitions
Built withGemini 2.5 Flash ยท Google Apps Script
Time to buildOne session
<30s From PDF upload to structured clinical summary
3 Clinical questions answered automatically on every document
0 Manual copy-paste steps in the new workflow

Discharge summaries are long. Care transitions are fast.

Hospital discharge PDFs average 30โ€“140 pages. The team coordinating the next step in care โ€” rehab, home health, skilled nursing โ€” needs the same three things every time.

โฑ๏ธ

Time-consuming manual review

A clinician or coordinator would spend 15โ€“25 minutes reading through a full discharge summary just to extract the hospital course, therapy notes, and prior function level โ€” information buried across multiple sections.

๐Ÿ”

Same three questions, every single patient

What brought them in? What did rehab find? What were they doing before the hospital? These questions never change โ€” but finding the answers in an unstructured PDF always took the same manual effort.

๐Ÿ“ฌ

Email-based workflows created delays

The original approach relied on emailing PDFs and waiting for a reply. When that process broke down โ€” wrong labels, API issues, quota limits โ€” the whole workflow stalled.

How it works

A single-page web app that reads any hospital discharge PDF and returns a structured clinical summary โ€” with no login, no backend, and no data stored anywhere.

1

Upload the PDF

Drag and drop any discharge summary PDF. The file is read entirely in the browser โ€” it never touches a server.

2

Gemini reads the full document

The PDF is base64-encoded and sent directly to Gemini 2.5 Flash via the API. The model reads the entire document โ€” not just extracted text โ€” and answers three structured clinical questions in a single pass.

Gemini 2.5 Flash ยท Google AI API
3

Results appear in seconds

Hospital course summary, rehab therapy findings, and prior level of function are returned as structured sections โ€” ready to read, copy, or download as a .txt file.

4

Ask follow-up questions

After the initial summary, the user can ask any additional question about the document โ€” medication reconciliation, specific diagnoses, discharge instructions โ€” without re-uploading or losing context.

What it returns

Every document is analyzed against three consistent clinical questions โ€” the same ones a care coordinator would ask manually.

  PDF_Analysis.txt โ€” Sample Output
Hospital Course Summary
Patient was admitted for severe odynophagia and nausea/vomiting, testing positive for Strep A and Influenza A, presenting with acute hypoxemic respiratory failure.
  • Transferred to PCU day 2 for worsening work of breathing requiring vapotherm
  • Rapid Response called day 4 โ€” transferred to MICU for worsening AHRF
  • Intubated day 8; ARDS from Flu A confirmed via CT chest
  • Echo showed reduced LVEF (30โ€“35%), recovered to 60โ€“65% by day 13 โ€” stress cardiomyopathy
  • Extubated day 17, weaned to room air; tube feeds discontinued after passing swallow eval
  • Hospital day 30: medically stable, pending IPR approval
Rehab Therapies
  • PT: transfers with CGA, short gait trials with rolling walker; therapeutic exercises for BLE strength
  • OT: evaluated for deconditioning and weakness
  • SLP: swallow eval passed โ€” cleared for Level 6 dysphagia diet, Level 2 mildly thick liquids
  • PT recommends 3 hrs/day intensive multidisciplinary therapy for IPR
Prior Level of Care โ€” Function & Mobility
Prior to admission, patient was independent with all ADLs and ambulatory without an assistive device. Lives with parents in a single-floor home with one entry step. Owned a rolling walker and shower chair. No falls in the past year.

The real insight wasn't the output โ€” it was the iteration speed.

The first version of this tool lived inside Google Apps Script as an email-based workflow. Send a PDF to a specific Gmail address, get a reply. It worked, but the fragility of email triggers, API quota limits, and label management made it unreliable in practice.

The shift to a browser-based web app solved every infrastructure problem in one move. No email routing. No trigger management. No server. The user controls the workflow entirely โ€” drop a file, get an answer.

What took an entire clinical session to read and summarize manually now takes less time than it takes to open the document. That's the compounding value of matching the right AI model to a narrow, well-defined task.

"The same three questions, answered the same way, for every patient โ€” that's exactly the kind of narrow, repetitive task that AI handles best. The hard part was just building the right wrapper around it."

The follow-up question feature โ€” added after the initial build โ€” turned out to be more valuable than expected. Rather than re-reading the document for a specific detail, the user can ask naturally: "What were the discharge medications?" or "Was there any mention of wound care?" The model already has the full document in context.

Why you bring your own API key โ€” and why that matters.

Most tools that process sensitive documents run your files through a backend server โ€” a database somewhere stores what you uploaded, when, and what came back. That's a liability for clinical workflows where patient information is involved.

This tool has no backend. When you enter a Gemini API key, it's saved only to your own browser's local storage โ€” never transmitted anywhere except directly to Google's API when you click Analyze. Your PDF goes from your browser straight to Gemini and nowhere else. No intermediate server. No database. No logs.

The tradeoff is one extra setup step: getting a free API key from Google AI Studio. Once it's saved in your browser, you never have to enter it again. And because the key is yours, you control the usage, the billing, and the data โ€” not us.

"No backend means no breach surface. Patient documents never touch a third-party server โ€” just your browser and Google's API, with a key only you hold."

The tool is live and free to use.

Get a free Gemini API key from Google AI Studio, paste it in once, and upload any hospital discharge PDF. Nothing is stored โ€” everything runs in your browser.

Open the PDF Analyzer →

Want something like this built for your workflow?

Most clinical and administrative teams have 3โ€“5 repetitive document tasks that AI can handle in seconds. We find them, build the tool, and hand it over.

Book a Discovery Call → Back to Healthcare