Emergency Medical Card logo

Emergency Medical Card

Visit

Generate emergency medical information cards for quick access in critical situations. Extracts key health data (allergies, medications, conditions, implants) and outputs in multiple formats (HTML, JSON, text, QR code) for emergency care.

Share:

Emergency Medical Card

Emergency Medical Card is a critical health skill from the Claude-Ally-Health project that generates emergency medical information summaries for quick access during emergencies or medical visits. This skill automatically extracts the most important health information and formats it for emergency responders and healthcare providers.

Key Features

1. Critical Information Extraction

Automatically extracts the most essential medical information from your health records:

  • Severe Allergies: Prioritizes Level 4 (anaphylaxis) and Level 3 allergies
  • Current Medications: Active medications with names, dosages, and frequencies
  • Emergency Conditions: Medical conditions requiring urgent attention
  • Implants: Pacemakers, stents, and other implanted devices (affects diagnostics and treatment)
  • Emergency Contacts: Quick contact information for family members

2. Information Priority Sorting

Organizes medical information by urgency level:

  1. P0 - Critical: Anaphylaxis risks, severe drug allergies, life-threatening conditions
  2. P1 - Important: Current medications, chronic diseases, implants
  3. P2 - General: Blood type, age, weight, recent examinations

3. Multi-Format Output

Supports multiple output formats for different scenarios:

  • HTML Format: Printable web page with Tailwind CSS and Lucide icons (recommended)
  • JSON Format: Structured data for system integration
  • Text Format: Clean, readable format suitable for printing and carrying
  • PDF Format: Professional printing for long-term storage
  • QR Code: Scannable QR code for quick mobile access

HTML Format Features

Generates standalone HTML files with:

  • Tailwind CSS styling (via CDN)
  • Lucide icons (via CDN)
  • Responsive design
  • Print optimization
  • Multiple size variants (A4, wallet card, large print)
  • Automatic card type detection (standard, child, elderly, severe allergy)

4. Chronic Disease Integration

Extracts chronic condition diagnoses from management trackers:

  • Hypertension: Diagnosis date, classification, average BP, risk level
  • Diabetes: Type, HbA1c levels, control status, duration
  • COPD: GOLD grade, CAT score, exacerbation history

5. Offline Availability

  • Save to mobile device (photos, files)
  • Print for wallet or bag
  • Optional cloud backup

Use Cases

Who Should Use This Skill?

  • Travelers: Essential medical information for international trips
  • Chronic Disease Patients: Quick access to medication and condition information
  • Emergency Preparedness: Critical information for first responders
  • Elderly Individuals: Comprehensive health summary for medical visits
  • Parents: Emergency cards for children with allergies or conditions
  • Athletes: Medical information for sports events and competitions

Problems It Solves

  1. Emergency Communication: Provides critical medical information when you can't speak
  2. Language Barriers: Visual cards work across language barriers during travel
  3. Information Fragmentation: Consolidates medical data from multiple sources
  4. Time-Critical Decisions: Helps emergency responders make quick, informed decisions
  5. Medical History Access: Ensures healthcare providers have essential information

Technical Implementation

Data Sources

Primary Sources:

  • data/profile.json: Basic info, blood type, emergency contacts
  • data/allergies.json: Allergy history with severity levels
  • data/medications/medications.json: Current medication plans

Chronic Disease Sources:

  • data/hypertension-tracker.json: Hypertension management data
  • data/diabetes-tracker.json: Diabetes management data
  • data/copd-tracker.json: COPD management data

Auxiliary Sources:

  • data/radiation-records.json: Recent radiation exposure
  • data/手术记录/**/*.json: Surgical implant information
  • data/出院小结/**/*.json: Medical diagnosis information

Card Variants

Generate different card types based on user profile:

  • Standard: General adult emergency card
  • Child: Pediatric-specific information
  • Elderly: Large print, simplified format
  • Severe Allergy: Prominent allergy warnings

Getting Started

Prerequisites

  • Claude Code or Claude.ai with Skills support
  • Claude-Ally-Health data structure
  • Health data in required JSON format

Quick Start Guide

  1. Prepare Data: Ensure health data is organized in Claude-Ally-Health format
  2. Trigger Skill: Say "Generate emergency medical card"
  3. Choose Format: Select HTML, JSON, text, or QR code format
  4. Choose Variant: Select standard, child, elderly, or severe allergy variant
  5. Save Card: Save to mobile device or print for carrying

Example Commands

  • "Generate emergency medical card"
  • "I need travel medical information"
  • "Create allergy information card"
  • "Emergency first aid information"
  • "Medical visit preparation materials"
  • "Medical information summary"

Output Files

Cards are saved to:

emergency-cards/emergency-card-{variant}-{YYYY-MM-DD}.html
emergency-cards/emergency-card-{variant}-{YYYY-MM-DD}.json
emergency-cards/emergency-card-{variant}-{YYYY-MM-DD}.txt
emergency-cards/emergency-card-qr-{YYYY-MM-DD}.png

Safety & Medical Principles

Must Follow

  • ❌ Does not add medication recommendations (only lists current medications)
  • ❌ Does not provide diagnostic conclusions (only lists known diagnoses)
  • ❌ Does not give treatment advice (does not replace doctors)
  • ❌ Includes disclaimer (for reference only)

Information Accuracy

  • ✅ Only extracts recorded information (no speculation or inference)
  • ✅ Labels information source and update time
  • ✅ Recommends regular information updates

Privacy Protection

  • ✅ Option to hide sensitive information
  • ✅ Partial masking of phone numbers (e.g., 138****1234)
  • ✅ All data saved locally only

Advantages & Unique Selling Points

Compared to Generic Medical ID Cards:

  1. Comprehensive Data: Automatically includes chronic diseases, medications, allergies, and implants
  2. Multi-Format: HTML, JSON, text, PDF, and QR code options for different scenarios
  3. Priority Sorting: Information organized by medical urgency
  4. Auto-Updated: Generated from your current health data, always up-to-date
  5. Print-Optimized: Multiple sizes including wallet card and large print versions

What Makes It Stand Out:

  • Integration with comprehensive health tracking system
  • Automatic chronic disease information extraction
  • Medical priority-based information organization
  • Professional HTML output with beautiful styling
  • Complete privacy - all data stays local

Integration

Works seamlessly with:

  • Claude-Ally-Health System: Full integration with personal health information system
  • Medical Trackers: Pulls data from hypertension, diabetes, COPD trackers
  • Medication Management: Integrates with medication tracking
  • Allergy Records: Automatically includes severe allergy information
  • Mobile Devices: Save HTML cards to phone for offline access

Frequently Asked Questions

How often should I update my emergency card?

Recommended to update every 3 months or whenever your health information changes (new medication, new allergy, new diagnosis, etc.).

Can I customize what information is included?

Yes, the skill only includes information available in your health data files. You can control what's included by managing your source data files.

Is my medical information secure?

Yes, all emergency cards are generated and stored locally. No data is sent to external servers except when using Claude for card generation.

What size should I print for a wallet card?

Use the "wallet" size variant which generates a card sized for standard wallet dimensions.

Can I share this with my doctor?

Yes, the emergency card is designed to be shared with healthcare providers. The PDF and HTML formats are most suitable for medical professionals.

Does it work in other languages?

Currently, the card supports the language of your health data. Bilingual cards are possible if you maintain health data in multiple languages.

If you're interested in Emergency Medical Card, you might also find these Claude-Ally-Health skills useful:

  • AI Health Analyzer: Comprehensive health analysis and risk prediction
  • Travel Health Analyzer: Travel health and vaccination tracking
  • Medication Management: Detailed medication tracking and interaction checking
  • Chronic Disease Trackers: Specialized tracking for hypertension, diabetes, COPD

Tips & Best Practices

  1. Regular Updates: Update your emergency card every 3 months or when health info changes
  2. Multiple Copies: Keep digital copy on phone and printed copy in wallet
  3. QR Code: Save QR code to phone lock screen for quickest emergency access
  4. Travel: Print fresh card before international travel with updated information
  5. Share with Family: Share digital copy with family members for emergencies
  6. Verify Accuracy: Review generated card for accuracy before relying on it
  7. Backup: Keep backup copies in multiple locations (home, car, travel bag)

Conclusion

Emergency Medical Card is an essential skill for anyone with allergies, chronic conditions, or medications. By automatically generating comprehensive, priority-sorted medical information cards from your health data, it ensures that critical medical information is always available when you need it most. Whether for emergencies, travel, or routine medical visits, this skill provides peace of mind through preparedness.

Comments

No comments yet. Be the first to comment!