





















const db = require('../models');
const Users = db.users;






const UserPhysicalBaselines = db.user_physical_baselines;

const UserLifestyleBaselines = db.user_lifestyle_baselines;

const Goals = db.goals;

const Conditions = db.conditions;

const Surgeries = db.surgeries;

const ImplantsDevices = db.implants_devices;

const Allergies = db.allergies;

const FamilyHistories = db.family_histories;

const HealthcareProviders = db.healthcare_providers;

const Pharmacies = db.pharmacies;

const Medications = db.medications;

const MedicationDoses = db.medication_doses;

const MedicationSideEffects = db.medication_side_effects;

const Supplements = db.supplements;

const SupplementEvidenceItems = db.supplement_evidence_items;

const Workouts = db.workouts;

const Exercises = db.exercises;

const WorkoutExercises = db.workout_exercises;

const WorkoutSchedules = db.workout_schedules;

const TrainingBlocks = db.training_blocks;

const WorkoutSessions = db.workout_sessions;

const StrengthSets = db.strength_sets;

const CardioSessions = db.cardio_sessions;

const RecoveryLogs = db.recovery_logs;

const HeatColdExposures = db.heat_cold_exposures;

const FlexibilityAssessments = db.flexibility_assessments;

const Foods = db.foods;

const Recipes = db.recipes;

const RecipeCollections = db.recipe_collections;

const Meals = db.meals;

const MealItems = db.meal_items;

const NutritionTargets = db.nutrition_targets;

const MealPlans = db.meal_plans;

const MealPlanItems = db.meal_plan_items;

const GroceryLists = db.grocery_lists;

const GroceryItems = db.grocery_items;

const HydrationLogs = db.hydration_logs;

const FastingSessions = db.fasting_sessions;

const KetoneGlucoseLogs = db.ketone_glucose_logs;

const BowelMovements = db.bowel_movements;

const GutSymptomLogs = db.gut_symptom_logs;

const HealthMetrics = db.health_metrics;

const SymptomLogs = db.symptom_logs;

const MedicalAppointments = db.medical_appointments;

const LabDocuments = db.lab_documents;

const Vaccinations = db.vaccinations;

const AiChatThreads = db.ai_chat_threads;

const AiChatMessages = db.ai_chat_messages;

const AiGenerations = db.ai_generations;

const Habits = db.habits;

const HabitLogs = db.habit_logs;

const HabitChallenges = db.habit_challenges;

const LibraryArticles = db.library_articles;

const SavedArticles = db.saved_articles;

const GlossaryTerms = db.glossary_terms;

const HealthVaultDocuments = db.health_vault_documents;

const EmergencyMedicalCards = db.emergency_medical_cards;

const AdvanceDirectives = db.advance_directives;

const InsurancePolicies = db.insurance_policies;

const FamilyGroups = db.family_groups;

const FamilyMembers = db.family_members;

const SharingPermissions = db.sharing_permissions;

const MoodLogs = db.mood_logs;

const MentalAssessments = db.mental_assessments;

const JournalEntries = db.journal_entries;

const BreathingSessions = db.breathing_sessions;

const StressLogs = db.stress_logs;

const CognitiveTests = db.cognitive_tests;

const SleepLogs = db.sleep_logs;

const SleepEnvironmentLogs = db.sleep_environment_logs;

const NapLogs = db.nap_logs;

const MenstrualCycles = db.menstrual_cycles;

const MenstrualDayLogs = db.menstrual_day_logs;

const FertilityLogs = db.fertility_logs;

const Pregnancies = db.pregnancies;

const PregnancySymptomLogs = db.pregnancy_symptom_logs;

const BreastfeedingLogs = db.breastfeeding_logs;

const FormulaFeedingLogs = db.formula_feeding_logs;

const BabyMetrics = db.baby_metrics;

const EpdsAssessments = db.epds_assessments;

const KickCounts = db.kick_counts;

const ContractionSessions = db.contraction_sessions;

const Contractions = db.contractions;

const MenopauseSymptomLogs = db.menopause_symptom_logs;

const MaleReproductiveLogs = db.male_reproductive_logs;

const SemenAnalyses = db.semen_analyses;

const StiTests = db.sti_tests;

const ContraceptionLogs = db.contraception_logs;

const LibidoLogs = db.libido_logs;

const SexualActivityLogs = db.sexual_activity_logs;

const SkinCareLogs = db.skin_care_logs;

const SunExposureLogs = db.sun_exposure_logs;

const MoleLesionLogs = db.mole_lesion_logs;

const OralHygieneLogs = db.oral_hygiene_logs;

const DentalRecords = db.dental_records;

const DentalSymptoms = db.dental_symptoms;

const VisionPrescriptions = db.vision_prescriptions;

const EyeSymptomLogs = db.eye_symptom_logs;

const HearingTestLogs = db.hearing_test_logs;

const TinnitusLogs = db.tinnitus_logs;

const NoiseExposureLogs = db.noise_exposure_logs;

const PainLogs = db.pain_logs;

const Injuries = db.injuries;

const PhysioExercises = db.physio_exercises;

const ErgonomicsLogs = db.ergonomics_logs;

const Notifications = db.notifications;

const ExportJobs = db.export_jobs;

const AppSettings = db.app_settings;







const UserPhysicalBaselinesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "height_cm": 7.4,
            
        
    
        
        
            
                "height_ft": 2.32,
            
        
    
        
        
            
                "height_in": 1.31,
            
        
    
        
        
            
                "weight_kg": 7.85,
            
        
    
        
        
            
                "weight_lb": 4.05,
            
        
    
        
        
            
                "wrist_circumference_cm": 4.14,
            
        
    
        
        
            
                "dominant_hand": "ambidextrous",
            
        
    
        
        
            
                "fitzpatrick_skin_type": "6",
            
        
    
        
        
            
                "blood_type": "o_plus",
            
        
    
        
        
            
                "rh_factor": "positive",
            
        
    
        
        
            
                "body_frame_size": "small",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "height_cm": 9.02,
            
        
    
        
        
            
                "height_ft": 5.64,
            
        
    
        
        
            
                "height_in": 6.54,
            
        
    
        
        
            
                "weight_kg": 1.12,
            
        
    
        
        
            
                "weight_lb": 7.12,
            
        
    
        
        
            
                "wrist_circumference_cm": 5.66,
            
        
    
        
        
            
                "dominant_hand": "right",
            
        
    
        
        
            
                "fitzpatrick_skin_type": "4",
            
        
    
        
        
            
                "blood_type": "o_plus",
            
        
    
        
        
            
                "rh_factor": "unknown",
            
        
    
        
        
            
                "body_frame_size": "unknown",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "height_cm": 8.88,
            
        
    
        
        
            
                "height_ft": 2.43,
            
        
    
        
        
            
                "height_in": 1.27,
            
        
    
        
        
            
                "weight_kg": 7.02,
            
        
    
        
        
            
                "weight_lb": 2.83,
            
        
    
        
        
            
                "wrist_circumference_cm": 2.67,
            
        
    
        
        
            
                "dominant_hand": "left",
            
        
    
        
        
            
                "fitzpatrick_skin_type": "1",
            
        
    
        
        
            
                "blood_type": "unknown",
            
        
    
        
        
            
                "rh_factor": "positive",
            
        
    
        
        
            
                "body_frame_size": "medium",
            
        
    
    },
    
];



const UserLifestyleBaselinesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "typical_bedtime": "Ada Lovelace",
            
        
    
        
        
            
                "typical_wake_time": "Marie Curie",
            
        
    
        
        
            
                "alcohol_use": "never",
            
        
    
        
        
            
                "tobacco_nicotine_use": "vaper",
            
        
    
        
        
            
                "recreational_substance_use": "Alan Turing",
            
        
    
        
        
            
                "caffeine_servings_per_day": 1,
            
        
    
        
        
            
                "typical_stress_level": 8,
            
        
    
        
        
            
                "occupation_type": "student",
            
        
    
        
        
            
                "avg_daily_steps_estimate": 3,
            
        
    
        
        
            
                "currently_exercises": false,
            
        
    
        
        
            
                "exercise_types": "Marie Curie",
            
        
    
        
        
            
                "diet_pattern": "paleo",
            
        
    
        
        
            
                "diet_pattern_other": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "typical_bedtime": "Grace Hopper",
            
        
    
        
        
            
                "typical_wake_time": "Ada Lovelace",
            
        
    
        
        
            
                "alcohol_use": "daily",
            
        
    
        
        
            
                "tobacco_nicotine_use": "chewing_tobacco",
            
        
    
        
        
            
                "recreational_substance_use": "Alan Turing",
            
        
    
        
        
            
                "caffeine_servings_per_day": 1,
            
        
    
        
        
            
                "typical_stress_level": 1,
            
        
    
        
        
            
                "occupation_type": "sedentary_desk_job",
            
        
    
        
        
            
                "avg_daily_steps_estimate": 1,
            
        
    
        
        
            
                "currently_exercises": false,
            
        
    
        
        
            
                "exercise_types": "Ada Lovelace",
            
        
    
        
        
            
                "diet_pattern": "vegan",
            
        
    
        
        
            
                "diet_pattern_other": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "typical_bedtime": "Alan Turing",
            
        
    
        
        
            
                "typical_wake_time": "Ada Lovelace",
            
        
    
        
        
            
                "alcohol_use": "weekly",
            
        
    
        
        
            
                "tobacco_nicotine_use": "chewing_tobacco",
            
        
    
        
        
            
                "recreational_substance_use": "Marie Curie",
            
        
    
        
        
            
                "caffeine_servings_per_day": 3,
            
        
    
        
        
            
                "typical_stress_level": 9,
            
        
    
        
        
            
                "occupation_type": "manual_labour",
            
        
    
        
        
            
                "avg_daily_steps_estimate": 6,
            
        
    
        
        
            
                "currently_exercises": true,
            
        
    
        
        
            
                "exercise_types": "Alan Turing",
            
        
    
        
        
            
                "diet_pattern": "vegan",
            
        
    
        
        
            
                "diet_pattern_other": "Ada Lovelace",
            
        
    
    },
    
];



const GoalsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "goal_type": "athletic_performance",
            
        
    
        
        
            
                "follow_up_answer": "Ada Lovelace",
            
        
    
        
        
            
                "target_date": new Date(Date.now()),
            
        
    
        
        
            
                "is_active": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "goal_type": "improve_sexual_health",
            
        
    
        
        
            
                "follow_up_answer": "Alan Turing",
            
        
    
        
        
            
                "target_date": new Date(Date.now()),
            
        
    
        
        
            
                "is_active": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "goal_type": "lose_body_fat",
            
        
    
        
        
            
                "follow_up_answer": "Marie Curie",
            
        
    
        
        
            
                "target_date": new Date(Date.now()),
            
        
    
        
        
            
                "is_active": false,
            
        
    
    },
    
];



const ConditionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "condition_name": "Grace Hopper",
            
        
    
        
        
            
                "status": "active",
            
        
    
        
        
            
                "date_diagnosed": new Date(Date.now()),
            
        
    
        
        
            
                "diagnosing_doctor": "Marie Curie",
            
        
    
        
        
            
                "management_plan": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "condition_name": "Ada Lovelace",
            
        
    
        
        
            
                "status": "resolved",
            
        
    
        
        
            
                "date_diagnosed": new Date(Date.now()),
            
        
    
        
        
            
                "diagnosing_doctor": "Alan Turing",
            
        
    
        
        
            
                "management_plan": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "condition_name": "Grace Hopper",
            
        
    
        
        
            
                "status": "resolved",
            
        
    
        
        
            
                "date_diagnosed": new Date(Date.now()),
            
        
    
        
        
            
                "diagnosing_doctor": "Grace Hopper",
            
        
    
        
        
            
                "management_plan": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const SurgeriesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "surgery_name": "Alan Turing",
            
        
    
        
        
            
                "surgery_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "surgery_name": "Marie Curie",
            
        
    
        
        
            
                "surgery_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "surgery_name": "Marie Curie",
            
        
    
        
        
            
                "surgery_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const ImplantsDevicesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "device_name": "Grace Hopper",
            
        
    
        
        
            
                "implant_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "device_name": "Alan Turing",
            
        
    
        
        
            
                "implant_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "device_name": "Ada Lovelace",
            
        
    
        
        
            
                "implant_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const AllergiesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "allergy_category": "intolerance",
            
        
    
        
        
            
                "allergen": "Grace Hopper",
            
        
    
        
        
            
                "severity": "mild",
            
        
    
        
        
            
                "reaction_notes": "Marie Curie",
            
        
    
        
        
            
                "carries_epinephrine": true,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "allergy_category": "food",
            
        
    
        
        
            
                "allergen": "Ada Lovelace",
            
        
    
        
        
            
                "severity": "severe",
            
        
    
        
        
            
                "reaction_notes": "Grace Hopper",
            
        
    
        
        
            
                "carries_epinephrine": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "allergy_category": "food",
            
        
    
        
        
            
                "allergen": "Marie Curie",
            
        
    
        
        
            
                "severity": "severe",
            
        
    
        
        
            
                "reaction_notes": "Marie Curie",
            
        
    
        
        
            
                "carries_epinephrine": false,
            
        
    
    },
    
];



const FamilyHistoriesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "side": "maternal",
            
        
    
        
        
            
                "condition_name": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "side": "maternal",
            
        
    
        
        
            
                "condition_name": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "side": "maternal",
            
        
    
        
        
            
                "condition_name": "Marie Curie",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const HealthcareProvidersData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "provider_type": "psychiatrist",
            
        
    
        
        
            
                "provider_name": "Ada Lovelace",
            
        
    
        
        
            
                "clinic_name": "Alan Turing",
            
        
    
        
        
            
                "phone": "Ada Lovelace",
            
        
    
        
        
            
                "email": "Marie Curie",
            
        
    
        
        
            
                "address": "Alan Turing",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "provider_type": "personal_trainer",
            
        
    
        
        
            
                "provider_name": "Alan Turing",
            
        
    
        
        
            
                "clinic_name": "Marie Curie",
            
        
    
        
        
            
                "phone": "Grace Hopper",
            
        
    
        
        
            
                "email": "Grace Hopper",
            
        
    
        
        
            
                "address": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "provider_type": "gynaecologist",
            
        
    
        
        
            
                "provider_name": "Alan Turing",
            
        
    
        
        
            
                "clinic_name": "Marie Curie",
            
        
    
        
        
            
                "phone": "Alan Turing",
            
        
    
        
        
            
                "email": "Ada Lovelace",
            
        
    
        
        
            
                "address": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const PharmaciesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "pharmacy_name": "Marie Curie",
            
        
    
        
        
            
                "phone": "Marie Curie",
            
        
    
        
        
            
                "address": "Alan Turing",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "pharmacy_name": "Marie Curie",
            
        
    
        
        
            
                "phone": "Alan Turing",
            
        
    
        
        
            
                "address": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "pharmacy_name": "Ada Lovelace",
            
        
    
        
        
            
                "phone": "Alan Turing",
            
        
    
        
        
            
                "address": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const MedicationsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "medication_name": "Alan Turing",
            
        
    
        
        
            
                "dose_amount": 7.33,
            
        
    
        
        
            
                "dose_unit": "sprays",
            
        
    
        
        
            
                "frequency_type": "three_times_daily",
            
        
    
        
        
            
                "frequency_interval_hours": 9,
            
        
    
        
        
            
                "frequency_notes": "Alan Turing",
            
        
    
        
        
            
                "route": "rectal",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "condition_treated": "Alan Turing",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "refill_reminder_date": new Date(Date.now()),
            
        
    
        
        
            
                "reminders_enabled": true,
            
        
    
        
        
            
                "is_controlled_substance": false,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "instructions": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "medication_name": "Grace Hopper",
            
        
    
        
        
            
                "dose_amount": 6.19,
            
        
    
        
        
            
                "dose_unit": "mg",
            
        
    
        
        
            
                "frequency_type": "weekly",
            
        
    
        
        
            
                "frequency_interval_hours": 5,
            
        
    
        
        
            
                "frequency_notes": "Grace Hopper",
            
        
    
        
        
            
                "route": "oral",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "condition_treated": "Grace Hopper",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "refill_reminder_date": new Date(Date.now()),
            
        
    
        
        
            
                "reminders_enabled": false,
            
        
    
        
        
            
                "is_controlled_substance": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "instructions": "Marie Curie",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "medication_name": "Ada Lovelace",
            
        
    
        
        
            
                "dose_amount": 6.04,
            
        
    
        
        
            
                "dose_unit": "sprays",
            
        
    
        
        
            
                "frequency_type": "monthly",
            
        
    
        
        
            
                "frequency_interval_hours": 4,
            
        
    
        
        
            
                "frequency_notes": "Grace Hopper",
            
        
    
        
        
            
                "route": "sublingual",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "condition_treated": "Alan Turing",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "refill_reminder_date": new Date(Date.now()),
            
        
    
        
        
            
                "reminders_enabled": true,
            
        
    
        
        
            
                "is_controlled_substance": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "instructions": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const MedicationDosesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "scheduled_time": new Date(Date.now()),
            
        
    
        
        
            
                "taken_time": new Date(Date.now()),
            
        
    
        
        
            
                "status": "taken",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "scheduled_time": new Date(Date.now()),
            
        
    
        
        
            
                "taken_time": new Date(Date.now()),
            
        
    
        
        
            
                "status": "skipped",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "scheduled_time": new Date(Date.now()),
            
        
    
        
        
            
                "taken_time": new Date(Date.now()),
            
        
    
        
        
            
                "status": "scheduled",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const MedicationSideEffectsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "side_effect_name": "Alan Turing",
            
        
    
        
        
            
                "severity": 1,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "side_effect_name": "Ada Lovelace",
            
        
    
        
        
            
                "severity": 8,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "side_effect_name": "Ada Lovelace",
            
        
    
        
        
            
                "severity": 2,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const SupplementsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "supplement_name": "Grace Hopper",
            
        
    
        
        
            
                "form": "tablet",
            
        
    
        
        
            
                "dose_amount": 0.73,
            
        
    
        
        
            
                "dose_unit": "Alan Turing",
            
        
    
        
        
            
                "timing": "Alan Turing",
            
        
    
        
        
            
                "with_food": "with_food",
            
        
    
        
        
            
                "brand": "Grace Hopper",
            
        
    
        
        
            
                "cost_per_dose": 9.87,
            
        
    
        
        
            
                "reason": "Alan Turing",
            
        
    
        
        
            
                "reminders_enabled": true,
            
        
    
        
        
            
                "cycling_enabled": true,
            
        
    
        
        
            
                "cycle_on_days": 8,
            
        
    
        
        
            
                "cycle_off_days": 9,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "supplement_name": "Grace Hopper",
            
        
    
        
        
            
                "form": "topical",
            
        
    
        
        
            
                "dose_amount": 3.74,
            
        
    
        
        
            
                "dose_unit": "Alan Turing",
            
        
    
        
        
            
                "timing": "Alan Turing",
            
        
    
        
        
            
                "with_food": "with_food",
            
        
    
        
        
            
                "brand": "Grace Hopper",
            
        
    
        
        
            
                "cost_per_dose": 1.06,
            
        
    
        
        
            
                "reason": "Ada Lovelace",
            
        
    
        
        
            
                "reminders_enabled": false,
            
        
    
        
        
            
                "cycling_enabled": true,
            
        
    
        
        
            
                "cycle_on_days": 5,
            
        
    
        
        
            
                "cycle_off_days": 2,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "supplement_name": "Ada Lovelace",
            
        
    
        
        
            
                "form": "patch",
            
        
    
        
        
            
                "dose_amount": 7.0,
            
        
    
        
        
            
                "dose_unit": "Ada Lovelace",
            
        
    
        
        
            
                "timing": "Alan Turing",
            
        
    
        
        
            
                "with_food": "with_food",
            
        
    
        
        
            
                "brand": "Marie Curie",
            
        
    
        
        
            
                "cost_per_dose": 0.1,
            
        
    
        
        
            
                "reason": "Marie Curie",
            
        
    
        
        
            
                "reminders_enabled": false,
            
        
    
        
        
            
                "cycling_enabled": false,
            
        
    
        
        
            
                "cycle_on_days": 4,
            
        
    
        
        
            
                "cycle_off_days": 5,
            
        
    
    },
    
];



const SupplementEvidenceItemsData = [
    
    {
    
        
        
            
                "supplement_name": "Grace Hopper",
            
        
    
        
        
            
                "evidence_rating": 7,
            
        
    
        
        
            
                "summary": "Marie Curie",
            
        
    
        
        
            
                "mechanism": "Ada Lovelace",
            
        
    
        
        
            
                "benefits": "Marie Curie",
            
        
    
        
        
            
                "dosing_range": "Ada Lovelace",
            
        
    
        
        
            
                "timing_recommendations": "Alan Turing",
            
        
    
        
        
            
                "interactions": "Marie Curie",
            
        
    
        
        
            
                "side_effects": "Grace Hopper",
            
        
    
        
        
            
                "avoid_who": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                "supplement_name": "Grace Hopper",
            
        
    
        
        
            
                "evidence_rating": 2,
            
        
    
        
        
            
                "summary": "Alan Turing",
            
        
    
        
        
            
                "mechanism": "Alan Turing",
            
        
    
        
        
            
                "benefits": "Grace Hopper",
            
        
    
        
        
            
                "dosing_range": "Marie Curie",
            
        
    
        
        
            
                "timing_recommendations": "Alan Turing",
            
        
    
        
        
            
                "interactions": "Marie Curie",
            
        
    
        
        
            
                "side_effects": "Alan Turing",
            
        
    
        
        
            
                "avoid_who": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                "supplement_name": "Grace Hopper",
            
        
    
        
        
            
                "evidence_rating": 8,
            
        
    
        
        
            
                "summary": "Marie Curie",
            
        
    
        
        
            
                "mechanism": "Grace Hopper",
            
        
    
        
        
            
                "benefits": "Alan Turing",
            
        
    
        
        
            
                "dosing_range": "Ada Lovelace",
            
        
    
        
        
            
                "timing_recommendations": "Ada Lovelace",
            
        
    
        
        
            
                "interactions": "Alan Turing",
            
        
    
        
        
            
                "side_effects": "Grace Hopper",
            
        
    
        
        
            
                "avoid_who": "Alan Turing",
            
        
    
    },
    
];



const WorkoutsData = [
    
    {
    
        
        
            
                "workout_name": "Grace Hopper",
            
        
    
        
        
            
                "description": "Ada Lovelace",
            
        
    
        
        
            
                "workout_type": "yoga",
            
        
    
        
        
            
                "goal_focus": "rehab",
            
        
    
        
        
            
                "difficulty": "intermediate",
            
        
    
        
        
            
                "equipment_needed": "treadmill",
            
        
    
        
        
            
                "duration_minutes": 9,
            
        
    
        
        
            
                "estimated_calories": 9,
            
        
    
        
        
            
                "average_rating": 3.01,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "warmup_notes": "Alan Turing",
            
        
    
        
        
            
                "cooldown_notes": "Marie Curie",
            
        
    
        
        
            
                "safety_notes": "Alan Turing",
            
        
    
        
        
            
                "video_url": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                "workout_name": "Ada Lovelace",
            
        
    
        
        
            
                "description": "Alan Turing",
            
        
    
        
        
            
                "workout_type": "cardio",
            
        
    
        
        
            
                "goal_focus": "endurance",
            
        
    
        
        
            
                "difficulty": "advanced",
            
        
    
        
        
            
                "equipment_needed": "dumbbells",
            
        
    
        
        
            
                "duration_minutes": 8,
            
        
    
        
        
            
                "estimated_calories": 3,
            
        
    
        
        
            
                "average_rating": 1.33,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "warmup_notes": "Alan Turing",
            
        
    
        
        
            
                "cooldown_notes": "Ada Lovelace",
            
        
    
        
        
            
                "safety_notes": "Marie Curie",
            
        
    
        
        
            
                "video_url": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                "workout_name": "Marie Curie",
            
        
    
        
        
            
                "description": "Ada Lovelace",
            
        
    
        
        
            
                "workout_type": "pilates",
            
        
    
        
        
            
                "goal_focus": "endurance",
            
        
    
        
        
            
                "difficulty": "advanced",
            
        
    
        
        
            
                "equipment_needed": "treadmill",
            
        
    
        
        
            
                "duration_minutes": 4,
            
        
    
        
        
            
                "estimated_calories": 2,
            
        
    
        
        
            
                "average_rating": 1.54,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "warmup_notes": "Marie Curie",
            
        
    
        
        
            
                "cooldown_notes": "Ada Lovelace",
            
        
    
        
        
            
                "safety_notes": "Ada Lovelace",
            
        
    
        
        
            
                "video_url": "Marie Curie",
            
        
    
    },
    
];



const ExercisesData = [
    
    {
    
        
        
            
                "exercise_name": "Marie Curie",
            
        
    
        
        
            
                "exercise_type": "stretch",
            
        
    
        
        
            
                "primary_muscle_group": "full_body",
            
        
    
        
        
            
                "equipment": "cable",
            
        
    
        
        
            
                "instructions": "Alan Turing",
            
        
    
        
        
            
                "common_mistakes": "Grace Hopper",
            
        
    
        
        
            
                "coaching_cues": "Alan Turing",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
    },
    
    {
    
        
        
            
                "exercise_name": "Grace Hopper",
            
        
    
        
        
            
                "exercise_type": "mobility",
            
        
    
        
        
            
                "primary_muscle_group": "chest",
            
        
    
        
        
            
                "equipment": "medicine_ball",
            
        
    
        
        
            
                "instructions": "Marie Curie",
            
        
    
        
        
            
                "common_mistakes": "Grace Hopper",
            
        
    
        
        
            
                "coaching_cues": "Marie Curie",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
    },
    
    {
    
        
        
            
                "exercise_name": "Ada Lovelace",
            
        
    
        
        
            
                "exercise_type": "skill",
            
        
    
        
        
            
                "primary_muscle_group": "core",
            
        
    
        
        
            
                "equipment": "medicine_ball",
            
        
    
        
        
            
                "instructions": "Marie Curie",
            
        
    
        
        
            
                "common_mistakes": "Marie Curie",
            
        
    
        
        
            
                "coaching_cues": "Marie Curie",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
    },
    
];



const WorkoutExercisesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sort_order": 8,
            
        
    
        
        
            
                "sets": 3,
            
        
    
        
        
            
                "reps": 6,
            
        
    
        
        
            
                "rest_seconds": 9,
            
        
    
        
        
            
                "beginner_modifications": "Ada Lovelace",
            
        
    
        
        
            
                "advanced_progressions": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sort_order": 2,
            
        
    
        
        
            
                "sets": 7,
            
        
    
        
        
            
                "reps": 1,
            
        
    
        
        
            
                "rest_seconds": 3,
            
        
    
        
        
            
                "beginner_modifications": "Marie Curie",
            
        
    
        
        
            
                "advanced_progressions": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sort_order": 4,
            
        
    
        
        
            
                "sets": 5,
            
        
    
        
        
            
                "reps": 7,
            
        
    
        
        
            
                "rest_seconds": 9,
            
        
    
        
        
            
                "beginner_modifications": "Marie Curie",
            
        
    
        
        
            
                "advanced_progressions": "Alan Turing",
            
        
    
    },
    
];



const WorkoutSchedulesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "scheduled_start": new Date(Date.now()),
            
        
    
        
        
            
                "scheduled_end": new Date(Date.now()),
            
        
    
        
        
            
                "schedule_type": "workout",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "scheduled_start": new Date(Date.now()),
            
        
    
        
        
            
                "scheduled_end": new Date(Date.now()),
            
        
    
        
        
            
                "schedule_type": "rest_day",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "scheduled_start": new Date(Date.now()),
            
        
    
        
        
            
                "scheduled_end": new Date(Date.now()),
            
        
    
        
        
            
                "schedule_type": "active_recovery",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const TrainingBlocksData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "block_name": "Alan Turing",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "focus": "deload",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "block_name": "Marie Curie",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "focus": "skill",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "block_name": "Alan Turing",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "focus": "hypertrophy",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const WorkoutSessionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 8,
            
        
    
        
        
            
                "estimated_calories": 2,
            
        
    
        
        
            
                "total_volume_kg": 3.05,
            
        
    
        
        
            
                "satisfaction_rating": 5,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 5,
            
        
    
        
        
            
                "estimated_calories": 9,
            
        
    
        
        
            
                "total_volume_kg": 8.85,
            
        
    
        
        
            
                "satisfaction_rating": 1,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 9,
            
        
    
        
        
            
                "estimated_calories": 7,
            
        
    
        
        
            
                "total_volume_kg": 0.44,
            
        
    
        
        
            
                "satisfaction_rating": 3,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const StrengthSetsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "set_number": 9,
            
        
    
        
        
            
                "reps": 7,
            
        
    
        
        
            
                "weight": 6.77,
            
        
    
        
        
            
                "weight_unit": "kg",
            
        
    
        
        
            
                "rpe": 4,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "set_number": 1,
            
        
    
        
        
            
                "reps": 1,
            
        
    
        
        
            
                "weight": 8.93,
            
        
    
        
        
            
                "weight_unit": "lb",
            
        
    
        
        
            
                "rpe": 7,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "set_number": 5,
            
        
    
        
        
            
                "reps": 1,
            
        
    
        
        
            
                "weight": 2.83,
            
        
    
        
        
            
                "weight_unit": "lb",
            
        
    
        
        
            
                "rpe": 3,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const CardioSessionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "activity_type": "swimming",
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 5,
            
        
    
        
        
            
                "distance_km": 5.35,
            
        
    
        
        
            
                "avg_heart_rate": 0.42,
            
        
    
        
        
            
                "perceived_effort": 9,
            
        
    
        
        
            
                "calories": 3,
            
        
    
        
        
            
                "route_notes": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "activity_type": "walking",
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 5,
            
        
    
        
        
            
                "distance_km": 3.38,
            
        
    
        
        
            
                "avg_heart_rate": 3.46,
            
        
    
        
        
            
                "perceived_effort": 4,
            
        
    
        
        
            
                "calories": 1,
            
        
    
        
        
            
                "route_notes": "Marie Curie",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "activity_type": "rowing",
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 9,
            
        
    
        
        
            
                "distance_km": 1.22,
            
        
    
        
        
            
                "avg_heart_rate": 3.22,
            
        
    
        
        
            
                "perceived_effort": 5,
            
        
    
        
        
            
                "calories": 2,
            
        
    
        
        
            
                "route_notes": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
];



const RecoveryLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "resting_heart_rate": 3.75,
            
        
    
        
        
            
                "hrv_ms": 0.83,
            
        
    
        
        
            
                "stress_level": 7,
            
        
    
        
        
            
                "recovery_score": 5,
            
        
    
        
        
            
                "recommended_intensity": "red_rest",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "resting_heart_rate": 0.19,
            
        
    
        
        
            
                "hrv_ms": 5.79,
            
        
    
        
        
            
                "stress_level": 2,
            
        
    
        
        
            
                "recovery_score": 1,
            
        
    
        
        
            
                "recommended_intensity": "yellow_moderate",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "resting_heart_rate": 1.1,
            
        
    
        
        
            
                "hrv_ms": 7.91,
            
        
    
        
        
            
                "stress_level": 5,
            
        
    
        
        
            
                "recovery_score": 6,
            
        
    
        
        
            
                "recommended_intensity": "red_rest",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const HeatColdExposuresData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "exposure_type": "steam_room",
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 2,
            
        
    
        
        
            
                "temperature_c": 8.01,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "exposure_type": "cold_shower",
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 8,
            
        
    
        
        
            
                "temperature_c": 5.11,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "exposure_type": "hot_bath",
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 6,
            
        
    
        
        
            
                "temperature_c": 0.42,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const FlexibilityAssessmentsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "assessed_at": new Date(Date.now()),
            
        
    
        
        
            
                "sit_and_reach_score": 7.4,
            
        
    
        
        
            
                "shoulder_mobility_score": 8.68,
            
        
    
        
        
            
                "hip_flexor_score": 2.3,
            
        
    
        
        
            
                "hamstring_score": 5.24,
            
        
    
        
        
            
                "ankle_dorsiflexion_score": 0.89,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "assessed_at": new Date(Date.now()),
            
        
    
        
        
            
                "sit_and_reach_score": 5.97,
            
        
    
        
        
            
                "shoulder_mobility_score": 8.13,
            
        
    
        
        
            
                "hip_flexor_score": 5.28,
            
        
    
        
        
            
                "hamstring_score": 7.9,
            
        
    
        
        
            
                "ankle_dorsiflexion_score": 8.13,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "assessed_at": new Date(Date.now()),
            
        
    
        
        
            
                "sit_and_reach_score": 3.29,
            
        
    
        
        
            
                "shoulder_mobility_score": 1.17,
            
        
    
        
        
            
                "hip_flexor_score": 7.22,
            
        
    
        
        
            
                "hamstring_score": 2.06,
            
        
    
        
        
            
                "ankle_dorsiflexion_score": 6.89,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const FoodsData = [
    
    {
    
        
        
            
                "food_name": "Marie Curie",
            
        
    
        
        
            
                "brand": "Ada Lovelace",
            
        
    
        
        
            
                "barcode": "Marie Curie",
            
        
    
        
        
            
                "serving_size_g": 0.52,
            
        
    
        
        
            
                "calories": 4,
            
        
    
        
        
            
                "protein_g": 9.89,
            
        
    
        
        
            
                "carbs_g": 1.78,
            
        
    
        
        
            
                "sugars_g": 9.16,
            
        
    
        
        
            
                "fat_g": 8.37,
            
        
    
        
        
            
                "saturated_fat_g": 7.65,
            
        
    
        
        
            
                "fibre_g": 0.11,
            
        
    
        
        
            
                "sodium_mg": 1.89,
            
        
    
        
        
            
                "micronutrients_json": "Marie Curie",
            
        
    
        
        
            
                "fodmap_tag": "low_fodmap",
            
        
    
    },
    
    {
    
        
        
            
                "food_name": "Marie Curie",
            
        
    
        
        
            
                "brand": "Ada Lovelace",
            
        
    
        
        
            
                "barcode": "Alan Turing",
            
        
    
        
        
            
                "serving_size_g": 7.4,
            
        
    
        
        
            
                "calories": 1,
            
        
    
        
        
            
                "protein_g": 8.7,
            
        
    
        
        
            
                "carbs_g": 1.11,
            
        
    
        
        
            
                "sugars_g": 5.93,
            
        
    
        
        
            
                "fat_g": 5.28,
            
        
    
        
        
            
                "saturated_fat_g": 6.83,
            
        
    
        
        
            
                "fibre_g": 0.02,
            
        
    
        
        
            
                "sodium_mg": 3.02,
            
        
    
        
        
            
                "micronutrients_json": "Grace Hopper",
            
        
    
        
        
            
                "fodmap_tag": "low_fodmap",
            
        
    
    },
    
    {
    
        
        
            
                "food_name": "Marie Curie",
            
        
    
        
        
            
                "brand": "Ada Lovelace",
            
        
    
        
        
            
                "barcode": "Marie Curie",
            
        
    
        
        
            
                "serving_size_g": 1.07,
            
        
    
        
        
            
                "calories": 4,
            
        
    
        
        
            
                "protein_g": 7.26,
            
        
    
        
        
            
                "carbs_g": 1.37,
            
        
    
        
        
            
                "sugars_g": 3.97,
            
        
    
        
        
            
                "fat_g": 9.83,
            
        
    
        
        
            
                "saturated_fat_g": 3.42,
            
        
    
        
        
            
                "fibre_g": 9.71,
            
        
    
        
        
            
                "sodium_mg": 0.43,
            
        
    
        
        
            
                "micronutrients_json": "Ada Lovelace",
            
        
    
        
        
            
                "fodmap_tag": "unknown",
            
        
    
    },
    
];



const RecipesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "recipe_name": "Marie Curie",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "prep_time_minutes": 5,
            
        
    
        
        
            
                "cook_time_minutes": 4,
            
        
    
        
        
            
                "servings": 1,
            
        
    
        
        
            
                "difficulty": "intermediate",
            
        
    
        
        
            
                "tags_csv": "Grace Hopper",
            
        
    
        
        
            
                "ingredients_text": "Grace Hopper",
            
        
    
        
        
            
                "instructions_text": "Ada Lovelace",
            
        
    
        
        
            
                "nutrition_per_serving_json": "Alan Turing",
            
        
    
        
        
            
                "is_favourite": true,
            
        
    
        
        
            
                "rating": 9.17,
            
        
    
        
        
            
                "source_url": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "recipe_name": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "prep_time_minutes": 2,
            
        
    
        
        
            
                "cook_time_minutes": 7,
            
        
    
        
        
            
                "servings": 5,
            
        
    
        
        
            
                "difficulty": "intermediate",
            
        
    
        
        
            
                "tags_csv": "Grace Hopper",
            
        
    
        
        
            
                "ingredients_text": "Grace Hopper",
            
        
    
        
        
            
                "instructions_text": "Marie Curie",
            
        
    
        
        
            
                "nutrition_per_serving_json": "Grace Hopper",
            
        
    
        
        
            
                "is_favourite": true,
            
        
    
        
        
            
                "rating": 8.23,
            
        
    
        
        
            
                "source_url": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "recipe_name": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "prep_time_minutes": 3,
            
        
    
        
        
            
                "cook_time_minutes": 4,
            
        
    
        
        
            
                "servings": 9,
            
        
    
        
        
            
                "difficulty": "intermediate",
            
        
    
        
        
            
                "tags_csv": "Marie Curie",
            
        
    
        
        
            
                "ingredients_text": "Ada Lovelace",
            
        
    
        
        
            
                "instructions_text": "Alan Turing",
            
        
    
        
        
            
                "nutrition_per_serving_json": "Grace Hopper",
            
        
    
        
        
            
                "is_favourite": false,
            
        
    
        
        
            
                "rating": 2.89,
            
        
    
        
        
            
                "source_url": "Alan Turing",
            
        
    
    },
    
];



const RecipeCollectionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "collection_name": "Ada Lovelace",
            
        
    
        
        
            
                "description": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "relation_many" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "collection_name": "Alan Turing",
            
        
    
        
        
            
                "description": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "relation_many" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "collection_name": "Ada Lovelace",
            
        
    
        
        
            
                "description": "Alan Turing",
            
        
    
        
        
            
                // type code here for "relation_many" field
            
        
    
    },
    
];



const MealsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "meal_type": "evening_snack",
            
        
    
        
        
            
                "meal_title": "Marie Curie",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "meal_type": "dinner",
            
        
    
        
        
            
                "meal_title": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "meal_type": "afternoon_snack",
            
        
    
        
        
            
                "meal_title": "Alan Turing",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const MealItemsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "quantity": 7.66,
            
        
    
        
        
            
                "quantity_unit": "Ada Lovelace",
            
        
    
        
        
            
                "calories": 1,
            
        
    
        
        
            
                "protein_g": 7.58,
            
        
    
        
        
            
                "carbs_g": 9.79,
            
        
    
        
        
            
                "fat_g": 1.5,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "quantity": 3.23,
            
        
    
        
        
            
                "quantity_unit": "Grace Hopper",
            
        
    
        
        
            
                "calories": 3,
            
        
    
        
        
            
                "protein_g": 5.72,
            
        
    
        
        
            
                "carbs_g": 3.47,
            
        
    
        
        
            
                "fat_g": 5.93,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "quantity": 1.54,
            
        
    
        
        
            
                "quantity_unit": "Ada Lovelace",
            
        
    
        
        
            
                "calories": 1,
            
        
    
        
        
            
                "protein_g": 0.16,
            
        
    
        
        
            
                "carbs_g": 3.03,
            
        
    
        
        
            
                "fat_g": 1.17,
            
        
    
    },
    
];



const NutritionTargetsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "effective_from": new Date(Date.now()),
            
        
    
        
        
            
                "effective_to": new Date(Date.now()),
            
        
    
        
        
            
                "bmr": 2.15,
            
        
    
        
        
            
                "tdee": 5.82,
            
        
    
        
        
            
                "goal_mode": "maintenance",
            
        
    
        
        
            
                "calorie_target": 9,
            
        
    
        
        
            
                "protein_target_g": 9.26,
            
        
    
        
        
            
                "carb_target_g": 8.49,
            
        
    
        
        
            
                "fat_target_g": 9.57,
            
        
    
        
        
            
                "macro_preset_name": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "effective_from": new Date(Date.now()),
            
        
    
        
        
            
                "effective_to": new Date(Date.now()),
            
        
    
        
        
            
                "bmr": 8.05,
            
        
    
        
        
            
                "tdee": 3.28,
            
        
    
        
        
            
                "goal_mode": "maintenance",
            
        
    
        
        
            
                "calorie_target": 2,
            
        
    
        
        
            
                "protein_target_g": 8.49,
            
        
    
        
        
            
                "carb_target_g": 4.9,
            
        
    
        
        
            
                "fat_target_g": 8.38,
            
        
    
        
        
            
                "macro_preset_name": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "effective_from": new Date(Date.now()),
            
        
    
        
        
            
                "effective_to": new Date(Date.now()),
            
        
    
        
        
            
                "bmr": 0.99,
            
        
    
        
        
            
                "tdee": 4.71,
            
        
    
        
        
            
                "goal_mode": "surplus",
            
        
    
        
        
            
                "calorie_target": 4,
            
        
    
        
        
            
                "protein_target_g": 0.49,
            
        
    
        
        
            
                "carb_target_g": 0.72,
            
        
    
        
        
            
                "fat_target_g": 5.9,
            
        
    
        
        
            
                "macro_preset_name": "Grace Hopper",
            
        
    
    },
    
];



const MealPlansData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "week_start_date": new Date(Date.now()),
            
        
    
        
        
            
                "people_count": 6,
            
        
    
        
        
            
                "cooking_skill_level": "intermediate",
            
        
    
        
        
            
                "dietary_restrictions": "Alan Turing",
            
        
    
        
        
            
                "cuisine_preferences": "Marie Curie",
            
        
    
        
        
            
                "prep_time_minutes_per_day": 8,
            
        
    
        
        
            
                "target_calories_per_day": 8,
            
        
    
        
        
            
                "ai_plan_json": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "week_start_date": new Date(Date.now()),
            
        
    
        
        
            
                "people_count": 7,
            
        
    
        
        
            
                "cooking_skill_level": "beginner",
            
        
    
        
        
            
                "dietary_restrictions": "Alan Turing",
            
        
    
        
        
            
                "cuisine_preferences": "Alan Turing",
            
        
    
        
        
            
                "prep_time_minutes_per_day": 7,
            
        
    
        
        
            
                "target_calories_per_day": 5,
            
        
    
        
        
            
                "ai_plan_json": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "week_start_date": new Date(Date.now()),
            
        
    
        
        
            
                "people_count": 7,
            
        
    
        
        
            
                "cooking_skill_level": "intermediate",
            
        
    
        
        
            
                "dietary_restrictions": "Grace Hopper",
            
        
    
        
        
            
                "cuisine_preferences": "Marie Curie",
            
        
    
        
        
            
                "prep_time_minutes_per_day": 2,
            
        
    
        
        
            
                "target_calories_per_day": 4,
            
        
    
        
        
            
                "ai_plan_json": "Grace Hopper",
            
        
    
    },
    
];



const MealPlanItemsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "planned_for": new Date(Date.now()),
            
        
    
        
        
            
                "meal_type": "dinner",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "planned_for": new Date(Date.now()),
            
        
    
        
        
            
                "meal_type": "afternoon_snack",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "planned_for": new Date(Date.now()),
            
        
    
        
        
            
                "meal_type": "evening_snack",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const GroceryListsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "generated_at": new Date(Date.now()),
            
        
    
        
        
            
                "title": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "generated_at": new Date(Date.now()),
            
        
    
        
        
            
                "title": "Marie Curie",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "generated_at": new Date(Date.now()),
            
        
    
        
        
            
                "title": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const GroceryItemsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "item_name": "Alan Turing",
            
        
    
        
        
            
                "category": "Grace Hopper",
            
        
    
        
        
            
                "quantity": 6.21,
            
        
    
        
        
            
                "unit": "Alan Turing",
            
        
    
        
        
            
                "is_purchased": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "item_name": "Grace Hopper",
            
        
    
        
        
            
                "category": "Marie Curie",
            
        
    
        
        
            
                "quantity": 1.14,
            
        
    
        
        
            
                "unit": "Ada Lovelace",
            
        
    
        
        
            
                "is_purchased": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "item_name": "Alan Turing",
            
        
    
        
        
            
                "category": "Alan Turing",
            
        
    
        
        
            
                "quantity": 8.59,
            
        
    
        
        
            
                "unit": "Alan Turing",
            
        
    
        
        
            
                "is_purchased": true,
            
        
    
    },
    
];



const HydrationLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "beverage_type": "water",
            
        
    
        
        
            
                "volume_ml": 6,
            
        
    
        
        
            
                "counts_toward_hydration": false,
            
        
    
        
        
            
                "container_label": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "beverage_type": "sports_drink",
            
        
    
        
        
            
                "volume_ml": 5,
            
        
    
        
        
            
                "counts_toward_hydration": false,
            
        
    
        
        
            
                "container_label": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "beverage_type": "coffee",
            
        
    
        
        
            
                "volume_ml": 6,
            
        
    
        
        
            
                "counts_toward_hydration": true,
            
        
    
        
        
            
                "container_label": "Grace Hopper",
            
        
    
    },
    
];



const FastingSessionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "protocol": "12_12",
            
        
    
        
        
            
                "fast_start": new Date(Date.now()),
            
        
    
        
        
            
                "fast_end": new Date(Date.now()),
            
        
    
        
        
            
                "eating_window_start": new Date(Date.now()),
            
        
    
        
        
            
                "eating_window_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "protocol": "18_6",
            
        
    
        
        
            
                "fast_start": new Date(Date.now()),
            
        
    
        
        
            
                "fast_end": new Date(Date.now()),
            
        
    
        
        
            
                "eating_window_start": new Date(Date.now()),
            
        
    
        
        
            
                "eating_window_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "protocol": "12_12",
            
        
    
        
        
            
                "fast_start": new Date(Date.now()),
            
        
    
        
        
            
                "fast_end": new Date(Date.now()),
            
        
    
        
        
            
                "eating_window_start": new Date(Date.now()),
            
        
    
        
        
            
                "eating_window_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const KetoneGlucoseLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "measurement_type": "blood_glucose",
            
        
    
        
        
            
                "value": 5.61,
            
        
    
        
        
            
                "unit": "mmol_l",
            
        
    
        
        
            
                "context": "during_fast",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "measurement_type": "ketones",
            
        
    
        
        
            
                "value": 2.32,
            
        
    
        
        
            
                "unit": "mg_dl",
            
        
    
        
        
            
                "context": "post_meal_1hr",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "measurement_type": "ketones",
            
        
    
        
        
            
                "value": 4.64,
            
        
    
        
        
            
                "unit": "mg_dl",
            
        
    
        
        
            
                "context": "post_meal_1hr",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const BowelMovementsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "bristol_type": "6",
            
        
    
        
        
            
                "color": "red",
            
        
    
        
        
            
                "blood_present": false,
            
        
    
        
        
            
                "mucus_present": false,
            
        
    
        
        
            
                "associated_symptoms": "Marie Curie",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "bristol_type": "7",
            
        
    
        
        
            
                "color": "other",
            
        
    
        
        
            
                "blood_present": false,
            
        
    
        
        
            
                "mucus_present": false,
            
        
    
        
        
            
                "associated_symptoms": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "bristol_type": "2",
            
        
    
        
        
            
                "color": "light_brown",
            
        
    
        
        
            
                "blood_present": false,
            
        
    
        
        
            
                "mucus_present": false,
            
        
    
        
        
            
                "associated_symptoms": "Marie Curie",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const GutSymptomLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_type": "bloating",
            
        
    
        
        
            
                "severity": 9,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_type": "bloating",
            
        
    
        
        
            
                "severity": 7,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_type": "gas",
            
        
    
        
        
            
                "severity": 5,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const HealthMetricsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "measured_at": new Date(Date.now()),
            
        
    
        
        
            
                "metric_type": "cardiac_markers",
            
        
    
        
        
            
                "value_primary": 9.61,
            
        
    
        
        
            
                "value_secondary": 9.77,
            
        
    
        
        
            
                "unit": "Alan Turing",
            
        
    
        
        
            
                "panel_json": "Marie Curie",
            
        
    
        
        
            
                "device_used": "Ada Lovelace",
            
        
    
        
        
            
                "is_fasting": true,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "measured_at": new Date(Date.now()),
            
        
    
        
        
            
                "metric_type": "blood_glucose",
            
        
    
        
        
            
                "value_primary": 5.69,
            
        
    
        
        
            
                "value_secondary": 3.65,
            
        
    
        
        
            
                "unit": "Marie Curie",
            
        
    
        
        
            
                "panel_json": "Grace Hopper",
            
        
    
        
        
            
                "device_used": "Grace Hopper",
            
        
    
        
        
            
                "is_fasting": false,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "measured_at": new Date(Date.now()),
            
        
    
        
        
            
                "metric_type": "lung_function",
            
        
    
        
        
            
                "value_primary": 3.55,
            
        
    
        
        
            
                "value_secondary": 5.86,
            
        
    
        
        
            
                "unit": "Ada Lovelace",
            
        
    
        
        
            
                "panel_json": "Grace Hopper",
            
        
    
        
        
            
                "device_used": "Grace Hopper",
            
        
    
        
        
            
                "is_fasting": true,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const SymptomLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_name": "Ada Lovelace",
            
        
    
        
        
            
                "severity": 6,
            
        
    
        
        
            
                "body_area": "left_leg",
            
        
    
        
        
            
                "status": "resolved",
            
        
    
        
        
            
                "duration_minutes": 5,
            
        
    
        
        
            
                "triggers": "Alan Turing",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_name": "Grace Hopper",
            
        
    
        
        
            
                "severity": 4,
            
        
    
        
        
            
                "body_area": "pelvis_genital",
            
        
    
        
        
            
                "status": "ongoing",
            
        
    
        
        
            
                "duration_minutes": 7,
            
        
    
        
        
            
                "triggers": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_name": "Grace Hopper",
            
        
    
        
        
            
                "severity": 6,
            
        
    
        
        
            
                "body_area": "abdomen",
            
        
    
        
        
            
                "status": "resolved",
            
        
    
        
        
            
                "duration_minutes": 1,
            
        
    
        
        
            
                "triggers": "Marie Curie",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const MedicalAppointmentsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "appointment_start": new Date(Date.now()),
            
        
    
        
        
            
                "appointment_end": new Date(Date.now()),
            
        
    
        
        
            
                "appointment_type": "therapy",
            
        
    
        
        
            
                "clinic_location": "Grace Hopper",
            
        
    
        
        
            
                "notes_to_discuss": "Grace Hopper",
            
        
    
        
        
            
                "documents_to_bring": "Alan Turing",
            
        
    
        
        
            
                "post_appointment_notes": "Ada Lovelace",
            
        
    
        
        
            
                "follow_up_instructions": "Grace Hopper",
            
        
    
        
        
            
                "follow_up_reminder_at": new Date(Date.now()),
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "appointment_start": new Date(Date.now()),
            
        
    
        
        
            
                "appointment_end": new Date(Date.now()),
            
        
    
        
        
            
                "appointment_type": "dentist",
            
        
    
        
        
            
                "clinic_location": "Marie Curie",
            
        
    
        
        
            
                "notes_to_discuss": "Grace Hopper",
            
        
    
        
        
            
                "documents_to_bring": "Grace Hopper",
            
        
    
        
        
            
                "post_appointment_notes": "Alan Turing",
            
        
    
        
        
            
                "follow_up_instructions": "Marie Curie",
            
        
    
        
        
            
                "follow_up_reminder_at": new Date(Date.now()),
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "appointment_start": new Date(Date.now()),
            
        
    
        
        
            
                "appointment_end": new Date(Date.now()),
            
        
    
        
        
            
                "appointment_type": "specialist",
            
        
    
        
        
            
                "clinic_location": "Grace Hopper",
            
        
    
        
        
            
                "notes_to_discuss": "Grace Hopper",
            
        
    
        
        
            
                "documents_to_bring": "Alan Turing",
            
        
    
        
        
            
                "post_appointment_notes": "Ada Lovelace",
            
        
    
        
        
            
                "follow_up_instructions": "Alan Turing",
            
        
    
        
        
            
                "follow_up_reminder_at": new Date(Date.now()),
            
        
    
    },
    
];



const LabDocumentsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "document_date": new Date(Date.now()),
            
        
    
        
        
            
                "category": "other",
            
        
    
        
        
            
                "title": "Marie Curie",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "reviewed_with_doctor": false,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "document_date": new Date(Date.now()),
            
        
    
        
        
            
                "category": "other",
            
        
    
        
        
            
                "title": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "reviewed_with_doctor": true,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "document_date": new Date(Date.now()),
            
        
    
        
        
            
                "category": "doctor_letter",
            
        
    
        
        
            
                "title": "Alan Turing",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "reviewed_with_doctor": true,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const VaccinationsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "vaccine_name": "Marie Curie",
            
        
    
        
        
            
                "date_given": new Date(Date.now()),
            
        
    
        
        
            
                "dose_number": 5,
            
        
    
        
        
            
                "batch_number": "Marie Curie",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "booster_due_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "vaccine_name": "Marie Curie",
            
        
    
        
        
            
                "date_given": new Date(Date.now()),
            
        
    
        
        
            
                "dose_number": 3,
            
        
    
        
        
            
                "batch_number": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "booster_due_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "vaccine_name": "Grace Hopper",
            
        
    
        
        
            
                "date_given": new Date(Date.now()),
            
        
    
        
        
            
                "dose_number": 5,
            
        
    
        
        
            
                "batch_number": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "booster_due_date": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const AiChatThreadsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "thread_title": "Grace Hopper",
            
        
    
        
        
            
                "last_message_at": new Date(Date.now()),
            
        
    
        
        
            
                "pinned": true,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "thread_title": "Marie Curie",
            
        
    
        
        
            
                "last_message_at": new Date(Date.now()),
            
        
    
        
        
            
                "pinned": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "thread_title": "Marie Curie",
            
        
    
        
        
            
                "last_message_at": new Date(Date.now()),
            
        
    
        
        
            
                "pinned": true,
            
        
    
    },
    
];



const AiChatMessagesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sent_at": new Date(Date.now()),
            
        
    
        
        
            
                "sender": "user",
            
        
    
        
        
            
                "content": "Marie Curie",
            
        
    
        
        
            
                "feedback": "helpful",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sent_at": new Date(Date.now()),
            
        
    
        
        
            
                "sender": "assistant",
            
        
    
        
        
            
                "content": "Alan Turing",
            
        
    
        
        
            
                "feedback": "helpful",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sent_at": new Date(Date.now()),
            
        
    
        
        
            
                "sender": "assistant",
            
        
    
        
        
            
                "content": "Marie Curie",
            
        
    
        
        
            
                "feedback": "helpful",
            
        
    
    },
    
];



const AiGenerationsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "generation_type": "supplement_interaction_check",
            
        
    
        
        
            
                "generated_at": new Date(Date.now()),
            
        
    
        
        
            
                "prompt_context_json": "Ada Lovelace",
            
        
    
        
        
            
                "result_json": "Grace Hopper",
            
        
    
        
        
            
                "status_message": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "generation_type": "training_program",
            
        
    
        
        
            
                "generated_at": new Date(Date.now()),
            
        
    
        
        
            
                "prompt_context_json": "Ada Lovelace",
            
        
    
        
        
            
                "result_json": "Alan Turing",
            
        
    
        
        
            
                "status_message": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "generation_type": "supplement_recommendation",
            
        
    
        
        
            
                "generated_at": new Date(Date.now()),
            
        
    
        
        
            
                "prompt_context_json": "Alan Turing",
            
        
    
        
        
            
                "result_json": "Alan Turing",
            
        
    
        
        
            
                "status_message": "Ada Lovelace",
            
        
    
    },
    
];



const HabitsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "habit_name": "Grace Hopper",
            
        
    
        
        
            
                "icon_name": "Grace Hopper",
            
        
    
        
        
            
                "category": "health",
            
        
    
        
        
            
                "frequency_type": "every_x_days",
            
        
    
        
        
            
                "times_per_week": 4,
            
        
    
        
        
            
                "specific_days_csv": "Marie Curie",
            
        
    
        
        
            
                "every_x_days": 9,
            
        
    
        
        
            
                "target_count_per_day": 9,
            
        
    
        
        
            
                "target_duration_minutes": 4,
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "motivation": "Grace Hopper",
            
        
    
        
        
            
                "stacking_note": "Marie Curie",
            
        
    
        
        
            
                "is_active": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "habit_name": "Ada Lovelace",
            
        
    
        
        
            
                "icon_name": "Ada Lovelace",
            
        
    
        
        
            
                "category": "nutrition",
            
        
    
        
        
            
                "frequency_type": "times_per_week",
            
        
    
        
        
            
                "times_per_week": 7,
            
        
    
        
        
            
                "specific_days_csv": "Alan Turing",
            
        
    
        
        
            
                "every_x_days": 1,
            
        
    
        
        
            
                "target_count_per_day": 3,
            
        
    
        
        
            
                "target_duration_minutes": 4,
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "motivation": "Grace Hopper",
            
        
    
        
        
            
                "stacking_note": "Alan Turing",
            
        
    
        
        
            
                "is_active": false,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "habit_name": "Grace Hopper",
            
        
    
        
        
            
                "icon_name": "Marie Curie",
            
        
    
        
        
            
                "category": "medical",
            
        
    
        
        
            
                "frequency_type": "every_x_days",
            
        
    
        
        
            
                "times_per_week": 1,
            
        
    
        
        
            
                "specific_days_csv": "Grace Hopper",
            
        
    
        
        
            
                "every_x_days": 6,
            
        
    
        
        
            
                "target_count_per_day": 6,
            
        
    
        
        
            
                "target_duration_minutes": 1,
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "motivation": "Alan Turing",
            
        
    
        
        
            
                "stacking_note": "Marie Curie",
            
        
    
        
        
            
                "is_active": false,
            
        
    
    },
    
];



const HabitLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "count_completed": 4,
            
        
    
        
        
            
                "duration_minutes": 4,
            
        
    
        
        
            
                "is_completed": false,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "count_completed": 4,
            
        
    
        
        
            
                "duration_minutes": 4,
            
        
    
        
        
            
                "is_completed": true,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "count_completed": 2,
            
        
    
        
        
            
                "duration_minutes": 7,
            
        
    
        
        
            
                "is_completed": false,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const HabitChallengesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "challenge_name": "Marie Curie",
            
        
    
        
        
            
                "challenge_type": "custom",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "description": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "challenge_name": "Marie Curie",
            
        
    
        
        
            
                "challenge_type": "mindfulness",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "description": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "challenge_name": "Grace Hopper",
            
        
    
        
        
            
                "challenge_type": "better_sleep",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "end_date": new Date(Date.now()),
            
        
    
        
        
            
                "description": "Ada Lovelace",
            
        
    
    },
    
];



const LibraryArticlesData = [
    
    {
    
        
        
            
                "title": "Ada Lovelace",
            
        
    
        
        
            
                "category": "supplements",
            
        
    
        
        
            
                "tags_csv": "Alan Turing",
            
        
    
        
        
            
                "reading_time_minutes": 6,
            
        
    
        
        
            
                "difficulty_level": "beginner",
            
        
    
        
        
            
                "published_at": new Date(Date.now()),
            
        
    
        
        
            
                "updated_at_custom": new Date(Date.now()),
            
        
    
        
        
            
                "content": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                "title": "Marie Curie",
            
        
    
        
        
            
                "category": "medications",
            
        
    
        
        
            
                "tags_csv": "Marie Curie",
            
        
    
        
        
            
                "reading_time_minutes": 8,
            
        
    
        
        
            
                "difficulty_level": "intermediate",
            
        
    
        
        
            
                "published_at": new Date(Date.now()),
            
        
    
        
        
            
                "updated_at_custom": new Date(Date.now()),
            
        
    
        
        
            
                "content": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                "title": "Marie Curie",
            
        
    
        
        
            
                "category": "sleep_science",
            
        
    
        
        
            
                "tags_csv": "Ada Lovelace",
            
        
    
        
        
            
                "reading_time_minutes": 4,
            
        
    
        
        
            
                "difficulty_level": "intermediate",
            
        
    
        
        
            
                "published_at": new Date(Date.now()),
            
        
    
        
        
            
                "updated_at_custom": new Date(Date.now()),
            
        
    
        
        
            
                "content": "Grace Hopper",
            
        
    
    },
    
];



const SavedArticlesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "folder_name": "Grace Hopper",
            
        
    
        
        
            
                "saved_at": new Date(Date.now()),
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "folder_name": "Alan Turing",
            
        
    
        
        
            
                "saved_at": new Date(Date.now()),
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "folder_name": "Marie Curie",
            
        
    
        
        
            
                "saved_at": new Date(Date.now()),
            
        
    
    },
    
];



const GlossaryTermsData = [
    
    {
    
        
        
            
                "term": "Marie Curie",
            
        
    
        
        
            
                "definition": "Grace Hopper",
            
        
    
        
        
            
                "source_notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                "term": "Ada Lovelace",
            
        
    
        
        
            
                "definition": "Grace Hopper",
            
        
    
        
        
            
                "source_notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                "term": "Grace Hopper",
            
        
    
        
        
            
                "definition": "Ada Lovelace",
            
        
    
        
        
            
                "source_notes": "Marie Curie",
            
        
    
    },
    
];



const HealthVaultDocumentsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "document_name": "Grace Hopper",
            
        
    
        
        
            
                "document_date": new Date(Date.now()),
            
        
    
        
        
            
                "category": "pathology_report",
            
        
    
        
        
            
                "issuing_institution": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
        
        
            
                "shared": true,
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "document_name": "Ada Lovelace",
            
        
    
        
        
            
                "document_date": new Date(Date.now()),
            
        
    
        
        
            
                "category": "doctor_letter",
            
        
    
        
        
            
                "issuing_institution": "Marie Curie",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
        
        
            
                "shared": false,
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "document_name": "Ada Lovelace",
            
        
    
        
        
            
                "document_date": new Date(Date.now()),
            
        
    
        
        
            
                "category": "insurance",
            
        
    
        
        
            
                "issuing_institution": "Alan Turing",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
        
        
            
                "shared": false,
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
];



const EmergencyMedicalCardsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "full_name": "Alan Turing",
            
        
    
        
        
            
                "date_of_birth": new Date(Date.now()),
            
        
    
        
        
            
                "blood_type": "Alan Turing",
            
        
    
        
        
            
                "critical_allergies": "Ada Lovelace",
            
        
    
        
        
            
                "critical_conditions": "Grace Hopper",
            
        
    
        
        
            
                "critical_medications": "Grace Hopper",
            
        
    
        
        
            
                "emergency_contacts": "Marie Curie",
            
        
    
        
        
            
                "treating_doctor_contact": "Marie Curie",
            
        
    
        
        
            
                "organ_donor_status": "yes",
            
        
    
        
        
            
                "advance_directives_summary": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "full_name": "Ada Lovelace",
            
        
    
        
        
            
                "date_of_birth": new Date(Date.now()),
            
        
    
        
        
            
                "blood_type": "Alan Turing",
            
        
    
        
        
            
                "critical_allergies": "Ada Lovelace",
            
        
    
        
        
            
                "critical_conditions": "Ada Lovelace",
            
        
    
        
        
            
                "critical_medications": "Alan Turing",
            
        
    
        
        
            
                "emergency_contacts": "Alan Turing",
            
        
    
        
        
            
                "treating_doctor_contact": "Ada Lovelace",
            
        
    
        
        
            
                "organ_donor_status": "yes",
            
        
    
        
        
            
                "advance_directives_summary": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "full_name": "Alan Turing",
            
        
    
        
        
            
                "date_of_birth": new Date(Date.now()),
            
        
    
        
        
            
                "blood_type": "Ada Lovelace",
            
        
    
        
        
            
                "critical_allergies": "Grace Hopper",
            
        
    
        
        
            
                "critical_conditions": "Grace Hopper",
            
        
    
        
        
            
                "critical_medications": "Grace Hopper",
            
        
    
        
        
            
                "emergency_contacts": "Marie Curie",
            
        
    
        
        
            
                "treating_doctor_contact": "Ada Lovelace",
            
        
    
        
        
            
                "organ_donor_status": "specific_organs",
            
        
    
        
        
            
                "advance_directives_summary": "Grace Hopper",
            
        
    
    },
    
];



const AdvanceDirectivesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "directive_type": "healthcare_proxy",
            
        
    
        
        
            
                "summary": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "proxy_contact_details": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "directive_type": "power_of_attorney",
            
        
    
        
        
            
                "summary": "Alan Turing",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "proxy_contact_details": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "directive_type": "other",
            
        
    
        
        
            
                "summary": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "proxy_contact_details": "Alan Turing",
            
        
    
    },
    
];



const InsurancePoliciesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "provider_name": "Grace Hopper",
            
        
    
        
        
            
                "policy_number": "Marie Curie",
            
        
    
        
        
            
                "group_number": "Marie Curie",
            
        
    
        
        
            
                "coverage_type": "Marie Curie",
            
        
    
        
        
            
                "contact_phone": "Ada Lovelace",
            
        
    
        
        
            
                "claims_contact": "Alan Turing",
            
        
    
        
        
            
                "preauthorisation_notes": "Marie Curie",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "provider_name": "Grace Hopper",
            
        
    
        
        
            
                "policy_number": "Alan Turing",
            
        
    
        
        
            
                "group_number": "Grace Hopper",
            
        
    
        
        
            
                "coverage_type": "Grace Hopper",
            
        
    
        
        
            
                "contact_phone": "Alan Turing",
            
        
    
        
        
            
                "claims_contact": "Ada Lovelace",
            
        
    
        
        
            
                "preauthorisation_notes": "Alan Turing",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "provider_name": "Alan Turing",
            
        
    
        
        
            
                "policy_number": "Grace Hopper",
            
        
    
        
        
            
                "group_number": "Ada Lovelace",
            
        
    
        
        
            
                "coverage_type": "Marie Curie",
            
        
    
        
        
            
                "contact_phone": "Grace Hopper",
            
        
    
        
        
            
                "claims_contact": "Grace Hopper",
            
        
    
        
        
            
                "preauthorisation_notes": "Marie Curie",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
    },
    
];



const FamilyGroupsData = [
    
    {
    
        
        
            
                "group_name": "Grace Hopper",
            
        
    
        
        
            
                "invite_code": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                "group_name": "Ada Lovelace",
            
        
    
        
        
            
                "invite_code": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                "group_name": "Alan Turing",
            
        
    
        
        
            
                "invite_code": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const FamilyMembersData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "member_role": "dependent",
            
        
    
        
        
            
                "has_own_account": true,
            
        
    
        
        
            
                "display_name": "Alan Turing",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "member_role": "adult",
            
        
    
        
        
            
                "has_own_account": true,
            
        
    
        
        
            
                "display_name": "Alan Turing",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "member_role": "adult",
            
        
    
        
        
            
                "has_own_account": true,
            
        
    
        
        
            
                "display_name": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
    },
    
];



const SharingPermissionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "data_category": "symptoms",
            
        
    
        
        
            
                "access_level": "view_only",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "data_category": "nutrition",
            
        
    
        
        
            
                "access_level": "no_access",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "data_category": "profile",
            
        
    
        
        
            
                "access_level": "no_access",
            
        
    
    },
    
];



const MoodLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "mood_score": 1,
            
        
    
        
        
            
                "emotion_tags_csv": "Grace Hopper",
            
        
    
        
        
            
                "energy_level": 5,
            
        
    
        
        
            
                "anxiety_level": 3,
            
        
    
        
        
            
                "contributing_factors": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "journal_entry": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "mood_score": 3,
            
        
    
        
        
            
                "emotion_tags_csv": "Ada Lovelace",
            
        
    
        
        
            
                "energy_level": 1,
            
        
    
        
        
            
                "anxiety_level": 5,
            
        
    
        
        
            
                "contributing_factors": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "journal_entry": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "mood_score": 4,
            
        
    
        
        
            
                "emotion_tags_csv": "Grace Hopper",
            
        
    
        
        
            
                "energy_level": 9,
            
        
    
        
        
            
                "anxiety_level": 5,
            
        
    
        
        
            
                "contributing_factors": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "journal_entry": "Alan Turing",
            
        
    
    },
    
];



const MentalAssessmentsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "assessment_type": "pcl_5",
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score_total": 5,
            
        
    
        
        
            
                "responses_json": "Grace Hopper",
            
        
    
        
        
            
                "interpretation_notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "assessment_type": "audit",
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score_total": 5,
            
        
    
        
        
            
                "responses_json": "Marie Curie",
            
        
    
        
        
            
                "interpretation_notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "assessment_type": "moca",
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score_total": 6,
            
        
    
        
        
            
                "responses_json": "Grace Hopper",
            
        
    
        
        
            
                "interpretation_notes": "Grace Hopper",
            
        
    
    },
    
];



const JournalEntriesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "entry_date": new Date(Date.now()),
            
        
    
        
        
            
                "title": "Grace Hopper",
            
        
    
        
        
            
                "content": "Ada Lovelace",
            
        
    
        
        
            
                "encryption_status": "plain",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "entry_date": new Date(Date.now()),
            
        
    
        
        
            
                "title": "Ada Lovelace",
            
        
    
        
        
            
                "content": "Grace Hopper",
            
        
    
        
        
            
                "encryption_status": "encrypted",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "entry_date": new Date(Date.now()),
            
        
    
        
        
            
                "title": "Grace Hopper",
            
        
    
        
        
            
                "content": "Ada Lovelace",
            
        
    
        
        
            
                "encryption_status": "encrypted",
            
        
    
    },
    
];



const BreathingSessionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "technique": "diaphragmatic",
            
        
    
        
        
            
                "duration_minutes": 4,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "technique": "alternate_nostril",
            
        
    
        
        
            
                "duration_minutes": 6,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "technique": "alternate_nostril",
            
        
    
        
        
            
                "duration_minutes": 8,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const StressLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "stress_level": 3,
            
        
    
        
        
            
                "stressor": "Marie Curie",
            
        
    
        
        
            
                "physical_symptoms": "Ada Lovelace",
            
        
    
        
        
            
                "coping_strategy_used": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "stress_level": 7,
            
        
    
        
        
            
                "stressor": "Ada Lovelace",
            
        
    
        
        
            
                "physical_symptoms": "Marie Curie",
            
        
    
        
        
            
                "coping_strategy_used": "Alan Turing",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "stress_level": 6,
            
        
    
        
        
            
                "stressor": "Marie Curie",
            
        
    
        
        
            
                "physical_symptoms": "Marie Curie",
            
        
    
        
        
            
                "coping_strategy_used": "Marie Curie",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const CognitiveTestsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_type": "trail_making",
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score": 0.59,
            
        
    
        
        
            
                "duration_seconds": 2,
            
        
    
        
        
            
                "details_json": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_type": "reaction_time",
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score": 8.93,
            
        
    
        
        
            
                "duration_seconds": 6,
            
        
    
        
        
            
                "details_json": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_type": "n_back",
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score": 6.54,
            
        
    
        
        
            
                "duration_seconds": 1,
            
        
    
        
        
            
                "details_json": "Grace Hopper",
            
        
    
    },
    
];



const SleepLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "bedtime": new Date(Date.now()),
            
        
    
        
        
            
                "sleep_onset_time": new Date(Date.now()),
            
        
    
        
        
            
                "awakenings_count": 5,
            
        
    
        
        
            
                "final_wake_time": new Date(Date.now()),
            
        
    
        
        
            
                "out_of_bed_time": new Date(Date.now()),
            
        
    
        
        
            
                "total_sleep_minutes": 3,
            
        
    
        
        
            
                "sleep_quality": 7,
            
        
    
        
        
            
                "dream_recall": false,
            
        
    
        
        
            
                "dream_notes": "Grace Hopper",
            
        
    
        
        
            
                "morning_energy": 4,
            
        
    
        
        
            
                "sleep_aids_used": "Alan Turing",
            
        
    
        
        
            
                "disturbances": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "bedtime": new Date(Date.now()),
            
        
    
        
        
            
                "sleep_onset_time": new Date(Date.now()),
            
        
    
        
        
            
                "awakenings_count": 1,
            
        
    
        
        
            
                "final_wake_time": new Date(Date.now()),
            
        
    
        
        
            
                "out_of_bed_time": new Date(Date.now()),
            
        
    
        
        
            
                "total_sleep_minutes": 2,
            
        
    
        
        
            
                "sleep_quality": 7,
            
        
    
        
        
            
                "dream_recall": false,
            
        
    
        
        
            
                "dream_notes": "Marie Curie",
            
        
    
        
        
            
                "morning_energy": 2,
            
        
    
        
        
            
                "sleep_aids_used": "Ada Lovelace",
            
        
    
        
        
            
                "disturbances": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "bedtime": new Date(Date.now()),
            
        
    
        
        
            
                "sleep_onset_time": new Date(Date.now()),
            
        
    
        
        
            
                "awakenings_count": 4,
            
        
    
        
        
            
                "final_wake_time": new Date(Date.now()),
            
        
    
        
        
            
                "out_of_bed_time": new Date(Date.now()),
            
        
    
        
        
            
                "total_sleep_minutes": 5,
            
        
    
        
        
            
                "sleep_quality": 2,
            
        
    
        
        
            
                "dream_recall": false,
            
        
    
        
        
            
                "dream_notes": "Grace Hopper",
            
        
    
        
        
            
                "morning_energy": 6,
            
        
    
        
        
            
                "sleep_aids_used": "Alan Turing",
            
        
    
        
        
            
                "disturbances": "Ada Lovelace",
            
        
    
    },
    
];



const SleepEnvironmentLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "temperature_c": 6.08,
            
        
    
        
        
            
                "noise_level": 1,
            
        
    
        
        
            
                "light_level": 9,
            
        
    
        
        
            
                "bedding_comfort": 3,
            
        
    
        
        
            
                "screen_time_before_bed_minutes": 6,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "temperature_c": 1.49,
            
        
    
        
        
            
                "noise_level": 2,
            
        
    
        
        
            
                "light_level": 7,
            
        
    
        
        
            
                "bedding_comfort": 2,
            
        
    
        
        
            
                "screen_time_before_bed_minutes": 9,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "temperature_c": 8.18,
            
        
    
        
        
            
                "noise_level": 6,
            
        
    
        
        
            
                "light_level": 1,
            
        
    
        
        
            
                "bedding_comfort": 3,
            
        
    
        
        
            
                "screen_time_before_bed_minutes": 6,
            
        
    
    },
    
];



const NapLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "nap_start": new Date(Date.now()),
            
        
    
        
        
            
                "nap_end": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 1,
            
        
    
        
        
            
                "quality": 7,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "nap_start": new Date(Date.now()),
            
        
    
        
        
            
                "nap_end": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 2,
            
        
    
        
        
            
                "quality": 6,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "nap_start": new Date(Date.now()),
            
        
    
        
        
            
                "nap_end": new Date(Date.now()),
            
        
    
        
        
            
                "duration_minutes": 4,
            
        
    
        
        
            
                "quality": 3,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const MenstrualCyclesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "period_start": new Date(Date.now()),
            
        
    
        
        
            
                "period_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
        
        
            
                "breakthrough_bleeding": true,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "period_start": new Date(Date.now()),
            
        
    
        
        
            
                "period_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
        
        
            
                "breakthrough_bleeding": true,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "period_start": new Date(Date.now()),
            
        
    
        
        
            
                "period_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
        
        
            
                "breakthrough_bleeding": false,
            
        
    
    },
    
];



const MenstrualDayLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "log_date": new Date(Date.now()),
            
        
    
        
        
            
                "flow_intensity": "light",
            
        
    
        
        
            
                "cramping": 8,
            
        
    
        
        
            
                "bloating": 4,
            
        
    
        
        
            
                "acne": true,
            
        
    
        
        
            
                "breast_tenderness": false,
            
        
    
        
        
            
                "headache": false,
            
        
    
        
        
            
                "fatigue": false,
            
        
    
        
        
            
                "food_cravings": false,
            
        
    
        
        
            
                "lower_back_pain": false,
            
        
    
        
        
            
                "clotting": true,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "log_date": new Date(Date.now()),
            
        
    
        
        
            
                "flow_intensity": "heavy",
            
        
    
        
        
            
                "cramping": 7,
            
        
    
        
        
            
                "bloating": 9,
            
        
    
        
        
            
                "acne": false,
            
        
    
        
        
            
                "breast_tenderness": false,
            
        
    
        
        
            
                "headache": true,
            
        
    
        
        
            
                "fatigue": false,
            
        
    
        
        
            
                "food_cravings": true,
            
        
    
        
        
            
                "lower_back_pain": false,
            
        
    
        
        
            
                "clotting": true,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "log_date": new Date(Date.now()),
            
        
    
        
        
            
                "flow_intensity": "light",
            
        
    
        
        
            
                "cramping": 3,
            
        
    
        
        
            
                "bloating": 7,
            
        
    
        
        
            
                "acne": false,
            
        
    
        
        
            
                "breast_tenderness": true,
            
        
    
        
        
            
                "headache": false,
            
        
    
        
        
            
                "fatigue": false,
            
        
    
        
        
            
                "food_cravings": true,
            
        
    
        
        
            
                "lower_back_pain": false,
            
        
    
        
        
            
                "clotting": false,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const FertilityLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "bbt_c": 0.79,
            
        
    
        
        
            
                "cervical_mucus": "creamy",
            
        
    
        
        
            
                "lh_test_result": "not_tested",
            
        
    
        
        
            
                "cervical_position_height": "medium",
            
        
    
        
        
            
                "cervical_position_firmness": "firm",
            
        
    
        
        
            
                "cervical_position_openness": "open",
            
        
    
        
        
            
                "mode": "ttc",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "bbt_c": 9.65,
            
        
    
        
        
            
                "cervical_mucus": "sticky",
            
        
    
        
        
            
                "lh_test_result": "positive",
            
        
    
        
        
            
                "cervical_position_height": "high",
            
        
    
        
        
            
                "cervical_position_firmness": "medium",
            
        
    
        
        
            
                "cervical_position_openness": "closed",
            
        
    
        
        
            
                "mode": "ttc",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "bbt_c": 6.61,
            
        
    
        
        
            
                "cervical_mucus": "sticky",
            
        
    
        
        
            
                "lh_test_result": "negative",
            
        
    
        
        
            
                "cervical_position_height": "unknown",
            
        
    
        
        
            
                "cervical_position_firmness": "unknown",
            
        
    
        
        
            
                "cervical_position_openness": "unknown",
            
        
    
        
        
            
                "mode": "ttc",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const PregnanciesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "last_menstrual_period_date": new Date(Date.now()),
            
        
    
        
        
            
                "conception_date": new Date(Date.now()),
            
        
    
        
        
            
                "due_date": new Date(Date.now()),
            
        
    
        
        
            
                "delivery_date": new Date(Date.now()),
            
        
    
        
        
            
                "status": "postpartum",
            
        
    
        
        
            
                "birth_plan": "Alan Turing",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "last_menstrual_period_date": new Date(Date.now()),
            
        
    
        
        
            
                "conception_date": new Date(Date.now()),
            
        
    
        
        
            
                "due_date": new Date(Date.now()),
            
        
    
        
        
            
                "delivery_date": new Date(Date.now()),
            
        
    
        
        
            
                "status": "postpartum",
            
        
    
        
        
            
                "birth_plan": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "last_menstrual_period_date": new Date(Date.now()),
            
        
    
        
        
            
                "conception_date": new Date(Date.now()),
            
        
    
        
        
            
                "due_date": new Date(Date.now()),
            
        
    
        
        
            
                "delivery_date": new Date(Date.now()),
            
        
    
        
        
            
                "status": "pregnant",
            
        
    
        
        
            
                "birth_plan": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const PregnancySymptomLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "nausea": 3,
            
        
    
        
        
            
                "vomiting": 1,
            
        
    
        
        
            
                "fatigue": 3,
            
        
    
        
        
            
                "heartburn": 9,
            
        
    
        
        
            
                "swelling": 3,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "nausea": 4,
            
        
    
        
        
            
                "vomiting": 1,
            
        
    
        
        
            
                "fatigue": 8,
            
        
    
        
        
            
                "heartburn": 2,
            
        
    
        
        
            
                "swelling": 8,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "nausea": 3,
            
        
    
        
        
            
                "vomiting": 1,
            
        
    
        
        
            
                "fatigue": 3,
            
        
    
        
        
            
                "heartburn": 5,
            
        
    
        
        
            
                "swelling": 5,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const BreastfeedingLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "side": "right",
            
        
    
        
        
            
                "duration_minutes": 6,
            
        
    
        
        
            
                "latch_notes": "Grace Hopper",
            
        
    
        
        
            
                "production_notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "side": "left",
            
        
    
        
        
            
                "duration_minutes": 7,
            
        
    
        
        
            
                "latch_notes": "Marie Curie",
            
        
    
        
        
            
                "production_notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "side": "left",
            
        
    
        
        
            
                "duration_minutes": 9,
            
        
    
        
        
            
                "latch_notes": "Alan Turing",
            
        
    
        
        
            
                "production_notes": "Grace Hopper",
            
        
    
    },
    
];



const FormulaFeedingLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "fed_at": new Date(Date.now()),
            
        
    
        
        
            
                "volume_ml": 6,
            
        
    
        
        
            
                "formula_brand": "Alan Turing",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "fed_at": new Date(Date.now()),
            
        
    
        
        
            
                "volume_ml": 2,
            
        
    
        
        
            
                "formula_brand": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "fed_at": new Date(Date.now()),
            
        
    
        
        
            
                "volume_ml": 1,
            
        
    
        
        
            
                "formula_brand": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const BabyMetricsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "measured_at": new Date(Date.now()),
            
        
    
        
        
            
                "weight_kg": 8.07,
            
        
    
        
        
            
                "length_cm": 2.8,
            
        
    
        
        
            
                "head_circumference_cm": 3.35,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "measured_at": new Date(Date.now()),
            
        
    
        
        
            
                "weight_kg": 8.06,
            
        
    
        
        
            
                "length_cm": 6.82,
            
        
    
        
        
            
                "head_circumference_cm": 0.86,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "measured_at": new Date(Date.now()),
            
        
    
        
        
            
                "weight_kg": 2.51,
            
        
    
        
        
            
                "length_cm": 7.45,
            
        
    
        
        
            
                "head_circumference_cm": 8.51,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const EpdsAssessmentsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score_total": 7,
            
        
    
        
        
            
                "responses_json": "Marie Curie",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score_total": 5,
            
        
    
        
        
            
                "responses_json": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "taken_at": new Date(Date.now()),
            
        
    
        
        
            
                "score_total": 4,
            
        
    
        
        
            
                "responses_json": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const KickCountsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "session_start": new Date(Date.now()),
            
        
    
        
        
            
                "session_end": new Date(Date.now()),
            
        
    
        
        
            
                "kicks_count": 3,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "session_start": new Date(Date.now()),
            
        
    
        
        
            
                "session_end": new Date(Date.now()),
            
        
    
        
        
            
                "kicks_count": 3,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "session_start": new Date(Date.now()),
            
        
    
        
        
            
                "session_end": new Date(Date.now()),
            
        
    
        
        
            
                "kicks_count": 9,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const ContractionSessionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "labour_start": new Date(Date.now()),
            
        
    
        
        
            
                "labour_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "labour_start": new Date(Date.now()),
            
        
    
        
        
            
                "labour_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "labour_start": new Date(Date.now()),
            
        
    
        
        
            
                "labour_end": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const ContractionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "contraction_start": new Date(Date.now()),
            
        
    
        
        
            
                "contraction_end": new Date(Date.now()),
            
        
    
        
        
            
                "duration_seconds": 9,
            
        
    
        
        
            
                "interval_seconds": 6,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "contraction_start": new Date(Date.now()),
            
        
    
        
        
            
                "contraction_end": new Date(Date.now()),
            
        
    
        
        
            
                "duration_seconds": 1,
            
        
    
        
        
            
                "interval_seconds": 7,
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "contraction_start": new Date(Date.now()),
            
        
    
        
        
            
                "contraction_end": new Date(Date.now()),
            
        
    
        
        
            
                "duration_seconds": 9,
            
        
    
        
        
            
                "interval_seconds": 9,
            
        
    
    },
    
];



const MenopauseSymptomLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "hot_flush_severity": 3,
            
        
    
        
        
            
                "hot_flush_duration_minutes": 4,
            
        
    
        
        
            
                "night_sweats": false,
            
        
    
        
        
            
                "vaginal_dryness": true,
            
        
    
        
        
            
                "brain_fog": true,
            
        
    
        
        
            
                "sleep_disturbance": false,
            
        
    
        
        
            
                "joint_pain": true,
            
        
    
        
        
            
                "palpitations": false,
            
        
    
        
        
            
                "headaches": true,
            
        
    
        
        
            
                "urinary_symptoms": false,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "hot_flush_severity": 9,
            
        
    
        
        
            
                "hot_flush_duration_minutes": 6,
            
        
    
        
        
            
                "night_sweats": false,
            
        
    
        
        
            
                "vaginal_dryness": false,
            
        
    
        
        
            
                "brain_fog": false,
            
        
    
        
        
            
                "sleep_disturbance": false,
            
        
    
        
        
            
                "joint_pain": true,
            
        
    
        
        
            
                "palpitations": false,
            
        
    
        
        
            
                "headaches": false,
            
        
    
        
        
            
                "urinary_symptoms": true,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "hot_flush_severity": 4,
            
        
    
        
        
            
                "hot_flush_duration_minutes": 4,
            
        
    
        
        
            
                "night_sweats": false,
            
        
    
        
        
            
                "vaginal_dryness": true,
            
        
    
        
        
            
                "brain_fog": true,
            
        
    
        
        
            
                "sleep_disturbance": false,
            
        
    
        
        
            
                "joint_pain": true,
            
        
    
        
        
            
                "palpitations": false,
            
        
    
        
        
            
                "headaches": true,
            
        
    
        
        
            
                "urinary_symptoms": false,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const MaleReproductiveLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "psa": 2.09,
            
        
    
        
        
            
                "ipss_responses_json": "Marie Curie",
            
        
    
        
        
            
                "ipss_score": 4,
            
        
    
        
        
            
                "iief5_responses_json": "Ada Lovelace",
            
        
    
        
        
            
                "iief5_score": 8,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "psa": 7.81,
            
        
    
        
        
            
                "ipss_responses_json": "Marie Curie",
            
        
    
        
        
            
                "ipss_score": 4,
            
        
    
        
        
            
                "iief5_responses_json": "Grace Hopper",
            
        
    
        
        
            
                "iief5_score": 2,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "psa": 6.02,
            
        
    
        
        
            
                "ipss_responses_json": "Alan Turing",
            
        
    
        
        
            
                "ipss_score": 8,
            
        
    
        
        
            
                "iief5_responses_json": "Marie Curie",
            
        
    
        
        
            
                "iief5_score": 4,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const SemenAnalysesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_date": new Date(Date.now()),
            
        
    
        
        
            
                "volume_ml": 7.58,
            
        
    
        
        
            
                "concentration_million_per_ml": 7.13,
            
        
    
        
        
            
                "motility_percent": 8.79,
            
        
    
        
        
            
                "morphology_percent": 8.66,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_date": new Date(Date.now()),
            
        
    
        
        
            
                "volume_ml": 0.28,
            
        
    
        
        
            
                "concentration_million_per_ml": 8.1,
            
        
    
        
        
            
                "motility_percent": 1.02,
            
        
    
        
        
            
                "morphology_percent": 5.9,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_date": new Date(Date.now()),
            
        
    
        
        
            
                "volume_ml": 2.37,
            
        
    
        
        
            
                "concentration_million_per_ml": 4.73,
            
        
    
        
        
            
                "motility_percent": 0.77,
            
        
    
        
        
            
                "morphology_percent": 8.18,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const StiTestsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "tested_at": new Date(Date.now()),
            
        
    
        
        
            
                "tests_performed": "Alan Turing",
            
        
    
        
        
            
                "result_status": "inconclusive",
            
        
    
        
        
            
                "results_notes": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "next_recommended_test_date": new Date(Date.now()),
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "tested_at": new Date(Date.now()),
            
        
    
        
        
            
                "tests_performed": "Grace Hopper",
            
        
    
        
        
            
                "result_status": "inconclusive",
            
        
    
        
        
            
                "results_notes": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "next_recommended_test_date": new Date(Date.now()),
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "tested_at": new Date(Date.now()),
            
        
    
        
        
            
                "tests_performed": "Ada Lovelace",
            
        
    
        
        
            
                "result_status": "pending",
            
        
    
        
        
            
                "results_notes": "Marie Curie",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "next_recommended_test_date": new Date(Date.now()),
            
        
    
    },
    
];



const ContraceptionLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "method": "iud",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "renewal_due_date": new Date(Date.now()),
            
        
    
        
        
            
                "daily_reminder_enabled": false,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "method": "fertility_awareness",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "renewal_due_date": new Date(Date.now()),
            
        
    
        
        
            
                "daily_reminder_enabled": false,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "method": "injection",
            
        
    
        
        
            
                "start_date": new Date(Date.now()),
            
        
    
        
        
            
                "renewal_due_date": new Date(Date.now()),
            
        
    
        
        
            
                "daily_reminder_enabled": true,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const LibidoLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "libido_score": 6,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "libido_score": 5,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "libido_score": 3,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const SexualActivityLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
        
        
            
                "protection_used": "yes",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
        
        
            
                "protection_used": "unknown",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
        
        
            
                "protection_used": "yes",
            
        
    
    },
    
];



const SkinCareLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "routine_time": "evening",
            
        
    
        
        
            
                "products_used": "Grace Hopper",
            
        
    
        
        
            
                "oiliness": 8,
            
        
    
        
        
            
                "dryness": 7,
            
        
    
        
        
            
                "redness": 5,
            
        
    
        
        
            
                "breakout_locations": "Grace Hopper",
            
        
    
        
        
            
                "sensitivity": 6,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "routine_time": "evening",
            
        
    
        
        
            
                "products_used": "Grace Hopper",
            
        
    
        
        
            
                "oiliness": 4,
            
        
    
        
        
            
                "dryness": 8,
            
        
    
        
        
            
                "redness": 4,
            
        
    
        
        
            
                "breakout_locations": "Marie Curie",
            
        
    
        
        
            
                "sensitivity": 4,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "routine_time": "evening",
            
        
    
        
        
            
                "products_used": "Grace Hopper",
            
        
    
        
        
            
                "oiliness": 3,
            
        
    
        
        
            
                "dryness": 4,
            
        
    
        
        
            
                "redness": 4,
            
        
    
        
        
            
                "breakout_locations": "Marie Curie",
            
        
    
        
        
            
                "sensitivity": 5,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const SunExposureLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "uv_index": 2,
            
        
    
        
        
            
                "time_outdoors_minutes": 1,
            
        
    
        
        
            
                "spf_used": 2,
            
        
    
        
        
            
                "coverage_level": "unknown",
            
        
    
        
        
            
                "vitamin_d_estimate_iu": 2.1,
            
        
    
        
        
            
                "sunburn_occurred": false,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "uv_index": 5,
            
        
    
        
        
            
                "time_outdoors_minutes": 3,
            
        
    
        
        
            
                "spf_used": 5,
            
        
    
        
        
            
                "coverage_level": "covered",
            
        
    
        
        
            
                "vitamin_d_estimate_iu": 6.48,
            
        
    
        
        
            
                "sunburn_occurred": true,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "started_at": new Date(Date.now()),
            
        
    
        
        
            
                "ended_at": new Date(Date.now()),
            
        
    
        
        
            
                "uv_index": 9,
            
        
    
        
        
            
                "time_outdoors_minutes": 9,
            
        
    
        
        
            
                "spf_used": 7,
            
        
    
        
        
            
                "coverage_level": "partly_covered",
            
        
    
        
        
            
                "vitamin_d_estimate_iu": 4.12,
            
        
    
        
        
            
                "sunburn_occurred": true,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const MoleLesionLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "lesion_name": "Ada Lovelace",
            
        
    
        
        
            
                "body_location": "head_neck",
            
        
    
        
        
            
                "photo_date": new Date(Date.now()),
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "monitoring_interval": "6_months",
            
        
    
        
        
            
                "next_check_due": new Date(Date.now()),
            
        
    
        
        
            
                "abcde_notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "lesion_name": "Alan Turing",
            
        
    
        
        
            
                "body_location": "back",
            
        
    
        
        
            
                "photo_date": new Date(Date.now()),
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "monitoring_interval": "3_months",
            
        
    
        
        
            
                "next_check_due": new Date(Date.now()),
            
        
    
        
        
            
                "abcde_notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "lesion_name": "Alan Turing",
            
        
    
        
        
            
                "body_location": "left_arm",
            
        
    
        
        
            
                "photo_date": new Date(Date.now()),
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "monitoring_interval": "3_months",
            
        
    
        
        
            
                "next_check_due": new Date(Date.now()),
            
        
    
        
        
            
                "abcde_notes": "Grace Hopper",
            
        
    
    },
    
];



const OralHygieneLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "log_date": new Date(Date.now()),
            
        
    
        
        
            
                "brushed_morning": true,
            
        
    
        
        
            
                "brushed_night": true,
            
        
    
        
        
            
                "flossed": true,
            
        
    
        
        
            
                "mouthwash": false,
            
        
    
        
        
            
                "tongue_scraped": false,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "log_date": new Date(Date.now()),
            
        
    
        
        
            
                "brushed_morning": true,
            
        
    
        
        
            
                "brushed_night": true,
            
        
    
        
        
            
                "flossed": true,
            
        
    
        
        
            
                "mouthwash": false,
            
        
    
        
        
            
                "tongue_scraped": false,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "log_date": new Date(Date.now()),
            
        
    
        
        
            
                "brushed_morning": false,
            
        
    
        
        
            
                "brushed_night": true,
            
        
    
        
        
            
                "flossed": true,
            
        
    
        
        
            
                "mouthwash": true,
            
        
    
        
        
            
                "tongue_scraped": false,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const DentalRecordsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "tooth_chart_json": "Alan Turing",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "tooth_chart_json": "Marie Curie",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "tooth_chart_json": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const DentalSymptomsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "tooth_identifier": "Alan Turing",
            
        
    
        
        
            
                "symptom_type": "mouth_ulcer",
            
        
    
        
        
            
                "severity": 2,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "tooth_identifier": "Ada Lovelace",
            
        
    
        
        
            
                "symptom_type": "tooth_pain",
            
        
    
        
        
            
                "severity": 7,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "tooth_identifier": "Alan Turing",
            
        
    
        
        
            
                "symptom_type": "other",
            
        
    
        
        
            
                "severity": 3,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
];



const VisionPrescriptionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "prescription_date": new Date(Date.now()),
            
        
    
        
        
            
                "right_sphere": 2.84,
            
        
    
        
        
            
                "right_cylinder": 7.46,
            
        
    
        
        
            
                "right_axis": 6,
            
        
    
        
        
            
                "left_sphere": 4.92,
            
        
    
        
        
            
                "left_cylinder": 0.67,
            
        
    
        
        
            
                "left_axis": 3,
            
        
    
        
        
            
                "add_power": 8.42,
            
        
    
        
        
            
                "pupillary_distance_mm": 2.19,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "prescription_date": new Date(Date.now()),
            
        
    
        
        
            
                "right_sphere": 2.4,
            
        
    
        
        
            
                "right_cylinder": 5.0,
            
        
    
        
        
            
                "right_axis": 5,
            
        
    
        
        
            
                "left_sphere": 6.49,
            
        
    
        
        
            
                "left_cylinder": 9.63,
            
        
    
        
        
            
                "left_axis": 9,
            
        
    
        
        
            
                "add_power": 4.78,
            
        
    
        
        
            
                "pupillary_distance_mm": 0.95,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "prescription_date": new Date(Date.now()),
            
        
    
        
        
            
                "right_sphere": 2.36,
            
        
    
        
        
            
                "right_cylinder": 7.23,
            
        
    
        
        
            
                "right_axis": 4,
            
        
    
        
        
            
                "left_sphere": 2.13,
            
        
    
        
        
            
                "left_cylinder": 5.77,
            
        
    
        
        
            
                "left_axis": 5,
            
        
    
        
        
            
                "add_power": 9.39,
            
        
    
        
        
            
                "pupillary_distance_mm": 4.55,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const EyeSymptomLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_type": "dry_eyes",
            
        
    
        
        
            
                "severity": 5,
            
        
    
        
        
            
                "screen_time_minutes": 1,
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_type": "other",
            
        
    
        
        
            
                "severity": 2,
            
        
    
        
        
            
                "screen_time_minutes": 8,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "symptom_type": "flashes",
            
        
    
        
        
            
                "severity": 1,
            
        
    
        
        
            
                "screen_time_minutes": 9,
            
        
    
        
        
            
                "notes": "Marie Curie",
            
        
    
    },
    
];



const HearingTestLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_date": new Date(Date.now()),
            
        
    
        
        
            
                "audiogram_json": "Ada Lovelace",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_date": new Date(Date.now()),
            
        
    
        
        
            
                "audiogram_json": "Marie Curie",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "test_date": new Date(Date.now()),
            
        
    
        
        
            
                "audiogram_json": "Grace Hopper",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const TinnitusLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "severity": 9,
            
        
    
        
        
            
                "pitch_description": "Marie Curie",
            
        
    
        
        
            
                "triggers": "Marie Curie",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "severity": 4,
            
        
    
        
        
            
                "pitch_description": "Grace Hopper",
            
        
    
        
        
            
                "triggers": "Alan Turing",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "severity": 7,
            
        
    
        
        
            
                "pitch_description": "Grace Hopper",
            
        
    
        
        
            
                "triggers": "Alan Turing",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
];



const NoiseExposureLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "exposure_source": "firearms",
            
        
    
        
        
            
                "estimated_loudness": 6,
            
        
    
        
        
            
                "hearing_protection_used": true,
            
        
    
        
        
            
                "duration_minutes": 8,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "exposure_source": "firearms",
            
        
    
        
        
            
                "estimated_loudness": 1,
            
        
    
        
        
            
                "hearing_protection_used": true,
            
        
    
        
        
            
                "duration_minutes": 9,
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "occurred_at": new Date(Date.now()),
            
        
    
        
        
            
                "exposure_source": "traffic",
            
        
    
        
        
            
                "estimated_loudness": 4,
            
        
    
        
        
            
                "hearing_protection_used": true,
            
        
    
        
        
            
                "duration_minutes": 9,
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const PainLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "body_location": "left_knee",
            
        
    
        
        
            
                "pain_type": "throbbing",
            
        
    
        
        
            
                "severity": 3,
            
        
    
        
        
            
                "duration_type": "intermittent",
            
        
    
        
        
            
                "better_with": "Marie Curie",
            
        
    
        
        
            
                "worse_with": "Grace Hopper",
            
        
    
        
        
            
                "impact_level": "significant_limitation",
            
        
    
        
        
            
                "medications_taken": "Grace Hopper",
            
        
    
        
        
            
                "journal_notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "body_location": "left_shoulder",
            
        
    
        
        
            
                "pain_type": "aching",
            
        
    
        
        
            
                "severity": 1,
            
        
    
        
        
            
                "duration_type": "intermittent",
            
        
    
        
        
            
                "better_with": "Ada Lovelace",
            
        
    
        
        
            
                "worse_with": "Grace Hopper",
            
        
    
        
        
            
                "impact_level": "mild_limitation",
            
        
    
        
        
            
                "medications_taken": "Alan Turing",
            
        
    
        
        
            
                "journal_notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "body_location": "left_knee",
            
        
    
        
        
            
                "pain_type": "dull",
            
        
    
        
        
            
                "severity": 2,
            
        
    
        
        
            
                "duration_type": "intermittent",
            
        
    
        
        
            
                "better_with": "Alan Turing",
            
        
    
        
        
            
                "worse_with": "Marie Curie",
            
        
    
        
        
            
                "impact_level": "none",
            
        
    
        
        
            
                "medications_taken": "Grace Hopper",
            
        
    
        
        
            
                "journal_notes": "Alan Turing",
            
        
    
    },
    
];



const InjuriesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "injury_date": new Date(Date.now()),
            
        
    
        
        
            
                "mechanism": "unknown",
            
        
    
        
        
            
                "diagnosis": "Ada Lovelace",
            
        
    
        
        
            
                "affected_structure": "skin",
            
        
    
        
        
            
                "severity": "grade_1",
            
        
    
        
        
            
                "recovery_stage": "return_to_sport",
            
        
    
        
        
            
                "initial_treatment": "Ada Lovelace",
            
        
    
        
        
            
                "notes": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "injury_date": new Date(Date.now()),
            
        
    
        
        
            
                "mechanism": "collision",
            
        
    
        
        
            
                "diagnosis": "Marie Curie",
            
        
    
        
        
            
                "affected_structure": "bone",
            
        
    
        
        
            
                "severity": "grade_2",
            
        
    
        
        
            
                "recovery_stage": "subacute",
            
        
    
        
        
            
                "initial_treatment": "Alan Turing",
            
        
    
        
        
            
                "notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "injury_date": new Date(Date.now()),
            
        
    
        
        
            
                "mechanism": "other",
            
        
    
        
        
            
                "diagnosis": "Ada Lovelace",
            
        
    
        
        
            
                "affected_structure": "other",
            
        
    
        
        
            
                "severity": "grade_2",
            
        
    
        
        
            
                "recovery_stage": "subacute",
            
        
    
        
        
            
                "initial_treatment": "Grace Hopper",
            
        
    
        
        
            
                "notes": "Grace Hopper",
            
        
    
    },
    
];



const PhysioExercisesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sets": 8,
            
        
    
        
        
            
                "reps": 4,
            
        
    
        
        
            
                "progression_notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sets": 1,
            
        
    
        
        
            
                "reps": 3,
            
        
    
        
        
            
                "progression_notes": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "sets": 8,
            
        
    
        
        
            
                "reps": 1,
            
        
    
        
        
            
                "progression_notes": "Alan Turing",
            
        
    
    },
    
];



const ErgonomicsLogsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "sitting_minutes": 7,
            
        
    
        
        
            
                "standing_minutes": 1,
            
        
    
        
        
            
                "moving_minutes": 6,
            
        
    
        
        
            
                "workstation_notes": "Ada Lovelace",
            
        
    
        
        
            
                "posture_notes": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "sitting_minutes": 2,
            
        
    
        
        
            
                "standing_minutes": 8,
            
        
    
        
        
            
                "moving_minutes": 9,
            
        
    
        
        
            
                "workstation_notes": "Alan Turing",
            
        
    
        
        
            
                "posture_notes": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "logged_at": new Date(Date.now()),
            
        
    
        
        
            
                "sitting_minutes": 5,
            
        
    
        
        
            
                "standing_minutes": 3,
            
        
    
        
        
            
                "moving_minutes": 2,
            
        
    
        
        
            
                "workstation_notes": "Alan Turing",
            
        
    
        
        
            
                "posture_notes": "Marie Curie",
            
        
    
    },
    
];



const NotificationsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "created_time": new Date(Date.now()),
            
        
    
        
        
            
                "notification_type": "smart_insight",
            
        
    
        
        
            
                "title": "Ada Lovelace",
            
        
    
        
        
            
                "message": "Marie Curie",
            
        
    
        
        
            
                "is_read": true,
            
        
    
        
        
            
                "read_at": new Date(Date.now()),
            
        
    
        
        
            
                "action_link": "Ada Lovelace",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "created_time": new Date(Date.now()),
            
        
    
        
        
            
                "notification_type": "critical_alert",
            
        
    
        
        
            
                "title": "Ada Lovelace",
            
        
    
        
        
            
                "message": "Alan Turing",
            
        
    
        
        
            
                "is_read": false,
            
        
    
        
        
            
                "read_at": new Date(Date.now()),
            
        
    
        
        
            
                "action_link": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "created_time": new Date(Date.now()),
            
        
    
        
        
            
                "notification_type": "critical_alert",
            
        
    
        
        
            
                "title": "Marie Curie",
            
        
    
        
        
            
                "message": "Alan Turing",
            
        
    
        
        
            
                "is_read": true,
            
        
    
        
        
            
                "read_at": new Date(Date.now()),
            
        
    
        
        
            
                "action_link": "Alan Turing",
            
        
    
    },
    
];



const ExportJobsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "export_type": "emergency_card_pdf",
            
        
    
        
        
            
                "requested_at": new Date(Date.now()),
            
        
    
        
        
            
                "completed_at": new Date(Date.now()),
            
        
    
        
        
            
                "range_start": new Date(Date.now()),
            
        
    
        
        
            
                "range_end": new Date(Date.now()),
            
        
    
        
        
            
                "included_sections": "Marie Curie",
            
        
    
        
        
            
                "chief_complaint": "Alan Turing",
            
        
    
        
        
            
                "questions_for_doctor": "Grace Hopper",
            
        
    
        
        
            
                "status": "completed",
            
        
    
        
        
            
                "error_message": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "export_type": "vaccination_record_pdf",
            
        
    
        
        
            
                "requested_at": new Date(Date.now()),
            
        
    
        
        
            
                "completed_at": new Date(Date.now()),
            
        
    
        
        
            
                "range_start": new Date(Date.now()),
            
        
    
        
        
            
                "range_end": new Date(Date.now()),
            
        
    
        
        
            
                "included_sections": "Ada Lovelace",
            
        
    
        
        
            
                "chief_complaint": "Grace Hopper",
            
        
    
        
        
            
                "questions_for_doctor": "Alan Turing",
            
        
    
        
        
            
                "status": "running",
            
        
    
        
        
            
                "error_message": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "export_type": "section_csv",
            
        
    
        
        
            
                "requested_at": new Date(Date.now()),
            
        
    
        
        
            
                "completed_at": new Date(Date.now()),
            
        
    
        
        
            
                "range_start": new Date(Date.now()),
            
        
    
        
        
            
                "range_end": new Date(Date.now()),
            
        
    
        
        
            
                "included_sections": "Alan Turing",
            
        
    
        
        
            
                "chief_complaint": "Grace Hopper",
            
        
    
        
        
            
                "questions_for_doctor": "Alan Turing",
            
        
    
        
        
            
                "status": "running",
            
        
    
        
        
            
                "error_message": "Grace Hopper",
            
        
    
    },
    
];



const AppSettingsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "theme_mode": "light",
            
        
    
        
        
            
                "font_size": "medium",
            
        
    
        
        
            
                "high_contrast_mode": false,
            
        
    
        
        
            
                "reduce_motion": true,
            
        
    
        
        
            
                "color_blind_mode": true,
            
        
    
        
        
            
                "voice_input_enabled": true,
            
        
    
        
        
            
                "auto_lock_minutes": 7,
            
        
    
        
        
            
                "biometric_lock_enabled": false,
            
        
    
        
        
            
                "incognito_mode_enabled": true,
            
        
    
        
        
            
                "anthropic_api_key_encrypted": "Marie Curie",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "theme_mode": "dark",
            
        
    
        
        
            
                "font_size": "large",
            
        
    
        
        
            
                "high_contrast_mode": false,
            
        
    
        
        
            
                "reduce_motion": false,
            
        
    
        
        
            
                "color_blind_mode": true,
            
        
    
        
        
            
                "voice_input_enabled": true,
            
        
    
        
        
            
                "auto_lock_minutes": 4,
            
        
    
        
        
            
                "biometric_lock_enabled": true,
            
        
    
        
        
            
                "incognito_mode_enabled": false,
            
        
    
        
        
            
                "anthropic_api_key_encrypted": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "theme_mode": "dark",
            
        
    
        
        
            
                "font_size": "small",
            
        
    
        
        
            
                "high_contrast_mode": false,
            
        
    
        
        
            
                "reduce_motion": false,
            
        
    
        
        
            
                "color_blind_mode": true,
            
        
    
        
        
            
                "voice_input_enabled": true,
            
        
    
        
        
            
                "auto_lock_minutes": 4,
            
        
    
        
        
            
                "biometric_lock_enabled": true,
            
        
    
        
        
            
                "incognito_mode_enabled": false,
            
        
    
        
        
            
                "anthropic_api_key_encrypted": "Alan Turing",
            
        
    
    },
    
];




    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            // Similar logic for "relation_many"
        
    

    
    
    
    
    
        
            
            async function associateUserPhysicalBaselineWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const UserPhysicalBaseline0 = await UserPhysicalBaselines.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (UserPhysicalBaseline0?.setUser)
                {
                    await
                    UserPhysicalBaseline0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const UserPhysicalBaseline1 = await UserPhysicalBaselines.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (UserPhysicalBaseline1?.setUser)
                {
                    await
                    UserPhysicalBaseline1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const UserPhysicalBaseline2 = await UserPhysicalBaselines.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (UserPhysicalBaseline2?.setUser)
                {
                    await
                    UserPhysicalBaseline2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateUserLifestyleBaselineWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const UserLifestyleBaseline0 = await UserLifestyleBaselines.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (UserLifestyleBaseline0?.setUser)
                {
                    await
                    UserLifestyleBaseline0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const UserLifestyleBaseline1 = await UserLifestyleBaselines.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (UserLifestyleBaseline1?.setUser)
                {
                    await
                    UserLifestyleBaseline1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const UserLifestyleBaseline2 = await UserLifestyleBaselines.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (UserLifestyleBaseline2?.setUser)
                {
                    await
                    UserLifestyleBaseline2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateGoalWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Goal0 = await Goals.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Goal0?.setUser)
                {
                    await
                    Goal0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Goal1 = await Goals.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Goal1?.setUser)
                {
                    await
                    Goal1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Goal2 = await Goals.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Goal2?.setUser)
                {
                    await
                    Goal2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateConditionWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Condition0 = await Conditions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Condition0?.setUser)
                {
                    await
                    Condition0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Condition1 = await Conditions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Condition1?.setUser)
                {
                    await
                    Condition1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Condition2 = await Conditions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Condition2?.setUser)
                {
                    await
                    Condition2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSurgeryWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Surgery0 = await Surgeries.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Surgery0?.setUser)
                {
                    await
                    Surgery0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Surgery1 = await Surgeries.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Surgery1?.setUser)
                {
                    await
                    Surgery1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Surgery2 = await Surgeries.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Surgery2?.setUser)
                {
                    await
                    Surgery2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateImplantsDeviceWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ImplantsDevice0 = await ImplantsDevices.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ImplantsDevice0?.setUser)
                {
                    await
                    ImplantsDevice0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ImplantsDevice1 = await ImplantsDevices.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ImplantsDevice1?.setUser)
                {
                    await
                    ImplantsDevice1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ImplantsDevice2 = await ImplantsDevices.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ImplantsDevice2?.setUser)
                {
                    await
                    ImplantsDevice2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateAllergyWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Allergy0 = await Allergies.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Allergy0?.setUser)
                {
                    await
                    Allergy0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Allergy1 = await Allergies.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Allergy1?.setUser)
                {
                    await
                    Allergy1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Allergy2 = await Allergies.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Allergy2?.setUser)
                {
                    await
                    Allergy2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateFamilyHistoryWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyHistory0 = await FamilyHistories.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FamilyHistory0?.setUser)
                {
                    await
                    FamilyHistory0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyHistory1 = await FamilyHistories.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FamilyHistory1?.setUser)
                {
                    await
                    FamilyHistory1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyHistory2 = await FamilyHistories.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FamilyHistory2?.setUser)
                {
                    await
                    FamilyHistory2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHealthcareProviderWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthcareProvider0 = await HealthcareProviders.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HealthcareProvider0?.setUser)
                {
                    await
                    HealthcareProvider0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthcareProvider1 = await HealthcareProviders.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HealthcareProvider1?.setUser)
                {
                    await
                    HealthcareProvider1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthcareProvider2 = await HealthcareProviders.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HealthcareProvider2?.setUser)
                {
                    await
                    HealthcareProvider2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associatePharmacyWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Pharmacy0 = await Pharmacies.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Pharmacy0?.setUser)
                {
                    await
                    Pharmacy0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Pharmacy1 = await Pharmacies.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Pharmacy1?.setUser)
                {
                    await
                    Pharmacy1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Pharmacy2 = await Pharmacies.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Pharmacy2?.setUser)
                {
                    await
                    Pharmacy2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMedicationWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Medication0 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Medication0?.setUser)
                {
                    await
                    Medication0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Medication1 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Medication1?.setUser)
                {
                    await
                    Medication1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Medication2 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Medication2?.setUser)
                {
                    await
                    Medication2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateMedicationWithPrescribing_provider() {
            
                const relatedPrescribing_provider0 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const Medication0 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Medication0?.setPrescribing_provider)
                {
                    await
                    Medication0.
                    setPrescribing_provider(relatedPrescribing_provider0);
                }
            
                const relatedPrescribing_provider1 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const Medication1 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Medication1?.setPrescribing_provider)
                {
                    await
                    Medication1.
                    setPrescribing_provider(relatedPrescribing_provider1);
                }
            
                const relatedPrescribing_provider2 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const Medication2 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Medication2?.setPrescribing_provider)
                {
                    await
                    Medication2.
                    setPrescribing_provider(relatedPrescribing_provider2);
                }
            
        }
        
    
        
            
            async function associateMedicationWithPharmacy() {
            
                const relatedPharmacy0 = await Pharmacies.findOne({
                    offset: Math.floor(Math.random() * (await Pharmacies.count())),
                });
                const Medication0 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Medication0?.setPharmacy)
                {
                    await
                    Medication0.
                    setPharmacy(relatedPharmacy0);
                }
            
                const relatedPharmacy1 = await Pharmacies.findOne({
                    offset: Math.floor(Math.random() * (await Pharmacies.count())),
                });
                const Medication1 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Medication1?.setPharmacy)
                {
                    await
                    Medication1.
                    setPharmacy(relatedPharmacy1);
                }
            
                const relatedPharmacy2 = await Pharmacies.findOne({
                    offset: Math.floor(Math.random() * (await Pharmacies.count())),
                });
                const Medication2 = await Medications.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Medication2?.setPharmacy)
                {
                    await
                    Medication2.
                    setPharmacy(relatedPharmacy2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMedicationDosWithMedication() {
            
                const relatedMedication0 = await Medications.findOne({
                    offset: Math.floor(Math.random() * (await Medications.count())),
                });
                const MedicationDos0 = await MedicationDoses.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MedicationDos0?.setMedication)
                {
                    await
                    MedicationDos0.
                    setMedication(relatedMedication0);
                }
            
                const relatedMedication1 = await Medications.findOne({
                    offset: Math.floor(Math.random() * (await Medications.count())),
                });
                const MedicationDos1 = await MedicationDoses.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MedicationDos1?.setMedication)
                {
                    await
                    MedicationDos1.
                    setMedication(relatedMedication1);
                }
            
                const relatedMedication2 = await Medications.findOne({
                    offset: Math.floor(Math.random() * (await Medications.count())),
                });
                const MedicationDos2 = await MedicationDoses.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MedicationDos2?.setMedication)
                {
                    await
                    MedicationDos2.
                    setMedication(relatedMedication2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMedicationSideEffectWithMedication() {
            
                const relatedMedication0 = await Medications.findOne({
                    offset: Math.floor(Math.random() * (await Medications.count())),
                });
                const MedicationSideEffect0 = await MedicationSideEffects.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MedicationSideEffect0?.setMedication)
                {
                    await
                    MedicationSideEffect0.
                    setMedication(relatedMedication0);
                }
            
                const relatedMedication1 = await Medications.findOne({
                    offset: Math.floor(Math.random() * (await Medications.count())),
                });
                const MedicationSideEffect1 = await MedicationSideEffects.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MedicationSideEffect1?.setMedication)
                {
                    await
                    MedicationSideEffect1.
                    setMedication(relatedMedication1);
                }
            
                const relatedMedication2 = await Medications.findOne({
                    offset: Math.floor(Math.random() * (await Medications.count())),
                });
                const MedicationSideEffect2 = await MedicationSideEffects.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MedicationSideEffect2?.setMedication)
                {
                    await
                    MedicationSideEffect2.
                    setMedication(relatedMedication2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSupplementWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Supplement0 = await Supplements.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Supplement0?.setUser)
                {
                    await
                    Supplement0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Supplement1 = await Supplements.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Supplement1?.setUser)
                {
                    await
                    Supplement1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Supplement2 = await Supplements.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Supplement2?.setUser)
                {
                    await
                    Supplement2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateWorkoutExercisWithWorkout() {
            
                const relatedWorkout0 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutExercis0 = await WorkoutExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WorkoutExercis0?.setWorkout)
                {
                    await
                    WorkoutExercis0.
                    setWorkout(relatedWorkout0);
                }
            
                const relatedWorkout1 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutExercis1 = await WorkoutExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WorkoutExercis1?.setWorkout)
                {
                    await
                    WorkoutExercis1.
                    setWorkout(relatedWorkout1);
                }
            
                const relatedWorkout2 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutExercis2 = await WorkoutExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WorkoutExercis2?.setWorkout)
                {
                    await
                    WorkoutExercis2.
                    setWorkout(relatedWorkout2);
                }
            
        }
        
    
        
            
            async function associateWorkoutExercisWithExercise() {
            
                const relatedExercise0 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const WorkoutExercis0 = await WorkoutExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WorkoutExercis0?.setExercise)
                {
                    await
                    WorkoutExercis0.
                    setExercise(relatedExercise0);
                }
            
                const relatedExercise1 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const WorkoutExercis1 = await WorkoutExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WorkoutExercis1?.setExercise)
                {
                    await
                    WorkoutExercis1.
                    setExercise(relatedExercise1);
                }
            
                const relatedExercise2 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const WorkoutExercis2 = await WorkoutExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WorkoutExercis2?.setExercise)
                {
                    await
                    WorkoutExercis2.
                    setExercise(relatedExercise2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateWorkoutScheduleWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const WorkoutSchedule0 = await WorkoutSchedules.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WorkoutSchedule0?.setUser)
                {
                    await
                    WorkoutSchedule0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const WorkoutSchedule1 = await WorkoutSchedules.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WorkoutSchedule1?.setUser)
                {
                    await
                    WorkoutSchedule1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const WorkoutSchedule2 = await WorkoutSchedules.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WorkoutSchedule2?.setUser)
                {
                    await
                    WorkoutSchedule2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
            
            async function associateWorkoutScheduleWithWorkout() {
            
                const relatedWorkout0 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutSchedule0 = await WorkoutSchedules.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WorkoutSchedule0?.setWorkout)
                {
                    await
                    WorkoutSchedule0.
                    setWorkout(relatedWorkout0);
                }
            
                const relatedWorkout1 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutSchedule1 = await WorkoutSchedules.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WorkoutSchedule1?.setWorkout)
                {
                    await
                    WorkoutSchedule1.
                    setWorkout(relatedWorkout1);
                }
            
                const relatedWorkout2 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutSchedule2 = await WorkoutSchedules.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WorkoutSchedule2?.setWorkout)
                {
                    await
                    WorkoutSchedule2.
                    setWorkout(relatedWorkout2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateTrainingBlockWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const TrainingBlock0 = await TrainingBlocks.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (TrainingBlock0?.setUser)
                {
                    await
                    TrainingBlock0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const TrainingBlock1 = await TrainingBlocks.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (TrainingBlock1?.setUser)
                {
                    await
                    TrainingBlock1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const TrainingBlock2 = await TrainingBlocks.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (TrainingBlock2?.setUser)
                {
                    await
                    TrainingBlock2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateWorkoutSessionWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const WorkoutSession0 = await WorkoutSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WorkoutSession0?.setUser)
                {
                    await
                    WorkoutSession0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const WorkoutSession1 = await WorkoutSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WorkoutSession1?.setUser)
                {
                    await
                    WorkoutSession1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const WorkoutSession2 = await WorkoutSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WorkoutSession2?.setUser)
                {
                    await
                    WorkoutSession2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
            
            async function associateWorkoutSessionWithWorkout() {
            
                const relatedWorkout0 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutSession0 = await WorkoutSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WorkoutSession0?.setWorkout)
                {
                    await
                    WorkoutSession0.
                    setWorkout(relatedWorkout0);
                }
            
                const relatedWorkout1 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutSession1 = await WorkoutSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WorkoutSession1?.setWorkout)
                {
                    await
                    WorkoutSession1.
                    setWorkout(relatedWorkout1);
                }
            
                const relatedWorkout2 = await Workouts.findOne({
                    offset: Math.floor(Math.random() * (await Workouts.count())),
                });
                const WorkoutSession2 = await WorkoutSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WorkoutSession2?.setWorkout)
                {
                    await
                    WorkoutSession2.
                    setWorkout(relatedWorkout2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateStrengthSetWithWorkout_session() {
            
                const relatedWorkout_session0 = await WorkoutSessions.findOne({
                    offset: Math.floor(Math.random() * (await WorkoutSessions.count())),
                });
                const StrengthSet0 = await StrengthSets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (StrengthSet0?.setWorkout_session)
                {
                    await
                    StrengthSet0.
                    setWorkout_session(relatedWorkout_session0);
                }
            
                const relatedWorkout_session1 = await WorkoutSessions.findOne({
                    offset: Math.floor(Math.random() * (await WorkoutSessions.count())),
                });
                const StrengthSet1 = await StrengthSets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (StrengthSet1?.setWorkout_session)
                {
                    await
                    StrengthSet1.
                    setWorkout_session(relatedWorkout_session1);
                }
            
                const relatedWorkout_session2 = await WorkoutSessions.findOne({
                    offset: Math.floor(Math.random() * (await WorkoutSessions.count())),
                });
                const StrengthSet2 = await StrengthSets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (StrengthSet2?.setWorkout_session)
                {
                    await
                    StrengthSet2.
                    setWorkout_session(relatedWorkout_session2);
                }
            
        }
        
    
        
            
            async function associateStrengthSetWithExercise() {
            
                const relatedExercise0 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const StrengthSet0 = await StrengthSets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (StrengthSet0?.setExercise)
                {
                    await
                    StrengthSet0.
                    setExercise(relatedExercise0);
                }
            
                const relatedExercise1 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const StrengthSet1 = await StrengthSets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (StrengthSet1?.setExercise)
                {
                    await
                    StrengthSet1.
                    setExercise(relatedExercise1);
                }
            
                const relatedExercise2 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const StrengthSet2 = await StrengthSets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (StrengthSet2?.setExercise)
                {
                    await
                    StrengthSet2.
                    setExercise(relatedExercise2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateCardioSessionWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CardioSession0 = await CardioSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (CardioSession0?.setUser)
                {
                    await
                    CardioSession0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CardioSession1 = await CardioSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (CardioSession1?.setUser)
                {
                    await
                    CardioSession1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CardioSession2 = await CardioSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (CardioSession2?.setUser)
                {
                    await
                    CardioSession2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateRecoveryLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const RecoveryLog0 = await RecoveryLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (RecoveryLog0?.setUser)
                {
                    await
                    RecoveryLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const RecoveryLog1 = await RecoveryLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (RecoveryLog1?.setUser)
                {
                    await
                    RecoveryLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const RecoveryLog2 = await RecoveryLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (RecoveryLog2?.setUser)
                {
                    await
                    RecoveryLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHeatColdExposureWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HeatColdExposure0 = await HeatColdExposures.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HeatColdExposure0?.setUser)
                {
                    await
                    HeatColdExposure0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HeatColdExposure1 = await HeatColdExposures.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HeatColdExposure1?.setUser)
                {
                    await
                    HeatColdExposure1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HeatColdExposure2 = await HeatColdExposures.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HeatColdExposure2?.setUser)
                {
                    await
                    HeatColdExposure2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateFlexibilityAssessmentWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FlexibilityAssessment0 = await FlexibilityAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FlexibilityAssessment0?.setUser)
                {
                    await
                    FlexibilityAssessment0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FlexibilityAssessment1 = await FlexibilityAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FlexibilityAssessment1?.setUser)
                {
                    await
                    FlexibilityAssessment1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FlexibilityAssessment2 = await FlexibilityAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FlexibilityAssessment2?.setUser)
                {
                    await
                    FlexibilityAssessment2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateRecipeWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Recipe0 = await Recipes.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Recipe0?.setUser)
                {
                    await
                    Recipe0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Recipe1 = await Recipes.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Recipe1?.setUser)
                {
                    await
                    Recipe1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Recipe2 = await Recipes.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Recipe2?.setUser)
                {
                    await
                    Recipe2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateRecipeCollectionWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const RecipeCollection0 = await RecipeCollections.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (RecipeCollection0?.setUser)
                {
                    await
                    RecipeCollection0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const RecipeCollection1 = await RecipeCollections.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (RecipeCollection1?.setUser)
                {
                    await
                    RecipeCollection1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const RecipeCollection2 = await RecipeCollections.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (RecipeCollection2?.setUser)
                {
                    await
                    RecipeCollection2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
            // Similar logic for "relation_many"
        
    

    
    
    
        
            
            async function associateMealWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Meal0 = await Meals.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Meal0?.setUser)
                {
                    await
                    Meal0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Meal1 = await Meals.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Meal1?.setUser)
                {
                    await
                    Meal1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Meal2 = await Meals.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Meal2?.setUser)
                {
                    await
                    Meal2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMealItemWithMeal() {
            
                const relatedMeal0 = await Meals.findOne({
                    offset: Math.floor(Math.random() * (await Meals.count())),
                });
                const MealItem0 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MealItem0?.setMeal)
                {
                    await
                    MealItem0.
                    setMeal(relatedMeal0);
                }
            
                const relatedMeal1 = await Meals.findOne({
                    offset: Math.floor(Math.random() * (await Meals.count())),
                });
                const MealItem1 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MealItem1?.setMeal)
                {
                    await
                    MealItem1.
                    setMeal(relatedMeal1);
                }
            
                const relatedMeal2 = await Meals.findOne({
                    offset: Math.floor(Math.random() * (await Meals.count())),
                });
                const MealItem2 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MealItem2?.setMeal)
                {
                    await
                    MealItem2.
                    setMeal(relatedMeal2);
                }
            
        }
        
    
        
            
            async function associateMealItemWithFood() {
            
                const relatedFood0 = await Foods.findOne({
                    offset: Math.floor(Math.random() * (await Foods.count())),
                });
                const MealItem0 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MealItem0?.setFood)
                {
                    await
                    MealItem0.
                    setFood(relatedFood0);
                }
            
                const relatedFood1 = await Foods.findOne({
                    offset: Math.floor(Math.random() * (await Foods.count())),
                });
                const MealItem1 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MealItem1?.setFood)
                {
                    await
                    MealItem1.
                    setFood(relatedFood1);
                }
            
                const relatedFood2 = await Foods.findOne({
                    offset: Math.floor(Math.random() * (await Foods.count())),
                });
                const MealItem2 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MealItem2?.setFood)
                {
                    await
                    MealItem2.
                    setFood(relatedFood2);
                }
            
        }
        
    
        
            
            async function associateMealItemWithRecipe() {
            
                const relatedRecipe0 = await Recipes.findOne({
                    offset: Math.floor(Math.random() * (await Recipes.count())),
                });
                const MealItem0 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MealItem0?.setRecipe)
                {
                    await
                    MealItem0.
                    setRecipe(relatedRecipe0);
                }
            
                const relatedRecipe1 = await Recipes.findOne({
                    offset: Math.floor(Math.random() * (await Recipes.count())),
                });
                const MealItem1 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MealItem1?.setRecipe)
                {
                    await
                    MealItem1.
                    setRecipe(relatedRecipe1);
                }
            
                const relatedRecipe2 = await Recipes.findOne({
                    offset: Math.floor(Math.random() * (await Recipes.count())),
                });
                const MealItem2 = await MealItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MealItem2?.setRecipe)
                {
                    await
                    MealItem2.
                    setRecipe(relatedRecipe2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateNutritionTargetWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NutritionTarget0 = await NutritionTargets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (NutritionTarget0?.setUser)
                {
                    await
                    NutritionTarget0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NutritionTarget1 = await NutritionTargets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (NutritionTarget1?.setUser)
                {
                    await
                    NutritionTarget1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NutritionTarget2 = await NutritionTargets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (NutritionTarget2?.setUser)
                {
                    await
                    NutritionTarget2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMealPlanWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MealPlan0 = await MealPlans.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MealPlan0?.setUser)
                {
                    await
                    MealPlan0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MealPlan1 = await MealPlans.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MealPlan1?.setUser)
                {
                    await
                    MealPlan1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MealPlan2 = await MealPlans.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MealPlan2?.setUser)
                {
                    await
                    MealPlan2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMealPlanItemWithMeal_plan() {
            
                const relatedMeal_plan0 = await MealPlans.findOne({
                    offset: Math.floor(Math.random() * (await MealPlans.count())),
                });
                const MealPlanItem0 = await MealPlanItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MealPlanItem0?.setMeal_plan)
                {
                    await
                    MealPlanItem0.
                    setMeal_plan(relatedMeal_plan0);
                }
            
                const relatedMeal_plan1 = await MealPlans.findOne({
                    offset: Math.floor(Math.random() * (await MealPlans.count())),
                });
                const MealPlanItem1 = await MealPlanItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MealPlanItem1?.setMeal_plan)
                {
                    await
                    MealPlanItem1.
                    setMeal_plan(relatedMeal_plan1);
                }
            
                const relatedMeal_plan2 = await MealPlans.findOne({
                    offset: Math.floor(Math.random() * (await MealPlans.count())),
                });
                const MealPlanItem2 = await MealPlanItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MealPlanItem2?.setMeal_plan)
                {
                    await
                    MealPlanItem2.
                    setMeal_plan(relatedMeal_plan2);
                }
            
        }
        
    
        
    
        
    
        
            
            async function associateMealPlanItemWithRecipe() {
            
                const relatedRecipe0 = await Recipes.findOne({
                    offset: Math.floor(Math.random() * (await Recipes.count())),
                });
                const MealPlanItem0 = await MealPlanItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MealPlanItem0?.setRecipe)
                {
                    await
                    MealPlanItem0.
                    setRecipe(relatedRecipe0);
                }
            
                const relatedRecipe1 = await Recipes.findOne({
                    offset: Math.floor(Math.random() * (await Recipes.count())),
                });
                const MealPlanItem1 = await MealPlanItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MealPlanItem1?.setRecipe)
                {
                    await
                    MealPlanItem1.
                    setRecipe(relatedRecipe1);
                }
            
                const relatedRecipe2 = await Recipes.findOne({
                    offset: Math.floor(Math.random() * (await Recipes.count())),
                });
                const MealPlanItem2 = await MealPlanItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MealPlanItem2?.setRecipe)
                {
                    await
                    MealPlanItem2.
                    setRecipe(relatedRecipe2);
                }
            
        }
        
    
        
    

    
    
    
        
            
            async function associateGroceryListWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const GroceryList0 = await GroceryLists.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (GroceryList0?.setUser)
                {
                    await
                    GroceryList0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const GroceryList1 = await GroceryLists.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (GroceryList1?.setUser)
                {
                    await
                    GroceryList1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const GroceryList2 = await GroceryLists.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (GroceryList2?.setUser)
                {
                    await
                    GroceryList2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
            
            async function associateGroceryListWithMeal_plan() {
            
                const relatedMeal_plan0 = await MealPlans.findOne({
                    offset: Math.floor(Math.random() * (await MealPlans.count())),
                });
                const GroceryList0 = await GroceryLists.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (GroceryList0?.setMeal_plan)
                {
                    await
                    GroceryList0.
                    setMeal_plan(relatedMeal_plan0);
                }
            
                const relatedMeal_plan1 = await MealPlans.findOne({
                    offset: Math.floor(Math.random() * (await MealPlans.count())),
                });
                const GroceryList1 = await GroceryLists.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (GroceryList1?.setMeal_plan)
                {
                    await
                    GroceryList1.
                    setMeal_plan(relatedMeal_plan1);
                }
            
                const relatedMeal_plan2 = await MealPlans.findOne({
                    offset: Math.floor(Math.random() * (await MealPlans.count())),
                });
                const GroceryList2 = await GroceryLists.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (GroceryList2?.setMeal_plan)
                {
                    await
                    GroceryList2.
                    setMeal_plan(relatedMeal_plan2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateGroceryItemWithGrocery_list() {
            
                const relatedGrocery_list0 = await GroceryLists.findOne({
                    offset: Math.floor(Math.random() * (await GroceryLists.count())),
                });
                const GroceryItem0 = await GroceryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (GroceryItem0?.setGrocery_list)
                {
                    await
                    GroceryItem0.
                    setGrocery_list(relatedGrocery_list0);
                }
            
                const relatedGrocery_list1 = await GroceryLists.findOne({
                    offset: Math.floor(Math.random() * (await GroceryLists.count())),
                });
                const GroceryItem1 = await GroceryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (GroceryItem1?.setGrocery_list)
                {
                    await
                    GroceryItem1.
                    setGrocery_list(relatedGrocery_list1);
                }
            
                const relatedGrocery_list2 = await GroceryLists.findOne({
                    offset: Math.floor(Math.random() * (await GroceryLists.count())),
                });
                const GroceryItem2 = await GroceryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (GroceryItem2?.setGrocery_list)
                {
                    await
                    GroceryItem2.
                    setGrocery_list(relatedGrocery_list2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHydrationLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HydrationLog0 = await HydrationLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HydrationLog0?.setUser)
                {
                    await
                    HydrationLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HydrationLog1 = await HydrationLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HydrationLog1?.setUser)
                {
                    await
                    HydrationLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HydrationLog2 = await HydrationLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HydrationLog2?.setUser)
                {
                    await
                    HydrationLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateFastingSessionWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FastingSession0 = await FastingSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FastingSession0?.setUser)
                {
                    await
                    FastingSession0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FastingSession1 = await FastingSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FastingSession1?.setUser)
                {
                    await
                    FastingSession1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FastingSession2 = await FastingSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FastingSession2?.setUser)
                {
                    await
                    FastingSession2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateKetoneGlucoseLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const KetoneGlucoseLog0 = await KetoneGlucoseLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (KetoneGlucoseLog0?.setUser)
                {
                    await
                    KetoneGlucoseLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const KetoneGlucoseLog1 = await KetoneGlucoseLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (KetoneGlucoseLog1?.setUser)
                {
                    await
                    KetoneGlucoseLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const KetoneGlucoseLog2 = await KetoneGlucoseLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (KetoneGlucoseLog2?.setUser)
                {
                    await
                    KetoneGlucoseLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateBowelMovementWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const BowelMovement0 = await BowelMovements.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (BowelMovement0?.setUser)
                {
                    await
                    BowelMovement0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const BowelMovement1 = await BowelMovements.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (BowelMovement1?.setUser)
                {
                    await
                    BowelMovement1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const BowelMovement2 = await BowelMovements.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (BowelMovement2?.setUser)
                {
                    await
                    BowelMovement2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateGutSymptomLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const GutSymptomLog0 = await GutSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (GutSymptomLog0?.setUser)
                {
                    await
                    GutSymptomLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const GutSymptomLog1 = await GutSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (GutSymptomLog1?.setUser)
                {
                    await
                    GutSymptomLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const GutSymptomLog2 = await GutSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (GutSymptomLog2?.setUser)
                {
                    await
                    GutSymptomLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHealthMetricWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthMetric0 = await HealthMetrics.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HealthMetric0?.setUser)
                {
                    await
                    HealthMetric0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthMetric1 = await HealthMetrics.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HealthMetric1?.setUser)
                {
                    await
                    HealthMetric1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthMetric2 = await HealthMetrics.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HealthMetric2?.setUser)
                {
                    await
                    HealthMetric2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSymptomLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SymptomLog0 = await SymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SymptomLog0?.setUser)
                {
                    await
                    SymptomLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SymptomLog1 = await SymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SymptomLog1?.setUser)
                {
                    await
                    SymptomLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SymptomLog2 = await SymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SymptomLog2?.setUser)
                {
                    await
                    SymptomLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMedicalAppointmentWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MedicalAppointment0 = await MedicalAppointments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MedicalAppointment0?.setUser)
                {
                    await
                    MedicalAppointment0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MedicalAppointment1 = await MedicalAppointments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MedicalAppointment1?.setUser)
                {
                    await
                    MedicalAppointment1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MedicalAppointment2 = await MedicalAppointments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MedicalAppointment2?.setUser)
                {
                    await
                    MedicalAppointment2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
            
            async function associateMedicalAppointmentWithProvider() {
            
                const relatedProvider0 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const MedicalAppointment0 = await MedicalAppointments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MedicalAppointment0?.setProvider)
                {
                    await
                    MedicalAppointment0.
                    setProvider(relatedProvider0);
                }
            
                const relatedProvider1 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const MedicalAppointment1 = await MedicalAppointments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MedicalAppointment1?.setProvider)
                {
                    await
                    MedicalAppointment1.
                    setProvider(relatedProvider1);
                }
            
                const relatedProvider2 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const MedicalAppointment2 = await MedicalAppointments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MedicalAppointment2?.setProvider)
                {
                    await
                    MedicalAppointment2.
                    setProvider(relatedProvider2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateLabDocumentWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const LabDocument0 = await LabDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (LabDocument0?.setUser)
                {
                    await
                    LabDocument0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const LabDocument1 = await LabDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (LabDocument1?.setUser)
                {
                    await
                    LabDocument1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const LabDocument2 = await LabDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (LabDocument2?.setUser)
                {
                    await
                    LabDocument2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateLabDocumentWithOrdered_by_provider() {
            
                const relatedOrdered_by_provider0 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const LabDocument0 = await LabDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (LabDocument0?.setOrdered_by_provider)
                {
                    await
                    LabDocument0.
                    setOrdered_by_provider(relatedOrdered_by_provider0);
                }
            
                const relatedOrdered_by_provider1 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const LabDocument1 = await LabDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (LabDocument1?.setOrdered_by_provider)
                {
                    await
                    LabDocument1.
                    setOrdered_by_provider(relatedOrdered_by_provider1);
                }
            
                const relatedOrdered_by_provider2 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const LabDocument2 = await LabDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (LabDocument2?.setOrdered_by_provider)
                {
                    await
                    LabDocument2.
                    setOrdered_by_provider(relatedOrdered_by_provider2);
                }
            
        }
        
    
        
    
        
    

    
    
    
        
            
            async function associateVaccinationWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Vaccination0 = await Vaccinations.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Vaccination0?.setUser)
                {
                    await
                    Vaccination0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Vaccination1 = await Vaccinations.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Vaccination1?.setUser)
                {
                    await
                    Vaccination1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Vaccination2 = await Vaccinations.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Vaccination2?.setUser)
                {
                    await
                    Vaccination2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateVaccinationWithProvider() {
            
                const relatedProvider0 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const Vaccination0 = await Vaccinations.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Vaccination0?.setProvider)
                {
                    await
                    Vaccination0.
                    setProvider(relatedProvider0);
                }
            
                const relatedProvider1 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const Vaccination1 = await Vaccinations.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Vaccination1?.setProvider)
                {
                    await
                    Vaccination1.
                    setProvider(relatedProvider1);
                }
            
                const relatedProvider2 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const Vaccination2 = await Vaccinations.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Vaccination2?.setProvider)
                {
                    await
                    Vaccination2.
                    setProvider(relatedProvider2);
                }
            
        }
        
    
        
    
        
    

    
    
    
        
            
            async function associateAiChatThreadWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AiChatThread0 = await AiChatThreads.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (AiChatThread0?.setUser)
                {
                    await
                    AiChatThread0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AiChatThread1 = await AiChatThreads.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (AiChatThread1?.setUser)
                {
                    await
                    AiChatThread1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AiChatThread2 = await AiChatThreads.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (AiChatThread2?.setUser)
                {
                    await
                    AiChatThread2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateAiChatMessageWithThread() {
            
                const relatedThread0 = await AiChatThreads.findOne({
                    offset: Math.floor(Math.random() * (await AiChatThreads.count())),
                });
                const AiChatMessage0 = await AiChatMessages.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (AiChatMessage0?.setThread)
                {
                    await
                    AiChatMessage0.
                    setThread(relatedThread0);
                }
            
                const relatedThread1 = await AiChatThreads.findOne({
                    offset: Math.floor(Math.random() * (await AiChatThreads.count())),
                });
                const AiChatMessage1 = await AiChatMessages.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (AiChatMessage1?.setThread)
                {
                    await
                    AiChatMessage1.
                    setThread(relatedThread1);
                }
            
                const relatedThread2 = await AiChatThreads.findOne({
                    offset: Math.floor(Math.random() * (await AiChatThreads.count())),
                });
                const AiChatMessage2 = await AiChatMessages.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (AiChatMessage2?.setThread)
                {
                    await
                    AiChatMessage2.
                    setThread(relatedThread2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateAiGenerationWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AiGeneration0 = await AiGenerations.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (AiGeneration0?.setUser)
                {
                    await
                    AiGeneration0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AiGeneration1 = await AiGenerations.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (AiGeneration1?.setUser)
                {
                    await
                    AiGeneration1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AiGeneration2 = await AiGenerations.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (AiGeneration2?.setUser)
                {
                    await
                    AiGeneration2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHabitWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Habit0 = await Habits.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Habit0?.setUser)
                {
                    await
                    Habit0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Habit1 = await Habits.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Habit1?.setUser)
                {
                    await
                    Habit1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Habit2 = await Habits.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Habit2?.setUser)
                {
                    await
                    Habit2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHabitLogWithHabit() {
            
                const relatedHabit0 = await Habits.findOne({
                    offset: Math.floor(Math.random() * (await Habits.count())),
                });
                const HabitLog0 = await HabitLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HabitLog0?.setHabit)
                {
                    await
                    HabitLog0.
                    setHabit(relatedHabit0);
                }
            
                const relatedHabit1 = await Habits.findOne({
                    offset: Math.floor(Math.random() * (await Habits.count())),
                });
                const HabitLog1 = await HabitLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HabitLog1?.setHabit)
                {
                    await
                    HabitLog1.
                    setHabit(relatedHabit1);
                }
            
                const relatedHabit2 = await Habits.findOne({
                    offset: Math.floor(Math.random() * (await Habits.count())),
                });
                const HabitLog2 = await HabitLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HabitLog2?.setHabit)
                {
                    await
                    HabitLog2.
                    setHabit(relatedHabit2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHabitChallengeWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HabitChallenge0 = await HabitChallenges.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HabitChallenge0?.setUser)
                {
                    await
                    HabitChallenge0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HabitChallenge1 = await HabitChallenges.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HabitChallenge1?.setUser)
                {
                    await
                    HabitChallenge1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HabitChallenge2 = await HabitChallenges.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HabitChallenge2?.setUser)
                {
                    await
                    HabitChallenge2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSavedArticleWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SavedArticle0 = await SavedArticles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SavedArticle0?.setUser)
                {
                    await
                    SavedArticle0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SavedArticle1 = await SavedArticles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SavedArticle1?.setUser)
                {
                    await
                    SavedArticle1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SavedArticle2 = await SavedArticles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SavedArticle2?.setUser)
                {
                    await
                    SavedArticle2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
            
            async function associateSavedArticleWithArticle() {
            
                const relatedArticle0 = await LibraryArticles.findOne({
                    offset: Math.floor(Math.random() * (await LibraryArticles.count())),
                });
                const SavedArticle0 = await SavedArticles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SavedArticle0?.setArticle)
                {
                    await
                    SavedArticle0.
                    setArticle(relatedArticle0);
                }
            
                const relatedArticle1 = await LibraryArticles.findOne({
                    offset: Math.floor(Math.random() * (await LibraryArticles.count())),
                });
                const SavedArticle1 = await SavedArticles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SavedArticle1?.setArticle)
                {
                    await
                    SavedArticle1.
                    setArticle(relatedArticle1);
                }
            
                const relatedArticle2 = await LibraryArticles.findOne({
                    offset: Math.floor(Math.random() * (await LibraryArticles.count())),
                });
                const SavedArticle2 = await SavedArticles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SavedArticle2?.setArticle)
                {
                    await
                    SavedArticle2.
                    setArticle(relatedArticle2);
                }
            
        }
        
    
        
    
        
    

    
    
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHealthVaultDocumentWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthVaultDocument0 = await HealthVaultDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HealthVaultDocument0?.setUser)
                {
                    await
                    HealthVaultDocument0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthVaultDocument1 = await HealthVaultDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HealthVaultDocument1?.setUser)
                {
                    await
                    HealthVaultDocument1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HealthVaultDocument2 = await HealthVaultDocuments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HealthVaultDocument2?.setUser)
                {
                    await
                    HealthVaultDocument2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateEmergencyMedicalCardWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const EmergencyMedicalCard0 = await EmergencyMedicalCards.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (EmergencyMedicalCard0?.setUser)
                {
                    await
                    EmergencyMedicalCard0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const EmergencyMedicalCard1 = await EmergencyMedicalCards.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (EmergencyMedicalCard1?.setUser)
                {
                    await
                    EmergencyMedicalCard1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const EmergencyMedicalCard2 = await EmergencyMedicalCards.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (EmergencyMedicalCard2?.setUser)
                {
                    await
                    EmergencyMedicalCard2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateAdvanceDirectiveWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AdvanceDirective0 = await AdvanceDirectives.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (AdvanceDirective0?.setUser)
                {
                    await
                    AdvanceDirective0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AdvanceDirective1 = await AdvanceDirectives.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (AdvanceDirective1?.setUser)
                {
                    await
                    AdvanceDirective1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AdvanceDirective2 = await AdvanceDirectives.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (AdvanceDirective2?.setUser)
                {
                    await
                    AdvanceDirective2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateInsurancePolicyWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const InsurancePolicy0 = await InsurancePolicies.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (InsurancePolicy0?.setUser)
                {
                    await
                    InsurancePolicy0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const InsurancePolicy1 = await InsurancePolicies.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (InsurancePolicy1?.setUser)
                {
                    await
                    InsurancePolicy1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const InsurancePolicy2 = await InsurancePolicies.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (InsurancePolicy2?.setUser)
                {
                    await
                    InsurancePolicy2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
    
        
    
        
            
            async function associateFamilyGroupWithOwner_user() {
            
                const relatedOwner_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyGroup0 = await FamilyGroups.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FamilyGroup0?.setOwner_user)
                {
                    await
                    FamilyGroup0.
                    setOwner_user(relatedOwner_user0);
                }
            
                const relatedOwner_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyGroup1 = await FamilyGroups.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FamilyGroup1?.setOwner_user)
                {
                    await
                    FamilyGroup1.
                    setOwner_user(relatedOwner_user1);
                }
            
                const relatedOwner_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyGroup2 = await FamilyGroups.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FamilyGroup2?.setOwner_user)
                {
                    await
                    FamilyGroup2.
                    setOwner_user(relatedOwner_user2);
                }
            
        }
        
    
        
    

    
    
    
        
            
            async function associateFamilyMemberWithFamily_group() {
            
                const relatedFamily_group0 = await FamilyGroups.findOne({
                    offset: Math.floor(Math.random() * (await FamilyGroups.count())),
                });
                const FamilyMember0 = await FamilyMembers.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FamilyMember0?.setFamily_group)
                {
                    await
                    FamilyMember0.
                    setFamily_group(relatedFamily_group0);
                }
            
                const relatedFamily_group1 = await FamilyGroups.findOne({
                    offset: Math.floor(Math.random() * (await FamilyGroups.count())),
                });
                const FamilyMember1 = await FamilyMembers.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FamilyMember1?.setFamily_group)
                {
                    await
                    FamilyMember1.
                    setFamily_group(relatedFamily_group1);
                }
            
                const relatedFamily_group2 = await FamilyGroups.findOne({
                    offset: Math.floor(Math.random() * (await FamilyGroups.count())),
                });
                const FamilyMember2 = await FamilyMembers.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FamilyMember2?.setFamily_group)
                {
                    await
                    FamilyMember2.
                    setFamily_group(relatedFamily_group2);
                }
            
        }
        
    
        
            
            async function associateFamilyMemberWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyMember0 = await FamilyMembers.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FamilyMember0?.setUser)
                {
                    await
                    FamilyMember0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyMember1 = await FamilyMembers.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FamilyMember1?.setUser)
                {
                    await
                    FamilyMember1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FamilyMember2 = await FamilyMembers.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FamilyMember2?.setUser)
                {
                    await
                    FamilyMember2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSharingPermissionWithFamily_group() {
            
                const relatedFamily_group0 = await FamilyGroups.findOne({
                    offset: Math.floor(Math.random() * (await FamilyGroups.count())),
                });
                const SharingPermission0 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SharingPermission0?.setFamily_group)
                {
                    await
                    SharingPermission0.
                    setFamily_group(relatedFamily_group0);
                }
            
                const relatedFamily_group1 = await FamilyGroups.findOne({
                    offset: Math.floor(Math.random() * (await FamilyGroups.count())),
                });
                const SharingPermission1 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SharingPermission1?.setFamily_group)
                {
                    await
                    SharingPermission1.
                    setFamily_group(relatedFamily_group1);
                }
            
                const relatedFamily_group2 = await FamilyGroups.findOne({
                    offset: Math.floor(Math.random() * (await FamilyGroups.count())),
                });
                const SharingPermission2 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SharingPermission2?.setFamily_group)
                {
                    await
                    SharingPermission2.
                    setFamily_group(relatedFamily_group2);
                }
            
        }
        
    
        
            
            async function associateSharingPermissionWithGranter_user() {
            
                const relatedGranter_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SharingPermission0 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SharingPermission0?.setGranter_user)
                {
                    await
                    SharingPermission0.
                    setGranter_user(relatedGranter_user0);
                }
            
                const relatedGranter_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SharingPermission1 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SharingPermission1?.setGranter_user)
                {
                    await
                    SharingPermission1.
                    setGranter_user(relatedGranter_user1);
                }
            
                const relatedGranter_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SharingPermission2 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SharingPermission2?.setGranter_user)
                {
                    await
                    SharingPermission2.
                    setGranter_user(relatedGranter_user2);
                }
            
        }
        
    
        
            
            async function associateSharingPermissionWithGrantee_user() {
            
                const relatedGrantee_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SharingPermission0 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SharingPermission0?.setGrantee_user)
                {
                    await
                    SharingPermission0.
                    setGrantee_user(relatedGrantee_user0);
                }
            
                const relatedGrantee_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SharingPermission1 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SharingPermission1?.setGrantee_user)
                {
                    await
                    SharingPermission1.
                    setGrantee_user(relatedGrantee_user1);
                }
            
                const relatedGrantee_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SharingPermission2 = await SharingPermissions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SharingPermission2?.setGrantee_user)
                {
                    await
                    SharingPermission2.
                    setGrantee_user(relatedGrantee_user2);
                }
            
        }
        
    
        
    
        
    

    
    
    
        
            
            async function associateMoodLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MoodLog0 = await MoodLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MoodLog0?.setUser)
                {
                    await
                    MoodLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MoodLog1 = await MoodLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MoodLog1?.setUser)
                {
                    await
                    MoodLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MoodLog2 = await MoodLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MoodLog2?.setUser)
                {
                    await
                    MoodLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMentalAssessmentWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MentalAssessment0 = await MentalAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MentalAssessment0?.setUser)
                {
                    await
                    MentalAssessment0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MentalAssessment1 = await MentalAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MentalAssessment1?.setUser)
                {
                    await
                    MentalAssessment1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MentalAssessment2 = await MentalAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MentalAssessment2?.setUser)
                {
                    await
                    MentalAssessment2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateJournalEntryWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const JournalEntry0 = await JournalEntries.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (JournalEntry0?.setUser)
                {
                    await
                    JournalEntry0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const JournalEntry1 = await JournalEntries.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (JournalEntry1?.setUser)
                {
                    await
                    JournalEntry1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const JournalEntry2 = await JournalEntries.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (JournalEntry2?.setUser)
                {
                    await
                    JournalEntry2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateBreathingSessionWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const BreathingSession0 = await BreathingSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (BreathingSession0?.setUser)
                {
                    await
                    BreathingSession0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const BreathingSession1 = await BreathingSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (BreathingSession1?.setUser)
                {
                    await
                    BreathingSession1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const BreathingSession2 = await BreathingSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (BreathingSession2?.setUser)
                {
                    await
                    BreathingSession2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateStressLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const StressLog0 = await StressLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (StressLog0?.setUser)
                {
                    await
                    StressLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const StressLog1 = await StressLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (StressLog1?.setUser)
                {
                    await
                    StressLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const StressLog2 = await StressLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (StressLog2?.setUser)
                {
                    await
                    StressLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateCognitiveTestWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CognitiveTest0 = await CognitiveTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (CognitiveTest0?.setUser)
                {
                    await
                    CognitiveTest0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CognitiveTest1 = await CognitiveTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (CognitiveTest1?.setUser)
                {
                    await
                    CognitiveTest1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CognitiveTest2 = await CognitiveTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (CognitiveTest2?.setUser)
                {
                    await
                    CognitiveTest2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSleepLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SleepLog0 = await SleepLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SleepLog0?.setUser)
                {
                    await
                    SleepLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SleepLog1 = await SleepLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SleepLog1?.setUser)
                {
                    await
                    SleepLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SleepLog2 = await SleepLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SleepLog2?.setUser)
                {
                    await
                    SleepLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSleepEnvironmentLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SleepEnvironmentLog0 = await SleepEnvironmentLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SleepEnvironmentLog0?.setUser)
                {
                    await
                    SleepEnvironmentLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SleepEnvironmentLog1 = await SleepEnvironmentLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SleepEnvironmentLog1?.setUser)
                {
                    await
                    SleepEnvironmentLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SleepEnvironmentLog2 = await SleepEnvironmentLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SleepEnvironmentLog2?.setUser)
                {
                    await
                    SleepEnvironmentLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateNapLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NapLog0 = await NapLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (NapLog0?.setUser)
                {
                    await
                    NapLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NapLog1 = await NapLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (NapLog1?.setUser)
                {
                    await
                    NapLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NapLog2 = await NapLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (NapLog2?.setUser)
                {
                    await
                    NapLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMenstrualCycleWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MenstrualCycle0 = await MenstrualCycles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MenstrualCycle0?.setUser)
                {
                    await
                    MenstrualCycle0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MenstrualCycle1 = await MenstrualCycles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MenstrualCycle1?.setUser)
                {
                    await
                    MenstrualCycle1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MenstrualCycle2 = await MenstrualCycles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MenstrualCycle2?.setUser)
                {
                    await
                    MenstrualCycle2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMenstrualDayLogWithCycle() {
            
                const relatedCycle0 = await MenstrualCycles.findOne({
                    offset: Math.floor(Math.random() * (await MenstrualCycles.count())),
                });
                const MenstrualDayLog0 = await MenstrualDayLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MenstrualDayLog0?.setCycle)
                {
                    await
                    MenstrualDayLog0.
                    setCycle(relatedCycle0);
                }
            
                const relatedCycle1 = await MenstrualCycles.findOne({
                    offset: Math.floor(Math.random() * (await MenstrualCycles.count())),
                });
                const MenstrualDayLog1 = await MenstrualDayLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MenstrualDayLog1?.setCycle)
                {
                    await
                    MenstrualDayLog1.
                    setCycle(relatedCycle1);
                }
            
                const relatedCycle2 = await MenstrualCycles.findOne({
                    offset: Math.floor(Math.random() * (await MenstrualCycles.count())),
                });
                const MenstrualDayLog2 = await MenstrualDayLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MenstrualDayLog2?.setCycle)
                {
                    await
                    MenstrualDayLog2.
                    setCycle(relatedCycle2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateFertilityLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FertilityLog0 = await FertilityLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FertilityLog0?.setUser)
                {
                    await
                    FertilityLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FertilityLog1 = await FertilityLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FertilityLog1?.setUser)
                {
                    await
                    FertilityLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FertilityLog2 = await FertilityLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FertilityLog2?.setUser)
                {
                    await
                    FertilityLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associatePregnancyWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Pregnancy0 = await Pregnancies.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Pregnancy0?.setUser)
                {
                    await
                    Pregnancy0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Pregnancy1 = await Pregnancies.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Pregnancy1?.setUser)
                {
                    await
                    Pregnancy1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Pregnancy2 = await Pregnancies.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Pregnancy2?.setUser)
                {
                    await
                    Pregnancy2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associatePregnancySymptomLogWithPregnancy() {
            
                const relatedPregnancy0 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const PregnancySymptomLog0 = await PregnancySymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PregnancySymptomLog0?.setPregnancy)
                {
                    await
                    PregnancySymptomLog0.
                    setPregnancy(relatedPregnancy0);
                }
            
                const relatedPregnancy1 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const PregnancySymptomLog1 = await PregnancySymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PregnancySymptomLog1?.setPregnancy)
                {
                    await
                    PregnancySymptomLog1.
                    setPregnancy(relatedPregnancy1);
                }
            
                const relatedPregnancy2 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const PregnancySymptomLog2 = await PregnancySymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PregnancySymptomLog2?.setPregnancy)
                {
                    await
                    PregnancySymptomLog2.
                    setPregnancy(relatedPregnancy2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateBreastfeedingLogWithPregnancy() {
            
                const relatedPregnancy0 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const BreastfeedingLog0 = await BreastfeedingLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (BreastfeedingLog0?.setPregnancy)
                {
                    await
                    BreastfeedingLog0.
                    setPregnancy(relatedPregnancy0);
                }
            
                const relatedPregnancy1 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const BreastfeedingLog1 = await BreastfeedingLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (BreastfeedingLog1?.setPregnancy)
                {
                    await
                    BreastfeedingLog1.
                    setPregnancy(relatedPregnancy1);
                }
            
                const relatedPregnancy2 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const BreastfeedingLog2 = await BreastfeedingLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (BreastfeedingLog2?.setPregnancy)
                {
                    await
                    BreastfeedingLog2.
                    setPregnancy(relatedPregnancy2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateFormulaFeedingLogWithPregnancy() {
            
                const relatedPregnancy0 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const FormulaFeedingLog0 = await FormulaFeedingLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FormulaFeedingLog0?.setPregnancy)
                {
                    await
                    FormulaFeedingLog0.
                    setPregnancy(relatedPregnancy0);
                }
            
                const relatedPregnancy1 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const FormulaFeedingLog1 = await FormulaFeedingLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FormulaFeedingLog1?.setPregnancy)
                {
                    await
                    FormulaFeedingLog1.
                    setPregnancy(relatedPregnancy1);
                }
            
                const relatedPregnancy2 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const FormulaFeedingLog2 = await FormulaFeedingLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FormulaFeedingLog2?.setPregnancy)
                {
                    await
                    FormulaFeedingLog2.
                    setPregnancy(relatedPregnancy2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateBabyMetricWithPregnancy() {
            
                const relatedPregnancy0 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const BabyMetric0 = await BabyMetrics.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (BabyMetric0?.setPregnancy)
                {
                    await
                    BabyMetric0.
                    setPregnancy(relatedPregnancy0);
                }
            
                const relatedPregnancy1 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const BabyMetric1 = await BabyMetrics.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (BabyMetric1?.setPregnancy)
                {
                    await
                    BabyMetric1.
                    setPregnancy(relatedPregnancy1);
                }
            
                const relatedPregnancy2 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const BabyMetric2 = await BabyMetrics.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (BabyMetric2?.setPregnancy)
                {
                    await
                    BabyMetric2.
                    setPregnancy(relatedPregnancy2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateEpdsAssessmentWithPregnancy() {
            
                const relatedPregnancy0 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const EpdsAssessment0 = await EpdsAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (EpdsAssessment0?.setPregnancy)
                {
                    await
                    EpdsAssessment0.
                    setPregnancy(relatedPregnancy0);
                }
            
                const relatedPregnancy1 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const EpdsAssessment1 = await EpdsAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (EpdsAssessment1?.setPregnancy)
                {
                    await
                    EpdsAssessment1.
                    setPregnancy(relatedPregnancy1);
                }
            
                const relatedPregnancy2 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const EpdsAssessment2 = await EpdsAssessments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (EpdsAssessment2?.setPregnancy)
                {
                    await
                    EpdsAssessment2.
                    setPregnancy(relatedPregnancy2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateKickCountWithPregnancy() {
            
                const relatedPregnancy0 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const KickCount0 = await KickCounts.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (KickCount0?.setPregnancy)
                {
                    await
                    KickCount0.
                    setPregnancy(relatedPregnancy0);
                }
            
                const relatedPregnancy1 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const KickCount1 = await KickCounts.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (KickCount1?.setPregnancy)
                {
                    await
                    KickCount1.
                    setPregnancy(relatedPregnancy1);
                }
            
                const relatedPregnancy2 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const KickCount2 = await KickCounts.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (KickCount2?.setPregnancy)
                {
                    await
                    KickCount2.
                    setPregnancy(relatedPregnancy2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateContractionSessionWithPregnancy() {
            
                const relatedPregnancy0 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const ContractionSession0 = await ContractionSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ContractionSession0?.setPregnancy)
                {
                    await
                    ContractionSession0.
                    setPregnancy(relatedPregnancy0);
                }
            
                const relatedPregnancy1 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const ContractionSession1 = await ContractionSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ContractionSession1?.setPregnancy)
                {
                    await
                    ContractionSession1.
                    setPregnancy(relatedPregnancy1);
                }
            
                const relatedPregnancy2 = await Pregnancies.findOne({
                    offset: Math.floor(Math.random() * (await Pregnancies.count())),
                });
                const ContractionSession2 = await ContractionSessions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ContractionSession2?.setPregnancy)
                {
                    await
                    ContractionSession2.
                    setPregnancy(relatedPregnancy2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateContractionWithContraction_session() {
            
                const relatedContraction_session0 = await ContractionSessions.findOne({
                    offset: Math.floor(Math.random() * (await ContractionSessions.count())),
                });
                const Contraction0 = await Contractions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Contraction0?.setContraction_session)
                {
                    await
                    Contraction0.
                    setContraction_session(relatedContraction_session0);
                }
            
                const relatedContraction_session1 = await ContractionSessions.findOne({
                    offset: Math.floor(Math.random() * (await ContractionSessions.count())),
                });
                const Contraction1 = await Contractions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Contraction1?.setContraction_session)
                {
                    await
                    Contraction1.
                    setContraction_session(relatedContraction_session1);
                }
            
                const relatedContraction_session2 = await ContractionSessions.findOne({
                    offset: Math.floor(Math.random() * (await ContractionSessions.count())),
                });
                const Contraction2 = await Contractions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Contraction2?.setContraction_session)
                {
                    await
                    Contraction2.
                    setContraction_session(relatedContraction_session2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMenopauseSymptomLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MenopauseSymptomLog0 = await MenopauseSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MenopauseSymptomLog0?.setUser)
                {
                    await
                    MenopauseSymptomLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MenopauseSymptomLog1 = await MenopauseSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MenopauseSymptomLog1?.setUser)
                {
                    await
                    MenopauseSymptomLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MenopauseSymptomLog2 = await MenopauseSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MenopauseSymptomLog2?.setUser)
                {
                    await
                    MenopauseSymptomLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMaleReproductiveLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MaleReproductiveLog0 = await MaleReproductiveLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MaleReproductiveLog0?.setUser)
                {
                    await
                    MaleReproductiveLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MaleReproductiveLog1 = await MaleReproductiveLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MaleReproductiveLog1?.setUser)
                {
                    await
                    MaleReproductiveLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MaleReproductiveLog2 = await MaleReproductiveLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MaleReproductiveLog2?.setUser)
                {
                    await
                    MaleReproductiveLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSemenAnalysWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SemenAnalys0 = await SemenAnalyses.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SemenAnalys0?.setUser)
                {
                    await
                    SemenAnalys0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SemenAnalys1 = await SemenAnalyses.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SemenAnalys1?.setUser)
                {
                    await
                    SemenAnalys1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SemenAnalys2 = await SemenAnalyses.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SemenAnalys2?.setUser)
                {
                    await
                    SemenAnalys2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateStiTestWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const StiTest0 = await StiTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (StiTest0?.setUser)
                {
                    await
                    StiTest0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const StiTest1 = await StiTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (StiTest1?.setUser)
                {
                    await
                    StiTest1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const StiTest2 = await StiTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (StiTest2?.setUser)
                {
                    await
                    StiTest2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateStiTestWithClinic_provider() {
            
                const relatedClinic_provider0 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const StiTest0 = await StiTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (StiTest0?.setClinic_provider)
                {
                    await
                    StiTest0.
                    setClinic_provider(relatedClinic_provider0);
                }
            
                const relatedClinic_provider1 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const StiTest1 = await StiTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (StiTest1?.setClinic_provider)
                {
                    await
                    StiTest1.
                    setClinic_provider(relatedClinic_provider1);
                }
            
                const relatedClinic_provider2 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const StiTest2 = await StiTests.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (StiTest2?.setClinic_provider)
                {
                    await
                    StiTest2.
                    setClinic_provider(relatedClinic_provider2);
                }
            
        }
        
    
        
    

    
    
    
        
            
            async function associateContraceptionLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ContraceptionLog0 = await ContraceptionLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ContraceptionLog0?.setUser)
                {
                    await
                    ContraceptionLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ContraceptionLog1 = await ContraceptionLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ContraceptionLog1?.setUser)
                {
                    await
                    ContraceptionLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ContraceptionLog2 = await ContraceptionLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ContraceptionLog2?.setUser)
                {
                    await
                    ContraceptionLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateLibidoLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const LibidoLog0 = await LibidoLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (LibidoLog0?.setUser)
                {
                    await
                    LibidoLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const LibidoLog1 = await LibidoLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (LibidoLog1?.setUser)
                {
                    await
                    LibidoLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const LibidoLog2 = await LibidoLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (LibidoLog2?.setUser)
                {
                    await
                    LibidoLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSexualActivityLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SexualActivityLog0 = await SexualActivityLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SexualActivityLog0?.setUser)
                {
                    await
                    SexualActivityLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SexualActivityLog1 = await SexualActivityLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SexualActivityLog1?.setUser)
                {
                    await
                    SexualActivityLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SexualActivityLog2 = await SexualActivityLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SexualActivityLog2?.setUser)
                {
                    await
                    SexualActivityLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSkinCareLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SkinCareLog0 = await SkinCareLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SkinCareLog0?.setUser)
                {
                    await
                    SkinCareLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SkinCareLog1 = await SkinCareLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SkinCareLog1?.setUser)
                {
                    await
                    SkinCareLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SkinCareLog2 = await SkinCareLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SkinCareLog2?.setUser)
                {
                    await
                    SkinCareLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateSunExposureLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SunExposureLog0 = await SunExposureLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (SunExposureLog0?.setUser)
                {
                    await
                    SunExposureLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SunExposureLog1 = await SunExposureLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (SunExposureLog1?.setUser)
                {
                    await
                    SunExposureLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const SunExposureLog2 = await SunExposureLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (SunExposureLog2?.setUser)
                {
                    await
                    SunExposureLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateMoleLesionLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MoleLesionLog0 = await MoleLesionLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MoleLesionLog0?.setUser)
                {
                    await
                    MoleLesionLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MoleLesionLog1 = await MoleLesionLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MoleLesionLog1?.setUser)
                {
                    await
                    MoleLesionLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const MoleLesionLog2 = await MoleLesionLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MoleLesionLog2?.setUser)
                {
                    await
                    MoleLesionLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateOralHygieneLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const OralHygieneLog0 = await OralHygieneLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OralHygieneLog0?.setUser)
                {
                    await
                    OralHygieneLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const OralHygieneLog1 = await OralHygieneLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OralHygieneLog1?.setUser)
                {
                    await
                    OralHygieneLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const OralHygieneLog2 = await OralHygieneLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OralHygieneLog2?.setUser)
                {
                    await
                    OralHygieneLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateDentalRecordWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DentalRecord0 = await DentalRecords.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (DentalRecord0?.setUser)
                {
                    await
                    DentalRecord0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DentalRecord1 = await DentalRecords.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (DentalRecord1?.setUser)
                {
                    await
                    DentalRecord1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DentalRecord2 = await DentalRecords.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (DentalRecord2?.setUser)
                {
                    await
                    DentalRecord2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    

    
    
    
        
            
            async function associateDentalSymptomWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DentalSymptom0 = await DentalSymptoms.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (DentalSymptom0?.setUser)
                {
                    await
                    DentalSymptom0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DentalSymptom1 = await DentalSymptoms.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (DentalSymptom1?.setUser)
                {
                    await
                    DentalSymptom1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DentalSymptom2 = await DentalSymptoms.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (DentalSymptom2?.setUser)
                {
                    await
                    DentalSymptom2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateVisionPrescriptionWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const VisionPrescription0 = await VisionPrescriptions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (VisionPrescription0?.setUser)
                {
                    await
                    VisionPrescription0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const VisionPrescription1 = await VisionPrescriptions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (VisionPrescription1?.setUser)
                {
                    await
                    VisionPrescription1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const VisionPrescription2 = await VisionPrescriptions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (VisionPrescription2?.setUser)
                {
                    await
                    VisionPrescription2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateVisionPrescriptionWithOptometrist() {
            
                const relatedOptometrist0 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const VisionPrescription0 = await VisionPrescriptions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (VisionPrescription0?.setOptometrist)
                {
                    await
                    VisionPrescription0.
                    setOptometrist(relatedOptometrist0);
                }
            
                const relatedOptometrist1 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const VisionPrescription1 = await VisionPrescriptions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (VisionPrescription1?.setOptometrist)
                {
                    await
                    VisionPrescription1.
                    setOptometrist(relatedOptometrist1);
                }
            
                const relatedOptometrist2 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const VisionPrescription2 = await VisionPrescriptions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (VisionPrescription2?.setOptometrist)
                {
                    await
                    VisionPrescription2.
                    setOptometrist(relatedOptometrist2);
                }
            
        }
        
    
        
    

    
    
    
        
            
            async function associateEyeSymptomLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const EyeSymptomLog0 = await EyeSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (EyeSymptomLog0?.setUser)
                {
                    await
                    EyeSymptomLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const EyeSymptomLog1 = await EyeSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (EyeSymptomLog1?.setUser)
                {
                    await
                    EyeSymptomLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const EyeSymptomLog2 = await EyeSymptomLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (EyeSymptomLog2?.setUser)
                {
                    await
                    EyeSymptomLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateHearingTestLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HearingTestLog0 = await HearingTestLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HearingTestLog0?.setUser)
                {
                    await
                    HearingTestLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HearingTestLog1 = await HearingTestLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HearingTestLog1?.setUser)
                {
                    await
                    HearingTestLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const HearingTestLog2 = await HearingTestLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HearingTestLog2?.setUser)
                {
                    await
                    HearingTestLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
            
            async function associateHearingTestLogWithProvider() {
            
                const relatedProvider0 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const HearingTestLog0 = await HearingTestLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (HearingTestLog0?.setProvider)
                {
                    await
                    HearingTestLog0.
                    setProvider(relatedProvider0);
                }
            
                const relatedProvider1 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const HearingTestLog1 = await HearingTestLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (HearingTestLog1?.setProvider)
                {
                    await
                    HearingTestLog1.
                    setProvider(relatedProvider1);
                }
            
                const relatedProvider2 = await HealthcareProviders.findOne({
                    offset: Math.floor(Math.random() * (await HealthcareProviders.count())),
                });
                const HearingTestLog2 = await HearingTestLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (HearingTestLog2?.setProvider)
                {
                    await
                    HearingTestLog2.
                    setProvider(relatedProvider2);
                }
            
        }
        
    
        
    

    
    
    
        
            
            async function associateTinnitusLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const TinnitusLog0 = await TinnitusLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (TinnitusLog0?.setUser)
                {
                    await
                    TinnitusLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const TinnitusLog1 = await TinnitusLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (TinnitusLog1?.setUser)
                {
                    await
                    TinnitusLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const TinnitusLog2 = await TinnitusLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (TinnitusLog2?.setUser)
                {
                    await
                    TinnitusLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateNoiseExposureLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NoiseExposureLog0 = await NoiseExposureLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (NoiseExposureLog0?.setUser)
                {
                    await
                    NoiseExposureLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NoiseExposureLog1 = await NoiseExposureLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (NoiseExposureLog1?.setUser)
                {
                    await
                    NoiseExposureLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const NoiseExposureLog2 = await NoiseExposureLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (NoiseExposureLog2?.setUser)
                {
                    await
                    NoiseExposureLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associatePainLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const PainLog0 = await PainLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PainLog0?.setUser)
                {
                    await
                    PainLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const PainLog1 = await PainLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PainLog1?.setUser)
                {
                    await
                    PainLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const PainLog2 = await PainLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PainLog2?.setUser)
                {
                    await
                    PainLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateInjuryWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Injury0 = await Injuries.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Injury0?.setUser)
                {
                    await
                    Injury0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Injury1 = await Injuries.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Injury1?.setUser)
                {
                    await
                    Injury1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Injury2 = await Injuries.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Injury2?.setUser)
                {
                    await
                    Injury2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associatePhysioExercisWithInjury() {
            
                const relatedInjury0 = await Injuries.findOne({
                    offset: Math.floor(Math.random() * (await Injuries.count())),
                });
                const PhysioExercis0 = await PhysioExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PhysioExercis0?.setInjury)
                {
                    await
                    PhysioExercis0.
                    setInjury(relatedInjury0);
                }
            
                const relatedInjury1 = await Injuries.findOne({
                    offset: Math.floor(Math.random() * (await Injuries.count())),
                });
                const PhysioExercis1 = await PhysioExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PhysioExercis1?.setInjury)
                {
                    await
                    PhysioExercis1.
                    setInjury(relatedInjury1);
                }
            
                const relatedInjury2 = await Injuries.findOne({
                    offset: Math.floor(Math.random() * (await Injuries.count())),
                });
                const PhysioExercis2 = await PhysioExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PhysioExercis2?.setInjury)
                {
                    await
                    PhysioExercis2.
                    setInjury(relatedInjury2);
                }
            
        }
        
    
        
            
            async function associatePhysioExercisWithExercise() {
            
                const relatedExercise0 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const PhysioExercis0 = await PhysioExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PhysioExercis0?.setExercise)
                {
                    await
                    PhysioExercis0.
                    setExercise(relatedExercise0);
                }
            
                const relatedExercise1 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const PhysioExercis1 = await PhysioExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PhysioExercis1?.setExercise)
                {
                    await
                    PhysioExercis1.
                    setExercise(relatedExercise1);
                }
            
                const relatedExercise2 = await Exercises.findOne({
                    offset: Math.floor(Math.random() * (await Exercises.count())),
                });
                const PhysioExercis2 = await PhysioExercises.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PhysioExercis2?.setExercise)
                {
                    await
                    PhysioExercis2.
                    setExercise(relatedExercise2);
                }
            
        }
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateErgonomicsLogWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ErgonomicsLog0 = await ErgonomicsLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ErgonomicsLog0?.setUser)
                {
                    await
                    ErgonomicsLog0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ErgonomicsLog1 = await ErgonomicsLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ErgonomicsLog1?.setUser)
                {
                    await
                    ErgonomicsLog1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ErgonomicsLog2 = await ErgonomicsLogs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ErgonomicsLog2?.setUser)
                {
                    await
                    ErgonomicsLog2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateNotificationWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Notification0 = await Notifications.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Notification0?.setUser)
                {
                    await
                    Notification0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Notification1 = await Notifications.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Notification1?.setUser)
                {
                    await
                    Notification1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Notification2 = await Notifications.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Notification2?.setUser)
                {
                    await
                    Notification2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateExportJobWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ExportJob0 = await ExportJobs.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ExportJob0?.setUser)
                {
                    await
                    ExportJob0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ExportJob1 = await ExportJobs.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ExportJob1?.setUser)
                {
                    await
                    ExportJob1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ExportJob2 = await ExportJobs.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ExportJob2?.setUser)
                {
                    await
                    ExportJob2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
        
            
            async function associateAppSettingWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AppSetting0 = await AppSettings.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (AppSetting0?.setUser)
                {
                    await
                    AppSetting0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AppSetting1 = await AppSettings.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (AppSetting1?.setUser)
                {
                    await
                    AppSetting1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AppSetting2 = await AppSettings.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (AppSetting2?.setUser)
                {
                    await
                    AppSetting2.
                    setUser(relatedUser2);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    


module.exports = {
    up: async (queryInterface, Sequelize) => {
        
            
            
            
            
            
                
                await UserPhysicalBaselines.bulkCreate(UserPhysicalBaselinesData);
                
            
            
                
                await UserLifestyleBaselines.bulkCreate(UserLifestyleBaselinesData);
                
            
            
                
                await Goals.bulkCreate(GoalsData);
                
            
            
                
                await Conditions.bulkCreate(ConditionsData);
                
            
            
                
                await Surgeries.bulkCreate(SurgeriesData);
                
            
            
                
                await ImplantsDevices.bulkCreate(ImplantsDevicesData);
                
            
            
                
                await Allergies.bulkCreate(AllergiesData);
                
            
            
                
                await FamilyHistories.bulkCreate(FamilyHistoriesData);
                
            
            
                
                await HealthcareProviders.bulkCreate(HealthcareProvidersData);
                
            
            
                
                await Pharmacies.bulkCreate(PharmaciesData);
                
            
            
                
                await Medications.bulkCreate(MedicationsData);
                
            
            
                
                await MedicationDoses.bulkCreate(MedicationDosesData);
                
            
            
                
                await MedicationSideEffects.bulkCreate(MedicationSideEffectsData);
                
            
            
                
                await Supplements.bulkCreate(SupplementsData);
                
            
            
                
                await SupplementEvidenceItems.bulkCreate(SupplementEvidenceItemsData);
                
            
            
                
                await Workouts.bulkCreate(WorkoutsData);
                
            
            
                
                await Exercises.bulkCreate(ExercisesData);
                
            
            
                
                await WorkoutExercises.bulkCreate(WorkoutExercisesData);
                
            
            
                
                await WorkoutSchedules.bulkCreate(WorkoutSchedulesData);
                
            
            
                
                await TrainingBlocks.bulkCreate(TrainingBlocksData);
                
            
            
                
                await WorkoutSessions.bulkCreate(WorkoutSessionsData);
                
            
            
                
                await StrengthSets.bulkCreate(StrengthSetsData);
                
            
            
                
                await CardioSessions.bulkCreate(CardioSessionsData);
                
            
            
                
                await RecoveryLogs.bulkCreate(RecoveryLogsData);
                
            
            
                
                await HeatColdExposures.bulkCreate(HeatColdExposuresData);
                
            
            
                
                await FlexibilityAssessments.bulkCreate(FlexibilityAssessmentsData);
                
            
            
                
                await Foods.bulkCreate(FoodsData);
                
            
            
                
                await Recipes.bulkCreate(RecipesData);
                
            
            
                
                await RecipeCollections.bulkCreate(RecipeCollectionsData);
                
            
            
                
                await Meals.bulkCreate(MealsData);
                
            
            
                
                await MealItems.bulkCreate(MealItemsData);
                
            
            
                
                await NutritionTargets.bulkCreate(NutritionTargetsData);
                
            
            
                
                await MealPlans.bulkCreate(MealPlansData);
                
            
            
                
                await MealPlanItems.bulkCreate(MealPlanItemsData);
                
            
            
                
                await GroceryLists.bulkCreate(GroceryListsData);
                
            
            
                
                await GroceryItems.bulkCreate(GroceryItemsData);
                
            
            
                
                await HydrationLogs.bulkCreate(HydrationLogsData);
                
            
            
                
                await FastingSessions.bulkCreate(FastingSessionsData);
                
            
            
                
                await KetoneGlucoseLogs.bulkCreate(KetoneGlucoseLogsData);
                
            
            
                
                await BowelMovements.bulkCreate(BowelMovementsData);
                
            
            
                
                await GutSymptomLogs.bulkCreate(GutSymptomLogsData);
                
            
            
                
                await HealthMetrics.bulkCreate(HealthMetricsData);
                
            
            
                
                await SymptomLogs.bulkCreate(SymptomLogsData);
                
            
            
                
                await MedicalAppointments.bulkCreate(MedicalAppointmentsData);
                
            
            
                
                await LabDocuments.bulkCreate(LabDocumentsData);
                
            
            
                
                await Vaccinations.bulkCreate(VaccinationsData);
                
            
            
                
                await AiChatThreads.bulkCreate(AiChatThreadsData);
                
            
            
                
                await AiChatMessages.bulkCreate(AiChatMessagesData);
                
            
            
                
                await AiGenerations.bulkCreate(AiGenerationsData);
                
            
            
                
                await Habits.bulkCreate(HabitsData);
                
            
            
                
                await HabitLogs.bulkCreate(HabitLogsData);
                
            
            
                
                await HabitChallenges.bulkCreate(HabitChallengesData);
                
            
            
                
                await LibraryArticles.bulkCreate(LibraryArticlesData);
                
            
            
                
                await SavedArticles.bulkCreate(SavedArticlesData);
                
            
            
                
                await GlossaryTerms.bulkCreate(GlossaryTermsData);
                
            
            
                
                await HealthVaultDocuments.bulkCreate(HealthVaultDocumentsData);
                
            
            
                
                await EmergencyMedicalCards.bulkCreate(EmergencyMedicalCardsData);
                
            
            
                
                await AdvanceDirectives.bulkCreate(AdvanceDirectivesData);
                
            
            
                
                await InsurancePolicies.bulkCreate(InsurancePoliciesData);
                
            
            
                
                await FamilyGroups.bulkCreate(FamilyGroupsData);
                
            
            
                
                await FamilyMembers.bulkCreate(FamilyMembersData);
                
            
            
                
                await SharingPermissions.bulkCreate(SharingPermissionsData);
                
            
            
                
                await MoodLogs.bulkCreate(MoodLogsData);
                
            
            
                
                await MentalAssessments.bulkCreate(MentalAssessmentsData);
                
            
            
                
                await JournalEntries.bulkCreate(JournalEntriesData);
                
            
            
                
                await BreathingSessions.bulkCreate(BreathingSessionsData);
                
            
            
                
                await StressLogs.bulkCreate(StressLogsData);
                
            
            
                
                await CognitiveTests.bulkCreate(CognitiveTestsData);
                
            
            
                
                await SleepLogs.bulkCreate(SleepLogsData);
                
            
            
                
                await SleepEnvironmentLogs.bulkCreate(SleepEnvironmentLogsData);
                
            
            
                
                await NapLogs.bulkCreate(NapLogsData);
                
            
            
                
                await MenstrualCycles.bulkCreate(MenstrualCyclesData);
                
            
            
                
                await MenstrualDayLogs.bulkCreate(MenstrualDayLogsData);
                
            
            
                
                await FertilityLogs.bulkCreate(FertilityLogsData);
                
            
            
                
                await Pregnancies.bulkCreate(PregnanciesData);
                
            
            
                
                await PregnancySymptomLogs.bulkCreate(PregnancySymptomLogsData);
                
            
            
                
                await BreastfeedingLogs.bulkCreate(BreastfeedingLogsData);
                
            
            
                
                await FormulaFeedingLogs.bulkCreate(FormulaFeedingLogsData);
                
            
            
                
                await BabyMetrics.bulkCreate(BabyMetricsData);
                
            
            
                
                await EpdsAssessments.bulkCreate(EpdsAssessmentsData);
                
            
            
                
                await KickCounts.bulkCreate(KickCountsData);
                
            
            
                
                await ContractionSessions.bulkCreate(ContractionSessionsData);
                
            
            
                
                await Contractions.bulkCreate(ContractionsData);
                
            
            
                
                await MenopauseSymptomLogs.bulkCreate(MenopauseSymptomLogsData);
                
            
            
                
                await MaleReproductiveLogs.bulkCreate(MaleReproductiveLogsData);
                
            
            
                
                await SemenAnalyses.bulkCreate(SemenAnalysesData);
                
            
            
                
                await StiTests.bulkCreate(StiTestsData);
                
            
            
                
                await ContraceptionLogs.bulkCreate(ContraceptionLogsData);
                
            
            
                
                await LibidoLogs.bulkCreate(LibidoLogsData);
                
            
            
                
                await SexualActivityLogs.bulkCreate(SexualActivityLogsData);
                
            
            
                
                await SkinCareLogs.bulkCreate(SkinCareLogsData);
                
            
            
                
                await SunExposureLogs.bulkCreate(SunExposureLogsData);
                
            
            
                
                await MoleLesionLogs.bulkCreate(MoleLesionLogsData);
                
            
            
                
                await OralHygieneLogs.bulkCreate(OralHygieneLogsData);
                
            
            
                
                await DentalRecords.bulkCreate(DentalRecordsData);
                
            
            
                
                await DentalSymptoms.bulkCreate(DentalSymptomsData);
                
            
            
                
                await VisionPrescriptions.bulkCreate(VisionPrescriptionsData);
                
            
            
                
                await EyeSymptomLogs.bulkCreate(EyeSymptomLogsData);
                
            
            
                
                await HearingTestLogs.bulkCreate(HearingTestLogsData);
                
            
            
                
                await TinnitusLogs.bulkCreate(TinnitusLogsData);
                
            
            
                
                await NoiseExposureLogs.bulkCreate(NoiseExposureLogsData);
                
            
            
                
                await PainLogs.bulkCreate(PainLogsData);
                
            
            
                
                await Injuries.bulkCreate(InjuriesData);
                
            
            
                
                await PhysioExercises.bulkCreate(PhysioExercisesData);
                
            
            
                
                await ErgonomicsLogs.bulkCreate(ErgonomicsLogsData);
                
            
            
                
                await Notifications.bulkCreate(NotificationsData);
                
            
            
                
                await ExportJobs.bulkCreate(ExportJobsData);
                
            
            
                
                await AppSettings.bulkCreate(AppSettingsData);
                
            
            await Promise.all([
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        // Similar logic for "relation_many"
                    
                
            
                
                
                
                
                    
                        
                        await associateUserPhysicalBaselineWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateUserLifestyleBaselineWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateGoalWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateConditionWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSurgeryWithUser(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateImplantsDeviceWithUser(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateAllergyWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateFamilyHistoryWithUser(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHealthcareProviderWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associatePharmacyWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMedicationWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateMedicationWithPrescribing_provider(),
                    
                
                    
                        
                        await associateMedicationWithPharmacy(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMedicationDosWithMedication(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMedicationSideEffectWithMedication(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSupplementWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateWorkoutExercisWithWorkout(),
                    
                
                    
                        
                        await associateWorkoutExercisWithExercise(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateWorkoutScheduleWithUser(),
                    
                
                    
                        
                        await associateWorkoutScheduleWithWorkout(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateTrainingBlockWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateWorkoutSessionWithUser(),
                    
                
                    
                        
                        await associateWorkoutSessionWithWorkout(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateStrengthSetWithWorkout_session(),
                    
                
                    
                        
                        await associateStrengthSetWithExercise(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateCardioSessionWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateRecoveryLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHeatColdExposureWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateFlexibilityAssessmentWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateRecipeWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateRecipeCollectionWithUser(),
                    
                
                    
                
                    
                
                    
                        // Similar logic for "relation_many"
                    
                
            
                
                
                    
                        
                        await associateMealWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMealItemWithMeal(),
                    
                
                    
                        
                        await associateMealItemWithFood(),
                    
                
                    
                        
                        await associateMealItemWithRecipe(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateNutritionTargetWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMealPlanWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMealPlanItemWithMeal_plan(),
                    
                
                    
                
                    
                
                    
                        
                        await associateMealPlanItemWithRecipe(),
                    
                
                    
                
            
                
                
                    
                        
                        await associateGroceryListWithUser(),
                    
                
                    
                        
                        await associateGroceryListWithMeal_plan(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateGroceryItemWithGrocery_list(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHydrationLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateFastingSessionWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateKetoneGlucoseLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateBowelMovementWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateGutSymptomLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHealthMetricWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSymptomLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMedicalAppointmentWithUser(),
                    
                
                    
                        
                        await associateMedicalAppointmentWithProvider(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateLabDocumentWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateLabDocumentWithOrdered_by_provider(),
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateVaccinationWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateVaccinationWithProvider(),
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateAiChatThreadWithUser(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateAiChatMessageWithThread(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateAiGenerationWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHabitWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHabitLogWithHabit(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHabitChallengeWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSavedArticleWithUser(),
                    
                
                    
                        
                        await associateSavedArticleWithArticle(),
                    
                
                    
                
                    
                
            
                
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHealthVaultDocumentWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateEmergencyMedicalCardWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateAdvanceDirectiveWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateInsurancePolicyWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                
                    
                
                    
                        
                        await associateFamilyGroupWithOwner_user(),
                    
                
                    
                
            
                
                
                    
                        
                        await associateFamilyMemberWithFamily_group(),
                    
                
                    
                        
                        await associateFamilyMemberWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSharingPermissionWithFamily_group(),
                    
                
                    
                        
                        await associateSharingPermissionWithGranter_user(),
                    
                
                    
                        
                        await associateSharingPermissionWithGrantee_user(),
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMoodLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMentalAssessmentWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateJournalEntryWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateBreathingSessionWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateStressLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateCognitiveTestWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSleepLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSleepEnvironmentLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateNapLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMenstrualCycleWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMenstrualDayLogWithCycle(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateFertilityLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associatePregnancyWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associatePregnancySymptomLogWithPregnancy(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateBreastfeedingLogWithPregnancy(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateFormulaFeedingLogWithPregnancy(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateBabyMetricWithPregnancy(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateEpdsAssessmentWithPregnancy(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateKickCountWithPregnancy(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateContractionSessionWithPregnancy(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateContractionWithContraction_session(),
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMenopauseSymptomLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMaleReproductiveLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSemenAnalysWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateStiTestWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateStiTestWithClinic_provider(),
                    
                
                    
                
            
                
                
                    
                        
                        await associateContraceptionLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateLibidoLogWithUser(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSexualActivityLogWithUser(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSkinCareLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateSunExposureLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateMoleLesionLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateOralHygieneLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateDentalRecordWithUser(),
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateDentalSymptomWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateVisionPrescriptionWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateVisionPrescriptionWithOptometrist(),
                    
                
                    
                
            
                
                
                    
                        
                        await associateEyeSymptomLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateHearingTestLogWithUser(),
                    
                
                    
                
                    
                
                    
                        
                        await associateHearingTestLogWithProvider(),
                    
                
                    
                
            
                
                
                    
                        
                        await associateTinnitusLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateNoiseExposureLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associatePainLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateInjuryWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associatePhysioExercisWithInjury(),
                    
                
                    
                        
                        await associatePhysioExercisWithExercise(),
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateErgonomicsLogWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateNotificationWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateExportJobWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
                
                
                    
                        
                        await associateAppSettingWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
            
            ]);
        
    },

    down: async (queryInterface, Sequelize) => {
        
            
            
            
            
            
            await queryInterface.bulkDelete('user_physical_baselines', null, {});
            
            
            await queryInterface.bulkDelete('user_lifestyle_baselines', null, {});
            
            
            await queryInterface.bulkDelete('goals', null, {});
            
            
            await queryInterface.bulkDelete('conditions', null, {});
            
            
            await queryInterface.bulkDelete('surgeries', null, {});
            
            
            await queryInterface.bulkDelete('implants_devices', null, {});
            
            
            await queryInterface.bulkDelete('allergies', null, {});
            
            
            await queryInterface.bulkDelete('family_histories', null, {});
            
            
            await queryInterface.bulkDelete('healthcare_providers', null, {});
            
            
            await queryInterface.bulkDelete('pharmacies', null, {});
            
            
            await queryInterface.bulkDelete('medications', null, {});
            
            
            await queryInterface.bulkDelete('medication_doses', null, {});
            
            
            await queryInterface.bulkDelete('medication_side_effects', null, {});
            
            
            await queryInterface.bulkDelete('supplements', null, {});
            
            
            await queryInterface.bulkDelete('supplement_evidence_items', null, {});
            
            
            await queryInterface.bulkDelete('workouts', null, {});
            
            
            await queryInterface.bulkDelete('exercises', null, {});
            
            
            await queryInterface.bulkDelete('workout_exercises', null, {});
            
            
            await queryInterface.bulkDelete('workout_schedules', null, {});
            
            
            await queryInterface.bulkDelete('training_blocks', null, {});
            
            
            await queryInterface.bulkDelete('workout_sessions', null, {});
            
            
            await queryInterface.bulkDelete('strength_sets', null, {});
            
            
            await queryInterface.bulkDelete('cardio_sessions', null, {});
            
            
            await queryInterface.bulkDelete('recovery_logs', null, {});
            
            
            await queryInterface.bulkDelete('heat_cold_exposures', null, {});
            
            
            await queryInterface.bulkDelete('flexibility_assessments', null, {});
            
            
            await queryInterface.bulkDelete('foods', null, {});
            
            
            await queryInterface.bulkDelete('recipes', null, {});
            
            
            await queryInterface.bulkDelete('recipe_collections', null, {});
            
            
            await queryInterface.bulkDelete('meals', null, {});
            
            
            await queryInterface.bulkDelete('meal_items', null, {});
            
            
            await queryInterface.bulkDelete('nutrition_targets', null, {});
            
            
            await queryInterface.bulkDelete('meal_plans', null, {});
            
            
            await queryInterface.bulkDelete('meal_plan_items', null, {});
            
            
            await queryInterface.bulkDelete('grocery_lists', null, {});
            
            
            await queryInterface.bulkDelete('grocery_items', null, {});
            
            
            await queryInterface.bulkDelete('hydration_logs', null, {});
            
            
            await queryInterface.bulkDelete('fasting_sessions', null, {});
            
            
            await queryInterface.bulkDelete('ketone_glucose_logs', null, {});
            
            
            await queryInterface.bulkDelete('bowel_movements', null, {});
            
            
            await queryInterface.bulkDelete('gut_symptom_logs', null, {});
            
            
            await queryInterface.bulkDelete('health_metrics', null, {});
            
            
            await queryInterface.bulkDelete('symptom_logs', null, {});
            
            
            await queryInterface.bulkDelete('medical_appointments', null, {});
            
            
            await queryInterface.bulkDelete('lab_documents', null, {});
            
            
            await queryInterface.bulkDelete('vaccinations', null, {});
            
            
            await queryInterface.bulkDelete('ai_chat_threads', null, {});
            
            
            await queryInterface.bulkDelete('ai_chat_messages', null, {});
            
            
            await queryInterface.bulkDelete('ai_generations', null, {});
            
            
            await queryInterface.bulkDelete('habits', null, {});
            
            
            await queryInterface.bulkDelete('habit_logs', null, {});
            
            
            await queryInterface.bulkDelete('habit_challenges', null, {});
            
            
            await queryInterface.bulkDelete('library_articles', null, {});
            
            
            await queryInterface.bulkDelete('saved_articles', null, {});
            
            
            await queryInterface.bulkDelete('glossary_terms', null, {});
            
            
            await queryInterface.bulkDelete('health_vault_documents', null, {});
            
            
            await queryInterface.bulkDelete('emergency_medical_cards', null, {});
            
            
            await queryInterface.bulkDelete('advance_directives', null, {});
            
            
            await queryInterface.bulkDelete('insurance_policies', null, {});
            
            
            await queryInterface.bulkDelete('family_groups', null, {});
            
            
            await queryInterface.bulkDelete('family_members', null, {});
            
            
            await queryInterface.bulkDelete('sharing_permissions', null, {});
            
            
            await queryInterface.bulkDelete('mood_logs', null, {});
            
            
            await queryInterface.bulkDelete('mental_assessments', null, {});
            
            
            await queryInterface.bulkDelete('journal_entries', null, {});
            
            
            await queryInterface.bulkDelete('breathing_sessions', null, {});
            
            
            await queryInterface.bulkDelete('stress_logs', null, {});
            
            
            await queryInterface.bulkDelete('cognitive_tests', null, {});
            
            
            await queryInterface.bulkDelete('sleep_logs', null, {});
            
            
            await queryInterface.bulkDelete('sleep_environment_logs', null, {});
            
            
            await queryInterface.bulkDelete('nap_logs', null, {});
            
            
            await queryInterface.bulkDelete('menstrual_cycles', null, {});
            
            
            await queryInterface.bulkDelete('menstrual_day_logs', null, {});
            
            
            await queryInterface.bulkDelete('fertility_logs', null, {});
            
            
            await queryInterface.bulkDelete('pregnancies', null, {});
            
            
            await queryInterface.bulkDelete('pregnancy_symptom_logs', null, {});
            
            
            await queryInterface.bulkDelete('breastfeeding_logs', null, {});
            
            
            await queryInterface.bulkDelete('formula_feeding_logs', null, {});
            
            
            await queryInterface.bulkDelete('baby_metrics', null, {});
            
            
            await queryInterface.bulkDelete('epds_assessments', null, {});
            
            
            await queryInterface.bulkDelete('kick_counts', null, {});
            
            
            await queryInterface.bulkDelete('contraction_sessions', null, {});
            
            
            await queryInterface.bulkDelete('contractions', null, {});
            
            
            await queryInterface.bulkDelete('menopause_symptom_logs', null, {});
            
            
            await queryInterface.bulkDelete('male_reproductive_logs', null, {});
            
            
            await queryInterface.bulkDelete('semen_analyses', null, {});
            
            
            await queryInterface.bulkDelete('sti_tests', null, {});
            
            
            await queryInterface.bulkDelete('contraception_logs', null, {});
            
            
            await queryInterface.bulkDelete('libido_logs', null, {});
            
            
            await queryInterface.bulkDelete('sexual_activity_logs', null, {});
            
            
            await queryInterface.bulkDelete('skin_care_logs', null, {});
            
            
            await queryInterface.bulkDelete('sun_exposure_logs', null, {});
            
            
            await queryInterface.bulkDelete('mole_lesion_logs', null, {});
            
            
            await queryInterface.bulkDelete('oral_hygiene_logs', null, {});
            
            
            await queryInterface.bulkDelete('dental_records', null, {});
            
            
            await queryInterface.bulkDelete('dental_symptoms', null, {});
            
            
            await queryInterface.bulkDelete('vision_prescriptions', null, {});
            
            
            await queryInterface.bulkDelete('eye_symptom_logs', null, {});
            
            
            await queryInterface.bulkDelete('hearing_test_logs', null, {});
            
            
            await queryInterface.bulkDelete('tinnitus_logs', null, {});
            
            
            await queryInterface.bulkDelete('noise_exposure_logs', null, {});
            
            
            await queryInterface.bulkDelete('pain_logs', null, {});
            
            
            await queryInterface.bulkDelete('injuries', null, {});
            
            
            await queryInterface.bulkDelete('physio_exercises', null, {});
            
            
            await queryInterface.bulkDelete('ergonomics_logs', null, {});
            
            
            await queryInterface.bulkDelete('notifications', null, {});
            
            
            await queryInterface.bulkDelete('export_jobs', null, {});
            
            
            await queryInterface.bulkDelete('app_settings', null, {});
            
        
    },
};