EMERGENCY MEDICAL CARD
Emergency Medical CardIdea: An app that securely stores important medical information like blood group, allergies, medications, medical conditions, and emergency contacts. Users get a QR code or emergency link that can be accessed quickly by trusted people or responders during an emergency. Why it matters: It gives people fast access to critical information when every second counts.
Tech stack
- Claude
- ChatGPT
- Replit
- Google AI Studio
Links
Prompt
Build a single-file HTML/React "Emergency Medical Card" web app with the following specs:
1. Data fields to capture:
Full name, date of birth, blood group (A+/A−/B+/B−/AB+/AB−/O+/O−/Unknown)
Allergies (free text — drug, food, environmental)
Current medications (name, dosage, frequency)
Medical conditions (free text)
Organ donor status (yes/no)
Emergency contacts (2–3 entries: name, relationship, phone)
2. Layout:
Single-file page, header "Emergency Medical Card" with a medical-red accent (#c0392b or similar)
Two-column layout (personal info + blood group on left, allergies/meds/conditions on right), stacking to one column under 600px
Emergency contacts section at bottom with tappable tel: links
QR code displayed prominently, minimum 150×150px
3. Input form:
All fields optional except blood group and at least one emergency contact
Live in-memory state (no localStorage — not supported in this environment)
Live card preview updates as the user types
Loose phone validation (support international formats)
4. QR code:
Encode the data directly as plain text (not a URL) so it works fully offline
Compact, human-readable format (labeled lines: Name, DOB, Blood, Allergies, Medications, Condi…
12 likes · 6 comments · 8 views
Comments (3)
Really interesting concept. Going to create my own. I really like how the card itself looks too, super clean. Nice job on this one, another banger 🔥
Thanks Jack
<p>Glad someone is building practical tools like this.</p>
Thanks man
<p>Fast access when every second counts. Important build</p>
Thanks man