Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.qodo
Backend
6 changes: 5 additions & 1 deletion Backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ def index():
task_db = get_tasks()
return appointment_db

@app.route('/health')
def health_check():
return jsonify({"status": "ok"}), 200

if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=True)
app.run(host='0.0.0.0', port=5001, debug=True)
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The port change from 5000 to 5001 should be coordinated with the Frontend/.env change on line 1. However, this creates a potential issue: if developers or deployment environments have configurations pointing to port 5000, they will break. Consider documenting this breaking change in the PR description or migration guide, or make the port configurable via environment variables to avoid hardcoding.

Copilot uses AI. Check for mistakes.


121 changes: 50 additions & 71 deletions Backend/cache/context_default.json
Original file line number Diff line number Diff line change
@@ -1,105 +1,84 @@
{
"current_week": 40,
"location": "Updated City",
"age": 25,
"weight": 67,
"due_date": "2024-10-01",
"lmp": "2024-01-01",
"current_week": 4,
"location": "Angola",
"age": 28,
"weight": 68,
"due_date": "2026-09-09",
"lmp": "2025-12-03",
"cycle_length": 28,
"period_length": 5,
"period_length": 6,
"tracking_data": {
"weight": [
{
"week": 34,
"weight": 72.0,
"note": "Test weight entry 14",
"date": "2025-09-10T06:41:08.439168"
"week": 10,
"weight": 61.3,
"note": "Started prenatal yoga, feeling good",
"date": "2025-10-27 08:53:56"
},
{
"week": 33,
"weight": 71.5,
"note": "Test weight entry 13",
"date": "2025-09-10T06:41:08.439168"
"week": 9,
"weight": 60.9,
"note": "Appetite increasing slightly",
"date": "2025-10-27 08:53:56"
},
{
"week": 32,
"weight": 71.0,
"note": "Test weight entry 12",
"date": "2025-09-10T06:41:08.439168"
},
{
"week": 31,
"weight": 70.5,
"note": "Test weight entry 11",
"date": "2025-09-10T06:41:08.439168"
"week": 8,
"weight": 60.5,
"note": "Slight nausea, but overall feeling okay",
"date": "2025-10-27 08:53:56"
}
],
"medicine": [
{
"week": 34,
"name": "Medicine 14",
"dose": "114mg",
"time": "Morning",
"week": 10,
"name": "Prenatal Vitamin",
"dose": "1 tablet",
"time": "08:00",
"taken": 1,
"note": "Test medicine 14",
"date": "2025-09-10T06:41:08.440168"
"note": "No side effects, continuing as normal",
"date": "2025-10-27 08:53:56"
},
{
"week": 33,
"name": "Medicine 13",
"dose": "113mg",
"time": "Morning",
"week": 9,
"name": "Iron Supplement",
"dose": "30mg",
"time": "13:00",
"taken": 1,
"note": "Test medicine 13",
"date": "2025-09-10T06:41:08.440168"
"note": "Taking to help with mild anemia",
"date": "2025-10-27 08:53:56"
},
{
"week": 32,
"name": "Medicine 12",
"dose": "112mg",
"time": "Morning",
"week": 8,
"name": "Prenatal Vitamin",
"dose": "1 tablet",
"time": "08:00",
"taken": 1,
"note": "Test medicine 12",
"date": "2025-09-10T06:41:08.440168"
},
{
"week": 31,
"name": "Medicine 11",
"dose": "111mg",
"time": "Morning",
"taken": 1,
"note": "Test medicine 11",
"date": "2025-09-10T06:41:08.440168"
"note": "Daily multivitamin with folic acid",
"date": "2025-10-27 08:53:56"
}
],
"symptoms": [
{
"week": 34,
"symptom": "Symptom 14",
"note": "Test symptom 14",
"date": "2025-09-10T06:41:08.440168"
},
{
"week": 33,
"symptom": "Symptom 13",
"note": "Test symptom 13",
"date": "2025-09-10T06:41:08.440168"
"week": 10,
"symptom": "Frequent Urination",
"note": "Especially during the night",
"date": "2025-10-27 08:53:56"
},
{
"week": 32,
"symptom": "Symptom 12",
"note": "Test symptom 12",
"date": "2025-09-10T06:41:08.440168"
"week": 9,
"symptom": "Breast Tenderness",
"note": "More sensitive than last week",
"date": "2025-10-27 08:53:56"
},
{
"week": 31,
"symptom": "Symptom 11",
"note": "Test symptom 11",
"date": "2025-09-10T06:41:08.440168"
"week": 8,
"symptom": "Morning Sickness",
"note": "Worse after waking up",
"date": "2025-10-27 08:53:56"
}
],
"blood_pressure": [],
"discharge": []
},
"last_updated": "2025-09-10T06:44:27.424436"
"last_updated": "2025-12-26T13:01:12.603340"
}
Binary file modified Backend/db/chromadb/chroma.sqlite3
Binary file not shown.
130 changes: 80 additions & 50 deletions Backend/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,45 +45,7 @@ CREATE TABLE IF NOT EXISTS discharge_logs (
);

-- Insert mock data into appointments
INSERT INTO appointments (title, content, appointment_date, appointment_time, appointment_location, appointment_status) VALUES
('Initial OB Appointment', 'Confirm pregnancy and general health.', '2025-06-22', '09:00 AM', 'City Clinic', 'completed'),
('Blood Work', 'Routine prenatal blood tests.', '2025-06-29', '10:00 AM', 'LabCorp', 'completed'),
('Nutritional Counseling', 'Discuss prenatal diet and supplements.', '2025-02-05', '11:00 AM', 'Wellness Center', 'pending'),
('First Ultrasound', 'Early scan to check for heartbeat.', '2025-02-12', '10:30 AM', 'City Hospital', 'pending'),
('Routine Check-up', 'Weekly monitoring and vitals.', '2025-02-19', '09:30 AM', 'OB-GYN Office', 'pending'),
('NT Scan Appointment', 'Nuchal translucency scan scheduling.', '2025-02-26', '02:00 PM', 'Radiology Dept.', 'pending'),
('Screening Lab Visit', 'Down syndrome blood screening.', '2025-06-05', '10:15 AM', 'Prenatal Lab', 'pending'),
('Follow-up Visit', 'Review test results and progress.', '2025-06-12', '09:00 AM', 'HealthCare Clinic', 'pending'),
('Anomaly Scan Prep', 'Discuss upcoming detailed scan.', '2025-06-19', '11:30 AM', 'OB-GYN Center', 'pending'),
('Mid-pregnancy Checkup', 'Weight, BP, baby growth tracking.', '2025-06-26', '01:00 PM', 'Wellness Clinic', 'pending'),
('Vaccination Discussion', 'Discuss vaccines for pregnancy.', '2025-06-02', '12:30 PM', 'OB-GYN Office', 'pending'),
('Mood & Sleep Check-in', 'Mental health & fatigue talk.', '2025-06-09', '10:00 AM', 'Care Center', 'pending');

-- Insert mock data into tasks
INSERT INTO tasks (title, content, starting_week, ending_week, task_priority, isOptional, isAppointmentMade ,task_status) VALUES
-- First Trimester
('Initial Prenatal Visit', 'First doctor visit to confirm pregnancy and health check.', 4, 4, 'high', FALSE, FALSE,'pending'),
('Early Ultrasound', 'Confirm pregnancy location and heartbeat.', 6, 8, 'high', FALSE,FALSE,'pending'),
('Folic Acid Supplementation', 'Start folic acid for neural tube development.', 4, 12, 'high', FALSE,FALSE,'pending'),
('Blood Tests', 'Check for blood type, hemoglobin, and infections.', 8, 10, 'high', FALSE,FALSE,'pending'),
('Down Syndrome Screening', 'Non-invasive prenatal screening for chromosomal conditions.', 10, 12, 'medium', FALSE,FALSE,'pending'),

-- Second Trimester
('NT Scan', 'Nuchal translucency scan for fetal abnormalities.', 12, 14, 'high', FALSE,FALSE,'pending'),
('Gestational Diabetes Test', 'Glucose test to check blood sugar levels.', 14, 16, 'high', FALSE,FALSE,'pending'),
('Detailed Anomaly Scan', '20-week scan to check fetal development.', 18, 20, 'high', FALSE,FALSE,'pending'),
('Fetal Movement Monitoring', 'Track baby movements for health assessment.', 21, 24, 'medium', FALSE,FALSE,'pending'),
('Iron and Calcium Supplements', 'Ensure proper bone and blood health for mother and baby.', 21, 28, 'medium', FALSE,FALSE,'pending'),

-- Third Trimester
('Rh Factor Screening', 'Test if mother needs Rh immunoglobulin.', 26, 28, 'high', FALSE,FALSE,'pending'),
('Glucose Tolerance Test', 'Second test if needed for gestational diabetes.', 28, 28, 'medium', FALSE,FALSE,'pending'),
('Pre-Birth Vaccination', 'Tdap and flu shots for maternal and newborn protection.', 30, 32, 'high', FALSE,FALSE,'pending'),
('Third-Trimester Ultrasound', 'Assess baby’s growth and position.', 30, 32, 'high', FALSE,FALSE,'pending'),
('Birth Plan Discussion', 'Discuss delivery preferences with doctor.', 33, 34, 'medium', TRUE,FALSE,'pending'),
('Hospital Tour', 'Visit maternity hospital to prepare for delivery.', 33, 34, 'low', TRUE,FALSE,'pending'),
('Labor Signs Monitoring', 'Educate about labor contractions and when to go to hospital.', 36, 40, 'high', FALSE,FALSE,'pending'),
('Final Checkups', 'Last medical assessments before labor.', 38, 40, 'high', FALSE,FALSE,'pending');

DROP TABLE IF EXISTS profile;

Expand Down Expand Up @@ -131,19 +93,87 @@ CREATE TABLE IF NOT EXISTS weekly_symptoms (
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

INSERT INTO weekly_weight (week_number, weight, note) VALUES
(8, 60.5, 'Slight nausea, but overall feeling okay'),
(9, 60.9, 'Appetite increasing slightly'),
(10, 61.3, 'Started prenatal yoga, feeling good');


INSERT INTO weekly_medicine (week_number, name, dose, time, taken, note) VALUES
(8, 'Prenatal Vitamin', '1 tablet', '08:00', 1, 'Daily multivitamin with folic acid'),
(9, 'Iron Supplement', '30mg', '13:00', 1, 'Taking to help with mild anemia'),
(10, 'Prenatal Vitamin', '1 tablet', '08:00', 1, 'No side effects, continuing as normal');

INSERT INTO weekly_symptoms (week_number, symptom, note) VALUES
(8, 'Morning Sickness', 'Worse after waking up'),
(9, 'Breast Tenderness', 'More sensitive than last week'),
(10, 'Frequent Urination', 'Especially during the night');
ALTER TABLE appointments
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;

ALTER TABLE tasks
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;

ALTER TABLE blood_pressure_logs
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;

ALTER TABLE discharge_logs
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;

ALTER TABLE weekly_weight
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;

ALTER TABLE weekly_medicine
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;

ALTER TABLE weekly_symptoms
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

profile_id columns are nullable, but Issue #141 requires NOT NULL.

The linked issue explicitly states the expected behavior: profile_id INTEGER NOT NULL. The current ALTER TABLE statements add nullable columns, which still allows orphan records.

SQLite's ALTER TABLE ADD COLUMN cannot add a NOT NULL constraint without a default value. For a fresh schema, consider defining profile_id directly in the CREATE TABLE statements instead of using ALTER TABLE:

πŸ”Ž Proposed approach - define profile_id in CREATE TABLE
 CREATE TABLE IF NOT EXISTS appointments (
     id INTEGER PRIMARY KEY AUTOINCREMENT,
     title TEXT NOT NULL,
     content TEXT,
     appointment_date TEXT NOT NULL,
     appointment_time TEXT NOT NULL,
     appointment_location TEXT NOT NULL,
-    appointment_status TEXT CHECK(appointment_status IN ('pending', 'completed')) DEFAULT 'pending'
+    appointment_status TEXT CHECK(appointment_status IN ('pending', 'completed')) DEFAULT 'pending',
+    profile_id INTEGER NOT NULL REFERENCES profile(id) ON DELETE CASCADE
 );

Apply the same pattern to tasks, blood_pressure_logs, discharge_logs, weekly_weight, weekly_medicine, and weekly_symptoms. Then remove the ALTER TABLE statements.

Note: This requires the profile table to be created before the tables that reference it. Reorder the statements so the profile table creation comes first.

Committable suggestion skipped: line range outside the PR's diff.

πŸ€– Prompt for AI Agents
In Backend/schema.sql around lines 99 to 118, the ALTER TABLE statements add
nullable profile_id columns but Issue #141 requires profile_id INTEGER NOT NULL;
because SQLite cannot add a NOT NULL column via ALTER TABLE without a default,
update the schema by removing these ALTER TABLEs and instead add profile_id
INTEGER NOT NULL REFERENCES profile(id) ON DELETE CASCADE directly into the
CREATE TABLE definitions for appointments, tasks, blood_pressure_logs,
discharge_logs, weekly_weight, weekly_medicine, and weekly_symptoms; ensure the
profile table CREATE statement appears before these tables so the foreign key
resolves, or if migrating existing data choose an explicit migration path (add
column with default, backfill, then alter schema) β€” but for a fresh schema
implement the NOT NULL columns in the CREATE TABLEs and delete the ALTER TABLE
block.

Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using ALTER TABLE to add foreign key columns will fail on existing databases that already have data in these tables without profile_id values. SQLite does not support adding NOT NULL columns with foreign key constraints to tables with existing data in a single ALTER TABLE statement. When the constraint is evaluated, existing rows will have NULL profile_id values, violating the foreign key constraint. Consider providing a migration script that:

  1. Backs up existing data
  2. Adds the column (which will be NULL for existing rows)
  3. Updates existing rows with a valid profile_id
  4. Then adds the constraint
    Alternatively, document that this schema is only for fresh installations and existing databases need a separate migration path.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ALTER TABLE statements add profile_id foreign keys to the tables, but none of the existing API endpoints have been updated to handle profile_id. All INSERT, UPDATE, and SELECT queries in the route files (appointments.py, tasks.py, weight.py, medicine.py, blood_pressure.py, discharge.py, symptoms.py) need to be updated to:

  1. Include profile_id in INSERT statements
  2. Filter by profile_id in SELECT queries to ensure users only see their own data
  3. Validate that the profile_id exists before inserting/updating records

Without these changes, the application will fail when trying to insert new records because profile_id will be NULL and violate the foreign key constraint, or it will return all records across all profiles instead of filtering by user.

Suggested change
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE blood_pressure_logs
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE discharge_logs
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE weekly_weight
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE weekly_medicine
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE weekly_symptoms
ADD COLUMN profile_id INTEGER REFERENCES profile(id) ON DELETE CASCADE;
ADD COLUMN profile_id INTEGER NOT NULL DEFAULT 1 REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE blood_pressure_logs
ADD COLUMN profile_id INTEGER NOT NULL DEFAULT 1 REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE discharge_logs
ADD COLUMN profile_id INTEGER NOT NULL DEFAULT 1 REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE weekly_weight
ADD COLUMN profile_id INTEGER NOT NULL DEFAULT 1 REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE weekly_medicine
ADD COLUMN profile_id INTEGER NOT NULL DEFAULT 1 REFERENCES profile(id) ON DELETE CASCADE;
ALTER TABLE weekly_symptoms
ADD COLUMN profile_id INTEGER NOT NULL DEFAULT 1 REFERENCES profile(id) ON DELETE CASCADE;

Copilot uses AI. Check for mistakes.

-- inset dummy data
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment says "inset dummy data" but should be "insert dummy data". This is a spelling error in the SQL comment.

Suggested change
-- inset dummy data
-- insert dummy data

Copilot uses AI. Check for mistakes.
INSERT INTO weekly_weight (week_number, weight, note, profile_id) VALUES
(8, 60.5, 'Slight nausea, but overall feeling okay', 1),
(9, 60.9, 'Appetite increasing slightly', 1),
(10, 61.3, 'Started prenatal yoga, feeling good', 1);


INSERT INTO weekly_medicine (week_number, name, dose, time, taken, note, profile_id) VALUES
(8, 'Prenatal Vitamin', '1 tablet', '08:00', 1, 'Daily multivitamin with folic acid', 1),
(9, 'Iron Supplement', '30mg', '13:00', 1, 'Taking to help with mild anemia', 1),
(10, 'Prenatal Vitamin', '1 tablet', '08:00', 1, 'No side effects, continuing as normal', 1);


INSERT INTO weekly_symptoms (week_number, symptom, note, profile_id) VALUES
(8, 'Morning Sickness', 'Worse after waking up', 1),
(9, 'Breast Tenderness', 'More sensitive than last week', 1),
(10, 'Frequent Urination', 'Especially during the night', 1);

Comment on lines 121 to 137
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sample INSERT statements for weekly_weight, weekly_medicine, weekly_symptoms, appointments, and tasks all reference profile_id = 1. However, looking at the full schema (lines 63-66 visible in context), three profiles are inserted with auto-incrementing IDs. This means profiles with id = 2 and 3 will exist but have no associated data, creating orphaned profiles. Consider either removing the extra sample profiles or creating sample data for all profiles to maintain consistency.

Copilot uses AI. Check for mistakes.
INSERT INTO appointments
(title, content, appointment_date, appointment_time, appointment_location, appointment_status, profile_id)
VALUES
('Initial OB Appointment', 'Confirm pregnancy and general health.', '2025-06-22', '09:00 AM', 'City Clinic', 'completed', 1),
('Blood Work', 'Routine prenatal blood tests.', '2025-06-29', '10:00 AM', 'LabCorp', 'completed', 1),
('Nutritional Counseling', 'Discuss prenatal diet and supplements.', '2025-02-05', '11:00 AM', 'Wellness Center', 'pending', 1),
('First Ultrasound', 'Early scan to check for heartbeat.', '2025-02-12', '10:30 AM', 'City Hospital', 'pending', 1),
('Routine Check-up', 'Weekly monitoring and vitals.', '2025-02-19', '09:30 AM', 'OB-GYN Office', 'pending', 1),
('NT Scan Appointment', 'Nuchal translucency scan scheduling.', '2025-02-26', '02:00 PM', 'Radiology Dept.', 'pending', 1),
('Screening Lab Visit', 'Down syndrome blood screening.', '2025-06-05', '10:15 AM', 'Prenatal Lab', 'pending', 1),
('Follow-up Visit', 'Review test results and progress.', '2025-06-12', '09:00 AM', 'HealthCare Clinic', 'pending', 1),
('Anomaly Scan Prep', 'Discuss upcoming detailed scan.', '2025-06-19', '11:30 AM', 'OB-GYN Center', 'pending', 1),
('Mid-pregnancy Checkup', 'Weight, BP, baby growth tracking.', '2025-06-26', '01:00 PM', 'Wellness Clinic', 'pending', 1),
('Vaccination Discussion', 'Discuss vaccines for pregnancy.', '2025-06-02', '12:30 PM', 'OB-GYN Office', 'pending', 1),
('Mood & Sleep Check-in', 'Mental health & fatigue talk.', '2025-06-09', '10:00 AM', 'Care Center', 'pending', 1);

INSERT INTO tasks
(title, content, starting_week, ending_week, task_priority, isOptional, isAppointmentMade, task_status, profile_id)
VALUES
-- First Trimester
('Initial Prenatal Visit', 'First doctor visit to confirm pregnancy and health check.', 4, 4, 'high', FALSE, FALSE,'pending', 1),
('Early Ultrasound', 'Confirm pregnancy location and heartbeat.', 6, 8, 'high', FALSE, FALSE,'pending', 1),
('Folic Acid Supplementation', 'Start folic acid for neural tube development.', 4, 12, 'high', FALSE, FALSE,'pending', 1),
('Blood Tests', 'Check for blood type, hemoglobin, and infections.', 8, 10, 'high', FALSE, FALSE,'pending', 1),
('Down Syndrome Screening', 'Non-invasive prenatal screening for chromosomal conditions.', 10, 12, 'medium', FALSE, FALSE,'pending', 1),

-- Second Trimester
('NT Scan', 'Nuchal translucency scan for fetal abnormalities.', 12, 14, 'high', FALSE, FALSE,'pending', 1),
('Gestational Diabetes Test', 'Glucose test to check blood sugar levels.', 14, 16, 'high', FALSE, FALSE,'pending', 1),
('Detailed Anomaly Scan', '20-week scan to check fetal development.', 18, 20, 'high', FALSE, FALSE,'pending', 1),
('Fetal Movement Monitoring', 'Track baby movements for health assessment.', 21, 24, 'medium', FALSE, FALSE,'pending', 1),
('Iron and Calcium Supplements', 'Ensure proper bone and blood health for mother and baby.', 21, 28, 'medium', FALSE, FALSE,'pending', 1),

-- Third Trimester
('Rh Factor Screening', 'Test if mother needs Rh immunoglobulin.', 26, 28, 'high', FALSE, FALSE,'pending', 1),
('Glucose Tolerance Test', 'Second test if needed for gestational diabetes.', 28, 28, 'medium', FALSE, FALSE,'pending', 1),
('Pre-Birth Vaccination', 'Tdap and flu shots for maternal and newborn protection.', 30, 32, 'high', FALSE, FALSE,'pending', 1),
('Third-Trimester Ultrasound', 'Assess baby’s growth and position.', 30, 32, 'high', FALSE, FALSE,'pending', 1),
('Birth Plan Discussion', 'Discuss delivery preferences with doctor.', 33, 34, 'medium', TRUE, FALSE,'pending', 1),
('Hospital Tour', 'Visit maternity hospital to prepare for delivery.', 33, 34, 'low', TRUE, FALSE,'pending', 1),
('Labor Signs Monitoring', 'Educate about labor contractions and when to go to hospital.', 36, 40, 'high', FALSE, FALSE,'pending', 1),
('Final Checkups', 'Last medical assessments before labor.', 38, 40, 'high', FALSE, FALSE,'pending', 1);
2 changes: 1 addition & 1 deletion Frontend/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BASE_URL=http://192.168.1.4:5000
BASE_URL=http://localhost:5001
# Use Qwen Model
MODEL_NAME="Qwen2-0.5B-Instruct"
HF_TO_GGUF="Qwen/Qwen2.5-0.5B-Instruct-GGUF"
Expand Down
Empty file modified Frontend/android/gradlew
100644 β†’ 100755
Empty file.
16 changes: 12 additions & 4 deletions Frontend/ios/BabyNest/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
<string>35F9.1</string>
</array>
</dict>
<dict>
Expand All @@ -22,10 +22,18 @@
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
<string>C617.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>85F4.1</string>
</array>
</dict>
</array>
Expand Down
Loading