Help me in building an AI powered Ayurvedic Platform called Ayurfix. This platform connects patients with ayurvedic practitioners, yoga coaches and meditation gurus for video consultation and treatment.

It also has a conversational AI bot called " AyurBot " that guides the users through every step.

The platform has 2 portals, one for patients and other one for practitioners.

The idea is to have a user sign up and then have a conversation with Ayurbot to determine the patients current condition and provide treatment plan that the patient can follow and if not ayurbot can suggest some practitioners based upon patients condition and set up an appointment. In both the cases, once the patient receives a detailed treatment plan , the platform makes sure the patient follows the plan through contineous monitoring by AI and at times the practitioner gets notifications for intervention, depending upon the scenario.

The platform also tracks metrics for progress tracking and also asks the user to log their progress.

Now i need you to help me regarding the design of the patient portal.

So, the Patient portal has the following pages,

1. Login/Sign-up Page
    - User logs in or signs up for a new account
2. Dashboard
    - Overview of the user's current status
    - Quick access to all main features
    - Notifications for upcoming tasks or appointments
    - Treatment plan summary with progress indicators
    - Option to view detailed treatment plan
3. AyurBot Conversation
    - Initial assessment for new users
    - Ongoing support and guidance
4. Schedule Page
    - Daily task list related to the treatment plan
    - Option to mark tasks as complete
5. Logging Page
    - Input fields for daily activities and feedback
    - Quick access to log specific modules (sleep, diet, etc.)
6. Consultation Page
    - Practitioner directory
    - Appointment booking system
    - Video consultation interface
7. Prakriti Page
    - Detailed metrics and visualizations for Dosha, Gunas, Prakriti v/s Vikriti
8. Mental Wellness Page
    - Meditation routine tracking, Mood tracking, stress levels, Sleep tracking and other mental health metrics
9. Yoga Page
    - Yoga practice tracking, progress, and recommendations
10. Workouts Page
    - Exercise tracking, progress, and fitness metrics
11. Diet Page
    - Nutrition tracking, meal plans, and dietary recommendations
12. Medication Page
    - Medication tracking, reminders, and adherence monitoring
13. Profile Page
    - Account settings
    - Notification preferences
    - Privacy settings
    - Educational materials
    - FAQs
    - Support contact information

User Flow:

1. User logs in
2. Lands on Dashboard
    - Views treatment plan summary and overall progress (if already set)
    - Can access detailed treatment plan information
3. If new user, directed to AyurBot for initial assessment
4. AyurBot provides initial treatment plan with medications based on the assessment
5. AyurBot then asks the user if they want to: a) Follow this plan and update their profile with it b) Go for a doctor consultation
6. Based on the user's choice: a) If they choose to follow the plan:
    - The plan is added to their profile
    - The Dashboard is updated with the new treatment plan b) If they choose doctor consultation:
    - They are directed to the Consultation Page to book an appointment
7. User navigates through portal pages as needed:
    - Checks Schedule for daily tasks
    - Logs activities and feedback
    - Books consultation if required
    - Accesses individual progress tracking pages directly from the main menu
    - Manages account, accesses resources, and adjusts settings through the Profile page
8. Continuous interaction with AyurBot for guidance and support
9. Regular check-ins and progress updates
10. Notifications for tasks, appointments, and practitioner interventions as needed

Here is the Flow providing a clear view of the Patient portal.

```mermaid
graph TD
    A[User Enters Ayurfix] --> B{Existing User?}
    B -->|Yes| C[Login]
    B -->|No| D[Sign Up]
    D --> E[AyurBot Initial Assessment]
    C --> F[Dashboard]
    E --> G[AyurBot Provides Initial Treatment Plan]
    G --> H{User Choice}
    H -->|Follow Plan| I[Update Profile with Plan]
    H -->|Consult Doctor| J[Consultation Page]
    I --> F
    J --> K[Book Appointment]
    K --> L[Video Consultation]
    L --> M[Practitioner Updates Treatment Plan]
    M --> F
    F --> N{User Action}
    N -->|View Schedule| O[Schedule Page]
    N -->|Log Activities| P[Logging Page]
    N -->|Track Progress| Q[Progress Tracking Pages]
    N -->|Consult Practitioner| J
    N -->|Manage Account| R[Profile Page]
    N -->|Seek Guidance| S[AyurBot Conversation]
    O --> T[Complete Tasks]
    P --> U[Input Daily Activities]
    Q --> V[View Metrics]
    R --> W[Update Settings]
    S --> X[Receive Guidance]
    T --> Y[AI Monitoring]
    U --> Y
    V --> Y
    X --> Y
    Y --> Z{Progress Check}
    Z -->|On Track| AA[Continue Plan]
    Z -->|Needs Adjustment| AB[AyurBot Suggestion]
    Z -->|Requires Intervention| AC[Notify Practitioner]
    AA --> F
    AB --> AD{User Accepts?}
    AD -->|Yes| AE[Update Treatment Plan]
    AD -->|No| AF[Suggest Practitioner Consultation]
    AE --> F
    AF --> J
    AC --> AG[Practitioner Review]
    AG --> AH[Update Treatment Plan]
    AH --> F
    J --> AI{Consultation Type}
    AI -->|Video| AJ[Join Video Call]
    AI -->|Chat| AK[Open Chat Interface]
    AJ --> AL[Conduct Video Consultation]
    AK --> AM[Conduct Chat Consultation]
    AL --> AN[Practitioner Provides Feedback]
    AM --> AN
    AN --> AO[Update Treatment Plan if Necessary]
    AO --> F
```

Here are the ideas for Wireframes for different pages ::

Revised Dashboard Wireframe Description:

1. Header:
    - Platform logo on the left
    - User's profile picture and name on the right
    - Notification bell icon next to the user's profile
2. Navigation:
    - Left sidebar with icons and labels for main sections (Schedule, Logging, Consultation, Progress Tracking, Profile)
    - Current page (Dashboard) highlighted
3. Main Content Area: a. Welcome Message:
    - Personalized greeting with the user's name
    - Brief motivational message based on their progress
    
    b. Treatment Plan Summary:
    
    - Card-style layout showing key aspects of the current treatment plan
    - Progress bar indicating overall adherence to the plan
    - "View Details" button to expand full treatment plan
    
    c. Interactive Calendar:
    
    - Monthly view calendar
    - Clickable dates to view or add events
    - Color-coded indicators for different types of activities (e.g., appointments, meditation sessions, yoga classes)
    - "Add Event" button for quick event creation
    
    d. Upcoming Appointments:
    
    - Next scheduled consultation, if any
    - Option to book a new appointment
4. Right Sidebar: a. AyurBot Quick Access:
    - Chat-like interface to quickly ask questions or get guidance
    - "Start Conversation" button for more in-depth interaction
    
    b. Daily Tip:
    
    - Ayurvedic wellness tip that changes daily
    - Related to the user's treatment plan or general health
5. Personalized Educational Content:
    - Section title: "Your Ayurvedic Learning Path"
    - 3-4 blog post thumbnails with titles and brief descriptions
    - Content tailored to the user's treatment plan and health goals
    - Each thumbnail is clickable and links to an external blog post
    - "View More" button to access a full library of relevant articles

Final Schedule Page Wireframe Description:

Header:

- Platform logo on the left, user's profile picture and name on the right, notification bell icon

Navigation:

- Left sidebar with icons and labels for main sections (Dashboard, Schedule, Logging, Consultation, Progress Tracking, Profile)
- Current page (Schedule) highlighted

Main Content Area: a. Page Title:

- "Your Daily Schedule" in large, clear typography

b. Date Navigation:

- Current date displayed prominently
- Left and right arrows to navigate between days
- "Today" button to quickly return to the current date
- Option to view weekly schedule

c. Task List:

- Scrollable list of tasks for the selected date, arranged in chronological order
- Each task is an accordion-style element:
    - Closed state shows:
        - Checkbox to mark as complete
        - Task name
        - Time
        - Category label (e.g., Medication, Yoga, Diet)
    - Expanded state shows:
        - All of the above
        - Detailed instructions about the task
        - Any additional relevant information
- Completed tasks are visually distinct (e.g., greyed out, strikethrough)

d. Add Task Button:

- "+" icon with "Add Task" label
- Opens a modal for adding a new task to the schedule

e. Progress Summary:

- Circular progress indicator showing percentage of tasks completed for the day
- Text showing "X of Y tasks completed"

Interactivity Notes:

- Clicking on a task accordion expands it to show detailed instructions
- Completed tasks automatically update the progress summary
- Adding or removing tasks dynamically updates the list and progress
- Tasks are automatically sorted in chronological order when added or edited
- The page should be responsive, adjusting layout for smaller screens (e.g., stacking sections vertically on mobile devices)

Final Prakriti Page Wireframe Description:

1. Header:
    - Platform logo on the left
    - User's profile picture and name on the right
    - Notification bell icon next to the user's profile
2. Navigation:
    - Left sidebar with icons and labels for main sections (Dashboard, Schedule, Logging, Consultation, Progress Tracking, Profile)
    - Current page (Prakriti) highlighted under Progress Tracking
3. Main Content Area: a. Page Title:
    - "Your Prakriti Profile" in large, clear typography
    
    b. Current Dosha Balance Visualization:
    
    - Radial chart (spider or radar chart) showing current dosha balance
    - Three axes representing Vata, Pitta, and Kapha
    - A filled area showing the current balance of doshas
    - Percentages for each dosha displayed next to their respective axes
    - Option to overlay the ideal balance for comparison
    
    c. Prakriti vs Vikriti Comparison:
    
    - Two side-by-side circular charts
    - Left circle shows the user's natural Prakriti balance
    - Right circle shows the current Vikriti (imbalanced state)
    - Each chart divided into segments representing Vata, Pitta, and Kapha
    - Color-coded for easy comparison
    
    d. Dosha Historical Trend:
    
    - Line graph showing the user's dosha balance over time
    - Three lines, one for each dosha, color-coded to match other visualizations
    - X-axis shows time (e.g., past 6 months or 1 year)
    - Y-axis shows percentage of each dosha
    - Legend identifying each dosha line
    
    e. Guna Historical Trend:
    
    - Similar line graph format as the Dosha Historical Trend
    - Three lines representing Sattva, Rajas, and Tamas
    - X-axis shows the same time period as the Dosha trend graph
    - Y-axis shows percentage of each guna
    - Legend identifying each guna line
    
    f. AI-Driven Insights and Recommendations:
    
    - Section title: "AI-Generated Insights and Recommendations"
    - Insights subsection:
        - Bullet points or short paragraphs highlighting key observations about the user's Prakriti and Vikriti balance
        - Analysis of trends in dosha and guna balance over time
        - Identification of potential imbalances or areas of concern
    - Recommendations subsection:
        - Personalized suggestions based on the AI analysis, including:
            - Diet adjustments
            - Lifestyle changes
            - Yoga and exercise recommendations
            - Meditation practices
            - Herbal supplements or therapies
        - Each recommendation accompanied by a brief explanation of its potential benefits

Mental Wellness Progress Tracking Page Wireframe Description:

1. Header:
    - Platform logo on the left
    - User's profile picture and name on the right
    - Notification bell icon next to the user's profile
2. Navigation:
    - Left sidebar with icons and labels for main sections (Dashboard, Schedule, Logging, Consultation, Progress Tracking, Profile)
    - Current page (Mental Wellness) highlighted under Progress Tracking
3. Main Content Area: a. Page Title:
    - "Mental Wellness Progress" in clear, calming typography
    
    b. Overall Wellness Score:
    
    - Large, circular progress indicator showing an overall mental wellness score (0-100)
    - Brief explanation of how the score is calculated
    - Trend indicator (improving, stable, or declining) compared to previous period
    
    c. Mood and Energy Trends:
    
    - Interactive line graph showing mood and energy levels over time
    - Options to view trends for last week, month, or custom date range
    - Color-coded for easy interpretation
    
    d. Meditation Progress:
    
    - Total meditation minutes this week/month
    - Streak counter (consecutive days of meditation)
    - Bar chart showing daily meditation duration over time
    
    e. Meditation Practice Adherence:
    
    - Calendar heatmap showing meditation sessions completed over time
    - Darker color blocks represent greater consistency
    - Weekly summary (e.g., "5 out of 7 sessions completed this week")
    - Monthly adherence percentage
    
    f. Sleep Quality Tracker:
    
    - Line graph showing sleep quality ratings over time
    - Average sleep duration displayed
    
    g. Stress Level Visualization:
    
    - Vertical stacked bar chart showing stress levels over time
    - Each bar represents a day, divided into low, medium, and high stress segments
    - Color-coded from green (low stress) to yellow (medium stress) to red (high stress)
    
    h. Emotional Balance Radar Chart:
    
    - Radar chart displaying balance across different emotions (e.g., Joy, Anger, Sadness, Fear, Love)
    - Option to compare current state with previous periods
    
    i. Meditation Practice Insights:
    
    - Pie chart showing distribution of different meditation types practiced (e.g., mindfulness, transcendental, loving-kindness)
    - Total meditation minutes practiced
    - Most frequently used meditation technique
    
    j. Goal Progress:
    
    - Visual representation of progress towards a specific, measurable goal
    - Example: "Reduce average daily stress level by 20% over 3 months"
    - Progress bar showing current reduction achieved
    - Line graph tracking average daily stress level over the goal period
    - Countdown to goal end date
    
    k. AI-Driven Insights and Recommendations:
    
    - Section title: "Your Wellness Insights"
    - Bullet points highlighting key observations about mental wellness trends
    - Correlations between different aspects (e.g., sleep quality and mood)
    - Personalized suggestions for improving mental wellness based on Ayurvedic principles
4. Time Range Selector:
    - Dropdown or toggle to select the time range for all visualizations (e.g., This Week, This Month, Last 3 Months, Custom)

Yoga Progress Tracking Page Wireframe Description:

1. Header:
    - Platform logo on the left
    - User's profile picture and name on the right
    - Notification bell icon next to the user's profile
2. Navigation:
    - Left sidebar with icons and labels for main sections (Dashboard, Schedule, Logging, Consultation, Progress Tracking, Profile)
    - Current page (Yoga) highlighted under Progress Tracking
3. Main Content Area: a. Page Title:
    - "Your Yoga Journey" in clear, inviting typography
    
    b. Overall Yoga Score:
    
    - Circular progress indicator showing an overall yoga score (0-100)
    - Brief explanation of how the score is calculated (e.g., based on consistency, variety, and duration)
    - Trend indicator compared to previous period
    
    c. Yoga Practice Adherence:
    
    - Calendar heatmap showing yoga sessions completed over time
    - Darker color blocks represent more intense or longer sessions
    - Weekly summary (e.g., "4 out of 5 planned sessions completed this week")
    - Monthly adherence percentage
    
    d. Practice Duration Trends:
    
    - Line graph showing daily yoga practice duration over time
    - Options to view trends for last week, month, or custom date range
    - Average practice duration for the selected period
    
    e. Asana (Pose) Variety:
    
    - Bubble chart or treemap showing the variety of asanas practiced
    - Size of bubbles/rectangles represents frequency of practice for each asana
    - Color coding based on asana categories (e.g., standing poses, inversions, twists)
    
    f. Skill Level Progression:
    
    - Stacked area chart showing progress in different skill levels over time
    - Categories like Beginner, Intermediate, Advanced
    - Percentage of practice time spent at each level
    
    g. Focus Area Distribution:
    
    - Pie chart showing distribution of practice focus areas
    - Categories like Flexibility, Strength, Balance, Relaxation, Breath Work
    - Percentage breakdown of time spent on each focus area
    
    h. Yoga Style Preferences:
    
    - Bar chart showing frequency or duration of different yoga styles practiced
    - Styles like Hatha, Vinyasa, Ashtanga, Yin, Restorative, etc.
    
    i. Goal Progress:
    
    - Visual representation of progress towards specific yoga goals
    - Example: "Master Headstand pose in 3 months"
    - Progress bar or milestone chart showing advancement towards the goal
    - Option to view multiple goals if set
    
    j. Physical Benefits Tracker:
    
    - Line graph or radar chart showing self-reported improvements in:
        - Flexibility
        - Strength
        - Balance
        - Posture
        - Overall body awareness
    
    k. AI-Driven Insights and Recommendations:
    
    - Section title: "Your Yoga Insights"
    - Bullet points highlighting key observations about yoga practice trends
    - Suggestions for areas of improvement or new poses to try
    - Personalized recommendations based on Ayurvedic principles and user's progress
4. Time Range Selector:
    - Dropdown or toggle to select the time range for all visualizations (e.g., This Week, This Month, Last 3 Months, Custom)
5. Compare Feature:
    - Option to compare current progress with a previous time period

Workouts Page Wireframe Description (Updated):

1. Header:
    - Platform logo on the left
    - User's profile picture and name on the right
    - Notification bell icon next to the user's profile
2. Navigation:
    - Left sidebar with icons and labels for main sections (Dashboard, Schedule, Logging, Consultation, Progress Tracking, Profile)
    - Current page (Workouts) highlighted under Progress Tracking
3. Main Content Area: a. Page Title and Quick Stats:
    - "Workout Analytics" in large, clear typography
    - Horizontal row below the title showing:
        - Total workouts completed
        - Average workout duration
        - Most frequent workout type
    
    b. Timeline Selector:
    
    - Dropdown or toggle buttons to select time period (Daily, Weekly, Monthly)
    - Date range picker for custom time periods
    
    c. Top Row (2-column layout): Left Column:
    
    - Workout Adherence:
        - Calendar heatmap showing completed workouts
        - Summary statistic (e.g., "5 out of 7 workouts completed this week")
    
    Right Column:
    
    - Workout Streak:
        - Visual representation of current workout streak
        - Motivational message
    - Weekly Goal Progress:
        - Progress bar showing current progress towards weekly workout goal
        - Option to set or adjust goal
    
    d. Middle Row (2-column layout): Left Column:
    
    - Time Spent Working Out:
        - Line graph showing time spent working out over the selected period
        - Ability to hover over data points for specific values
    
    Right Column:
    
    - Types of Workouts Practiced:
        - Pie chart or stacked bar chart showing breakdown of workout types
        - Legend with color codes for each workout type
    
    e. Bottom Row (2-column layout): Left Column:
    
    - Detailed Exercise Metrics:
        - Interactive table or graph
        - Columns for exercise name, reps, sets, volume, distance, speed, intensity
        - Sortable and filterable
    
    Right Column:
    
    - Stamina & Energy Improvements:
        - Dual-line graph showing stamina and energy levels over time
        - Y-axis representing self-assessed scores (e.g., 1-10 scale)
    
    f. Full-width Section:
    
    - Correlation Insights:
        - Matrix or network graph showing correlations between exercise types and health outcomes
        - Hover or click for detailed insights
    
    g. Ayurvedic Insights:
    
    - Section showing how current workout patterns align with Ayurvedic principles
    - Personalized recommendations based on dosha and current season

Here's an updated wireframe design for the Diet Page:

**Header**

- Platform logo on the left
- User's profile picture and name on the right
- Notification bell icon next to the user's profile

**Navigation**

- Left sidebar with icons and labels for main sections (Dashboard, Schedule, Logging, Consultation, Progress Tracking, Profile)
- Current page (Diet) highlighted

**Main Content Area**

- **Dietary Adherence**
    - Calendar heatmap or bar graph showing adherence to the overall dietary plan
    - Text summary of adherence (e.g., "6 out of 7 days followed Pitta-balancing diet and macronutrient targets")
- **Macronutrient Tracking**
    - Line chart with 3 lines:
        - Carbohydrates (e.g., blue line)
        - Protein (e.g., red line)
        - Fat (e.g., green line)
    - Each line represents the daily, weekly, or monthly intake of the corresponding macronutrient over time
    - Time toggle option to view progress over different time lines (e.g., 1 week, 2 weeks, 1 month, 3 months)
    - Text summary of macronutrient intake (e.g., "40% carbs, 30% protein, 30% fat")
- **Caloric Intake**
    - Line graph showing daily, weekly, or monthly caloric intake
    - Text summary of caloric intake (e.g., "2000 kcal/day")
- **Micronutrient Tracking**
    - Radial chart or bar graph showing daily, weekly, or monthly intake of essential vitamins and minerals
    - Text summary of micronutrient intake (e.g., "100% of daily recommended intake for vitamin D")
- **Ayurvedic Principles of Diet Tracking**
    - **Gunas (Qualities)**
        - Stacked bar graph or radial chart showing the balance of food qualities consumed throughout the day or week
        - Text summary of quality balance (e.g., "cooling for Pitta-pacifying")
    - **Virya (Potency) and Vipaka (Post-Digestive Effect)**
        - Simple color-coded graph showing the heating or cooling potency of foods consumed over time
        - Text summary of potency and post-digestive effect (e.g., "heating for Pitta-aggravating")
- **AI Insights and Correlation Analysis**
    - **Dietary Patterns and Trends**
        - AI-driven analysis of the user's dietary patterns and trends, highlighting areas of improvement and suggesting personalized recommendations
        - Examples: "You tend to consume more carbs on weekends", "You have a high intake of sugar on Mondays"
    - **Correlation Analysis**
        - AI-driven analysis of the correlation between the user's diet and other health metrics, such as sleep, stress, and energy levels
        - Examples: "Your carb intake is positively correlated with your energy levels", "Your sugar intake is negatively correlated with your sleep quality"
    - **Personalized Recommendations**
        - AI-driven recommendations for the user's diet, based on their health goals, dietary patterns, and correlation analysis
        - Examples: "Increase your protein intake to support muscle growth", "Reduce your sugar intake to improve sleep quality"

Medication Page Wireframe Description:

1. Header:
    - Platform logo on the left
    - User's profile picture and name on the right
    - Notification bell icon next to the user's profile
2. Navigation:
    - Left sidebar with icons and labels for main sections (Dashboard, Schedule, Logging, Consultation, Progress Tracking, Profile)
    - Current page (Medication) highlighted under Progress Tracking
3. Main Content Area: a. Page Title:
    - "Medication Tracker" in large, clear typography
    
    b. Current Medications Section:
    
    - List of current medications in a card-style layout
    - Each medication card includes:
        - Medication name
        - Dosage
        - Frequency (e.g., twice daily, with meals)
        - Time of day to take (morning, afternoon, evening, night)
    - Option to mark each dose as taken
    - Progress bar showing adherence for each medication
    
    c. Medication History:
    
    - Calendar view showing medication adherence history
    - Color-coded dates (green for full adherence, yellow for partial, red for missed)
    - Option to click on a date to view detailed medication intake for that day
    
    d. AI Insights and Analysis:
    
    - Section displaying AI-generated insights about medication adherence
    - Potential drug interactions (if any)
    - Suggestions for improving adherence
    - Any relevant information about the medications' effects on the user's condition
4. AyurBot Integration:
    - Chat bubble in the bottom right corner for quick access to AyurBot
    - AyurBot can answer questions about medications and provide general medication-related advice

With all these things already planned out i need you to design me the model behind each module. How the model of collecting data, managing metrics, things user's should be logging and the model that comes up with progress math and everything works. However lets work on one module at a time in order to maintain utmost focus and efficiency.

Lets begin with Prakriti page. Feel free to make use of Web search to provide better results.