Virtual Specialized Nutrition Consultation

Job ID: 40486143

Budget: $750 – $1,500 USD

Software Requirements Specification (SRS)

Project Name

Virtual Medical Nutrition Clinic


---

1. System Overview

1.1 Purpose

The system enables a licensed physician to run a fully virtual nutrition clinic offering:

Online consultations

Medical nutrition therapy

AI-assisted patient monitoring

WhatsApp-based follow-up

Digital patient records


No mobile application is required. The system is web + WhatsApp + video-based

1.2 Scope

The system includes:

Patient onboarding

Online booking & payments

AI pre-consultation assessment

Video consultation workflow

Electronic medical records (EMR)

Nutrition plan generation & delivery

WhatsApp-based follow-up automation

Admin dashboard for doctor operations



---

1.3 Users

Primary Users

Patients (general + chronic disease patients)

Physician


System Users

Admin (can be same physician)

AI assistant (support role only)



---

2. Functional Requirements


---

2.1 Patient Web Portal

2.1.1 Registration & Login

Mobile number login (OTP)

Email optional

Profile creation


2.1.2 Patient Profile

System must store:

Name

Age / Gender

Height / Weight

Medical history

Current medications

Allergies

Lifestyle data



---

2.2 AI Pre-Consultation Module

2.2.1 Intake Form

Patient submits:

Chief complaint

Goal (weight loss, diabetes control, etc.)

Food habits

Activity level


2.2.2 AI Processing

System generates:

BMI calculation

Risk summary

Suggested focus areas

Pre-consultation report for physician


AI does NOT diagnose or prescribe.


---

2.3 Appointment Management System

Features:

Calendar-based booking

Available slots management

Payment before confirmation

Rescheduling & cancellation


Integration:

Video call link auto-generation:

Zoom / Google Meet




---

2.4 Teleconsultation Module

Video consultation session

Physician notes entry

Prescription-style diet plan creation

Session summary auto-generation



---

2.5 Electronic Medical Record (EMR)

Each patient profile must include:

Consultation history

Weight trend

Uploaded lab results

Diet plans

Notes from physician

Follow-up logs



---

2.6 Nutrition Plan System

Output formats:

PDF diet plan

WhatsApp summary

Meal schedule


Features:

Meal plans by condition:

Obesity

Diabetes

PCOS

Hypertension


Food substitutions (Egyptian diet context)

Weekly targets



---

2.7 WhatsApp Follow-up System

Patient Functions:

Send weight updates

Send meal photos

Ask nutrition questions

Request follow-up


System Functions:

Automated reminders:

Water intake

Meals

Weight tracking


AI response for basic queries

Escalation to physician when needed



---

2.8 AI Nutrition Assistant (Core Engine)

Capabilities:

Meal text analysis

Food image estimation (optional phase 2)

Daily coaching messages

Adherence scoring

Progress tracking insights


Strict Rules:

No medical diagnosis

No medication recommendation

Always escalate red-flag symptoms



---

2.9 Payment System

Features:

Online payment before booking confirmation

Invoice generation

Subscription support (monthly plans)


Integrations:

Paymob / Fawry (Egypt)



---

2.10 Admin / Physician Dashboard

Overview:

Daily appointments

Active patients

Revenue tracking

Pending follow-ups


Patient Management:

View full EMR

Upload/edit diet plans

Add consultation notes

Track progress



---

3. Non-Functional Requirements


---

3.1 Security

End-to-end encrypted communication where possible

Role-based access control

Secure authentication (OTP)

Data privacy compliance



---

3.2 Performance

Page load < 3 seconds

WhatsApp response < 5 seconds (AI fallback allowed)



---

3.3 Availability

99% uptime target

Backup daily database



---

3.4 Scalability

System must support:

1,000+ active patients initially

Expandable to 10,000+ without redesign



---

4. Technical Architecture


---

4.1 Frontend

Next.js (Web platform)


4.2 Backend

Node.js / Laravel


4.3 Database

PostgreSQL


4.4 AI Layer

OpenAI API (nutrition assistant + summarization)


4.5 Communication

WhatsApp Business API

Email (optional)


4.6 Video Calls

Zoom SDK / Google Meet


4.7 Hosting

AWS / DigitalOcean



---

5. AI Safety & Clinical Governance


---

5.1 AI Limitations

AI must:

NOT diagnose diseases

NOT prescribe drugs

NOT replace physician decisions



---

5.2 Red Flag Escalation

System must escalate to doctor if:

Chest pain

Severe hypoglycemia symptoms

Pregnancy complications

Sudden weight loss warning signs

Emergency symptoms



---

5.3 Human-in-the-loop

All:

Diet plans

Medical decisions

Final recommendations


must be approved by physician.


---

6. MVP Definition (First Release)

Must Have

Website

Booking system

Payment integration

Video consultation

EMR system

Diet plan generator

WhatsApp follow-up

Basic AI assistant


Not Included (Phase 2)

Mobile app

Advanced image recognition

Wearables integration

Multi-doctor marketplace