1. Functional Architecture

The platform is organized into three modules:

  • Diagnostic Engine:
    • Stepwise questionnaire capturing: “About You”, “Medication”, “Interventions”, “Symptoms”.
    • Risk scoring: Stroke Risk, Bleed Risk.
    • Dual path for ECG+ (Direct to PAAF, PEAF, LSAF) and ECG− (Requires Symptom Scoring → QECG, 7ECG, EVNT).
    • Invokes 8 distinct decision trees (B15.1–B15.8) to derive personalized treatment end-points.
  • Treatment Planner:
    • Provides user-specific medication or procedure options (e.g., rate/rhythm control, ablation).
    • Offers revisit timelines, return logic, and explanations of interventions.
  • Entity-Level Offers & Free Trials:
    • Charities or practitioners configure “first X patients free” or “Y days free usage”.
    • Intelligent logic ensures offers are not consumed by returning patients.
    • Payment triggers only when eligibility expires.
  1. Technology Architecture
  • Frontend: HTML5, CSS3, Bootstrap, jQuery — lightweight, responsive for mobile/desktop use.
  • Backend: Java 8, Spring Boot APIs, Hibernate ORM.
  • Database: MySQL, with no triggers/procedures; future-proofed for reporting and archival layers.
  • Security Layer:
    • CSRF protection, tokenized APIs
    • AES-level encrypted data transit
    • GDPR audit trail with user consents and session logs
  • Decision Trees: Externalized in JSON/XML, parsed at runtime to ensure zero code changes for medical logic updates.
  • CMS:
    • Static content (e.g., privacy, FAQs) managed via dedicated CMS
    • Clinical modules separated to avoid accidental edits
  1. UI/UX and Accessibility
  • Guided flows for users based on AF familiarity.
  • Content blocks for “What is AF?”, “Living with AF”, and “How We Can Help”.
  • Low-fidelity prototypes transformed into browser-tested responsive pages.
  • Accessibility and clarity prioritized for older patients and caregivers.