- Implemented the symptom database as a full searchable reference area, parallel to terminology.

Added:
New medical_symptoms SQLite catalog with 242 seeded symptom records, 
categories, body systems, tracking notes, urgency-context notes, search 
terms, and MedlinePlus links: [app/bootstrap.php (line 
186)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:186), 
[seed logic (line 
635)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:635)
New searchable symptom directory: [public/symptoms.php (line 
1)](/Users/tyemeclifford/Documents/GH/workout/public/symptoms.php:1)
New dynamic per-symptom page, e.g. /symptom.php?id=24: 
[public/symptom.php (line 
1)](/Users/tyemeclifford/Documents/GH/workout/public/symptom.php:1)
Symptom helper/link lookup functions: [app/bootstrap.php (line 
1473)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:1473)
medicalSymptoms added to the combined library search/API: 
[app/bootstrap.php (line 
2024)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:2024)
Symptoms added to nav, homepage, and combined medical search: 
[site-header.php (line 
27)](/Users/tyemeclifford/Documents/GH/workout/public/partials/site-header.php:27), 
[index.php (line 
11)](/Users/tyemeclifford/Documents/GH/workout/public/index.php:11), 
[medical.php (line 
13)](/Users/tyemeclifford/Documents/GH/workout/public/medical.php:13)
This commit is contained in:
Ty Clifford
2026-06-30 16:19:09 -04:00
parent b8045eb068
commit 0d492451c7
14 changed files with 638 additions and 352 deletions
+5 -3
View File
@@ -18,14 +18,15 @@ http://127.0.0.1:8080
## Public Routes
- `/` - public homepage for the medical tracker service.
- `/` - public medical reference hub for medicines, symptoms, terminology, conditions, research, tracker, and admin links.
- `/workouts.php` - condition-tracking feature page.
- `/nutrition.php` - medicine catalog feature page.
- `/medicine.php?id=46` - dynamic medicine detail page backed by the SQLite catalog.
- `/symptoms.php` - searchable symptom reference database.
- `/symptom.php?id=1` - dynamic symptom detail page backed by the SQLite catalog.
- `/recovery.php` - NIH/NLM research links page.
- `/medical.php` - medical terminology, conditions, medicines, and study-link database.
- `/term.php?id=1` - dynamic medical-terminology detail page backed by the SQLite catalog.
- `/signup.php` - public profile signup.
- `/tracker.php` - the medical tracker dashboard.
- `/admin.php` - admin user-management dashboard.
@@ -42,7 +43,7 @@ The app seeds sample profiles, medical terminology, condition summaries, an expa
## Included
- Multi-user profiles with separate records and theme preferences.
- Admin dashboard for creating, editing, activating/deactivating, and deleting user profiles.
- Admin/tracker dashboards for creating, editing, activating/deactivating, and deleting user profiles.
- Admin medicine-source updater for refreshing the catalog from RxNorm, DailyMed, and openFDA.
- First user created in a database is automatically promoted to `admin`; later users default to `member`.
- Daily, weekly, and monthly views for medical logs.
@@ -51,6 +52,7 @@ The app seeds sample profiles, medical terminology, condition summaries, an expa
- Lab result records with units, reference ranges, clinician/source notes, and collection dates.
- Symptom journal, allergy list, appointments, and immunization records.
- Medical terminology and condition database with source links.
- Searchable symptom database with body-system categories, tracking notes, urgency-context notes, and dynamic detail links.
- Searchable medicine catalog by generic name, active ingredient, chemical name, common brand names, and generic/alternate names.
- Medicine links to RxNorm, DailyMed, PubChem, MedlinePlus, PubMed, and ClinicalTrials.gov.
- NIH/NLM research-link categories related to the listed medicines.