// Sleep clinic overnight studies dataset (sleep-clinic-overnight-studies-dataset) v1 — Prisma seed
// Synthetic sample data, CC0-1.0. Generated deterministically; re-running the
// generator with the same spec and seed reproduces this file exactly.
//
// Delegates are named after the tables (prisma.patients), which assumes models
// mapped to those table names. Rename the delegates if your models differ.
import { PrismaClient } from '@prisma/client';

const prisma = new PrismaClient();

async function main() {
    await prisma.patients.createMany({
        data: [
            { id: 1, first_name: "Wesley", last_name: "Dietrich", sex: "female", age: 45, bmi: "29.1", neck_cm: "41.0", sleepiness_score: 12, referral_reason: "daytime sleepiness", referred_on: "2025-11-09" },
            { id: 2, first_name: "Keshawn", last_name: "Haley", sex: "female", age: 59, bmi: "34.1", neck_cm: "37.4", sleepiness_score: 9, referral_reason: "loud snoring", referred_on: "2025-11-18" },
            { id: 3, first_name: "Berenice", last_name: "Smitham", sex: "male", age: 51, bmi: "28.0", neck_cm: "37.6", sleepiness_score: 12, referral_reason: "daytime sleepiness", referred_on: "2025-10-10" },
            { id: 4, first_name: "Victoria", last_name: "Denesik", sex: "female", age: 62, bmi: "36.0", neck_cm: "35.3", sleepiness_score: 11, referral_reason: "insomnia", referred_on: "2025-11-16" },
            { id: 5, first_name: "Elfrieda", last_name: "Ebert", sex: "female", age: 46, bmi: "28.6", neck_cm: "45.6", sleepiness_score: 9, referral_reason: "insomnia", referred_on: "2025-11-19" },
            { id: 6, first_name: "Karianne", last_name: "Lowe", sex: "male", age: 63, bmi: "39.1", neck_cm: "40.3", sleepiness_score: 12, referral_reason: "restless legs", referred_on: "2025-09-15" },
            { id: 7, first_name: "Kennedi", last_name: "Fisher", sex: "male", age: 49, bmi: "28.9", neck_cm: "44.5", sleepiness_score: 10, referral_reason: "daytime sleepiness", referred_on: "2026-01-29" },
            { id: 8, first_name: "Alejandrin", last_name: "Brakus", sex: "female", age: 65, bmi: "30.0", neck_cm: "39.7", sleepiness_score: 15, referral_reason: "loud snoring", referred_on: "2025-10-03" },
            { id: 9, first_name: "Annie", last_name: "Gusikowski", sex: "female", age: 75, bmi: "32.1", neck_cm: "36.1", sleepiness_score: 15, referral_reason: "loud snoring", referred_on: "2025-12-31" },
            { id: 10, first_name: "Kolby", last_name: "Wilkinson", sex: "male", age: 47, bmi: "30.4", neck_cm: "36.2", sleepiness_score: 13, referral_reason: "insomnia", referred_on: "2025-09-22" },
            { id: 11, first_name: "Jennings", last_name: "Zulauf", sex: "male", age: 64, bmi: "34.7", neck_cm: "41.2", sleepiness_score: 17, referral_reason: "daytime sleepiness", referred_on: "2025-09-28" },
            { id: 12, first_name: "Jarrell", last_name: "Kautzer", sex: "male", age: 61, bmi: "36.9", neck_cm: "40.8", sleepiness_score: 9, referral_reason: "loud snoring", referred_on: "2025-09-24" },
            { id: 13, first_name: "Jody", last_name: "Reichel", sex: "female", age: 59, bmi: "38.8", neck_cm: "42.3", sleepiness_score: 5, referral_reason: "daytime sleepiness", referred_on: "2025-12-16" },
            { id: 14, first_name: "Caleb", last_name: "Dickens-Schaden", sex: "female", age: 49, bmi: "33.5", neck_cm: "42.2", sleepiness_score: 15, referral_reason: "loud snoring", referred_on: "2025-11-22" },
            { id: 15, first_name: "Rashawn", last_name: "O'Keefe", sex: "female", age: 42, bmi: "33.9", neck_cm: "37.0", sleepiness_score: 15, referral_reason: "loud snoring", referred_on: "2026-01-16" },
            { id: 16, first_name: "Ulices", last_name: "Mosciski", sex: "female", age: 48, bmi: "28.5", neck_cm: "42.8", sleepiness_score: 12, referral_reason: "restless legs", referred_on: "2025-12-11" },
            { id: 17, first_name: "Emerald", last_name: "Rippin", sex: "male", age: 49, bmi: "34.8", neck_cm: "38.9", sleepiness_score: 16, referral_reason: "daytime sleepiness", referred_on: "2025-11-11" },
            { id: 18, first_name: "Dane", last_name: "Toy", sex: "male", age: 44, bmi: "35.1", neck_cm: "42.1", sleepiness_score: 16, referral_reason: "daytime sleepiness", referred_on: "2025-12-16" },
            { id: 19, first_name: "Ruby", last_name: "Hahn", sex: "female", age: 51, bmi: "32.9", neck_cm: "40.8", sleepiness_score: 13, referral_reason: "daytime sleepiness", referred_on: "2025-11-30" },
            { id: 20, first_name: "Saul", last_name: "Wyman", sex: "male", age: 43, bmi: "33.3", neck_cm: "41.7", sleepiness_score: 10, referral_reason: "insomnia", referred_on: "2025-10-15" },
            { id: 21, first_name: "Abdul", last_name: "Hilpert-Rempel", sex: "male", age: 42, bmi: "32.9", neck_cm: "41.6", sleepiness_score: 11, referral_reason: "loud snoring", referred_on: "2025-12-25" },
            { id: 22, first_name: "Kenyatta", last_name: "Hoppe", sex: "male", age: 51, bmi: "32.5", neck_cm: "41.8", sleepiness_score: 13, referral_reason: "insomnia", referred_on: "2025-12-04" },
            { id: 23, first_name: "Keanu", last_name: "Gislason", sex: "female", age: 52, bmi: "30.3", neck_cm: "43.4", sleepiness_score: 10, referral_reason: "loud snoring", referred_on: "2025-09-13" },
            { id: 24, first_name: "Braulio", last_name: "Stroman", sex: "female", age: 67, bmi: "34.0", neck_cm: "39.8", sleepiness_score: 7, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-18" },
            { id: 25, first_name: "Creola", last_name: "Bode", sex: "male", age: 29, bmi: "36.2", neck_cm: "46.6", sleepiness_score: 10, referral_reason: "daytime sleepiness", referred_on: "2025-11-07" },
            { id: 26, first_name: "Einar", last_name: "Walsh", sex: "male", age: 38, bmi: "31.8", neck_cm: "39.6", sleepiness_score: 15, referral_reason: "witnessed breathing pauses", referred_on: "2025-09-25" },
            { id: 27, first_name: "Pearlie", last_name: "Kunde", sex: "female", age: 41, bmi: "35.7", neck_cm: "41.8", sleepiness_score: 14, referral_reason: "insomnia", referred_on: "2026-01-25" },
            { id: 28, first_name: "Charlene", last_name: "Stark", sex: "male", age: 57, bmi: "32.3", neck_cm: "40.1", sleepiness_score: 9, referral_reason: "restless legs", referred_on: "2025-10-12" },
            { id: 29, first_name: "Dexter", last_name: "Koch", sex: "female", age: 55, bmi: "33.1", neck_cm: "37.1", sleepiness_score: 10, referral_reason: "witnessed breathing pauses", referred_on: "2025-09-13" },
            { id: 30, first_name: "Debra", last_name: "Farrell", sex: "male", age: 38, bmi: "36.2", neck_cm: "40.7", sleepiness_score: 6, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-11" },
            { id: 31, first_name: "Marquise", last_name: "Adams", sex: "female", age: 39, bmi: "32.6", neck_cm: "43.1", sleepiness_score: 15, referral_reason: "loud snoring", referred_on: "2025-09-24" },
            { id: 32, first_name: "Milford", last_name: "Schoen", sex: "male", age: 45, bmi: "33.1", neck_cm: "43.0", sleepiness_score: 11, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-11" },
            { id: 33, first_name: "Francesco", last_name: "Wehner", sex: "female", age: 59, bmi: "30.6", neck_cm: "38.8", sleepiness_score: 17, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-07" },
            { id: 34, first_name: "Sherry", last_name: "Thompson", sex: "female", age: 43, bmi: "36.2", neck_cm: "38.1", sleepiness_score: 8, referral_reason: "daytime sleepiness", referred_on: "2025-12-17" },
            { id: 35, first_name: "Angelina", last_name: "Sporer", sex: "male", age: 60, bmi: "34.3", neck_cm: "41.7", sleepiness_score: 16, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-03" },
            { id: 36, first_name: "Aubree", last_name: "Bode", sex: "male", age: 54, bmi: "29.6", neck_cm: "40.1", sleepiness_score: 13, referral_reason: "daytime sleepiness", referred_on: "2025-11-25" },
            { id: 37, first_name: "Darrin", last_name: "Becker", sex: "male", age: 43, bmi: "31.7", neck_cm: "40.3", sleepiness_score: 15, referral_reason: "insomnia", referred_on: "2026-01-06" },
            { id: 38, first_name: "Jordon", last_name: "Gerhold", sex: "female", age: 65, bmi: "42.0", neck_cm: "43.9", sleepiness_score: 12, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-13" },
            { id: 39, first_name: "Burnice", last_name: "Rowe", sex: "female", age: 50, bmi: "29.7", neck_cm: "43.8", sleepiness_score: 12, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-27" },
            { id: 40, first_name: "Elmer", last_name: "Krajcik", sex: "female", age: 62, bmi: "33.7", neck_cm: "39.8", sleepiness_score: 18, referral_reason: "loud snoring", referred_on: "2025-10-24" },
            { id: 41, first_name: "Audrey", last_name: "Ebert", sex: "male", age: 59, bmi: "32.4", neck_cm: "39.2", sleepiness_score: 12, referral_reason: "loud snoring", referred_on: "2025-09-17" },
            { id: 42, first_name: "Orion", last_name: "Osinski", sex: "female", age: 41, bmi: "33.8", neck_cm: "40.6", sleepiness_score: 9, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-30" },
            { id: 43, first_name: "Carmel", last_name: "Crooks", sex: "male", age: 52, bmi: "34.0", neck_cm: "42.9", sleepiness_score: 17, referral_reason: "loud snoring", referred_on: "2025-12-14" },
            { id: 44, first_name: "Maximillia", last_name: "Schoen", sex: "female", age: 43, bmi: "39.4", neck_cm: "41.5", sleepiness_score: 11, referral_reason: "witnessed breathing pauses", referred_on: "2025-10-16" },
            { id: 45, first_name: "Derrick", last_name: "Hagenes", sex: "male", age: 65, bmi: "39.3", neck_cm: "35.7", sleepiness_score: 16, referral_reason: "loud snoring", referred_on: "2026-01-15" },
            { id: 46, first_name: "Lawson", last_name: "Gottlieb", sex: "female", age: 61, bmi: "32.4", neck_cm: "37.7", sleepiness_score: 5, referral_reason: "loud snoring", referred_on: "2025-10-31" },
            { id: 47, first_name: "Donnell", last_name: "Kautzer", sex: "female", age: 44, bmi: "27.8", neck_cm: "43.7", sleepiness_score: 17, referral_reason: "daytime sleepiness", referred_on: "2025-10-08" },
            { id: 48, first_name: "Natalia", last_name: "Schmitt", sex: "male", age: 42, bmi: "31.4", neck_cm: "40.3", sleepiness_score: 8, referral_reason: "loud snoring", referred_on: "2025-12-10" },
            { id: 49, first_name: "Meta", last_name: "Kunde", sex: "female", age: 41, bmi: "28.9", neck_cm: "41.5", sleepiness_score: 14, referral_reason: "restless legs", referred_on: "2026-01-28" },
            { id: 50, first_name: "Sammie", last_name: "Christiansen", sex: "male", age: 44, bmi: "27.9", neck_cm: "41.9", sleepiness_score: 9, referral_reason: "loud snoring", referred_on: "2026-01-15" },
            { id: 51, first_name: "Imani", last_name: "Schimmel", sex: "female", age: 50, bmi: "37.2", neck_cm: "37.4", sleepiness_score: 14, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-05" },
            { id: 52, first_name: "Krystel", last_name: "Cartwright", sex: "male", age: 49, bmi: "29.0", neck_cm: "35.5", sleepiness_score: 10, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-19" },
            { id: 53, first_name: "Ralph", last_name: "Shields", sex: "male", age: 46, bmi: "27.6", neck_cm: "38.5", sleepiness_score: 12, referral_reason: "witnessed breathing pauses", referred_on: "2025-09-11" },
            { id: 54, first_name: "Raheem", last_name: "Glover", sex: "female", age: 50, bmi: "31.4", neck_cm: "41.2", sleepiness_score: 9, referral_reason: "insomnia", referred_on: "2025-10-18" },
            { id: 55, first_name: "Hailey", last_name: "Beier", sex: "male", age: 49, bmi: "35.9", neck_cm: "42.3", sleepiness_score: 13, referral_reason: "loud snoring", referred_on: "2025-10-15" },
            { id: 56, first_name: "Stephan", last_name: "Cormier", sex: "male", age: 53, bmi: "30.9", neck_cm: "42.8", sleepiness_score: 12, referral_reason: "loud snoring", referred_on: "2025-12-06" },
            { id: 57, first_name: "Jamaal", last_name: "Gibson", sex: "female", age: 37, bmi: "29.9", neck_cm: "40.3", sleepiness_score: 11, referral_reason: "daytime sleepiness", referred_on: "2025-12-02" },
            { id: 58, first_name: "Lonzo", last_name: "Volkman", sex: "male", age: 43, bmi: "31.6", neck_cm: "40.5", sleepiness_score: 15, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-23" },
            { id: 59, first_name: "Sherri", last_name: "Little", sex: "male", age: 41, bmi: "31.9", neck_cm: "41.2", sleepiness_score: 9, referral_reason: "loud snoring", referred_on: "2025-11-19" },
            { id: 60, first_name: "Hettie", last_name: "Kutch", sex: "male", age: 44, bmi: "29.0", neck_cm: "38.5", sleepiness_score: 11, referral_reason: "loud snoring", referred_on: "2025-10-03" },
            { id: 61, first_name: "Carissa", last_name: "Treutel", sex: "male", age: 54, bmi: "32.3", neck_cm: "38.3", sleepiness_score: 15, referral_reason: "daytime sleepiness", referred_on: "2025-12-11" },
            { id: 62, first_name: "Raquel", last_name: "Schinner", sex: "male", age: 64, bmi: "31.1", neck_cm: "37.4", sleepiness_score: 10, referral_reason: "insomnia", referred_on: "2025-10-23" },
            { id: 63, first_name: "Hattie", last_name: "Torp", sex: "female", age: 41, bmi: "33.4", neck_cm: "40.1", sleepiness_score: 8, referral_reason: "witnessed breathing pauses", referred_on: "2025-09-21" },
            { id: 64, first_name: "Helmer", last_name: "Kulas", sex: "female", age: 55, bmi: "41.2", neck_cm: "38.9", sleepiness_score: 16, referral_reason: "restless legs", referred_on: "2025-12-30" },
            { id: 65, first_name: "Mortimer", last_name: "Schmeler", sex: "male", age: 65, bmi: "34.2", neck_cm: "38.9", sleepiness_score: 15, referral_reason: "loud snoring", referred_on: "2025-10-18" },
            { id: 66, first_name: "Wava", last_name: "Renner", sex: "female", age: 53, bmi: "29.7", neck_cm: "35.4", sleepiness_score: 14, referral_reason: "witnessed breathing pauses", referred_on: "2025-09-07" },
            { id: 67, first_name: "Alejandrin", last_name: "Shanahan", sex: "female", age: 45, bmi: "33.0", neck_cm: "37.6", sleepiness_score: 11, referral_reason: "witnessed breathing pauses", referred_on: "2025-10-06" },
            { id: 68, first_name: "Angel", last_name: "Johns", sex: "female", age: 45, bmi: "38.9", neck_cm: "42.0", sleepiness_score: 12, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-03" },
            { id: 69, first_name: "Gail", last_name: "Skiles", sex: "female", age: 44, bmi: "30.9", neck_cm: "40.3", sleepiness_score: 14, referral_reason: "daytime sleepiness", referred_on: "2025-11-06" },
            { id: 70, first_name: "Kristin", last_name: "Hegmann", sex: "male", age: 62, bmi: "35.1", neck_cm: "37.5", sleepiness_score: 20, referral_reason: "daytime sleepiness", referred_on: "2025-10-11" },
            { id: 71, first_name: "Therese", last_name: "Morissette", sex: "male", age: 50, bmi: "30.1", neck_cm: "43.4", sleepiness_score: 8, referral_reason: "restless legs", referred_on: "2025-09-09" },
            { id: 72, first_name: "Watson", last_name: "Cole", sex: "male", age: 50, bmi: "27.3", neck_cm: "38.3", sleepiness_score: 13, referral_reason: "daytime sleepiness", referred_on: "2026-01-02" },
            { id: 73, first_name: "Julien", last_name: "Buckridge-Larson", sex: "female", age: 59, bmi: "32.6", neck_cm: "38.5", sleepiness_score: 15, referral_reason: "loud snoring", referred_on: "2025-12-17" },
            { id: 74, first_name: "Kacey", last_name: "Skiles", sex: "female", age: 55, bmi: "27.1", neck_cm: "38.7", sleepiness_score: 5, referral_reason: "loud snoring", referred_on: "2025-12-30" },
            { id: 75, first_name: "Lionel", last_name: "Casper", sex: "male", age: 63, bmi: "40.0", neck_cm: "40.7", sleepiness_score: 17, referral_reason: "insomnia", referred_on: "2025-10-23" },
            { id: 76, first_name: "Paris", last_name: "Cummerata", sex: "male", age: 42, bmi: "36.3", neck_cm: "39.3", sleepiness_score: 14, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-09" },
            { id: 77, first_name: "Zella", last_name: "Kuhic", sex: "female", age: 67, bmi: "26.8", neck_cm: "41.4", sleepiness_score: 19, referral_reason: "loud snoring", referred_on: "2025-11-11" },
            { id: 78, first_name: "Kelsie", last_name: "Greenfelder", sex: "female", age: 57, bmi: "27.6", neck_cm: "40.9", sleepiness_score: 6, referral_reason: "loud snoring", referred_on: "2025-11-22" },
            { id: 79, first_name: "Dejah", last_name: "Crona", sex: "male", age: 56, bmi: "29.5", neck_cm: "39.4", sleepiness_score: 6, referral_reason: "loud snoring", referred_on: "2025-11-29" },
            { id: 80, first_name: "Gerardo", last_name: "Schulist", sex: "female", age: 41, bmi: "37.8", neck_cm: "39.3", sleepiness_score: 16, referral_reason: "loud snoring", referred_on: "2026-01-27" },
            { id: 81, first_name: "Brain", last_name: "Braun", sex: "male", age: 77, bmi: "35.8", neck_cm: "36.9", sleepiness_score: 13, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-19" },
            { id: 82, first_name: "Al", last_name: "Gislason", sex: "female", age: 53, bmi: "39.2", neck_cm: "45.1", sleepiness_score: 8, referral_reason: "witnessed breathing pauses", referred_on: "2025-10-24" },
            { id: 83, first_name: "Aida", last_name: "Gleichner-O'Connell", sex: "female", age: 55, bmi: "29.9", neck_cm: "41.4", sleepiness_score: 7, referral_reason: "insomnia", referred_on: "2025-11-02" },
            { id: 84, first_name: "Lorenza", last_name: "Spinka", sex: "female", age: 44, bmi: "27.9", neck_cm: "36.6", sleepiness_score: 9, referral_reason: "insomnia", referred_on: "2025-11-15" },
            { id: 85, first_name: "Vicenta", last_name: "Hills", sex: "female", age: 47, bmi: "31.6", neck_cm: "35.3", sleepiness_score: 11, referral_reason: "insomnia", referred_on: "2025-09-29" },
            { id: 86, first_name: "Randi", last_name: "Crist", sex: "female", age: 56, bmi: "32.7", neck_cm: "45.6", sleepiness_score: 18, referral_reason: "loud snoring", referred_on: "2026-01-01" },
            { id: 87, first_name: "Makenna", last_name: "Kshlerin", sex: "male", age: 57, bmi: "26.6", neck_cm: "38.0", sleepiness_score: 8, referral_reason: "loud snoring", referred_on: "2025-09-22" },
            { id: 88, first_name: "Jerrell", last_name: "Cummings", sex: "female", age: 38, bmi: "31.8", neck_cm: "39.8", sleepiness_score: 14, referral_reason: "witnessed breathing pauses", referred_on: "2025-09-24" },
            { id: 89, first_name: "Amos", last_name: "Christiansen", sex: "female", age: 41, bmi: "35.1", neck_cm: "34.8", sleepiness_score: 8, referral_reason: "daytime sleepiness", referred_on: "2026-01-17" },
            { id: 90, first_name: "Owen", last_name: "Rempel", sex: "female", age: 50, bmi: "35.4", neck_cm: "38.4", sleepiness_score: 17, referral_reason: "daytime sleepiness", referred_on: "2025-12-07" },
            { id: 91, first_name: "Reuben", last_name: "Kihn", sex: "female", age: 55, bmi: "37.1", neck_cm: "42.6", sleepiness_score: 10, referral_reason: "insomnia", referred_on: "2025-12-30" },
            { id: 92, first_name: "Perry", last_name: "Schoen", sex: "female", age: 43, bmi: "29.5", neck_cm: "40.6", sleepiness_score: 10, referral_reason: "restless legs", referred_on: "2025-09-23" },
            { id: 93, first_name: "Maye", last_name: "Osinski", sex: "male", age: 54, bmi: "24.8", neck_cm: "39.9", sleepiness_score: 10, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-26" },
            { id: 94, first_name: "Myles", last_name: "Auer", sex: "female", age: 47, bmi: "34.3", neck_cm: "38.8", sleepiness_score: 9, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-21" },
            { id: 95, first_name: "Annabelle", last_name: "Huel", sex: "male", age: 48, bmi: "31.4", neck_cm: "37.0", sleepiness_score: 13, referral_reason: "daytime sleepiness", referred_on: "2026-01-27" },
            { id: 96, first_name: "Merle", last_name: "Heaney-Berge", sex: "female", age: 38, bmi: "27.9", neck_cm: "35.0", sleepiness_score: 10, referral_reason: "daytime sleepiness", referred_on: "2025-12-23" },
            { id: 97, first_name: "Richard", last_name: "Zieme", sex: "male", age: 48, bmi: "27.4", neck_cm: "41.4", sleepiness_score: 14, referral_reason: "loud snoring", referred_on: "2025-11-19" },
            { id: 98, first_name: "Cicero", last_name: "Stiedemann-Barrows", sex: "male", age: 43, bmi: "30.3", neck_cm: "39.7", sleepiness_score: 14, referral_reason: "loud snoring", referred_on: "2025-11-22" },
            { id: 99, first_name: "Desmond", last_name: "Mitchell", sex: "female", age: 47, bmi: "33.4", neck_cm: "43.1", sleepiness_score: 16, referral_reason: "insomnia", referred_on: "2025-09-18" },
            { id: 100, first_name: "Berry", last_name: "Nikolaus", sex: "female", age: 44, bmi: "37.8", neck_cm: "39.7", sleepiness_score: 9, referral_reason: "insomnia", referred_on: "2025-10-28" },
            { id: 101, first_name: "Jaleel", last_name: "Hackett-Tromp", sex: "female", age: 44, bmi: "37.9", neck_cm: "36.2", sleepiness_score: 9, referral_reason: "insomnia", referred_on: "2025-12-25" },
            { id: 102, first_name: "Faith", last_name: "Block", sex: "female", age: 59, bmi: "29.2", neck_cm: "42.2", sleepiness_score: 11, referral_reason: "insomnia", referred_on: "2025-09-06" },
            { id: 103, first_name: "Lindsey", last_name: "Lynch", sex: "female", age: 52, bmi: "39.2", neck_cm: "37.8", sleepiness_score: 17, referral_reason: "daytime sleepiness", referred_on: "2025-10-08" },
            { id: 104, first_name: "Eda", last_name: "Johnston", sex: "male", age: 54, bmi: "36.4", neck_cm: "42.2", sleepiness_score: 17, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-29" },
            { id: 105, first_name: "Margarita", last_name: "Smitham", sex: "female", age: 43, bmi: "37.6", neck_cm: "37.3", sleepiness_score: 16, referral_reason: "daytime sleepiness", referred_on: "2025-11-30" },
            { id: 106, first_name: "Billie", last_name: "McClure", sex: "female", age: 61, bmi: "30.8", neck_cm: "40.8", sleepiness_score: 10, referral_reason: "loud snoring", referred_on: "2025-10-10" },
            { id: 107, first_name: "Ariane", last_name: "Collins", sex: "male", age: 50, bmi: "35.7", neck_cm: "41.2", sleepiness_score: 11, referral_reason: "witnessed breathing pauses", referred_on: "2025-09-29" },
            { id: 108, first_name: "Alanis", last_name: "Crona-Upton", sex: "male", age: 61, bmi: "32.0", neck_cm: "38.8", sleepiness_score: 16, referral_reason: "daytime sleepiness", referred_on: "2026-01-23" },
            { id: 109, first_name: "Vance", last_name: "Nienow", sex: "female", age: 46, bmi: "25.4", neck_cm: "40.1", sleepiness_score: 14, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-20" },
            { id: 110, first_name: "Jedidiah", last_name: "Collier", sex: "male", age: 50, bmi: "29.1", neck_cm: "38.2", sleepiness_score: 12, referral_reason: "loud snoring", referred_on: "2025-11-11" },
            { id: 111, first_name: "Kris", last_name: "Champlin", sex: "male", age: 47, bmi: "30.0", neck_cm: "39.5", sleepiness_score: 11, referral_reason: "loud snoring", referred_on: "2025-11-05" },
            { id: 112, first_name: "Fannie", last_name: "Swift", sex: "male", age: 53, bmi: "31.6", neck_cm: "42.0", sleepiness_score: 7, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-28" },
            { id: 113, first_name: "Celine", last_name: "Nicolas", sex: "male", age: 68, bmi: "37.1", neck_cm: "39.2", sleepiness_score: 12, referral_reason: "loud snoring", referred_on: "2025-09-09" },
            { id: 114, first_name: "Amina", last_name: "Borer", sex: "female", age: 41, bmi: "32.3", neck_cm: "40.8", sleepiness_score: 11, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-25" },
            { id: 115, first_name: "Citlalli", last_name: "Hirthe", sex: "male", age: 44, bmi: "33.1", neck_cm: "40.4", sleepiness_score: 17, referral_reason: "loud snoring", referred_on: "2025-11-01" },
            { id: 116, first_name: "Cassidy", last_name: "Bahringer", sex: "female", age: 53, bmi: "30.6", neck_cm: "39.3", sleepiness_score: 13, referral_reason: "insomnia", referred_on: "2025-12-28" },
            { id: 117, first_name: "Penny", last_name: "Gutkowski", sex: "male", age: 47, bmi: "40.5", neck_cm: "38.8", sleepiness_score: 14, referral_reason: "loud snoring", referred_on: "2025-10-12" },
            { id: 118, first_name: "Trace", last_name: "Erdman", sex: "male", age: 54, bmi: "39.4", neck_cm: "35.2", sleepiness_score: 16, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-23" },
            { id: 119, first_name: "Geovanny", last_name: "Leuschke", sex: "female", age: 50, bmi: "33.8", neck_cm: "38.8", sleepiness_score: 10, referral_reason: "daytime sleepiness", referred_on: "2025-12-11" },
            { id: 120, first_name: "Jerry", last_name: "Fay", sex: "female", age: 35, bmi: "29.2", neck_cm: "43.5", sleepiness_score: 10, referral_reason: "loud snoring", referred_on: "2026-01-20" },
            { id: 121, first_name: "Lewis", last_name: "Watsica-Bosco", sex: "female", age: 41, bmi: "34.9", neck_cm: "33.6", sleepiness_score: 14, referral_reason: "insomnia", referred_on: "2025-12-31" },
            { id: 122, first_name: "Domenick", last_name: "O'Keefe", sex: "female", age: 53, bmi: "28.0", neck_cm: "39.0", sleepiness_score: 9, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-05" },
            { id: 123, first_name: "Addison", last_name: "Senger", sex: "male", age: 60, bmi: "29.4", neck_cm: "45.1", sleepiness_score: 9, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-28" },
            { id: 124, first_name: "Jonathon", last_name: "Gleichner", sex: "female", age: 73, bmi: "22.7", neck_cm: "41.7", sleepiness_score: 15, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-27" },
            { id: 125, first_name: "Rozella", last_name: "Lind", sex: "male", age: 35, bmi: "32.6", neck_cm: "43.4", sleepiness_score: 11, referral_reason: "insomnia", referred_on: "2025-09-22" },
            { id: 126, first_name: "Harold", last_name: "Flatley", sex: "male", age: 54, bmi: "35.4", neck_cm: "39.3", sleepiness_score: 16, referral_reason: "loud snoring", referred_on: "2025-10-07" },
            { id: 127, first_name: "Esteban", last_name: "Krajcik", sex: "male", age: 49, bmi: "27.2", neck_cm: "44.4", sleepiness_score: 9, referral_reason: "loud snoring", referred_on: "2025-12-29" },
            { id: 128, first_name: "Susan", last_name: "Klocko", sex: "male", age: 58, bmi: "28.5", neck_cm: "41.7", sleepiness_score: 11, referral_reason: "daytime sleepiness", referred_on: "2026-01-17" },
            { id: 129, first_name: "Bailee", last_name: "Murphy", sex: "female", age: 42, bmi: "26.9", neck_cm: "41.6", sleepiness_score: 10, referral_reason: "witnessed breathing pauses", referred_on: "2026-01-24" },
            { id: 130, first_name: "Webster", last_name: "Cruickshank", sex: "male", age: 52, bmi: "33.8", neck_cm: "42.0", sleepiness_score: 17, referral_reason: "insomnia", referred_on: "2025-12-08" },
            { id: 131, first_name: "August", last_name: "Kautzer", sex: "female", age: 53, bmi: "31.1", neck_cm: "37.1", sleepiness_score: 10, referral_reason: "loud snoring", referred_on: "2026-01-10" },
            { id: 132, first_name: "Shanon", last_name: "Klein", sex: "female", age: 76, bmi: "36.5", neck_cm: "37.1", sleepiness_score: 4, referral_reason: "daytime sleepiness", referred_on: "2025-11-14" },
            { id: 133, first_name: "Aida", last_name: "Purdy", sex: "female", age: 54, bmi: "33.9", neck_cm: "41.1", sleepiness_score: 14, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-28" },
            { id: 134, first_name: "Daisha", last_name: "Trantow", sex: "female", age: 50, bmi: "33.0", neck_cm: "41.9", sleepiness_score: 14, referral_reason: "daytime sleepiness", referred_on: "2025-12-15" },
            { id: 135, first_name: "Laisha", last_name: "Braun", sex: "female", age: 56, bmi: "34.5", neck_cm: "42.3", sleepiness_score: 14, referral_reason: "restless legs", referred_on: "2025-12-25" },
            { id: 136, first_name: "Coralie", last_name: "Boyle", sex: "female", age: 65, bmi: "27.7", neck_cm: "41.3", sleepiness_score: 13, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-03" },
            { id: 137, first_name: "Keshaun", last_name: "Howe", sex: "male", age: 52, bmi: "31.9", neck_cm: "39.2", sleepiness_score: 15, referral_reason: "insomnia", referred_on: "2025-11-29" },
            { id: 138, first_name: "Kenyon", last_name: "Cassin", sex: "female", age: 54, bmi: "31.5", neck_cm: "36.5", sleepiness_score: 14, referral_reason: "loud snoring", referred_on: "2025-11-12" },
            { id: 139, first_name: "Brenna", last_name: "Stehr", sex: "male", age: 46, bmi: "31.1", neck_cm: "39.1", sleepiness_score: 9, referral_reason: "witnessed breathing pauses", referred_on: "2025-11-06" },
            { id: 140, first_name: "Ezequiel", last_name: "Goldner", sex: "female", age: 51, bmi: "35.6", neck_cm: "35.9", sleepiness_score: 16, referral_reason: "daytime sleepiness", referred_on: "2026-01-25" },
            { id: 141, first_name: "Claudie", last_name: "Abernathy", sex: "male", age: 55, bmi: "34.8", neck_cm: "40.8", sleepiness_score: 11, referral_reason: "insomnia", referred_on: "2025-10-17" },
            { id: 142, first_name: "Charlotte", last_name: "Durgan", sex: "female", age: 63, bmi: "36.4", neck_cm: "38.4", sleepiness_score: 13, referral_reason: "loud snoring", referred_on: "2025-10-23" },
            { id: 143, first_name: "Carson", last_name: "Walker", sex: "male", age: 51, bmi: "26.3", neck_cm: "42.0", sleepiness_score: 13, referral_reason: "insomnia", referred_on: "2025-09-24" },
            { id: 144, first_name: "Cary", last_name: "O'Connell", sex: "male", age: 57, bmi: "29.8", neck_cm: "40.2", sleepiness_score: 13, referral_reason: "daytime sleepiness", referred_on: "2026-01-29" },
            { id: 145, first_name: "Gary", last_name: "Howe", sex: "male", age: 55, bmi: "32.3", neck_cm: "39.3", sleepiness_score: 7, referral_reason: "witnessed breathing pauses", referred_on: "2025-12-28" },
            { id: 146, first_name: "Una", last_name: "Howe", sex: "male", age: 45, bmi: "26.5", neck_cm: "36.9", sleepiness_score: 13, referral_reason: "witnessed breathing pauses", referred_on: "2025-10-08" },
            { id: 147, first_name: "Johnpaul", last_name: "Bernhard", sex: "male", age: 55, bmi: "34.8", neck_cm: "38.4", sleepiness_score: 16, referral_reason: "daytime sleepiness", referred_on: "2026-01-22" },
            { id: 148, first_name: "Bo", last_name: "Lakin", sex: "male", age: 50, bmi: "31.9", neck_cm: "40.6", sleepiness_score: 10, referral_reason: "daytime sleepiness", referred_on: "2025-09-02" },
            { id: 149, first_name: "Jillian", last_name: "Hickle", sex: "male", age: 61, bmi: "30.0", neck_cm: "40.9", sleepiness_score: 17, referral_reason: "insomnia", referred_on: "2025-09-27" },
            { id: 150, first_name: "Keenan", last_name: "Stoltenberg", sex: "female", age: 55, bmi: "35.6", neck_cm: "41.8", sleepiness_score: 13, referral_reason: "witnessed breathing pauses", referred_on: "2025-10-17" },
        ],
    });
    await prisma.physicians.createMany({
        data: [
            { id: 1, first_name: "Eloy", last_name: "Hermiston", base_specialty: "pulmonology" },
            { id: 2, first_name: "Blanca", last_name: "Cruickshank", base_specialty: "neurology" },
            { id: 3, first_name: "Brayan", last_name: "Feil", base_specialty: "psychiatry" },
            { id: 4, first_name: "Evalyn", last_name: "Langosh", base_specialty: "psychiatry" },
            { id: 5, first_name: "Gina", last_name: "Dickinson", base_specialty: "neurology" },
        ],
    });
    await prisma.technologists.createMany({
        data: [
            { id: 1, first_name: "Kallie", last_name: "Johns", credential: "certified", years_in_field: 10 },
            { id: 2, first_name: "Francesco", last_name: "Price", credential: "registered", years_in_field: 2 },
            { id: 3, first_name: "Zoila", last_name: "Murphy", credential: "certified", years_in_field: 4 },
            { id: 4, first_name: "Brown", last_name: "Jacobs", credential: "certified", years_in_field: 11 },
            { id: 5, first_name: "Emory", last_name: "Ortiz", credential: "certified", years_in_field: 2 },
            { id: 6, first_name: "Darrion", last_name: "Osinski", credential: "registered", years_in_field: 4 },
            { id: 7, first_name: "Agustina", last_name: "Ondricka", credential: "registered", years_in_field: 1 },
            { id: 8, first_name: "Arvid", last_name: "Cole", credential: "registered", years_in_field: 3 },
        ],
    });
    await prisma.diagnostic_studies.createMany({
        data: [
            { id: 1, patient_id: 35, study_on: "2026-01-27", setting: "home", technologist_id: 2, physician_id: 1, lights_off: "22:32:02", recording_minutes: 465, total_sleep_minutes: 308, sleep_latency_minutes: 28, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "22.7", lowest_spo2_pct: 85, desaturation_minutes: 24, arousal_index: null, limb_movement_index: null },
            { id: 2, patient_id: 65, study_on: "2025-10-24", setting: "in-lab", technologist_id: 4, physician_id: 2, lights_off: "22:09:00", recording_minutes: 419, total_sleep_minutes: 324, sleep_latency_minutes: 8, rem_minutes: 105, deep_sleep_minutes: 53, non_rem_minutes: "219", light_sleep_minutes: "166", ahi: "6.2", lowest_spo2_pct: 78, desaturation_minutes: 0, arousal_index: "43.5", limb_movement_index: "21.9" },
            { id: 3, patient_id: 2, study_on: "2026-01-16", setting: "in-lab", technologist_id: 2, physician_id: 5, lights_off: "23:28:03", recording_minutes: 477, total_sleep_minutes: 404, sleep_latency_minutes: 12, rem_minutes: 51, deep_sleep_minutes: 87, non_rem_minutes: "353", light_sleep_minutes: "266", ahi: "0.4", lowest_spo2_pct: 84, desaturation_minutes: 134, arousal_index: "13.7", limb_movement_index: "9.9" },
            { id: 4, patient_id: 141, study_on: "2025-12-06", setting: "home", technologist_id: 2, physician_id: 4, lights_off: "22:28:47", recording_minutes: 461, total_sleep_minutes: 406, sleep_latency_minutes: 67, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "37.8", lowest_spo2_pct: 91, desaturation_minutes: 16, arousal_index: null, limb_movement_index: null },
            { id: 5, patient_id: 6, study_on: "2025-10-26", setting: "in-lab", technologist_id: 5, physician_id: 1, lights_off: "22:39:49", recording_minutes: 485, total_sleep_minutes: 438, sleep_latency_minutes: 11, rem_minutes: 70, deep_sleep_minutes: 42, non_rem_minutes: "368", light_sleep_minutes: "326", ahi: "23.1", lowest_spo2_pct: 83, desaturation_minutes: 96, arousal_index: "10.3", limb_movement_index: "31.6" },
            { id: 6, patient_id: 138, study_on: "2026-01-01", setting: "in-lab", technologist_id: 3, physician_id: 1, lights_off: "23:27:30", recording_minutes: 446, total_sleep_minutes: 305, sleep_latency_minutes: 2, rem_minutes: 59, deep_sleep_minutes: 30, non_rem_minutes: "246", light_sleep_minutes: "216", ahi: "31.6", lowest_spo2_pct: 84, desaturation_minutes: 53, arousal_index: "19.5", limb_movement_index: "28.2" },
            { id: 7, patient_id: 134, study_on: "2026-01-12", setting: "home", technologist_id: 4, physician_id: 1, lights_off: "23:30:17", recording_minutes: 434, total_sleep_minutes: 369, sleep_latency_minutes: 3, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "66.7", lowest_spo2_pct: 85, desaturation_minutes: 100, arousal_index: null, limb_movement_index: null },
            { id: 8, patient_id: 33, study_on: "2025-11-27", setting: "home", technologist_id: 8, physician_id: 3, lights_off: "22:10:44", recording_minutes: 416, total_sleep_minutes: 381, sleep_latency_minutes: 73, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "1.9", lowest_spo2_pct: 76, desaturation_minutes: 115, arousal_index: null, limb_movement_index: null },
            { id: 9, patient_id: 72, study_on: "2026-01-29", setting: "home", technologist_id: 3, physician_id: 2, lights_off: "22:34:01", recording_minutes: 409, total_sleep_minutes: 384, sleep_latency_minutes: 6, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "75.4", lowest_spo2_pct: 75, desaturation_minutes: 2, arousal_index: null, limb_movement_index: null },
            { id: 10, patient_id: 52, study_on: "2026-03-13", setting: "in-lab", technologist_id: 5, physician_id: 4, lights_off: "21:49:08", recording_minutes: 434, total_sleep_minutes: 267, sleep_latency_minutes: 18, rem_minutes: 115, deep_sleep_minutes: 56, non_rem_minutes: "152", light_sleep_minutes: "96", ahi: "6.1", lowest_spo2_pct: 82, desaturation_minutes: 0, arousal_index: "16.5", limb_movement_index: "9.4" },
            { id: 11, patient_id: 4, study_on: "2025-12-12", setting: "home", technologist_id: 4, physician_id: 2, lights_off: "23:15:39", recording_minutes: 477, total_sleep_minutes: 373, sleep_latency_minutes: 59, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "11.1", lowest_spo2_pct: 84, desaturation_minutes: 56, arousal_index: null, limb_movement_index: null },
            { id: 12, patient_id: 66, study_on: "2025-09-23", setting: "in-lab", technologist_id: 1, physician_id: 1, lights_off: "23:00:05", recording_minutes: 489, total_sleep_minutes: 439, sleep_latency_minutes: 48, rem_minutes: 114, deep_sleep_minutes: 22, non_rem_minutes: "325", light_sleep_minutes: "303", ahi: "44.8", lowest_spo2_pct: 83, desaturation_minutes: 33, arousal_index: "6.5", limb_movement_index: "25.1" },
            { id: 13, patient_id: 95, study_on: "2026-03-12", setting: "in-lab", technologist_id: 2, physician_id: 3, lights_off: "21:53:10", recording_minutes: 419, total_sleep_minutes: 318, sleep_latency_minutes: 64, rem_minutes: 73, deep_sleep_minutes: 79, non_rem_minutes: "245", light_sleep_minutes: "166", ahi: "21.3", lowest_spo2_pct: 83, desaturation_minutes: 65, arousal_index: "26.3", limb_movement_index: "43.6" },
            { id: 14, patient_id: 113, study_on: "2025-10-10", setting: "home", technologist_id: 1, physician_id: 2, lights_off: "23:50:46", recording_minutes: 457, total_sleep_minutes: 355, sleep_latency_minutes: 6, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "27.0", lowest_spo2_pct: 83, desaturation_minutes: 62, arousal_index: null, limb_movement_index: null },
            { id: 15, patient_id: 25, study_on: "2025-12-19", setting: "in-lab", technologist_id: 7, physician_id: 4, lights_off: "23:24:26", recording_minutes: 474, total_sleep_minutes: 431, sleep_latency_minutes: 15, rem_minutes: 114, deep_sleep_minutes: 28, non_rem_minutes: "317", light_sleep_minutes: "289", ahi: "1.0", lowest_spo2_pct: 75, desaturation_minutes: 44, arousal_index: "38.4", limb_movement_index: "8.1" },
            { id: 16, patient_id: 39, study_on: "2025-11-28", setting: "in-lab", technologist_id: 7, physician_id: 3, lights_off: "22:18:13", recording_minutes: 412, total_sleep_minutes: 261, sleep_latency_minutes: 74, rem_minutes: 51, deep_sleep_minutes: 85, non_rem_minutes: "210", light_sleep_minutes: "125", ahi: "27.6", lowest_spo2_pct: 92, desaturation_minutes: 58, arousal_index: "23.6", limb_movement_index: "15.6" },
            { id: 17, patient_id: 38, study_on: "2025-12-16", setting: "home", technologist_id: 7, physician_id: 2, lights_off: "21:49:54", recording_minutes: 412, total_sleep_minutes: 391, sleep_latency_minutes: 14, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "58.5", lowest_spo2_pct: 77, desaturation_minutes: 0, arousal_index: null, limb_movement_index: null },
            { id: 18, patient_id: 86, study_on: "2026-02-05", setting: "home", technologist_id: 1, physician_id: 2, lights_off: "23:56:31", recording_minutes: 430, total_sleep_minutes: 315, sleep_latency_minutes: 61, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "3.6", lowest_spo2_pct: 77, desaturation_minutes: 131, arousal_index: null, limb_movement_index: null },
            { id: 19, patient_id: 109, study_on: "2026-01-25", setting: "in-lab", technologist_id: 2, physician_id: 1, lights_off: "23:15:16", recording_minutes: 488, total_sleep_minutes: 276, sleep_latency_minutes: 58, rem_minutes: 100, deep_sleep_minutes: 91, non_rem_minutes: "176", light_sleep_minutes: "85", ahi: "75.8", lowest_spo2_pct: 80, desaturation_minutes: 47, arousal_index: "34.2", limb_movement_index: "42.1" },
            { id: 20, patient_id: 127, study_on: "2026-01-13", setting: "in-lab", technologist_id: 3, physician_id: 3, lights_off: "23:18:51", recording_minutes: 419, total_sleep_minutes: 290, sleep_latency_minutes: 7, rem_minutes: 53, deep_sleep_minutes: 82, non_rem_minutes: "237", light_sleep_minutes: "155", ahi: "13.2", lowest_spo2_pct: 75, desaturation_minutes: 51, arousal_index: "22.5", limb_movement_index: "28.1" },
            { id: 21, patient_id: 101, study_on: "2026-02-03", setting: "home", technologist_id: 2, physician_id: 2, lights_off: "23:50:48", recording_minutes: 483, total_sleep_minutes: 442, sleep_latency_minutes: 35, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "34.4", lowest_spo2_pct: 83, desaturation_minutes: 1, arousal_index: null, limb_movement_index: null },
            { id: 22, patient_id: 111, study_on: "2025-11-13", setting: "in-lab", technologist_id: 5, physician_id: 2, lights_off: "23:09:38", recording_minutes: 485, total_sleep_minutes: 447, sleep_latency_minutes: 6, rem_minutes: 32, deep_sleep_minutes: 82, non_rem_minutes: "415", light_sleep_minutes: "333", ahi: "14.5", lowest_spo2_pct: 84, desaturation_minutes: 17, arousal_index: "12.5", limb_movement_index: "11.5" },
            { id: 23, patient_id: 90, study_on: "2026-01-06", setting: "home", technologist_id: 7, physician_id: 1, lights_off: "23:34:09", recording_minutes: 479, total_sleep_minutes: 334, sleep_latency_minutes: 12, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "32.4", lowest_spo2_pct: 77, desaturation_minutes: 20, arousal_index: null, limb_movement_index: null },
            { id: 24, patient_id: 14, study_on: "2025-12-28", setting: "in-lab", technologist_id: 8, physician_id: 5, lights_off: "23:00:05", recording_minutes: 456, total_sleep_minutes: 395, sleep_latency_minutes: 36, rem_minutes: 93, deep_sleep_minutes: 87, non_rem_minutes: "302", light_sleep_minutes: "215", ahi: "24.9", lowest_spo2_pct: 80, desaturation_minutes: 36, arousal_index: "4.0", limb_movement_index: "0.7" },
            { id: 25, patient_id: 126, study_on: "2025-12-02", setting: "home", technologist_id: 8, physician_id: 4, lights_off: "22:36:21", recording_minutes: 403, total_sleep_minutes: 363, sleep_latency_minutes: 30, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "1.1", lowest_spo2_pct: 87, desaturation_minutes: 113, arousal_index: null, limb_movement_index: null },
            { id: 26, patient_id: 12, study_on: "2025-11-05", setting: "in-lab", technologist_id: 4, physician_id: 4, lights_off: "23:22:45", recording_minutes: 450, total_sleep_minutes: 375, sleep_latency_minutes: 72, rem_minutes: 85, deep_sleep_minutes: 41, non_rem_minutes: "290", light_sleep_minutes: "249", ahi: "32.8", lowest_spo2_pct: 88, desaturation_minutes: 82, arousal_index: "10.0", limb_movement_index: "1.3" },
            { id: 27, patient_id: 114, study_on: "2026-02-19", setting: "in-lab", technologist_id: 3, physician_id: 1, lights_off: "23:18:30", recording_minutes: 452, total_sleep_minutes: 274, sleep_latency_minutes: 56, rem_minutes: 104, deep_sleep_minutes: 102, non_rem_minutes: "170", light_sleep_minutes: "68", ahi: "67.8", lowest_spo2_pct: 85, desaturation_minutes: 0, arousal_index: "23.9", limb_movement_index: "7.6" },
            { id: 28, patient_id: 121, study_on: "2026-02-23", setting: "in-lab", technologist_id: 4, physician_id: 5, lights_off: "21:49:35", recording_minutes: 448, total_sleep_minutes: 302, sleep_latency_minutes: 3, rem_minutes: 59, deep_sleep_minutes: 85, non_rem_minutes: "243", light_sleep_minutes: "158", ahi: "50.6", lowest_spo2_pct: 86, desaturation_minutes: 84, arousal_index: "15.6", limb_movement_index: "15.8" },
            { id: 29, patient_id: 10, study_on: "2025-10-03", setting: "home", technologist_id: 3, physician_id: 4, lights_off: "22:50:01", recording_minutes: 462, total_sleep_minutes: 277, sleep_latency_minutes: 49, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "28.1", lowest_spo2_pct: 83, desaturation_minutes: 83, arousal_index: null, limb_movement_index: null },
            { id: 30, patient_id: 36, study_on: "2026-01-14", setting: "in-lab", technologist_id: 5, physician_id: 3, lights_off: "23:17:05", recording_minutes: 421, total_sleep_minutes: 312, sleep_latency_minutes: 17, rem_minutes: 40, deep_sleep_minutes: 84, non_rem_minutes: "272", light_sleep_minutes: "188", ahi: "33.7", lowest_spo2_pct: 83, desaturation_minutes: 27, arousal_index: "28.4", limb_movement_index: "0.1" },
            { id: 31, patient_id: 94, study_on: "2025-12-10", setting: "home", technologist_id: 7, physician_id: 3, lights_off: "22:05:28", recording_minutes: 421, total_sleep_minutes: 329, sleep_latency_minutes: 9, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "10.6", lowest_spo2_pct: 77, desaturation_minutes: 52, arousal_index: null, limb_movement_index: null },
            { id: 32, patient_id: 78, study_on: "2026-01-19", setting: "home", technologist_id: 3, physician_id: 3, lights_off: "23:38:42", recording_minutes: 431, total_sleep_minutes: 424, sleep_latency_minutes: 72, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "40.6", lowest_spo2_pct: 82, desaturation_minutes: 27, arousal_index: null, limb_movement_index: null },
            { id: 33, patient_id: 79, study_on: "2026-01-05", setting: "in-lab", technologist_id: 6, physician_id: 3, lights_off: "22:28:48", recording_minutes: 417, total_sleep_minutes: 272, sleep_latency_minutes: 2, rem_minutes: 46, deep_sleep_minutes: 79, non_rem_minutes: "226", light_sleep_minutes: "147", ahi: "1.8", lowest_spo2_pct: 69, desaturation_minutes: 6, arousal_index: "11.3", limb_movement_index: "32.1" },
            { id: 34, patient_id: 81, study_on: "2026-02-13", setting: "home", technologist_id: 1, physician_id: 5, lights_off: "21:36:04", recording_minutes: 473, total_sleep_minutes: 285, sleep_latency_minutes: 30, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "0.6", lowest_spo2_pct: 83, desaturation_minutes: 112, arousal_index: null, limb_movement_index: null },
            { id: 35, patient_id: 123, study_on: "2026-01-04", setting: "home", technologist_id: 3, physician_id: 1, lights_off: "23:31:22", recording_minutes: 479, total_sleep_minutes: 422, sleep_latency_minutes: 33, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "8.8", lowest_spo2_pct: 75, desaturation_minutes: 0, arousal_index: null, limb_movement_index: null },
            { id: 36, patient_id: 106, study_on: "2025-11-04", setting: "home", technologist_id: 4, physician_id: 1, lights_off: "23:35:27", recording_minutes: 429, total_sleep_minutes: 428, sleep_latency_minutes: 68, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "0.5", lowest_spo2_pct: 77, desaturation_minutes: 111, arousal_index: null, limb_movement_index: null },
            { id: 37, patient_id: 1, study_on: "2025-12-11", setting: "home", technologist_id: 4, physician_id: 2, lights_off: "21:47:04", recording_minutes: 455, total_sleep_minutes: 454, sleep_latency_minutes: 2, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "12.1", lowest_spo2_pct: 82, desaturation_minutes: 1, arousal_index: null, limb_movement_index: null },
            { id: 38, patient_id: 146, study_on: "2025-10-27", setting: "in-lab", technologist_id: 3, physician_id: 4, lights_off: "23:13:46", recording_minutes: 456, total_sleep_minutes: 242, sleep_latency_minutes: 26, rem_minutes: 57, deep_sleep_minutes: 94, non_rem_minutes: "185", light_sleep_minutes: "91", ahi: "40.8", lowest_spo2_pct: 85, desaturation_minutes: 6, arousal_index: "18.5", limb_movement_index: "15.1" },
            { id: 39, patient_id: 118, study_on: "2026-01-09", setting: "in-lab", technologist_id: 7, physician_id: 4, lights_off: "23:11:24", recording_minutes: 472, total_sleep_minutes: 267, sleep_latency_minutes: 3, rem_minutes: 105, deep_sleep_minutes: 50, non_rem_minutes: "162", light_sleep_minutes: "112", ahi: "4.2", lowest_spo2_pct: 83, desaturation_minutes: 89, arousal_index: "6.3", limb_movement_index: "27.7" },
            { id: 40, patient_id: 130, study_on: "2026-01-20", setting: "home", technologist_id: 1, physician_id: 3, lights_off: "21:45:08", recording_minutes: 466, total_sleep_minutes: 285, sleep_latency_minutes: 15, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "41.8", lowest_spo2_pct: 75, desaturation_minutes: 132, arousal_index: null, limb_movement_index: null },
            { id: 41, patient_id: 120, study_on: "2026-02-08", setting: "in-lab", technologist_id: 4, physician_id: 2, lights_off: "22:24:22", recording_minutes: 482, total_sleep_minutes: 469, sleep_latency_minutes: 28, rem_minutes: 113, deep_sleep_minutes: 107, non_rem_minutes: "356", light_sleep_minutes: "249", ahi: "39.9", lowest_spo2_pct: 78, desaturation_minutes: 80, arousal_index: "47.0", limb_movement_index: "4.8" },
            { id: 42, patient_id: 8, study_on: "2025-10-28", setting: "home", technologist_id: 5, physician_id: 5, lights_off: "23:49:53", recording_minutes: 469, total_sleep_minutes: 465, sleep_latency_minutes: 66, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "29.7", lowest_spo2_pct: 77, desaturation_minutes: 66, arousal_index: null, limb_movement_index: null },
            { id: 43, patient_id: 133, study_on: "2026-01-02", setting: "in-lab", technologist_id: 4, physician_id: 4, lights_off: "22:17:13", recording_minutes: 446, total_sleep_minutes: 410, sleep_latency_minutes: 73, rem_minutes: 117, deep_sleep_minutes: 54, non_rem_minutes: "293", light_sleep_minutes: "239", ahi: "18.6", lowest_spo2_pct: 82, desaturation_minutes: 2, arousal_index: "32.7", limb_movement_index: "43.0" },
            { id: 44, patient_id: 116, study_on: "2026-02-04", setting: "in-lab", technologist_id: 2, physician_id: 3, lights_off: "22:25:59", recording_minutes: 437, total_sleep_minutes: 431, sleep_latency_minutes: 2, rem_minutes: 60, deep_sleep_minutes: 62, non_rem_minutes: "371", light_sleep_minutes: "309", ahi: "0.9", lowest_spo2_pct: 83, desaturation_minutes: 115, arousal_index: "32.5", limb_movement_index: "24.6" },
            { id: 45, patient_id: 49, study_on: "2026-02-23", setting: "home", technologist_id: 2, physician_id: 1, lights_off: "22:29:34", recording_minutes: 452, total_sleep_minutes: 268, sleep_latency_minutes: 18, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "13.0", lowest_spo2_pct: 76, desaturation_minutes: 33, arousal_index: null, limb_movement_index: null },
            { id: 46, patient_id: 143, study_on: "2025-10-15", setting: "in-lab", technologist_id: 8, physician_id: 4, lights_off: "21:52:52", recording_minutes: 477, total_sleep_minutes: 317, sleep_latency_minutes: 28, rem_minutes: 101, deep_sleep_minutes: 97, non_rem_minutes: "216", light_sleep_minutes: "119", ahi: "59.0", lowest_spo2_pct: 78, desaturation_minutes: 52, arousal_index: "24.9", limb_movement_index: "36.2" },
            { id: 47, patient_id: 63, study_on: "2025-10-27", setting: "home", technologist_id: 5, physician_id: 2, lights_off: "23:20:58", recording_minutes: 434, total_sleep_minutes: 372, sleep_latency_minutes: 2, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "7.9", lowest_spo2_pct: 72, desaturation_minutes: 12, arousal_index: null, limb_movement_index: null },
            { id: 48, patient_id: 5, study_on: "2025-12-20", setting: "home", technologist_id: 6, physician_id: 4, lights_off: "21:57:35", recording_minutes: 475, total_sleep_minutes: 305, sleep_latency_minutes: 26, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "69.6", lowest_spo2_pct: 84, desaturation_minutes: 56, arousal_index: null, limb_movement_index: null },
            { id: 49, patient_id: 139, study_on: "2025-11-16", setting: "in-lab", technologist_id: 2, physician_id: 1, lights_off: "22:59:41", recording_minutes: 400, total_sleep_minutes: 258, sleep_latency_minutes: 26, rem_minutes: 99, deep_sleep_minutes: 52, non_rem_minutes: "159", light_sleep_minutes: "107", ahi: "23.7", lowest_spo2_pct: 81, desaturation_minutes: 8, arousal_index: "38.4", limb_movement_index: "8.5" },
            { id: 50, patient_id: 122, study_on: "2026-01-23", setting: "home", technologist_id: 5, physician_id: 3, lights_off: "22:22:49", recording_minutes: 474, total_sleep_minutes: 438, sleep_latency_minutes: 32, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "3.2", lowest_spo2_pct: 72, desaturation_minutes: 113, arousal_index: null, limb_movement_index: null },
            { id: 51, patient_id: 96, study_on: "2026-01-20", setting: "home", technologist_id: 2, physician_id: 1, lights_off: "21:44:09", recording_minutes: 432, total_sleep_minutes: 373, sleep_latency_minutes: 15, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "4.0", lowest_spo2_pct: 77, desaturation_minutes: 0, arousal_index: null, limb_movement_index: null },
            { id: 52, patient_id: 142, study_on: "2025-11-06", setting: "home", technologist_id: 4, physician_id: 1, lights_off: "21:38:14", recording_minutes: 419, total_sleep_minutes: 360, sleep_latency_minutes: 16, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "24.7", lowest_spo2_pct: 81, desaturation_minutes: 66, arousal_index: null, limb_movement_index: null },
            { id: 53, patient_id: 149, study_on: "2025-11-18", setting: "home", technologist_id: 1, physician_id: 2, lights_off: "21:45:19", recording_minutes: 447, total_sleep_minutes: 360, sleep_latency_minutes: 4, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "5.5", lowest_spo2_pct: 76, desaturation_minutes: 30, arousal_index: null, limb_movement_index: null },
            { id: 54, patient_id: 30, study_on: "2026-03-12", setting: "home", technologist_id: 1, physician_id: 1, lights_off: "22:26:49", recording_minutes: 440, total_sleep_minutes: 267, sleep_latency_minutes: 4, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "35.1", lowest_spo2_pct: 79, desaturation_minutes: 69, arousal_index: null, limb_movement_index: null },
            { id: 55, patient_id: 150, study_on: "2025-11-29", setting: "in-lab", technologist_id: 2, physician_id: 1, lights_off: "22:52:29", recording_minutes: 420, total_sleep_minutes: 283, sleep_latency_minutes: 72, rem_minutes: 45, deep_sleep_minutes: 45, non_rem_minutes: "238", light_sleep_minutes: "193", ahi: "6.8", lowest_spo2_pct: 84, desaturation_minutes: 3, arousal_index: "45.8", limb_movement_index: "1.4" },
            { id: 56, patient_id: 117, study_on: "2025-10-31", setting: "in-lab", technologist_id: 3, physician_id: 2, lights_off: "21:39:36", recording_minutes: 487, total_sleep_minutes: 379, sleep_latency_minutes: 41, rem_minutes: 43, deep_sleep_minutes: 25, non_rem_minutes: "336", light_sleep_minutes: "311", ahi: "56.2", lowest_spo2_pct: 84, desaturation_minutes: 0, arousal_index: "31.4", limb_movement_index: "8.8" },
            { id: 57, patient_id: 17, study_on: "2025-11-13", setting: "home", technologist_id: 3, physician_id: 1, lights_off: "21:37:43", recording_minutes: 467, total_sleep_minutes: 403, sleep_latency_minutes: 14, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "31.6", lowest_spo2_pct: 86, desaturation_minutes: 132, arousal_index: null, limb_movement_index: null },
            { id: 58, patient_id: 84, study_on: "2025-12-06", setting: "in-lab", technologist_id: 1, physician_id: 3, lights_off: "23:26:24", recording_minutes: 412, total_sleep_minutes: 289, sleep_latency_minutes: 2, rem_minutes: 48, deep_sleep_minutes: 74, non_rem_minutes: "241", light_sleep_minutes: "167", ahi: "1.5", lowest_spo2_pct: 77, desaturation_minutes: 28, arousal_index: "21.8", limb_movement_index: "16.6" },
            { id: 59, patient_id: 62, study_on: "2025-12-06", setting: "in-lab", technologist_id: 1, physician_id: 5, lights_off: "23:30:52", recording_minutes: 442, total_sleep_minutes: 255, sleep_latency_minutes: 29, rem_minutes: 39, deep_sleep_minutes: 94, non_rem_minutes: "216", light_sleep_minutes: "122", ahi: "0.6", lowest_spo2_pct: 77, desaturation_minutes: 79, arousal_index: "41.8", limb_movement_index: "11.1" },
            { id: 60, patient_id: 76, study_on: "2026-02-10", setting: "in-lab", technologist_id: 3, physician_id: 5, lights_off: "22:49:14", recording_minutes: 484, total_sleep_minutes: 315, sleep_latency_minutes: 3, rem_minutes: 52, deep_sleep_minutes: 69, non_rem_minutes: "263", light_sleep_minutes: "194", ahi: "1.5", lowest_spo2_pct: 79, desaturation_minutes: 58, arousal_index: "44.3", limb_movement_index: "35.8" },
            { id: 61, patient_id: 29, study_on: "2025-11-08", setting: "in-lab", technologist_id: 6, physician_id: 2, lights_off: "22:54:30", recording_minutes: 447, total_sleep_minutes: 314, sleep_latency_minutes: 32, rem_minutes: 97, deep_sleep_minutes: 72, non_rem_minutes: "217", light_sleep_minutes: "145", ahi: "46.5", lowest_spo2_pct: 85, desaturation_minutes: 8, arousal_index: "16.9", limb_movement_index: "1.5" },
            { id: 62, patient_id: 131, study_on: "2026-01-17", setting: "in-lab", technologist_id: 5, physician_id: 5, lights_off: "22:48:37", recording_minutes: 453, total_sleep_minutes: 381, sleep_latency_minutes: 57, rem_minutes: 81, deep_sleep_minutes: 45, non_rem_minutes: "300", light_sleep_minutes: "255", ahi: "54.6", lowest_spo2_pct: 84, desaturation_minutes: 106, arousal_index: "30.8", limb_movement_index: "8.5" },
            { id: 63, patient_id: 137, study_on: "2026-01-09", setting: "home", technologist_id: 3, physician_id: 5, lights_off: "23:22:21", recording_minutes: 435, total_sleep_minutes: 353, sleep_latency_minutes: 51, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "60.9", lowest_spo2_pct: 85, desaturation_minutes: 25, arousal_index: null, limb_movement_index: null },
            { id: 64, patient_id: 54, study_on: "2025-11-09", setting: "in-lab", technologist_id: 5, physician_id: 2, lights_off: "22:07:49", recording_minutes: 440, total_sleep_minutes: 369, sleep_latency_minutes: 62, rem_minutes: 61, deep_sleep_minutes: 76, non_rem_minutes: "308", light_sleep_minutes: "232", ahi: "1.8", lowest_spo2_pct: 83, desaturation_minutes: 1, arousal_index: "18.4", limb_movement_index: "32.0" },
            { id: 65, patient_id: 115, study_on: "2025-11-26", setting: "in-lab", technologist_id: 4, physician_id: 5, lights_off: "22:37:19", recording_minutes: 484, total_sleep_minutes: 357, sleep_latency_minutes: 49, rem_minutes: 44, deep_sleep_minutes: 26, non_rem_minutes: "313", light_sleep_minutes: "287", ahi: "23.7", lowest_spo2_pct: 76, desaturation_minutes: 41, arousal_index: "7.8", limb_movement_index: "15.4" },
            { id: 66, patient_id: 93, study_on: "2026-01-04", setting: "in-lab", technologist_id: 3, physician_id: 5, lights_off: "22:43:34", recording_minutes: 401, total_sleep_minutes: 250, sleep_latency_minutes: 8, rem_minutes: 78, deep_sleep_minutes: 92, non_rem_minutes: "172", light_sleep_minutes: "80", ahi: "27.4", lowest_spo2_pct: 77, desaturation_minutes: 20, arousal_index: "14.1", limb_movement_index: "44.2" },
            { id: 67, patient_id: 9, study_on: "2026-02-15", setting: "in-lab", technologist_id: 3, physician_id: 2, lights_off: "22:42:39", recording_minutes: 419, total_sleep_minutes: 245, sleep_latency_minutes: 5, rem_minutes: 39, deep_sleep_minutes: 90, non_rem_minutes: "206", light_sleep_minutes: "116", ahi: "65.2", lowest_spo2_pct: 83, desaturation_minutes: 8, arousal_index: "31.5", limb_movement_index: "0.7" },
            { id: 68, patient_id: 50, study_on: "2026-03-11", setting: "home", technologist_id: 7, physician_id: 4, lights_off: "22:40:21", recording_minutes: 401, total_sleep_minutes: 399, sleep_latency_minutes: 20, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "5.6", lowest_spo2_pct: 73, desaturation_minutes: 118, arousal_index: null, limb_movement_index: null },
            { id: 69, patient_id: 145, study_on: "2026-02-18", setting: "in-lab", technologist_id: 8, physician_id: 5, lights_off: "22:54:26", recording_minutes: 426, total_sleep_minutes: 296, sleep_latency_minutes: 7, rem_minutes: 58, deep_sleep_minutes: 39, non_rem_minutes: "238", light_sleep_minutes: "199", ahi: "16.6", lowest_spo2_pct: 76, desaturation_minutes: 66, arousal_index: "5.0", limb_movement_index: "1.6" },
            { id: 70, patient_id: 73, study_on: "2026-01-08", setting: "home", technologist_id: 1, physician_id: 5, lights_off: "21:42:20", recording_minutes: 476, total_sleep_minutes: 298, sleep_latency_minutes: 6, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "7.1", lowest_spo2_pct: 85, desaturation_minutes: 8, arousal_index: null, limb_movement_index: null },
            { id: 71, patient_id: 119, study_on: "2026-02-05", setting: "in-lab", technologist_id: 6, physician_id: 3, lights_off: "22:56:00", recording_minutes: 485, total_sleep_minutes: 324, sleep_latency_minutes: 13, rem_minutes: 78, deep_sleep_minutes: 67, non_rem_minutes: "246", light_sleep_minutes: "179", ahi: "39.1", lowest_spo2_pct: 85, desaturation_minutes: 140, arousal_index: "38.6", limb_movement_index: "6.6" },
            { id: 72, patient_id: 87, study_on: "2025-10-22", setting: "in-lab", technologist_id: 1, physician_id: 3, lights_off: "22:18:15", recording_minutes: 432, total_sleep_minutes: 407, sleep_latency_minutes: 24, rem_minutes: 108, deep_sleep_minutes: 57, non_rem_minutes: "299", light_sleep_minutes: "242", ahi: "23.9", lowest_spo2_pct: 89, desaturation_minutes: 112, arousal_index: "31.5", limb_movement_index: "1.7" },
            { id: 73, patient_id: 112, study_on: "2026-02-14", setting: "home", technologist_id: 1, physician_id: 3, lights_off: "22:39:48", recording_minutes: 404, total_sleep_minutes: 308, sleep_latency_minutes: 13, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "0.4", lowest_spo2_pct: 90, desaturation_minutes: 99, arousal_index: null, limb_movement_index: null },
            { id: 74, patient_id: 91, study_on: "2026-01-25", setting: "in-lab", technologist_id: 8, physician_id: 1, lights_off: "22:14:02", recording_minutes: 455, total_sleep_minutes: 321, sleep_latency_minutes: 32, rem_minutes: 85, deep_sleep_minutes: 12, non_rem_minutes: "236", light_sleep_minutes: "224", ahi: "4.3", lowest_spo2_pct: 80, desaturation_minutes: 12, arousal_index: "32.7", limb_movement_index: "0.4" },
            { id: 75, patient_id: 47, study_on: "2025-11-21", setting: "in-lab", technologist_id: 2, physician_id: 1, lights_off: "21:35:53", recording_minutes: 441, total_sleep_minutes: 389, sleep_latency_minutes: 53, rem_minutes: 106, deep_sleep_minutes: 99, non_rem_minutes: "283", light_sleep_minutes: "184", ahi: "5.6", lowest_spo2_pct: 81, desaturation_minutes: 129, arousal_index: "17.3", limb_movement_index: "17.7" },
            { id: 76, patient_id: 77, study_on: "2025-12-17", setting: "in-lab", technologist_id: 2, physician_id: 2, lights_off: "22:51:53", recording_minutes: 405, total_sleep_minutes: 391, sleep_latency_minutes: 33, rem_minutes: 80, deep_sleep_minutes: 46, non_rem_minutes: "311", light_sleep_minutes: "265", ahi: "53.8", lowest_spo2_pct: 83, desaturation_minutes: 1, arousal_index: "19.0", limb_movement_index: "5.3" },
            { id: 77, patient_id: 99, study_on: "2025-09-30", setting: "in-lab", technologist_id: 1, physician_id: 1, lights_off: "22:36:41", recording_minutes: 468, total_sleep_minutes: 338, sleep_latency_minutes: 6, rem_minutes: 60, deep_sleep_minutes: 107, non_rem_minutes: "278", light_sleep_minutes: "171", ahi: "0.8", lowest_spo2_pct: 83, desaturation_minutes: 134, arousal_index: "16.4", limb_movement_index: "10.6" },
            { id: 78, patient_id: 56, study_on: "2025-12-06", setting: "in-lab", technologist_id: 4, physician_id: 2, lights_off: "23:20:44", recording_minutes: 473, total_sleep_minutes: 290, sleep_latency_minutes: 10, rem_minutes: 103, deep_sleep_minutes: 28, non_rem_minutes: "187", light_sleep_minutes: "159", ahi: "74.5", lowest_spo2_pct: 76, desaturation_minutes: 2, arousal_index: "39.9", limb_movement_index: "5.3" },
            { id: 79, patient_id: 104, study_on: "2026-01-11", setting: "in-lab", technologist_id: 4, physician_id: 1, lights_off: "23:32:01", recording_minutes: 442, total_sleep_minutes: 437, sleep_latency_minutes: 2, rem_minutes: 55, deep_sleep_minutes: 107, non_rem_minutes: "382", light_sleep_minutes: "275", ahi: "10.7", lowest_spo2_pct: 89, desaturation_minutes: 77, arousal_index: "30.6", limb_movement_index: "3.4" },
            { id: 80, patient_id: 70, study_on: "2025-11-13", setting: "in-lab", technologist_id: 6, physician_id: 3, lights_off: "22:32:16", recording_minutes: 488, total_sleep_minutes: 355, sleep_latency_minutes: 4, rem_minutes: 54, deep_sleep_minutes: 23, non_rem_minutes: "301", light_sleep_minutes: "278", ahi: "77.0", lowest_spo2_pct: 73, desaturation_minutes: 16, arousal_index: "33.4", limb_movement_index: "0.6" },
            { id: 81, patient_id: 64, study_on: "2026-02-01", setting: "in-lab", technologist_id: 5, physician_id: 1, lights_off: "23:22:09", recording_minutes: 444, total_sleep_minutes: 268, sleep_latency_minutes: 28, rem_minutes: 95, deep_sleep_minutes: 42, non_rem_minutes: "173", light_sleep_minutes: "131", ahi: "31.9", lowest_spo2_pct: 84, desaturation_minutes: 73, arousal_index: "26.9", limb_movement_index: "2.3" },
            { id: 82, patient_id: 42, study_on: "2025-12-19", setting: "home", technologist_id: 3, physician_id: 3, lights_off: "21:47:13", recording_minutes: 457, total_sleep_minutes: 447, sleep_latency_minutes: 70, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "67.6", lowest_spo2_pct: 80, desaturation_minutes: 77, arousal_index: null, limb_movement_index: null },
            { id: 83, patient_id: 125, study_on: "2025-11-04", setting: "home", technologist_id: 7, physician_id: 2, lights_off: "22:46:51", recording_minutes: 432, total_sleep_minutes: 381, sleep_latency_minutes: 65, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "24.1", lowest_spo2_pct: 71, desaturation_minutes: 61, arousal_index: null, limb_movement_index: null },
            { id: 84, patient_id: 23, study_on: "2025-11-01", setting: "home", technologist_id: 4, physician_id: 3, lights_off: "22:20:29", recording_minutes: 467, total_sleep_minutes: 456, sleep_latency_minutes: 13, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "61.1", lowest_spo2_pct: 83, desaturation_minutes: 14, arousal_index: null, limb_movement_index: null },
            { id: 85, patient_id: 40, study_on: "2025-11-26", setting: "home", technologist_id: 8, physician_id: 5, lights_off: "22:33:09", recording_minutes: 408, total_sleep_minutes: 362, sleep_latency_minutes: 6, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "6.0", lowest_spo2_pct: 77, desaturation_minutes: 37, arousal_index: null, limb_movement_index: null },
            { id: 86, patient_id: 129, study_on: "2026-02-12", setting: "in-lab", technologist_id: 2, physician_id: 3, lights_off: "23:15:42", recording_minutes: 441, total_sleep_minutes: 317, sleep_latency_minutes: 38, rem_minutes: 53, deep_sleep_minutes: 14, non_rem_minutes: "264", light_sleep_minutes: "250", ahi: "44.8", lowest_spo2_pct: 77, desaturation_minutes: 15, arousal_index: "37.4", limb_movement_index: "32.9" },
            { id: 87, patient_id: 71, study_on: "2025-11-06", setting: "home", technologist_id: 1, physician_id: 2, lights_off: "23:39:36", recording_minutes: 462, total_sleep_minutes: 294, sleep_latency_minutes: 2, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "36.4", lowest_spo2_pct: 79, desaturation_minutes: 137, arousal_index: null, limb_movement_index: null },
            { id: 88, patient_id: 82, study_on: "2025-11-22", setting: "in-lab", technologist_id: 2, physician_id: 4, lights_off: "23:43:11", recording_minutes: 470, total_sleep_minutes: 380, sleep_latency_minutes: 7, rem_minutes: 74, deep_sleep_minutes: 42, non_rem_minutes: "306", light_sleep_minutes: "264", ahi: "6.7", lowest_spo2_pct: 89, desaturation_minutes: 3, arousal_index: "25.1", limb_movement_index: "44.9" },
            { id: 89, patient_id: 45, study_on: "2026-02-13", setting: "in-lab", technologist_id: 4, physician_id: 1, lights_off: "22:15:57", recording_minutes: 432, total_sleep_minutes: 305, sleep_latency_minutes: 10, rem_minutes: 95, deep_sleep_minutes: 14, non_rem_minutes: "210", light_sleep_minutes: "196", ahi: "12.4", lowest_spo2_pct: 84, desaturation_minutes: 30, arousal_index: "11.2", limb_movement_index: "40.7" },
            { id: 90, patient_id: 69, study_on: "2025-11-21", setting: "home", technologist_id: 4, physician_id: 1, lights_off: "21:57:43", recording_minutes: 475, total_sleep_minutes: 301, sleep_latency_minutes: 4, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "48.9", lowest_spo2_pct: 85, desaturation_minutes: 59, arousal_index: null, limb_movement_index: null },
            { id: 91, patient_id: 20, study_on: "2025-11-10", setting: "home", technologist_id: 4, physician_id: 5, lights_off: "21:38:13", recording_minutes: 429, total_sleep_minutes: 256, sleep_latency_minutes: 29, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "29.0", lowest_spo2_pct: 78, desaturation_minutes: 137, arousal_index: null, limb_movement_index: null },
            { id: 92, patient_id: 60, study_on: "2025-10-10", setting: "home", technologist_id: 7, physician_id: 5, lights_off: "22:42:59", recording_minutes: 411, total_sleep_minutes: 329, sleep_latency_minutes: 13, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "14.5", lowest_spo2_pct: 78, desaturation_minutes: 47, arousal_index: null, limb_movement_index: null },
            { id: 93, patient_id: 103, study_on: "2025-10-29", setting: "in-lab", technologist_id: 4, physician_id: 5, lights_off: "23:28:15", recording_minutes: 487, total_sleep_minutes: 428, sleep_latency_minutes: 58, rem_minutes: 91, deep_sleep_minutes: 88, non_rem_minutes: "337", light_sleep_minutes: "249", ahi: "1.8", lowest_spo2_pct: 82, desaturation_minutes: 131, arousal_index: "24.0", limb_movement_index: "0.0" },
            { id: 94, patient_id: 74, study_on: "2026-02-21", setting: "in-lab", technologist_id: 5, physician_id: 4, lights_off: "23:28:35", recording_minutes: 482, total_sleep_minutes: 333, sleep_latency_minutes: 15, rem_minutes: 91, deep_sleep_minutes: 77, non_rem_minutes: "242", light_sleep_minutes: "165", ahi: "19.0", lowest_spo2_pct: 85, desaturation_minutes: 8, arousal_index: "47.1", limb_movement_index: "39.3" },
            { id: 95, patient_id: 37, study_on: "2026-01-21", setting: "home", technologist_id: 2, physician_id: 3, lights_off: "23:42:48", recording_minutes: 468, total_sleep_minutes: 404, sleep_latency_minutes: 69, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "40.4", lowest_spo2_pct: 81, desaturation_minutes: 0, arousal_index: null, limb_movement_index: null },
            { id: 96, patient_id: 16, study_on: "2025-12-31", setting: "home", technologist_id: 5, physician_id: 4, lights_off: "21:58:19", recording_minutes: 429, total_sleep_minutes: 351, sleep_latency_minutes: 2, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "61.5", lowest_spo2_pct: 76, desaturation_minutes: 21, arousal_index: null, limb_movement_index: null },
            { id: 97, patient_id: 89, study_on: "2026-02-07", setting: "in-lab", technologist_id: 4, physician_id: 2, lights_off: "23:32:10", recording_minutes: 455, total_sleep_minutes: 331, sleep_latency_minutes: 7, rem_minutes: 107, deep_sleep_minutes: 11, non_rem_minutes: "224", light_sleep_minutes: "213", ahi: "27.8", lowest_spo2_pct: 77, desaturation_minutes: 0, arousal_index: "29.4", limb_movement_index: "11.0" },
            { id: 98, patient_id: 105, study_on: "2025-12-08", setting: "in-lab", technologist_id: 1, physician_id: 2, lights_off: "22:17:25", recording_minutes: 465, total_sleep_minutes: 369, sleep_latency_minutes: 8, rem_minutes: 40, deep_sleep_minutes: 30, non_rem_minutes: "329", light_sleep_minutes: "299", ahi: "43.6", lowest_spo2_pct: 79, desaturation_minutes: 48, arousal_index: "25.0", limb_movement_index: "35.3" },
            { id: 99, patient_id: 57, study_on: "2026-01-25", setting: "home", technologist_id: 7, physician_id: 1, lights_off: "23:37:59", recording_minutes: 475, total_sleep_minutes: 348, sleep_latency_minutes: 5, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "1.9", lowest_spo2_pct: 75, desaturation_minutes: 11, arousal_index: null, limb_movement_index: null },
            { id: 100, patient_id: 132, study_on: "2025-12-17", setting: "home", technologist_id: 5, physician_id: 2, lights_off: "23:26:49", recording_minutes: 483, total_sleep_minutes: 407, sleep_latency_minutes: 57, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "19.7", lowest_spo2_pct: 75, desaturation_minutes: 0, arousal_index: null, limb_movement_index: null },
            { id: 101, patient_id: 85, study_on: "2025-10-18", setting: "in-lab", technologist_id: 4, physician_id: 1, lights_off: "22:41:22", recording_minutes: 459, total_sleep_minutes: 398, sleep_latency_minutes: 3, rem_minutes: 100, deep_sleep_minutes: 13, non_rem_minutes: "298", light_sleep_minutes: "285", ahi: "24.7", lowest_spo2_pct: 75, desaturation_minutes: 71, arousal_index: "31.0", limb_movement_index: "3.3" },
            { id: 102, patient_id: 59, study_on: "2025-12-03", setting: "in-lab", technologist_id: 3, physician_id: 1, lights_off: "21:36:12", recording_minutes: 416, total_sleep_minutes: 247, sleep_latency_minutes: 34, rem_minutes: 70, deep_sleep_minutes: 85, non_rem_minutes: "177", light_sleep_minutes: "92", ahi: "25.1", lowest_spo2_pct: 77, desaturation_minutes: 28, arousal_index: "4.6", limb_movement_index: "34.9" },
            { id: 103, patient_id: 140, study_on: "2026-01-31", setting: "in-lab", technologist_id: 7, physician_id: 5, lights_off: "23:22:08", recording_minutes: 447, total_sleep_minutes: 362, sleep_latency_minutes: 34, rem_minutes: 51, deep_sleep_minutes: 75, non_rem_minutes: "311", light_sleep_minutes: "236", ahi: "2.7", lowest_spo2_pct: 75, desaturation_minutes: 0, arousal_index: "13.0", limb_movement_index: "0.3" },
            { id: 104, patient_id: 15, study_on: "2026-03-07", setting: "in-lab", technologist_id: 2, physician_id: 1, lights_off: "22:48:12", recording_minutes: 488, total_sleep_minutes: 368, sleep_latency_minutes: 48, rem_minutes: 99, deep_sleep_minutes: 45, non_rem_minutes: "269", light_sleep_minutes: "224", ahi: "21.8", lowest_spo2_pct: 88, desaturation_minutes: 125, arousal_index: "18.0", limb_movement_index: "2.9" },
            { id: 105, patient_id: 148, study_on: "2025-09-03", setting: "in-lab", technologist_id: 7, physician_id: 1, lights_off: "23:33:55", recording_minutes: 460, total_sleep_minutes: 415, sleep_latency_minutes: 13, rem_minutes: 71, deep_sleep_minutes: 98, non_rem_minutes: "344", light_sleep_minutes: "246", ahi: "52.5", lowest_spo2_pct: 76, desaturation_minutes: 115, arousal_index: "8.6", limb_movement_index: "40.8" },
            { id: 106, patient_id: 107, study_on: "2025-11-19", setting: "in-lab", technologist_id: 4, physician_id: 4, lights_off: "23:32:20", recording_minutes: 456, total_sleep_minutes: 433, sleep_latency_minutes: 2, rem_minutes: 45, deep_sleep_minutes: 46, non_rem_minutes: "388", light_sleep_minutes: "342", ahi: "47.5", lowest_spo2_pct: 81, desaturation_minutes: 63, arousal_index: "39.1", limb_movement_index: "1.0" },
            { id: 107, patient_id: 22, study_on: "2026-01-01", setting: "in-lab", technologist_id: 4, physician_id: 2, lights_off: "23:56:17", recording_minutes: 436, total_sleep_minutes: 243, sleep_latency_minutes: 6, rem_minutes: 60, deep_sleep_minutes: 19, non_rem_minutes: "183", light_sleep_minutes: "164", ahi: "10.6", lowest_spo2_pct: 83, desaturation_minutes: 73, arousal_index: "9.8", limb_movement_index: "36.0" },
            { id: 108, patient_id: 41, study_on: "2025-09-24", setting: "home", technologist_id: 8, physician_id: 2, lights_off: "22:09:27", recording_minutes: 400, total_sleep_minutes: 370, sleep_latency_minutes: 34, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "75.8", lowest_spo2_pct: 82, desaturation_minutes: 95, arousal_index: null, limb_movement_index: null },
            { id: 109, patient_id: 3, study_on: "2025-11-11", setting: "in-lab", technologist_id: 2, physician_id: 3, lights_off: "23:56:28", recording_minutes: 483, total_sleep_minutes: 367, sleep_latency_minutes: 4, rem_minutes: 90, deep_sleep_minutes: 42, non_rem_minutes: "277", light_sleep_minutes: "235", ahi: "27.6", lowest_spo2_pct: 81, desaturation_minutes: 20, arousal_index: "34.9", limb_movement_index: "3.4" },
            { id: 110, patient_id: 97, study_on: "2025-11-26", setting: "in-lab", technologist_id: 7, physician_id: 1, lights_off: "22:58:04", recording_minutes: 433, total_sleep_minutes: 331, sleep_latency_minutes: 44, rem_minutes: 109, deep_sleep_minutes: 92, non_rem_minutes: "222", light_sleep_minutes: "130", ahi: "15.5", lowest_spo2_pct: 83, desaturation_minutes: 20, arousal_index: "12.8", limb_movement_index: "30.7" },
            { id: 111, patient_id: 32, study_on: "2026-02-04", setting: "in-lab", technologist_id: 7, physician_id: 4, lights_off: "21:57:52", recording_minutes: 431, total_sleep_minutes: 304, sleep_latency_minutes: 56, rem_minutes: 52, deep_sleep_minutes: 83, non_rem_minutes: "252", light_sleep_minutes: "169", ahi: "6.4", lowest_spo2_pct: 81, desaturation_minutes: 45, arousal_index: "6.4", limb_movement_index: "11.5" },
            { id: 112, patient_id: 7, study_on: "2026-02-18", setting: "home", technologist_id: 7, physician_id: 2, lights_off: "21:40:28", recording_minutes: 490, total_sleep_minutes: 298, sleep_latency_minutes: 5, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "3.9", lowest_spo2_pct: 80, desaturation_minutes: 34, arousal_index: null, limb_movement_index: null },
            { id: 113, patient_id: 43, study_on: "2025-12-20", setting: "in-lab", technologist_id: 8, physician_id: 1, lights_off: "22:26:18", recording_minutes: 441, total_sleep_minutes: 409, sleep_latency_minutes: 52, rem_minutes: 99, deep_sleep_minutes: 95, non_rem_minutes: "310", light_sleep_minutes: "215", ahi: "44.0", lowest_spo2_pct: 81, desaturation_minutes: 104, arousal_index: "27.3", limb_movement_index: "16.3" },
            { id: 114, patient_id: 51, study_on: "2025-12-28", setting: "in-lab", technologist_id: 4, physician_id: 2, lights_off: "21:47:52", recording_minutes: 463, total_sleep_minutes: 372, sleep_latency_minutes: 32, rem_minutes: 53, deep_sleep_minutes: 15, non_rem_minutes: "319", light_sleep_minutes: "304", ahi: "26.0", lowest_spo2_pct: 78, desaturation_minutes: 2, arousal_index: "33.6", limb_movement_index: "8.3" },
            { id: 115, patient_id: 24, study_on: "2026-01-09", setting: "in-lab", technologist_id: 5, physician_id: 1, lights_off: "23:40:30", recording_minutes: 485, total_sleep_minutes: 428, sleep_latency_minutes: 26, rem_minutes: 102, deep_sleep_minutes: 32, non_rem_minutes: "326", light_sleep_minutes: "294", ahi: "63.9", lowest_spo2_pct: 84, desaturation_minutes: 10, arousal_index: "33.8", limb_movement_index: "22.1" },
            { id: 116, patient_id: 135, study_on: "2026-02-07", setting: "in-lab", technologist_id: 8, physician_id: 4, lights_off: "23:52:24", recording_minutes: 408, total_sleep_minutes: 379, sleep_latency_minutes: 34, rem_minutes: 40, deep_sleep_minutes: 12, non_rem_minutes: "339", light_sleep_minutes: "327", ahi: "0.6", lowest_spo2_pct: 73, desaturation_minutes: 53, arousal_index: "34.4", limb_movement_index: "5.0" },
            { id: 117, patient_id: 27, study_on: "2026-03-04", setting: "in-lab", technologist_id: 3, physician_id: 2, lights_off: "21:40:24", recording_minutes: 419, total_sleep_minutes: 399, sleep_latency_minutes: 28, rem_minutes: 86, deep_sleep_minutes: 92, non_rem_minutes: "313", light_sleep_minutes: "221", ahi: "41.8", lowest_spo2_pct: 76, desaturation_minutes: 57, arousal_index: "14.8", limb_movement_index: "31.3" },
            { id: 118, patient_id: 11, study_on: "2025-09-28", setting: "in-lab", technologist_id: 4, physician_id: 5, lights_off: "23:33:32", recording_minutes: 420, total_sleep_minutes: 299, sleep_latency_minutes: 4, rem_minutes: 64, deep_sleep_minutes: 16, non_rem_minutes: "235", light_sleep_minutes: "219", ahi: "39.3", lowest_spo2_pct: 86, desaturation_minutes: 3, arousal_index: "47.6", limb_movement_index: "36.8" },
            { id: 119, patient_id: 144, study_on: "2026-03-15", setting: "home", technologist_id: 4, physician_id: 2, lights_off: "22:40:57", recording_minutes: 412, total_sleep_minutes: 341, sleep_latency_minutes: 49, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "3.4", lowest_spo2_pct: 77, desaturation_minutes: 22, arousal_index: null, limb_movement_index: null },
            { id: 120, patient_id: 136, study_on: "2026-01-25", setting: "in-lab", technologist_id: 7, physician_id: 4, lights_off: "22:34:58", recording_minutes: 413, total_sleep_minutes: 294, sleep_latency_minutes: 9, rem_minutes: 35, deep_sleep_minutes: 52, non_rem_minutes: "259", light_sleep_minutes: "207", ahi: "25.7", lowest_spo2_pct: 79, desaturation_minutes: 124, arousal_index: "20.5", limb_movement_index: "20.5" },
            { id: 121, patient_id: 21, study_on: "2025-12-29", setting: "home", technologist_id: 1, physician_id: 4, lights_off: "23:14:32", recording_minutes: 482, total_sleep_minutes: 454, sleep_latency_minutes: 3, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "7.5", lowest_spo2_pct: 77, desaturation_minutes: 135, arousal_index: null, limb_movement_index: null },
            { id: 122, patient_id: 98, study_on: "2025-11-24", setting: "home", technologist_id: 7, physician_id: 1, lights_off: "23:00:47", recording_minutes: 456, total_sleep_minutes: 308, sleep_latency_minutes: 75, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "35.7", lowest_spo2_pct: 81, desaturation_minutes: 1, arousal_index: null, limb_movement_index: null },
            { id: 123, patient_id: 46, study_on: "2025-11-08", setting: "in-lab", technologist_id: 1, physician_id: 1, lights_off: "22:12:56", recording_minutes: 403, total_sleep_minutes: 309, sleep_latency_minutes: 19, rem_minutes: 40, deep_sleep_minutes: 30, non_rem_minutes: "269", light_sleep_minutes: "239", ahi: "37.9", lowest_spo2_pct: 84, desaturation_minutes: 112, arousal_index: "19.3", limb_movement_index: "20.5" },
            { id: 124, patient_id: 13, study_on: "2026-01-10", setting: "in-lab", technologist_id: 7, physician_id: 5, lights_off: "22:09:31", recording_minutes: 406, total_sleep_minutes: 292, sleep_latency_minutes: 3, rem_minutes: 50, deep_sleep_minutes: 102, non_rem_minutes: "242", light_sleep_minutes: "140", ahi: "8.3", lowest_spo2_pct: 83, desaturation_minutes: 120, arousal_index: "33.0", limb_movement_index: "29.5" },
            { id: 125, patient_id: 26, study_on: "2025-10-23", setting: "home", technologist_id: 1, physician_id: 3, lights_off: "21:32:41", recording_minutes: 467, total_sleep_minutes: 443, sleep_latency_minutes: 32, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "48.1", lowest_spo2_pct: 81, desaturation_minutes: 123, arousal_index: null, limb_movement_index: null },
            { id: 126, patient_id: 19, study_on: "2026-01-14", setting: "home", technologist_id: 5, physician_id: 3, lights_off: "23:23:38", recording_minutes: 432, total_sleep_minutes: 341, sleep_latency_minutes: 57, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "59.4", lowest_spo2_pct: 79, desaturation_minutes: 94, arousal_index: null, limb_movement_index: null },
            { id: 127, patient_id: 61, study_on: "2026-01-10", setting: "home", technologist_id: 5, physician_id: 3, lights_off: "22:33:53", recording_minutes: 412, total_sleep_minutes: 250, sleep_latency_minutes: 16, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "7.3", lowest_spo2_pct: 83, desaturation_minutes: 117, arousal_index: null, limb_movement_index: null },
            { id: 128, patient_id: 44, study_on: "2025-11-30", setting: "home", technologist_id: 6, physician_id: 5, lights_off: "23:41:41", recording_minutes: 438, total_sleep_minutes: 384, sleep_latency_minutes: 33, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "17.1", lowest_spo2_pct: 84, desaturation_minutes: 0, arousal_index: null, limb_movement_index: null },
            { id: 129, patient_id: 68, study_on: "2026-01-14", setting: "home", technologist_id: 8, physician_id: 5, lights_off: "21:50:28", recording_minutes: 419, total_sleep_minutes: 317, sleep_latency_minutes: 12, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "0.6", lowest_spo2_pct: 90, desaturation_minutes: 73, arousal_index: null, limb_movement_index: null },
            { id: 130, patient_id: 128, study_on: "2026-03-17", setting: "in-lab", technologist_id: 2, physician_id: 4, lights_off: "22:27:46", recording_minutes: 454, total_sleep_minutes: 264, sleep_latency_minutes: 10, rem_minutes: 80, deep_sleep_minutes: 52, non_rem_minutes: "184", light_sleep_minutes: "132", ahi: "57.9", lowest_spo2_pct: 86, desaturation_minutes: 1, arousal_index: "8.0", limb_movement_index: "8.3" },
            { id: 131, patient_id: 31, study_on: "2025-11-14", setting: "in-lab", technologist_id: 6, physician_id: 4, lights_off: "22:42:44", recording_minutes: 455, total_sleep_minutes: 430, sleep_latency_minutes: 10, rem_minutes: 77, deep_sleep_minutes: 34, non_rem_minutes: "353", light_sleep_minutes: "319", ahi: "2.0", lowest_spo2_pct: 74, desaturation_minutes: 117, arousal_index: "46.7", limb_movement_index: "12.5" },
            { id: 132, patient_id: 110, study_on: "2025-12-24", setting: "home", technologist_id: 8, physician_id: 1, lights_off: "21:44:21", recording_minutes: 417, total_sleep_minutes: 265, sleep_latency_minutes: 23, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "25.7", lowest_spo2_pct: 84, desaturation_minutes: 2, arousal_index: null, limb_movement_index: null },
            { id: 133, patient_id: 55, study_on: "2025-11-30", setting: "home", technologist_id: 1, physician_id: 2, lights_off: "22:10:08", recording_minutes: 460, total_sleep_minutes: 452, sleep_latency_minutes: 42, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "29.2", lowest_spo2_pct: 79, desaturation_minutes: 92, arousal_index: null, limb_movement_index: null },
            { id: 134, patient_id: 83, study_on: "2025-11-18", setting: "in-lab", technologist_id: 3, physician_id: 1, lights_off: "23:07:18", recording_minutes: 466, total_sleep_minutes: 443, sleep_latency_minutes: 4, rem_minutes: 55, deep_sleep_minutes: 92, non_rem_minutes: "388", light_sleep_minutes: "296", ahi: "63.1", lowest_spo2_pct: 83, desaturation_minutes: 63, arousal_index: "22.1", limb_movement_index: "0.3" },
            { id: 135, patient_id: 124, study_on: "2026-01-30", setting: "in-lab", technologist_id: 3, physician_id: 3, lights_off: "22:46:18", recording_minutes: 476, total_sleep_minutes: 397, sleep_latency_minutes: 56, rem_minutes: 45, deep_sleep_minutes: 88, non_rem_minutes: "352", light_sleep_minutes: "264", ahi: "43.2", lowest_spo2_pct: 79, desaturation_minutes: 22, arousal_index: "27.9", limb_movement_index: "41.5" },
            { id: 136, patient_id: 88, study_on: "2025-11-15", setting: "home", technologist_id: 6, physician_id: 5, lights_off: "22:59:53", recording_minutes: 465, total_sleep_minutes: 445, sleep_latency_minutes: 34, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "30.0", lowest_spo2_pct: 76, desaturation_minutes: 43, arousal_index: null, limb_movement_index: null },
            { id: 137, patient_id: 75, study_on: "2025-10-29", setting: "in-lab", technologist_id: 1, physician_id: 3, lights_off: "22:13:47", recording_minutes: 449, total_sleep_minutes: 397, sleep_latency_minutes: 49, rem_minutes: 68, deep_sleep_minutes: 68, non_rem_minutes: "329", light_sleep_minutes: "261", ahi: "0.7", lowest_spo2_pct: 77, desaturation_minutes: 53, arousal_index: "11.6", limb_movement_index: "36.8" },
            { id: 138, patient_id: 92, study_on: "2025-11-03", setting: "in-lab", technologist_id: 2, physician_id: 2, lights_off: "21:45:25", recording_minutes: 429, total_sleep_minutes: 249, sleep_latency_minutes: 4, rem_minutes: 113, deep_sleep_minutes: 13, non_rem_minutes: "136", light_sleep_minutes: "123", ahi: "11.0", lowest_spo2_pct: 73, desaturation_minutes: 45, arousal_index: "10.2", limb_movement_index: "4.7" },
            { id: 139, patient_id: 28, study_on: "2025-10-19", setting: "home", technologist_id: 4, physician_id: 4, lights_off: "21:53:45", recording_minutes: 460, total_sleep_minutes: 420, sleep_latency_minutes: 33, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "12.4", lowest_spo2_pct: 77, desaturation_minutes: 14, arousal_index: null, limb_movement_index: null },
            { id: 140, patient_id: 102, study_on: "2025-09-15", setting: "in-lab", technologist_id: 8, physician_id: 2, lights_off: "23:50:39", recording_minutes: 441, total_sleep_minutes: 430, sleep_latency_minutes: 12, rem_minutes: 49, deep_sleep_minutes: 104, non_rem_minutes: "381", light_sleep_minutes: "277", ahi: "0.5", lowest_spo2_pct: 89, desaturation_minutes: 54, arousal_index: "47.9", limb_movement_index: "4.7" },
            { id: 141, patient_id: 18, study_on: "2026-01-24", setting: "home", technologist_id: 6, physician_id: 3, lights_off: "22:44:58", recording_minutes: 449, total_sleep_minutes: 404, sleep_latency_minutes: 9, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "15.2", lowest_spo2_pct: 81, desaturation_minutes: 69, arousal_index: null, limb_movement_index: null },
            { id: 142, patient_id: 48, study_on: "2026-01-21", setting: "in-lab", technologist_id: 1, physician_id: 1, lights_off: "22:39:41", recording_minutes: 478, total_sleep_minutes: 384, sleep_latency_minutes: 5, rem_minutes: 108, deep_sleep_minutes: 45, non_rem_minutes: "276", light_sleep_minutes: "231", ahi: "1.8", lowest_spo2_pct: 85, desaturation_minutes: 64, arousal_index: "43.2", limb_movement_index: "36.7" },
            { id: 143, patient_id: 58, study_on: "2026-01-28", setting: "in-lab", technologist_id: 7, physician_id: 2, lights_off: "23:12:32", recording_minutes: 461, total_sleep_minutes: 388, sleep_latency_minutes: 51, rem_minutes: 96, deep_sleep_minutes: 84, non_rem_minutes: "292", light_sleep_minutes: "208", ahi: "3.2", lowest_spo2_pct: 77, desaturation_minutes: 45, arousal_index: "32.9", limb_movement_index: "0.2" },
            { id: 144, patient_id: 147, study_on: "2026-01-24", setting: "in-lab", technologist_id: 7, physician_id: 4, lights_off: "23:31:04", recording_minutes: 472, total_sleep_minutes: 356, sleep_latency_minutes: 4, rem_minutes: 34, deep_sleep_minutes: 107, non_rem_minutes: "322", light_sleep_minutes: "215", ahi: "7.0", lowest_spo2_pct: 81, desaturation_minutes: 8, arousal_index: "44.2", limb_movement_index: "3.4" },
            { id: 145, patient_id: 34, study_on: "2026-01-13", setting: "in-lab", technologist_id: 2, physician_id: 3, lights_off: "23:09:34", recording_minutes: 408, total_sleep_minutes: 323, sleep_latency_minutes: 2, rem_minutes: 54, deep_sleep_minutes: 50, non_rem_minutes: "269", light_sleep_minutes: "219", ahi: "28.8", lowest_spo2_pct: 76, desaturation_minutes: 6, arousal_index: "10.3", limb_movement_index: "7.8" },
            { id: 146, patient_id: 108, study_on: "2026-02-12", setting: "in-lab", technologist_id: 5, physician_id: 3, lights_off: "21:41:59", recording_minutes: 434, total_sleep_minutes: 298, sleep_latency_minutes: 71, rem_minutes: 63, deep_sleep_minutes: 102, non_rem_minutes: "235", light_sleep_minutes: "133", ahi: "53.6", lowest_spo2_pct: 87, desaturation_minutes: 41, arousal_index: "24.1", limb_movement_index: "14.2" },
            { id: 147, patient_id: 53, study_on: "2025-09-25", setting: "home", technologist_id: 3, physician_id: 2, lights_off: "23:20:27", recording_minutes: 434, total_sleep_minutes: 428, sleep_latency_minutes: 63, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "35.8", lowest_spo2_pct: 77, desaturation_minutes: 31, arousal_index: null, limb_movement_index: null },
            { id: 148, patient_id: 100, study_on: "2025-11-28", setting: "in-lab", technologist_id: 2, physician_id: 5, lights_off: "22:08:26", recording_minutes: 486, total_sleep_minutes: 375, sleep_latency_minutes: 26, rem_minutes: 57, deep_sleep_minutes: 63, non_rem_minutes: "318", light_sleep_minutes: "255", ahi: "64.2", lowest_spo2_pct: 87, desaturation_minutes: 4, arousal_index: "11.9", limb_movement_index: "0.0" },
            { id: 149, patient_id: 67, study_on: "2025-11-16", setting: "home", technologist_id: 8, physician_id: 3, lights_off: "23:32:15", recording_minutes: 490, total_sleep_minutes: 393, sleep_latency_minutes: 57, rem_minutes: null, deep_sleep_minutes: null, non_rem_minutes: null, light_sleep_minutes: null, ahi: "0.5", lowest_spo2_pct: 74, desaturation_minutes: 109, arousal_index: null, limb_movement_index: null },
            { id: 150, patient_id: 80, study_on: "2026-03-18", setting: "in-lab", technologist_id: 1, physician_id: 3, lights_off: "22:31:18", recording_minutes: 401, total_sleep_minutes: 250, sleep_latency_minutes: 2, rem_minutes: 33, deep_sleep_minutes: 58, non_rem_minutes: "217", light_sleep_minutes: "159", ahi: "78.0", lowest_spo2_pct: 82, desaturation_minutes: 0, arousal_index: "24.8", limb_movement_index: "7.0" },
        ],
    });
    await prisma.titration_studies.createMany({
        data: [
            { id: 1, diagnostic_study_id: 82, study_on: "2026-01-04", technologist_id: 1, mask_type: "nasal", pressure_cm_h2o: 13, residual_ahi: "0.3", tolerance: "good" },
            { id: 2, diagnostic_study_id: 11, study_on: "2025-12-20", technologist_id: 5, mask_type: "nasal", pressure_cm_h2o: 9, residual_ahi: "0.2", tolerance: "good" },
            { id: 3, diagnostic_study_id: 46, study_on: "2025-11-01", technologist_id: 5, mask_type: "nasal pillows", pressure_cm_h2o: 8, residual_ahi: "1.9", tolerance: "poor" },
            { id: 4, diagnostic_study_id: 125, study_on: "2025-11-26", technologist_id: 7, mask_type: "nasal", pressure_cm_h2o: 11, residual_ahi: "8.5", tolerance: "good" },
            { id: 5, diagnostic_study_id: 40, study_on: "2026-02-10", technologist_id: 3, mask_type: "full face", pressure_cm_h2o: 13, residual_ahi: "3.0", tolerance: "poor" },
            { id: 6, diagnostic_study_id: 36, study_on: "2025-11-23", technologist_id: 8, mask_type: "nasal pillows", pressure_cm_h2o: 9, residual_ahi: "4.7", tolerance: "good" },
            { id: 7, diagnostic_study_id: 53, study_on: "2025-12-01", technologist_id: 4, mask_type: "nasal", pressure_cm_h2o: 11, residual_ahi: "0.8", tolerance: "good" },
            { id: 8, diagnostic_study_id: 89, study_on: "2026-02-13", technologist_id: 2, mask_type: "nasal", pressure_cm_h2o: 9, residual_ahi: "1.7", tolerance: "good" },
            { id: 9, diagnostic_study_id: 37, study_on: "2025-12-24", technologist_id: 3, mask_type: "nasal", pressure_cm_h2o: 10, residual_ahi: "6.3", tolerance: "good" },
            { id: 10, diagnostic_study_id: 112, study_on: "2026-02-21", technologist_id: 6, mask_type: "full face", pressure_cm_h2o: 10, residual_ahi: "3.8", tolerance: "good" },
            { id: 11, diagnostic_study_id: 133, study_on: "2026-01-02", technologist_id: 5, mask_type: "nasal pillows", pressure_cm_h2o: 11, residual_ahi: "0.3", tolerance: "poor" },
            { id: 12, diagnostic_study_id: 47, study_on: "2025-11-19", technologist_id: 5, mask_type: "nasal", pressure_cm_h2o: 9, residual_ahi: "3.1", tolerance: "fair" },
            { id: 13, diagnostic_study_id: 17, study_on: "2026-01-22", technologist_id: 4, mask_type: "full face", pressure_cm_h2o: 11, residual_ahi: "4.2", tolerance: "good" },
            { id: 14, diagnostic_study_id: 20, study_on: "2026-01-31", technologist_id: 2, mask_type: "nasal", pressure_cm_h2o: 11, residual_ahi: "4.7", tolerance: "good" },
            { id: 15, diagnostic_study_id: 27, study_on: "2026-03-02", technologist_id: 7, mask_type: "nasal", pressure_cm_h2o: 11, residual_ahi: "0.2", tolerance: "good" },
            { id: 16, diagnostic_study_id: 70, study_on: "2026-01-11", technologist_id: 1, mask_type: "nasal pillows", pressure_cm_h2o: 13, residual_ahi: "0.9", tolerance: "good" },
            { id: 17, diagnostic_study_id: 135, study_on: "2026-02-21", technologist_id: 6, mask_type: "full face", pressure_cm_h2o: 11, residual_ahi: "0.5", tolerance: "good" },
            { id: 18, diagnostic_study_id: 54, study_on: "2026-03-25", technologist_id: 3, mask_type: "full face", pressure_cm_h2o: 9, residual_ahi: "6.9", tolerance: "good" },
            { id: 19, diagnostic_study_id: 108, study_on: "2025-10-17", technologist_id: 8, mask_type: "nasal", pressure_cm_h2o: 9, residual_ahi: "0.5", tolerance: "fair" },
            { id: 20, diagnostic_study_id: 76, study_on: "2025-12-17", technologist_id: 5, mask_type: "nasal", pressure_cm_h2o: 10, residual_ahi: "6.2", tolerance: "good" },
            { id: 21, diagnostic_study_id: 19, study_on: "2026-02-17", technologist_id: 2, mask_type: "nasal pillows", pressure_cm_h2o: 12, residual_ahi: "0.3", tolerance: "good" },
            { id: 22, diagnostic_study_id: 32, study_on: "2026-02-06", technologist_id: 7, mask_type: "nasal pillows", pressure_cm_h2o: 13, residual_ahi: "3.2", tolerance: "fair" },
            { id: 23, diagnostic_study_id: 104, study_on: "2026-04-17", technologist_id: 4, mask_type: "full face", pressure_cm_h2o: 13, residual_ahi: "7.4", tolerance: "fair" },
            { id: 24, diagnostic_study_id: 39, study_on: "2026-02-14", technologist_id: 3, mask_type: "nasal", pressure_cm_h2o: 9, residual_ahi: "0.4", tolerance: "good" },
            { id: 25, diagnostic_study_id: 68, study_on: "2026-04-02", technologist_id: 7, mask_type: "full face", pressure_cm_h2o: 10, residual_ahi: "1.1", tolerance: "good" },
            { id: 26, diagnostic_study_id: 131, study_on: "2025-11-23", technologist_id: 6, mask_type: "nasal pillows", pressure_cm_h2o: 11, residual_ahi: "1.3", tolerance: "good" },
            { id: 27, diagnostic_study_id: 33, study_on: "2026-02-02", technologist_id: 6, mask_type: "nasal pillows", pressure_cm_h2o: 10, residual_ahi: "0.3", tolerance: "fair" },
            { id: 28, diagnostic_study_id: 18, study_on: "2026-03-17", technologist_id: 5, mask_type: "nasal pillows", pressure_cm_h2o: 9, residual_ahi: "1.5", tolerance: "good" },
            { id: 29, diagnostic_study_id: 56, study_on: "2025-12-14", technologist_id: 3, mask_type: "nasal", pressure_cm_h2o: 12, residual_ahi: "1.7", tolerance: "good" },
            { id: 30, diagnostic_study_id: 64, study_on: "2025-11-13", technologist_id: 4, mask_type: "nasal pillows", pressure_cm_h2o: 12, residual_ahi: "6.4", tolerance: "fair" },
            { id: 31, diagnostic_study_id: 69, study_on: "2026-03-04", technologist_id: 6, mask_type: "nasal", pressure_cm_h2o: 8, residual_ahi: "6.8", tolerance: "good" },
            { id: 32, diagnostic_study_id: 141, study_on: "2026-03-03", technologist_id: 7, mask_type: "nasal", pressure_cm_h2o: 7, residual_ahi: "2.7", tolerance: "fair" },
            { id: 33, diagnostic_study_id: 92, study_on: "2025-10-20", technologist_id: 6, mask_type: "nasal pillows", pressure_cm_h2o: 12, residual_ahi: "8.5", tolerance: "fair" },
            { id: 34, diagnostic_study_id: 62, study_on: "2026-02-28", technologist_id: 5, mask_type: "full face", pressure_cm_h2o: 11, residual_ahi: "9.5", tolerance: "good" },
            { id: 35, diagnostic_study_id: 139, study_on: "2025-10-19", technologist_id: 3, mask_type: "nasal", pressure_cm_h2o: 11, residual_ahi: "1.2", tolerance: "good" },
            { id: 36, diagnostic_study_id: 145, study_on: "2026-02-05", technologist_id: 5, mask_type: "nasal", pressure_cm_h2o: 12, residual_ahi: "7.4", tolerance: "good" },
            { id: 37, diagnostic_study_id: 84, study_on: "2025-11-21", technologist_id: 5, mask_type: "nasal", pressure_cm_h2o: 13, residual_ahi: "0.4", tolerance: "good" },
            { id: 38, diagnostic_study_id: 120, study_on: "2026-03-10", technologist_id: 7, mask_type: "nasal", pressure_cm_h2o: 8, residual_ahi: "3.7", tolerance: "poor" },
            { id: 39, diagnostic_study_id: 121, study_on: "2026-02-11", technologist_id: 3, mask_type: "nasal pillows", pressure_cm_h2o: 12, residual_ahi: "2.2", tolerance: "poor" },
            { id: 40, diagnostic_study_id: 31, study_on: "2026-01-05", technologist_id: 3, mask_type: "nasal pillows", pressure_cm_h2o: 10, residual_ahi: "8.6", tolerance: "good" },
            { id: 41, diagnostic_study_id: 134, study_on: "2025-12-25", technologist_id: 4, mask_type: "nasal", pressure_cm_h2o: 11, residual_ahi: "2.2", tolerance: "good" },
            { id: 42, diagnostic_study_id: 34, study_on: "2026-02-23", technologist_id: 4, mask_type: "full face", pressure_cm_h2o: 10, residual_ahi: "5.2", tolerance: "good" },
            { id: 43, diagnostic_study_id: 97, study_on: "2026-03-14", technologist_id: 3, mask_type: "nasal pillows", pressure_cm_h2o: 11, residual_ahi: "3.0", tolerance: "good" },
            { id: 44, diagnostic_study_id: 1, study_on: "2026-02-28", technologist_id: 7, mask_type: "nasal pillows", pressure_cm_h2o: 12, residual_ahi: "4.9", tolerance: "good" },
            { id: 45, diagnostic_study_id: 87, study_on: "2025-12-10", technologist_id: 6, mask_type: "nasal", pressure_cm_h2o: 11, residual_ahi: "6.4", tolerance: "poor" },
            { id: 46, diagnostic_study_id: 74, study_on: "2026-02-24", technologist_id: 8, mask_type: "full face", pressure_cm_h2o: 13, residual_ahi: "2.5", tolerance: "good" },
            { id: 47, diagnostic_study_id: 75, study_on: "2025-12-25", technologist_id: 1, mask_type: "full face", pressure_cm_h2o: 10, residual_ahi: "1.2", tolerance: "fair" },
            { id: 48, diagnostic_study_id: 71, study_on: "2026-03-03", technologist_id: 4, mask_type: "nasal pillows", pressure_cm_h2o: 12, residual_ahi: "3.6", tolerance: "fair" },
            { id: 49, diagnostic_study_id: 22, study_on: "2025-11-13", technologist_id: 8, mask_type: "nasal", pressure_cm_h2o: 13, residual_ahi: "0.5", tolerance: "good" },
        ],
    });
    await prisma.therapy_reviews.createMany({
        data: [
            { id: 1, titration_study_id: 26, review_no: 1, reviewed_on: "2025-11-27", nights_used: 14, nights_over_4h: 10, avg_hours_per_night: "6.7", device_ahi: "3.5", median_leak_l_min: 2 },
            { id: 2, titration_study_id: 13, review_no: 1, reviewed_on: "2026-01-26", nights_used: 29, nights_over_4h: 0, avg_hours_per_night: "5.0", device_ahi: "2.2", median_leak_l_min: 13 },
            { id: 3, titration_study_id: 16, review_no: 1, reviewed_on: "2026-01-17", nights_used: 30, nights_over_4h: 29, avg_hours_per_night: "4.8", device_ahi: "4.5", median_leak_l_min: 39 },
            { id: 4, titration_study_id: 37, review_no: 1, reviewed_on: "2025-11-29", nights_used: 21, nights_over_4h: 4, avg_hours_per_night: "5.6", device_ahi: "1.2", median_leak_l_min: 4 },
            { id: 5, titration_study_id: 20, review_no: 1, reviewed_on: "2025-12-22", nights_used: 9, nights_over_4h: 4, avg_hours_per_night: "4.9", device_ahi: "5.7", median_leak_l_min: 18 },
            { id: 6, titration_study_id: 19, review_no: 1, reviewed_on: "2025-10-17", nights_used: 29, nights_over_4h: 13, avg_hours_per_night: "5.4", device_ahi: "6.3", median_leak_l_min: 2 },
            { id: 7, titration_study_id: 18, review_no: 1, reviewed_on: "2026-03-28", nights_used: 7, nights_over_4h: 2, avg_hours_per_night: "4.3", device_ahi: "5.5", median_leak_l_min: 36 },
            { id: 8, titration_study_id: 25, review_no: 1, reviewed_on: "2026-04-05", nights_used: 27, nights_over_4h: 27, avg_hours_per_night: "5.5", device_ahi: "0.6", median_leak_l_min: 12 },
            { id: 9, titration_study_id: 23, review_no: 1, reviewed_on: "2026-04-21", nights_used: 20, nights_over_4h: 1, avg_hours_per_night: "6.8", device_ahi: "2.0", median_leak_l_min: 33 },
            { id: 10, titration_study_id: 32, review_no: 1, reviewed_on: "2026-03-06", nights_used: 30, nights_over_4h: 0, avg_hours_per_night: "6.8", device_ahi: "1.5", median_leak_l_min: 5 },
            { id: 11, titration_study_id: 2, review_no: 1, reviewed_on: "2025-12-26", nights_used: 29, nights_over_4h: 14, avg_hours_per_night: "4.7", device_ahi: "4.3", median_leak_l_min: 22 },
            { id: 12, titration_study_id: 18, review_no: 2, reviewed_on: "2026-05-01", nights_used: 26, nights_over_4h: 5, avg_hours_per_night: "5.3", device_ahi: "12.0", median_leak_l_min: 16 },
            { id: 13, titration_study_id: 37, review_no: 2, reviewed_on: "2025-12-29", nights_used: 11, nights_over_4h: 8, avg_hours_per_night: "4.7", device_ahi: "1.8", median_leak_l_min: 2 },
            { id: 14, titration_study_id: 31, review_no: 1, reviewed_on: "2026-03-06", nights_used: 16, nights_over_4h: 16, avg_hours_per_night: "5.0", device_ahi: "7.5", median_leak_l_min: 32 },
            { id: 15, titration_study_id: 18, review_no: 3, reviewed_on: "2026-06-05", nights_used: 19, nights_over_4h: 11, avg_hours_per_night: "5.2", device_ahi: "7.9", median_leak_l_min: 24 },
            { id: 16, titration_study_id: 29, review_no: 1, reviewed_on: "2025-12-20", nights_used: 20, nights_over_4h: 4, avg_hours_per_night: "4.8", device_ahi: "8.3", median_leak_l_min: 3 },
            { id: 17, titration_study_id: 35, review_no: 1, reviewed_on: "2025-10-25", nights_used: 16, nights_over_4h: 9, avg_hours_per_night: "6.5", device_ahi: "6.2", median_leak_l_min: 30 },
            { id: 18, titration_study_id: 41, review_no: 1, reviewed_on: "2026-01-03", nights_used: 30, nights_over_4h: 8, avg_hours_per_night: "6.0", device_ahi: "0.3", median_leak_l_min: 6 },
            { id: 19, titration_study_id: 12, review_no: 1, reviewed_on: "2025-11-25", nights_used: 7, nights_over_4h: 0, avg_hours_per_night: "6.5", device_ahi: "2.8", median_leak_l_min: 22 },
            { id: 20, titration_study_id: 21, review_no: 1, reviewed_on: "2026-02-27", nights_used: 7, nights_over_4h: 6, avg_hours_per_night: "4.0", device_ahi: "10.1", median_leak_l_min: 7 },
            { id: 21, titration_study_id: 1, review_no: 1, reviewed_on: "2026-01-06", nights_used: 29, nights_over_4h: 26, avg_hours_per_night: "5.8", device_ahi: "3.2", median_leak_l_min: 3 },
            { id: 22, titration_study_id: 45, review_no: 1, reviewed_on: "2025-12-14", nights_used: 15, nights_over_4h: 12, avg_hours_per_night: "5.4", device_ahi: "0.4", median_leak_l_min: 14 },
            { id: 23, titration_study_id: 29, review_no: 2, reviewed_on: "2026-01-22", nights_used: 25, nights_over_4h: 7, avg_hours_per_night: "5.3", device_ahi: "1.9", median_leak_l_min: 19 },
            { id: 24, titration_study_id: 6, review_no: 1, reviewed_on: "2025-11-27", nights_used: 30, nights_over_4h: 3, avg_hours_per_night: "5.7", device_ahi: "1.8", median_leak_l_min: 34 },
            { id: 25, titration_study_id: 44, review_no: 1, reviewed_on: "2026-03-09", nights_used: 22, nights_over_4h: 18, avg_hours_per_night: "5.8", device_ahi: "5.8", median_leak_l_min: 3 },
            { id: 26, titration_study_id: 39, review_no: 1, reviewed_on: "2026-02-13", nights_used: 22, nights_over_4h: 19, avg_hours_per_night: "5.5", device_ahi: "5.6", median_leak_l_min: 42 },
            { id: 27, titration_study_id: 41, review_no: 2, reviewed_on: "2026-02-09", nights_used: 29, nights_over_4h: 24, avg_hours_per_night: "5.1", device_ahi: "7.9", median_leak_l_min: 6 },
            { id: 28, titration_study_id: 35, review_no: 2, reviewed_on: "2025-11-26", nights_used: 21, nights_over_4h: 17, avg_hours_per_night: "5.1", device_ahi: "0.6", median_leak_l_min: 7 },
            { id: 29, titration_study_id: 11, review_no: 1, reviewed_on: "2026-01-06", nights_used: 28, nights_over_4h: 16, avg_hours_per_night: "6.2", device_ahi: "0.4", median_leak_l_min: 4 },
            { id: 30, titration_study_id: 17, review_no: 1, reviewed_on: "2026-03-01", nights_used: 21, nights_over_4h: 19, avg_hours_per_night: "4.4", device_ahi: "6.8", median_leak_l_min: 22 },
            { id: 31, titration_study_id: 23, review_no: 2, reviewed_on: "2026-05-27", nights_used: 15, nights_over_4h: 7, avg_hours_per_night: "5.6", device_ahi: "2.6", median_leak_l_min: 15 },
            { id: 32, titration_study_id: 40, review_no: 1, reviewed_on: "2026-01-06", nights_used: 6, nights_over_4h: 0, avg_hours_per_night: "5.1", device_ahi: "1.8", median_leak_l_min: 2 },
            { id: 33, titration_study_id: 4, review_no: 1, reviewed_on: "2025-11-30", nights_used: 8, nights_over_4h: 3, avg_hours_per_night: "6.0", device_ahi: "0.4", median_leak_l_min: 18 },
            { id: 34, titration_study_id: 42, review_no: 1, reviewed_on: "2026-02-28", nights_used: 12, nights_over_4h: 8, avg_hours_per_night: "5.0", device_ahi: "8.1", median_leak_l_min: 21 },
            { id: 35, titration_study_id: 31, review_no: 2, reviewed_on: "2026-04-13", nights_used: 30, nights_over_4h: 2, avg_hours_per_night: "5.0", device_ahi: "4.7", median_leak_l_min: 2 },
            { id: 36, titration_study_id: 5, review_no: 1, reviewed_on: "2026-02-15", nights_used: 30, nights_over_4h: 28, avg_hours_per_night: "4.1", device_ahi: "2.4", median_leak_l_min: 3 },
            { id: 37, titration_study_id: 43, review_no: 1, reviewed_on: "2026-03-24", nights_used: 7, nights_over_4h: 4, avg_hours_per_night: "3.5", device_ahi: "7.7", median_leak_l_min: 2 },
            { id: 38, titration_study_id: 43, review_no: 2, reviewed_on: "2026-05-01", nights_used: 29, nights_over_4h: 1, avg_hours_per_night: "6.1", device_ahi: "11.4", median_leak_l_min: 2 },
            { id: 39, titration_study_id: 37, review_no: 3, reviewed_on: "2026-01-30", nights_used: 8, nights_over_4h: 4, avg_hours_per_night: "4.7", device_ahi: "5.1", median_leak_l_min: 4 },
            { id: 40, titration_study_id: 48, review_no: 1, reviewed_on: "2026-03-11", nights_used: 26, nights_over_4h: 8, avg_hours_per_night: "6.3", device_ahi: "3.5", median_leak_l_min: 8 },
            { id: 41, titration_study_id: 3, review_no: 1, reviewed_on: "2025-11-04", nights_used: 10, nights_over_4h: 6, avg_hours_per_night: "5.8", device_ahi: "10.0", median_leak_l_min: 41 },
            { id: 42, titration_study_id: 28, review_no: 1, reviewed_on: "2026-03-22", nights_used: 25, nights_over_4h: 11, avg_hours_per_night: "5.7", device_ahi: "1.4", median_leak_l_min: 27 },
            { id: 43, titration_study_id: 4, review_no: 2, reviewed_on: "2026-01-08", nights_used: 30, nights_over_4h: 4, avg_hours_per_night: "5.6", device_ahi: "1.8", median_leak_l_min: 15 },
            { id: 44, titration_study_id: 12, review_no: 2, reviewed_on: "2025-12-28", nights_used: 27, nights_over_4h: 24, avg_hours_per_night: "5.6", device_ahi: "4.0", median_leak_l_min: 11 },
            { id: 45, titration_study_id: 34, review_no: 1, reviewed_on: "2026-03-04", nights_used: 18, nights_over_4h: 16, avg_hours_per_night: "5.2", device_ahi: "3.5", median_leak_l_min: 11 },
            { id: 46, titration_study_id: 22, review_no: 1, reviewed_on: "2026-02-08", nights_used: 26, nights_over_4h: 2, avg_hours_per_night: "5.6", device_ahi: "2.8", median_leak_l_min: 7 },
            { id: 47, titration_study_id: 30, review_no: 1, reviewed_on: "2025-11-17", nights_used: 27, nights_over_4h: 4, avg_hours_per_night: "5.2", device_ahi: "1.2", median_leak_l_min: 4 },
            { id: 48, titration_study_id: 41, review_no: 3, reviewed_on: "2026-03-18", nights_used: 24, nights_over_4h: 17, avg_hours_per_night: "5.7", device_ahi: "0.3", median_leak_l_min: 8 },
            { id: 49, titration_study_id: 47, review_no: 1, reviewed_on: "2026-01-04", nights_used: 18, nights_over_4h: 16, avg_hours_per_night: "6.9", device_ahi: "2.9", median_leak_l_min: 11 },
            { id: 50, titration_study_id: 49, review_no: 1, reviewed_on: "2025-11-16", nights_used: 18, nights_over_4h: 2, avg_hours_per_night: "5.5", device_ahi: "4.7", median_leak_l_min: 9 },
            { id: 51, titration_study_id: 48, review_no: 2, reviewed_on: "2026-04-11", nights_used: 29, nights_over_4h: 13, avg_hours_per_night: "4.8", device_ahi: "0.5", median_leak_l_min: 3 },
            { id: 52, titration_study_id: 27, review_no: 1, reviewed_on: "2026-02-03", nights_used: 14, nights_over_4h: 5, avg_hours_per_night: "5.2", device_ahi: "0.3", median_leak_l_min: 2 },
            { id: 53, titration_study_id: 47, review_no: 2, reviewed_on: "2026-02-09", nights_used: 28, nights_over_4h: 19, avg_hours_per_night: "6.5", device_ahi: "1.2", median_leak_l_min: 20 },
            { id: 54, titration_study_id: 21, review_no: 2, reviewed_on: "2026-03-29", nights_used: 16, nights_over_4h: 4, avg_hours_per_night: "7.3", device_ahi: "7.0", median_leak_l_min: 15 },
            { id: 55, titration_study_id: 24, review_no: 1, reviewed_on: "2026-02-16", nights_used: 17, nights_over_4h: 16, avg_hours_per_night: "5.8", device_ahi: "0.7", median_leak_l_min: 12 },
            { id: 56, titration_study_id: 9, review_no: 1, reviewed_on: "2025-12-25", nights_used: 29, nights_over_4h: 18, avg_hours_per_night: "3.8", device_ahi: "0.4", median_leak_l_min: 40 },
            { id: 57, titration_study_id: 32, review_no: 2, reviewed_on: "2026-04-10", nights_used: 30, nights_over_4h: 27, avg_hours_per_night: "4.8", device_ahi: "3.0", median_leak_l_min: 2 },
            { id: 58, titration_study_id: 30, review_no: 2, reviewed_on: "2025-12-21", nights_used: 10, nights_over_4h: 7, avg_hours_per_night: "5.5", device_ahi: "3.8", median_leak_l_min: 39 },
            { id: 59, titration_study_id: 38, review_no: 1, reviewed_on: "2026-03-10", nights_used: 23, nights_over_4h: 19, avg_hours_per_night: "6.1", device_ahi: "0.3", median_leak_l_min: 41 },
            { id: 60, titration_study_id: 11, review_no: 2, reviewed_on: "2026-02-15", nights_used: 14, nights_over_4h: 4, avg_hours_per_night: "3.2", device_ahi: "1.7", median_leak_l_min: 4 },
            { id: 61, titration_study_id: 21, review_no: 3, reviewed_on: "2026-05-05", nights_used: 10, nights_over_4h: 4, avg_hours_per_night: "6.6", device_ahi: "0.5", median_leak_l_min: 27 },
            { id: 62, titration_study_id: 15, review_no: 1, reviewed_on: "2026-03-10", nights_used: 22, nights_over_4h: 22, avg_hours_per_night: "4.7", device_ahi: "5.2", median_leak_l_min: 18 },
            { id: 63, titration_study_id: 46, review_no: 1, reviewed_on: "2026-02-27", nights_used: 26, nights_over_4h: 8, avg_hours_per_night: "5.6", device_ahi: "0.5", median_leak_l_min: 7 },
            { id: 64, titration_study_id: 6, review_no: 2, reviewed_on: "2025-12-30", nights_used: 21, nights_over_4h: 11, avg_hours_per_night: "5.6", device_ahi: "0.3", median_leak_l_min: 2 },
            { id: 65, titration_study_id: 14, review_no: 1, reviewed_on: "2026-01-31", nights_used: 12, nights_over_4h: 7, avg_hours_per_night: "7.8", device_ahi: "11.0", median_leak_l_min: 5 },
            { id: 66, titration_study_id: 7, review_no: 1, reviewed_on: "2025-12-06", nights_used: 19, nights_over_4h: 11, avg_hours_per_night: "6.7", device_ahi: "2.0", median_leak_l_min: 26 },
            { id: 67, titration_study_id: 26, review_no: 2, reviewed_on: "2026-01-05", nights_used: 30, nights_over_4h: 26, avg_hours_per_night: "6.4", device_ahi: "8.2", median_leak_l_min: 42 },
            { id: 68, titration_study_id: 47, review_no: 3, reviewed_on: "2026-03-14", nights_used: 26, nights_over_4h: 5, avg_hours_per_night: "6.5", device_ahi: "3.7", median_leak_l_min: 2 },
            { id: 69, titration_study_id: 17, review_no: 2, reviewed_on: "2026-04-09", nights_used: 29, nights_over_4h: 19, avg_hours_per_night: "5.7", device_ahi: "3.5", median_leak_l_min: 12 },
            { id: 70, titration_study_id: 35, review_no: 3, reviewed_on: "2025-12-28", nights_used: 21, nights_over_4h: 4, avg_hours_per_night: "5.0", device_ahi: "8.7", median_leak_l_min: 22 },
            { id: 71, titration_study_id: 13, review_no: 2, reviewed_on: "2026-02-28", nights_used: 30, nights_over_4h: 6, avg_hours_per_night: "5.1", device_ahi: "2.5", median_leak_l_min: 34 },
            { id: 72, titration_study_id: 24, review_no: 2, reviewed_on: "2026-03-23", nights_used: 28, nights_over_4h: 26, avg_hours_per_night: "6.3", device_ahi: "4.6", median_leak_l_min: 36 },
            { id: 73, titration_study_id: 49, review_no: 2, reviewed_on: "2025-12-19", nights_used: 23, nights_over_4h: 4, avg_hours_per_night: "5.0", device_ahi: "4.7", median_leak_l_min: 23 },
            { id: 74, titration_study_id: 15, review_no: 2, reviewed_on: "2026-04-09", nights_used: 22, nights_over_4h: 3, avg_hours_per_night: "4.8", device_ahi: "3.8", median_leak_l_min: 2 },
            { id: 75, titration_study_id: 32, review_no: 3, reviewed_on: "2026-05-20", nights_used: 22, nights_over_4h: 20, avg_hours_per_night: "5.1", device_ahi: "0.5", median_leak_l_min: 17 },
            { id: 76, titration_study_id: 48, review_no: 3, reviewed_on: "2026-05-18", nights_used: 12, nights_over_4h: 3, avg_hours_per_night: "3.3", device_ahi: "5.4", median_leak_l_min: 5 },
            { id: 77, titration_study_id: 2, review_no: 2, reviewed_on: "2026-02-01", nights_used: 28, nights_over_4h: 8, avg_hours_per_night: "5.9", device_ahi: "0.6", median_leak_l_min: 23 },
            { id: 78, titration_study_id: 25, review_no: 2, reviewed_on: "2026-05-08", nights_used: 27, nights_over_4h: 16, avg_hours_per_night: "4.9", device_ahi: "4.9", median_leak_l_min: 20 },
            { id: 79, titration_study_id: 36, review_no: 1, reviewed_on: "2026-02-11", nights_used: 13, nights_over_4h: 2, avg_hours_per_night: "3.7", device_ahi: "0.8", median_leak_l_min: 18 },
            { id: 80, titration_study_id: 8, review_no: 1, reviewed_on: "2026-02-22", nights_used: 27, nights_over_4h: 17, avg_hours_per_night: "6.1", device_ahi: "3.8", median_leak_l_min: 7 },
            { id: 81, titration_study_id: 6, review_no: 3, reviewed_on: "2026-02-04", nights_used: 27, nights_over_4h: 22, avg_hours_per_night: "4.9", device_ahi: "5.4", median_leak_l_min: 41 },
            { id: 82, titration_study_id: 3, review_no: 2, reviewed_on: "2025-12-08", nights_used: 30, nights_over_4h: 2, avg_hours_per_night: "5.2", device_ahi: "4.5", median_leak_l_min: 3 },
            { id: 83, titration_study_id: 42, review_no: 2, reviewed_on: "2026-04-05", nights_used: 16, nights_over_4h: 11, avg_hours_per_night: "7.4", device_ahi: "0.3", median_leak_l_min: 4 },
            { id: 84, titration_study_id: 20, review_no: 2, reviewed_on: "2026-01-25", nights_used: 28, nights_over_4h: 1, avg_hours_per_night: "5.8", device_ahi: "6.1", median_leak_l_min: 19 },
            { id: 85, titration_study_id: 15, review_no: 3, reviewed_on: "2026-05-17", nights_used: 29, nights_over_4h: 6, avg_hours_per_night: "5.9", device_ahi: "4.3", median_leak_l_min: 27 },
            { id: 86, titration_study_id: 25, review_no: 3, reviewed_on: "2026-06-12", nights_used: 14, nights_over_4h: 5, avg_hours_per_night: "6.3", device_ahi: "5.3", median_leak_l_min: 3 },
            { id: 87, titration_study_id: 28, review_no: 2, reviewed_on: "2026-04-25", nights_used: 10, nights_over_4h: 9, avg_hours_per_night: "4.2", device_ahi: "0.4", median_leak_l_min: 14 },
            { id: 88, titration_study_id: 30, review_no: 3, reviewed_on: "2026-01-30", nights_used: 20, nights_over_4h: 12, avg_hours_per_night: "6.7", device_ahi: "8.1", median_leak_l_min: 21 },
            { id: 89, titration_study_id: 28, review_no: 3, reviewed_on: "2026-05-25", nights_used: 23, nights_over_4h: 20, avg_hours_per_night: "5.5", device_ahi: "3.3", median_leak_l_min: 2 },
            { id: 90, titration_study_id: 27, review_no: 2, reviewed_on: "2026-03-07", nights_used: 26, nights_over_4h: 26, avg_hours_per_night: "4.8", device_ahi: "8.0", median_leak_l_min: 3 },
            { id: 91, titration_study_id: 20, review_no: 3, reviewed_on: "2026-03-06", nights_used: 29, nights_over_4h: 5, avg_hours_per_night: "4.3", device_ahi: "1.3", median_leak_l_min: 3 },
            { id: 92, titration_study_id: 23, review_no: 3, reviewed_on: "2026-06-27", nights_used: 18, nights_over_4h: 11, avg_hours_per_night: "4.5", device_ahi: "2.5", median_leak_l_min: 38 },
            { id: 93, titration_study_id: 10, review_no: 1, reviewed_on: "2026-02-21", nights_used: 24, nights_over_4h: 9, avg_hours_per_night: "5.4", device_ahi: "0.5", median_leak_l_min: 5 },
            { id: 94, titration_study_id: 42, review_no: 3, reviewed_on: "2026-05-06", nights_used: 25, nights_over_4h: 20, avg_hours_per_night: "6.7", device_ahi: "1.4", median_leak_l_min: 3 },
            { id: 95, titration_study_id: 33, review_no: 1, reviewed_on: "2025-10-21", nights_used: 23, nights_over_4h: 11, avg_hours_per_night: "5.4", device_ahi: "0.5", median_leak_l_min: 29 },
            { id: 96, titration_study_id: 36, review_no: 2, reviewed_on: "2026-03-23", nights_used: 27, nights_over_4h: 1, avg_hours_per_night: "5.5", device_ahi: "2.6", median_leak_l_min: 30 },
            { id: 97, titration_study_id: 24, review_no: 3, reviewed_on: "2026-04-29", nights_used: 30, nights_over_4h: 26, avg_hours_per_night: "5.8", device_ahi: "10.8", median_leak_l_min: 10 },
            { id: 98, titration_study_id: 22, review_no: 2, reviewed_on: "2026-03-11", nights_used: 30, nights_over_4h: 27, avg_hours_per_night: "6.8", device_ahi: "2.2", median_leak_l_min: 3 },
            { id: 99, titration_study_id: 4, review_no: 3, reviewed_on: "2026-02-14", nights_used: 26, nights_over_4h: 7, avg_hours_per_night: "6.8", device_ahi: "2.7", median_leak_l_min: 5 },
        ],
    });
}

main()
    .then(() => prisma.$disconnect())
    .catch(async error => {
        console.error(error);
        await prisma.$disconnect();
        process.exit(1);
    });
