# Welcome to PhysioFlow.

Let's build your health profile. This information helps your therapist design a recovery plan tailored to your body and lifestyle.

## Personal Information

- **Full Name**  
- **Date of Birth**  
- **Gender**  
  - Male  
  - Female  
  - Other

## Lifestyle Factors

- **Daily Activity Level**  
  - Sedentary  
  - Active  
  - Athlete

> Note: This helps us calculate appropriate exercise intensity and recovery periods.

## Injury Details

> Your data is encrypted and only shared with your assigned clinician.

## Dr. Sarah Chen

### Sports Physiotherapist • 8 yrs exp

⭐️ 4.9 (124 reviews)

### Select Date

**October 2023**  
**Available Slots**  
- **Morning:**  
  - 09:00 AM  
  - 10:30 AM  
  - 11:15 AM  
- **Afternoon:**  
  - 02:00 PM  
  - 03:45 PM  
  - 04:30 PM  
- **Evening:**  
  - 06:00 PM  
  - 07:15 PM

### Session Type

- In-Person  
- Virtual Video

**Selected Slot:** Tue, 17 Oct • 02:00 PM  
**Estimated Cost:** $85.00

# Physiotherapy & Rehabilitation App (PhysioFlow) - Project Specification

## 1. Project Overview

PhysioFlow is a comprehensive mobile platform designed to bridge the gap between clinical physiotherapy and at-home rehabilitation. It focuses on accuracy through AI-powered posture correction and seamless therapist-patient connectivity.

## 2. User Personas & Core Dashboards

### Patient Persona

_Goal: Recover from injury and maintain consistency in exercises._

- **Interactive Body Map:** Visual pain-area selector to pinpoint discomfort.
- **Medical History Onboarding:** Comprehensive digital health intake.
- **Recovery Tracker:** Daily visual progress charts and "Pain Level" logs.
- **Streak Counter:** Gamified consistency tracker to boost engagement.

### Therapist Persona

_Goal: Remotely monitor patients and provide personalized care._

- **Patient Management:** Centralized dashboard for all assigned patients.
- **Exercise Prescription Tool:** Drag-and-drop builder to create custom routines.
- **Analytics Dashboard:** View patient AI accuracy scores and completion rates.

## 3. Core Features & Technical Integration

### HD Video Library

- **Categorization:** High-resolution videos tagged by body part and difficulty.  
- **Step-by-Step Guidance:** Voiceover instructions with focus points.

### AI Posture Detection (The "Core" Tech)

- **Integration:** Use **MediaPipe** for real-time skeletal landmark detection.
- **Logic:** Compare real-time coordinates against "Golden Frame" coordinate sets for each exercise.
- **Feedback:** Visual overlays and haptic feedback for corrections.

### Appointment & Reminders

- **Booking:** Integrated calendar with real-time therapist availability.
- **Integrations:** Google Calendar and Apple Calendar sync via API.
- **Push Notifications:** Triggered reminders for routine sessions and hydration goals.

## 4. UI/UX Strategy

### User Flow (Onboarding to Completion)

1. **Welcome/Login:** Secure biometric authentication.
2. **Medical Intake:** Multi-step form + Body Map selector.
3. **Daily Hub:** Personalized dashboard showing today's routine.
4. **Exercise Session:** Video intro -> AI Pose Setup -> Live Exercise with real-time feedback.
5. **Session Wrap-up:** Pain level entry and streak update.

### Design Aesthetic

- **Color Palette:**
  - _Primary:_ Healing Blue (#2A5C82)  
  - _Secondary:_ Mint Green (#48C9B0)  
  - _Neutral:_ Soft Gray (#F4F7F6)  
- **Typography:** Rounded, accessible sans-serif.

## 5. Technical Architecture

### Tech Stack Recommendation

- **Framework:** **Flutter** is recommended.
- **Backend:** **Firebase** for rapid development OR **Node.js/PostgreSQL** for deep custom scaling.
- **Security:** AES-256 encryption, TLS 1.3.

## 6. Step-by-Step Roadmap

1. **Phase 1: Discovery & Design (Weeks 1-3):** User research, Wireframing.
2. **Phase 2: MVP Backend (Weeks 4-6):** Auth, Database schema, HIPAA compliance setup.
3. **Phase 3: AI & Video Core (Weeks 7-12):** MediaPipe integration.
4. **Phase 4: Therapist Portal (Weeks 13-16):** Dashboard and prescription tool.
5. **Phase 5: Beta Testing & QA (Weeks 17-20):** Clinical trials with select physiotherapists.
6. **Phase 6: Launch (Week 21):** Deployment to App Store and Google Play.

# Interactive Body Map

Tap a joint to log pain intensity

## Physiotherapy & Rehabilitation App - Injury Details

## Tell us about your primary concern.

- Describe your injury or pain  
- When did this start?  
- **Injury Type:** Acute / Chronic / Post-Op  
- **Upload Referrals:** MRI, X-ray, or Doctor's reports

Your clinical information is encrypted and only visible to your assigned medical professional.

### Clinical Observations

#### Exercise Performance

1. **Isometric Quad Sets:** 3 Sets x 15 repetitions
   - Accuracy: 98%
2. **Wall Heel Slides:** 3 Sets x 10 repetitions
   - Accuracy: 92% Rocke

### Session Summary

- **Total Time:** 12:45  
- **Energy Burned:** 85 kcal  
- **Current Exercise:** Eccentric Deep Squat  
- **Reps Progress:** 8/12

# Excellent form maintained throughout!

- **Rate your pain from 0 (None) to 10 (Severe):**  
- 
- 
- 
- 
- 
- 
- 
- 
- 
-

No Pain / Unbearable

## Exercise Breakdown

- **Eccentric Deep Squat:** 3 Sets • 12 Reps • 98% Accuracy
- **Isometric Quad Sets:** 2 Sets • 10 Reps • 91% Accuracy
- **Dynamic Hamstring Stretch:** 1 Set • 5 Reps • 94% Accuracy

# Keep back flat

## Current Exercise

**Active**  
- **Time:** 04:12  
- **Calories:** 142 kcal
