TruWound PCR with MAST — Admin Guide

Local setup

  1. Import schema: mysql.exe -u root < database/schema.sql
  2. Import data: php.exe tools/import_data_library.php
  3. Report Generator: https://tpl.robbiekohli.com/tpl-wound/
  4. Admin Dashboard: https://tpl.robbiekohli.com/tpl-wound/dashboard/ (default admin / TruPath@2026 — change before any shared use)

Report Generator

The live preview is the approved standalone generator's own JavaScript engine, reconstructed byte-for-byte (only the icon references were changed from embedded base64 to plain file paths). Generate PDF (Server) is the one addition: it submits the case to this project's own database-backed API, which independently re-validates and re-computes everything, then saves a real PDF.

Dashboard tabs

Known gaps / judgment calls

See the build report delivered with this project for the full list, including: the admin UI has no pregnancyTrimester control (API/JSON-only), and patientAgeMonths()'s reference date was changed from the source's own effectively-broken "always use today" fallback to the case's own reported date.