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:
- P0 - Critical: Anaphylaxis risks, severe drug allergies, life-threatening conditions
- P1 - Important: Current medications, chronic diseases, implants
- 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
- Emergency Communication: Provides critical medical information when you can't speak
- Language Barriers: Visual cards work across language barriers during travel
- Information Fragmentation: Consolidates medical data from multiple sources
- Time-Critical Decisions: Helps emergency responders make quick, informed decisions
- Medical History Access: Ensures healthcare providers have essential information
Technical Implementation
Data Sources
Primary Sources:
data/profile.json: Basic info, blood type, emergency contactsdata/allergies.json: Allergy history with severity levelsdata/medications/medications.json: Current medication plans
Chronic Disease Sources:
data/hypertension-tracker.json: Hypertension management datadata/diabetes-tracker.json: Diabetes management datadata/copd-tracker.json: COPD management data
Auxiliary Sources:
data/radiation-records.json: Recent radiation exposuredata/手术记录/**/*.json: Surgical implant informationdata/出院小结/**/*.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
- Prepare Data: Ensure health data is organized in Claude-Ally-Health format
- Trigger Skill: Say "Generate emergency medical card"
- Choose Format: Select HTML, JSON, text, or QR code format
- Choose Variant: Select standard, child, elderly, or severe allergy variant
- 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:
- Comprehensive Data: Automatically includes chronic diseases, medications, allergies, and implants
- Multi-Format: HTML, JSON, text, PDF, and QR code options for different scenarios
- Priority Sorting: Information organized by medical urgency
- Auto-Updated: Generated from your current health data, always up-to-date
- 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.
Related Skills
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
- Regular Updates: Update your emergency card every 3 months or when health info changes
- Multiple Copies: Keep digital copy on phone and printed copy in wallet
- QR Code: Save QR code to phone lock screen for quickest emergency access
- Travel: Print fresh card before international travel with updated information
- Share with Family: Share digital copy with family members for emergencies
- Verify Accuracy: Review generated card for accuracy before relying on it
- 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!
Related Tools
Health Trend Analyzer
github.com/huifer/Claude-Ally-Health
Analyze long-term health trends across multiple dimensions to identify patterns and predict future health trajectories.
AI Health Analyzer
github.com/huifer/Claude-Ally-Health
AI-driven comprehensive health analysis system that integrates multi-dimensional health data, identifies abnormal patterns, predicts health risks, and provides personalized recommendations with intelligent Q&A capabilities.
Family Health Analyzer
github.com/huifer/Claude-Ally-Health
Analyze family health patterns, identify genetic risks, and provide family-wide health recommendations.
Related Insights

Anthropic Subagent: The Multi-Agent Architecture Revolution
Deep dive into Anthropic multi-agent architecture design. Learn how Subagents break through context window limitations, achieve 90% performance improvements, and real-world applications in Claude Code.
Complete Guide to Claude Skills - 10 Essential Skills Explained
Deep dive into Claude Skills extension mechanism, detailed introduction to ten core skills and Obsidian integration to help you build an efficient AI workflow
Skills + Hooks + Plugins: How Anthropic Redefined AI Coding Tool Extensibility
An in-depth analysis of Claude Code's trinity architecture of Skills, Hooks, and Plugins. Explore why this design is more advanced than GitHub Copilot and Cursor, and how it redefines AI coding tool extensibility through open standards.