- 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
+2 -44
View File
@@ -1,47 +1,5 @@
<?php
declare(strict_types=1);
require __DIR__ . '/../app/bootstrap.php';
app_db();
$pageTitle = 'Sign Up | Neon Medical Tracker';
$activePage = 'signup';
require __DIR__ . '/partials/site-header.php';
?>
<main>
<section class="signup-layout">
<div class="signup-copy">
<p class="site-eyebrow">Create your profile</p>
<h1>Start with the basics. Add records as care changes.</h1>
<p>Your profile keeps medications, vitals, labs, symptoms, allergies, appointments, vaccines, notes, and theme preferences separate from every other user.</p>
<div class="signup-steps">
<article><strong>1</strong><span>Create profile</span></article>
<article><strong>2</strong><span>Open tracker</span></article>
<article><strong>3</strong><span>Add medical records</span></article>
</div>
</div>
<form class="signup-card" id="publicSignupForm">
<div>
<p class="site-eyebrow">Sign up</p>
<h2>New profile</h2>
</div>
<label class="site-field"><span>Name</span><input name="name" required autocomplete="name"></label>
<label class="site-field"><span>Email</span><input name="email" type="email" autocomplete="email"></label>
<label class="site-field"><span>Phone</span><input name="phone" type="tel" autocomplete="tel"></label>
<label class="site-field"><span>Care focus</span><input name="fitness_focus" placeholder="Blood pressure, glucose, asthma"></label>
<div class="signup-row">
<label class="site-field"><span>Birthday</span><input name="birthday" type="date"></label>
<label class="site-field"><span>Height in</span><input name="height_in" type="number" min="0" step="0.5"></label>
</div>
<label class="site-field"><span>Tracking comfort</span><select name="training_level"><option></option><option>Getting started</option><option>Comfortable</option><option>Advanced</option><option>Caregiver</option></select></label>
<div class="signup-row">
<label class="site-field"><span>Theme</span><select name="theme_mode"><option>dark</option><option>light</option></select></label>
<label class="site-field"><span>Accent</span><select name="theme_accent"><option>green</option><option>blue</option><option>red</option><option>pink</option><option>orange</option></select></label>
</div>
<button class="site-primary full" type="submit">Create profile</button>
<p class="signup-result" id="signupResult" role="status" aria-live="polite"></p>
</form>
</section>
</main>
<?php require __DIR__ . '/partials/site-footer.php'; ?>
header('Location: /tracker.php', true, 302);
exit;