πŸŽ“ Educational Quizzes

Test your knowledge and learn about Flask, FHIR, and the J4H codebase

🧠

Codebase Knowledge Quiz

Test your understanding of the J4H Health Diary application architecture, features, and implementation details.

Topics Covered:

  • Application architecture
  • Database design
  • AI integration with Claude
  • Flask components
10 Questions Start Quiz β†’
⚑

Flask Concepts Quiz

Master the fundamentals of Flask and understand how it fits into the web development ecosystem.

Topics Covered:

  • What Flask is (micro-framework)
  • WSGI and web server architecture
  • Flask in the application stack
  • Production deployment patterns
10 Questions Start Quiz β†’
πŸ”€

Flask Routes Quiz

Learn about Flask routing, URL patterns, HTTP methods, and how requests are handled in Flask applications.

Topics Covered:

  • Route decorators and URL patterns
  • Dynamic routes and parameters
  • HTTP methods (GET, POST, etc.)
  • Request handling best practices
10 Questions Start Quiz β†’
πŸ“

Flask Project Structure Quiz

Master Python/Flask project organization, file structure best practices, and proper directory layouts.

Topics Covered:

  • Standard directory layouts and key files
  • Templates, static files, and virtual environments
  • Module organization and Blueprints
  • Configuration and dependency management
10 Questions Start Quiz β†’
πŸ₯

FHIR Concepts Quiz

Understand FHIR fundamentals, healthcare interoperability standards, and core resource structures.

Topics Covered:

  • What FHIR is and its purpose
  • FHIR resources and data types
  • Healthcare interoperability
  • SMART on FHIR framework
10 Questions Start Quiz β†’
πŸ”—

FHIR Integration Quiz

Learn how to interact with FHIR servers, navigate resources, and integrate FHIR data into applications.

Topics Covered:

  • FHIR RESTful API interactions
  • Patient, Condition, Observation resources
  • FHIR Bundles and search parameters
  • HTTP headers and authentication
10 Questions Start Quiz β†’
πŸ”—

FHIR References Quiz

Master how FHIR resources link together using References - understanding syntax, types, and coding patterns.

Topics Covered:

  • Reference data type and purpose
  • Relative vs absolute references
  • Contained resources and logical identifiers
  • Reference coding in JSON format
10 Questions Start Quiz β†’
πŸ§ͺ

Testing Explainer

Understand how J4H is tested β€” 25 unit tests, 18 smoke tests, test isolation, regression testing, and what is intentionally left untested.

Topics Covered:

  • Unit vs smoke tests β€” when to use each
  • All 25 test_app.py tests explained by group
  • All 18 test_smoke.py tests and what they catch
  • Test isolation, regression testing, and intentional gaps
5 Sections Β· 43 Tests Read More β†’
πŸ—ΊοΈ

Project Tech Explainer

See how the entire J4H stack fits together β€” from a browser request all the way through Cloudflare, Heroku, Flask, the database, and back.

Topics Covered:

  • System architecture diagram
  • Full request flow step by step
  • Security model and encryption design
  • Infrastructure, deployment workflow, and mobile app
6 Sections Read More β†’
βš™οΈ

Backend Explainer

Understand how the server side of J4H works β€” Flask routes, the database, Gunicorn, Heroku, and all the external services it connects to.

Topics Covered:

  • Python, Flask routes, and Jinja2
  • SQLite locally, PostgreSQL on Heroku
  • Gunicorn, Heroku deployment, and config vars
  • Claude AI, FHIR, Flask-Mail
8 Sections Read More β†’
πŸ–₯️

Frontend Explainer

Understand how the browser side of J4H is built β€” what technologies are used, why they were chosen, and how they fit together.

Topics Covered:

  • Vanilla HTML, CSS, and JavaScript (no framework)
  • Jinja2 templates and the SPA-style fetch pattern
  • Chart.js for pain trends and vitals
  • Web Crypto API for client-side encryption
  • Capacitor for the Android app wrapper
6 Sections Read More β†’
🧩

App Patterns Explainer

See the recurring design patterns used throughout J4H β€” why each one was chosen and exactly where it appears in the code.

Topics Covered:

  • Repository, Adapter, and Service Layer patterns
  • Decorator, Auth Gate, and SPA Fetch patterns
  • Multi-tenant, Encrypt-before-store, Portable Data
  • Background Scheduler, Progressive Rendering, Env Config
12 Patterns Read More β†’
πŸ”Œ

API Explainer

Trace a single API call from the browser all the way to the database and back β€” routes, functions, memory, and the db object explained step by step.

Topics Covered:

  • What /api/ means and how the URL map works
  • Where functions live in memory (heap, stack, code)
  • URL parameters and how Flask parses them
  • The db object and the two-layer app.py / database.py split
8 Topics Read More β†’
πŸ”—

Routes & Templates

How Flask routes and Jinja2 templates work together to turn a browser request into a finished HTML page.

Topics Covered:

  • What a route is and how @app.route works
  • Jinja2 syntax: {{ }}, {% %}, filters, url_for()
  • render_template() β€” passing data from Python to HTML
  • Template inheritance: extends and block
  • Page routes (HTML) vs API routes (JSON)
  • The full request-to-HTML round trip
8 Sections Read β†’
🌐

Health Memory Association

Health memory apps need their IMAP moment. Why an open standard body could do for health data what IMAP did for email.

Topics Covered:

  • The IMAP analogy β€” before and after
  • Why existing organizations fall short
  • Six standardization layers
  • IMAP vs HMA β€” a direct comparison
  • Governance and certification model
  • J4H as reference implementation
7 Sections Read β†’
πŸ₯

J4H Value Proposition

Why every person deserves a lifelong health memory they own β€” and how J4H's architecture points toward that future.

Topics Covered:

  • The fragmented health data problem
  • 7 things humans need from health memory
  • AI inference β€” patterns across years
  • Portability that survives technology change
  • Provider integration via FHIR
  • What J4H already gets right + full vision
7 Sections Read β†’
πŸ€–

AI & LLM Explainer

How artificial intelligence, large language models, RAG, TF-IDF, and cosine similarity power J4H's health summaries and Focus search.

Topics Covered:

  • What is an LLM and how does Claude work
  • RAG β€” Retrieval-Augmented Generation explained
  • TF-IDF and cosine similarity with diagrams
  • AI Summaries end-to-end pipeline
  • Focus Search β€” drill into any topic
  • Cost, privacy, and what leaves your device
7 Sections Read β†’
πŸŽ€

Decorators Quiz

Understand decorators β€” what they are, how they work in Python and other languages, and their role in software design.

Topics Covered:

  • What decorators are and the problem they solve
  • How @passcode_required and @app.route work
  • Decorators in Java, TypeScript, C#, and Python
  • Auth, caching, logging, and AOP patterns
10 Questions Start Quiz β†’