pediatric-ai-scribe-v3/public/js/bedside
Daniel 560ec43f8b feat: don't-miss tooltip after notes + bedside suture selector
#2 — Don't-miss tooltip (encounters HPI + sick visit, max 5)
- New POST /api/dont-miss returning {points: [{point, why}]} capped at 5
  (cap defended both in the prompt and server-side .slice(0,5))
- New dontMissTooltip prompt in prompts.js
- New suggestDontMiss() helper in app.js mirroring suggestBillingCodes;
  inserts an orange-bordered card next to the note output, silent on empty
- Wired into liveEncounter.js (encounter HPI) and sickVisit.js. Not added
  to wellvisit/soap/hospital/chart per spec.

#1 — Bedside suture selector
- New ES module public/js/bedside/sutures.js (~300L) following the
  burns.js pattern: site × age × tension × cosmetic × contamination ×
  hours-since-injury → material, size, technique, removal day range,
  glue/Steri-strip alternative, warnings, tetanus reminder.
- 15 anatomic sites covered (face, eyelid, lip vermilion, intraoral,
  ear, scalp, neck, trunk, upper/lower ext, hand, foot, joint surface,
  genitalia, fingertip).
- Bites: cat/human → don't-close-primarily warning; dog bite to hand →
  loose-approximation note. Heavy contamination → delayed primary
  closure. >12h non-face/scalp → judgment call note.
- Removal days shown as ranges (3–5, 7–10, 10–14) per source norms,
  not single midpoints.
- Subungual hematoma trephination guidance corrected: any painful
  hematoma with intact nail and no displaced fracture (especially if
  25–50% or more), per current UpToDate guidance.
- Inline citation: Roberts & Hedges 7e (2019), Fleisher & Ludwig 8e,
  AAP Section on EM, UpToDate (Pope JV).
- Pill registered in sub-nav SECTIONS + bedside/index.js. Persists
  active state via existing UIState helper.

All 46 tests pass.
2026-04-28 03:09:38 +02:00
..
age-weight.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
agitation.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
airway.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
anaphylaxis.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
antiemetics.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
antimicrobials.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
burns.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
cardiac.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
image-lightbox.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
index.js feat: don't-miss tooltip after notes + bedside suture selector 2026-04-28 03:09:38 +02:00
neonatal.js fix(neonatal): replace rounded Fenton 2013 LMS with peditools-validated values 2026-04-22 05:52:00 +02:00
respiratory.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
sedation.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
seizure.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
sepsis.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
shared.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
sub-nav.js feat: don't-miss tooltip after notes + bedside suture selector 2026-04-28 03:09:38 +02:00
sutures.js feat: don't-miss tooltip after notes + bedside suture selector 2026-04-28 03:09:38 +02:00
toxicology.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
trauma.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00
ventilation.js feat: C — extract Bedside reference into ES modules 2026-04-20 23:19:50 +02:00