- Conditions now use the same database/detail-page model as medicines, terminology, and symptoms.

What changed:
Rebuilt the Conditions page into a searchable condition database: 
[public/workouts.php (line 
1)](/Users/tyemeclifford/Documents/GH/workout/public/workouts.php:1)
Added dynamic condition detail pages, e.g. 
/condition.php?name=Type%202%20Diabetes or /condition.php?id=2: 
[public/condition.php (line 
1)](/Users/tyemeclifford/Documents/GH/workout/public/condition.php:1)
Added condition detail/link lookup helpers: [app/bootstrap.php (line 
1680)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:1680)
Expanded the seeded condition catalog to 203 conditions with categories, 
tracking notes, and MedlinePlus links: [app/bootstrap.php (line 
636)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:636)
Updated combined medical search to link conditions internally with “View 
condition”: [public/medical.php (line 
48)](/Users/tyemeclifford/Documents/GH/workout/public/medical.php:48)
Updated related records on symptom/term pages to point to condition 
detail pages.
Updated README route docs: [README.md (line 
21)](/Users/tyemeclifford/Documents/GH/workout/README.md:21)
This commit is contained in:
Ty Clifford
2026-06-30 16:35:27 -04:00
parent 0d492451c7
commit e45324fde4
8 changed files with 462 additions and 42 deletions
+3 -2
View File
@@ -19,7 +19,8 @@ http://127.0.0.1:8080
## Public Routes
- `/` - public medical reference hub for medicines, symptoms, terminology, conditions, research, tracker, and admin links.
- `/workouts.php` - condition-tracking feature page.
- `/workouts.php` - searchable condition reference database.
- `/condition.php?id=1` - dynamic condition detail page backed by the SQLite catalog.
- `/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.
@@ -51,7 +52,7 @@ The app seeds sample profiles, medical terminology, condition summaries, an expa
- Vital logs for blood pressure, pulse, temperature, oxygen saturation, glucose, pain score, symptoms, and notes.
- 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.
- Medical terminology and condition databases with source links and dynamic detail pages.
- 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.