ingest-results
Ingests newly downloaded patient-portal PDFs (test results, care team notes, and other records from Epic MyChart or another portal) into a case folder. Extracts the text, rebuilds lab trend tables as CSV and markdown, updates the results and notes indexes, the running summaries, and the discrepancy log, refreshes where the case stands, and writes a short what-changed note the family can read on a phone. Offers to record bedside observations first. Use when someone says "ingest", "new results", "new notes", "I downloaded more files", "update the labs", "what changed", or "refresh the case".
- License
- MIT
- Compatibility
- Python 3.10+ plus either poppler (pdftotext) or pdfplumber. pdfplumber is declared inline, so `uv run` installs it. Any agent that can run commands and edit files.
Pinned to revision 79916c9f55eb, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/ingest-results/SKILL.md
- skills/ingest-results/references/ingest-reference.md
- skills/ingest-results/scripts/extract_notes.py
- skills/ingest-results/scripts/extract_other.py
- skills/ingest-results/scripts/extract_results.py
- skills/ingest-results/scripts/pdftext.py
- skills/ingest-results/scripts/portals/__init__.py
- skills/ingest-results/scripts/portals/generic.py
- skills/ingest-results/scripts/portals/mychart.py
Every link opens the file at its source, pinned to the revision this page describes.