Note: Like almost everyone, I have been exploring how to use generative AI. During some time off work over the holidays, I decided to get a Claude Pro subscription and see if I could turn an idea that I have wanted to implement for years into a useable tool. This is the result of ~20 hours of planning, generating, and iterating. I am impressed with the results and hope to turn a few other ideas into useable tools over the next few months. The AI-generated description of the project is as follows.


Gamify-ccda transforms CCDA (Consolidated Clinical Document Architecture) health record exports into an interactive achievement system. The tool parses clinical data and generates a gamified HTML dashboard featuring badges, statistics, and visualizations to make personal health data more engaging and accessible.

This project was created to explore the capabilities of Claude AI in software development, demonstrating AI-assisted development of a complete application from concept to implementation.

Features

  • Interactive Dashboard: Activity heatmap showing health encounters over time with analytical insights
  • Location Mapping: Visualizes healthcare facilities with distance tracking (optional geocoding via OpenStreetMap)
  • 101 Achievement Badges: Organized across 16 categories including temporal patterns, location visits, holidays, care modalities, provider continuity, medical specialties, laboratory work, vitals, medications, immunizations, diagnoses, wellness milestones, travel distances, and seasonal patterns
  • Analytics: Comprehensive yearly and lifetime statistics tracking
  • Time Travel: Historical data viewing using the --when flag to see achievements as of past dates
  • Privacy-First Design: All processing happens locally on your machine—your data never leaves your computer
  • Security: Supports password-protected ZIP files for secure health record storage

Technical Details

Written in Go, the tool processes standard CCDA R2.1 exports in IHE_XDM format. Installation requires building from source:

go build -o gamify-ccda ./cmd/gamify-ccda

Basic usage:

# Generate interactive dashboard
./gamify-ccda generate your-health-records.zip

# Browse in terminal
./gamify-ccda browse your-health-records.zip

# View historical snapshot
./gamify-ccda --when 2023-12-31 generate your-health-records.zip

# Enable optional location mapping
./gamify-ccda generate --enable-geocoding your-health-records.zip

Output is saved to output/index.html for viewing in any web browser.


Links: