with one click
lab-trend
Show a side-by-side trend of one or more lab values for a patient
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Show a side-by-side trend of one or more lab values for a patient
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Read the plant-floor Azure IoT surface — device twins (spindles, conveyors, robotic arms, vision systems), time-series telemetry with pre-annotated alarms, downtime events with cause codes and lot ids, and per-line OEE rollups (Availability × Performance × Quality).
Share generated files (PDFs, charts, CSVs) with Frank by writing them to /tmp and referencing the absolute path. The frontend auto-converts /tmp paths into download links.
Build the downloadable incident brief PDF — cover + KPI strip + OEE chart + downtime timeline + root-cause narrative + supplier/material signals + recommended actions + sign-off, per SOP §7.1. Renders via the inline HTML template + Playwright.
Microsoft 365 surface — READ Frank's mailbox / Wes's calendar / OneDrive (shift reports, SOPs) AND a strict H-I-T-L workflow to draft and send an email (e.g. brief Wes on the morning incident).
Compute and plot OEE — a 7-day trend chart with target/threshold lines, an overlay of telemetry alarms and downtime stops, plus a flat CSV export. Saves /tmp/oee-trend-<plant>-line-<N>-<date>.png + .csv.
The Olympus Cleveland-plant Standard Operating Procedure — alarm thresholds, escalation matrix, supplier quality-hold rules, OEE definitions, incident-brief template requirements. Cite the section number when answering.
| name | lab-trend |
| description | Show a side-by-side trend of one or more lab values for a patient |
| enabled | true |
Use this skill when the user asks for a trend, history, or progression of specific lab values (e.g. "Show me Eleanor's last 3 A1Cs", "George's eGFR trend", "How has Tomás's lipid panel changed?").
epic_search_patients_by_name → epic_get_patient if needed.
For each lab code the user named, call epic_list_observations(patient_id, code: '<code>', limit: 10).
Common codes in our fixtures: A1C, BP, LDL, EGFR, TSH, FT4, HR, TEMP, SPO2, PEF.
For one lab:
# George Achterberg (PAT-100006) — HbA1c trend
| Date | HbA1c | Interpretation |
|---|---|---|
| 10 Mar 2026 | 7.8% | Above goal |
For multiple labs:
# George Achterberg (PAT-100006) — Lab trends
## HbA1c
| Date | Value | Interpretation |
|---|---|---|
| 10 Mar 2026 | 7.8% | Above goal |
## eGFR
| Date | Value | Interpretation |
|---|---|---|
| 10 Mar 2026 | 42 mL/min/1.73m² | CKD stage 3 |
## Reading
A1C is drifting up against an eGFR that puts him in CKD-3. Consider the SGLT-2 indication for renal protection (he's already on empagliflozin) and whether adding a GLP-1 is appropriate. Recheck both in 3 months.
effective_at.