{
  "format": "dataset-manifest/1",
  "slug": "ai-driven-mental-health-monitoring",
  "version": 2,
  "seed": "ai-driven-mental-health-monitoring:1",
  "spec": {
    "format": "dataset/1",
    "slug": "ai-driven-mental-health-monitoring",
    "name": "Mental Health Insights",
    "tagline": "AI-driven monitoring for effective mental health support.",
    "description": "Clinicians monitor patients' mental health using advanced technology to provide timely and effective support. They track vital data points such as consent for information sharing, the development of personalized crisis plans, and the dynamics of the patient-clinician relationship. By analyzing vocal patterns and interactions through AI chat messages, clinicians gain insights into patient well-being and can adjust treatment as necessary. The daily interactions with patients often manifest in routine journal entries, which provide a foundation for understanding general trends, while the creation of detailed crisis plans and tailored recommendations, though less frequent, plays a critical role for those at heightened risk.\n\nIn this dataset, you will find several interconnected tables that together offer a comprehensive view of mental health management. The 'patients' table holds individual patient records, detailing demographics and consent status. Each patient is linked to a clinician in the 'clinicians' table, which catalogs the professionals responsible for care. The 'crisis_plans' table connects specific patients with their customized plans, providing insight into preventative measures tailored to individual needs. Meanwhile, 'vocal_patterns' captures audio data that can be analyzed for emotional indicators, and 'ai_interactions' documents conversations between patients and AI applications designed for mental health support. This intricate web of data allows for a deep dive into the effectiveness of various approaches in mental health care.\n\nYou can explore questions such as how the frequency of AI interactions correlates with mental health improvements, or which vocal patterns are most indicative of anxiety or depression. This synthetic dataset provides an excellent opportunity for developers to practice data analysis and visualization techniques in a healthcare context, helping to create innovative solutions that enhance mental health support.",
    "domain": "healthcare",
    "shape": "ledger",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "mental health",
      "AI monitoring",
      "patient data",
      "crisis plans",
      "vocal patterns",
      "healthcare analytics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "patients": {
        "description": "This table contains records of patients, including their demographics and consent for monitoring. Each patient can have multiple entries in related tables.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each patient."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the patient."
          },
          "age": {
            "kind": "int",
            "min": 18,
            "max": 80,
            "description": "Age of the patient.",
            "distribution": "normal"
          },
          "consent": {
            "kind": "bool",
            "trueRate": 0.9,
            "description": "Indicates whether the patient has consented to monitoring."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the patient record was created.",
            "dayProfile": "business"
          }
        }
      },
      "clinicians": {
        "description": "This table includes information about clinicians, linking them to patients. Clinicians can have multiple patients.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each clinician."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the clinician."
          },
          "specialty": {
            "kind": "enum",
            "values": [
              "Psychiatry",
              "Psychology",
              "Counseling"
            ],
            "description": "The specialty of the clinician."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The email address of the clinician."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the clinician record was created.",
            "dayProfile": "business"
          }
        }
      },
      "crisis_plans": {
        "description": "This table records crisis plans for patients, linking to the patients table. Each plan is unique to a patient and may include multiple entries.",
        "rows": {
          "per": "patients",
          "via": "patient_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each crisis plan."
          },
          "patient_id": {
            "kind": "fk",
            "ref": "patients.id",
            "description": "Reference to the patient the crisis plan belongs to."
          },
          "plan_details": {
            "kind": "sentence",
            "description": "Details of the crisis plan."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the crisis plan was created.",
            "dayProfile": "business"
          }
        }
      },
      "vocal_patterns": {
        "description": "This table captures vocal patterns of patients during sessions. It is linked to patients and may contain multiple recordings.",
        "rows": {
          "per": "patients",
          "via": "patient_id",
          "min": 1,
          "max": 5,
          "skew": "heavy-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each vocal pattern entry."
          },
          "patient_id": {
            "kind": "fk",
            "ref": "patients.id",
            "description": "Reference to the patient the vocal pattern belongs to."
          },
          "recording_url": {
            "kind": "url",
            "description": "Link to the vocal pattern recording."
          },
          "duration_seconds": {
            "kind": "int",
            "min": 1,
            "max": 300,
            "description": "Duration of the vocal recording in seconds.",
            "distribution": "long-tail"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the vocal pattern was recorded.",
            "dayProfile": "waking"
          }
        }
      },
      "ai_interactions": {
        "description": "This table captures interactions between patients and AI chat systems, linked to patients. Each patient can have multiple interactions.",
        "rows": {
          "per": "patients",
          "via": "patient_id",
          "min": 1,
          "max": 10,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each AI interaction."
          },
          "patient_id": {
            "kind": "fk",
            "ref": "patients.id",
            "description": "Reference to the patient involved in the AI interaction."
          },
          "message": {
            "kind": "sentence",
            "min": 5,
            "max": 50,
            "description": "The content of the message exchanged during the interaction."
          },
          "response_time_seconds": {
            "kind": "int",
            "min": 1,
            "max": 60,
            "description": "Time taken by the AI to respond in seconds.",
            "distribution": "normal"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the AI interaction occurred.",
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "nullable",
      "timestamped",
      "categorical",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "How many patients have consented to AI monitoring?",
      "What is the average number of crisis plans per patient?",
      "Which clinician specialties are most common among patients?",
      "What patterns can be observed in vocal recordings over time?",
      "How do AI interactions differ among patients with and without crisis plans?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Patients and Clinicians",
        "sql": "SELECT patients.full_name, clinicians.full_name FROM patients JOIN clinicians ON patients.id = clinicians.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count of Crisis Plans by Patient",
        "sql": "SELECT patient_id, COUNT(*) FROM crisis_plans GROUP BY patient_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Duration of Vocal Patterns",
        "sql": "SELECT AVG(duration_seconds) FROM vocal_patterns;",
        "dialect": "postgres"
      },
      {
        "title": "AI Interaction Response Times Over Time",
        "sql": "SELECT created_at, AVG(response_time_seconds) FROM ai_interactions GROUP BY created_at;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Mental Health Research",
        "body": "Researchers in psychology can utilize this dataset to study the effectiveness of AI interventions in mental health care. By analyzing patient interactions with AI and vocal patterns, they can derive insights into patient engagement and the emotional state of individuals."
      },
      {
        "title": "Training Mental Health Professionals",
        "body": "Mental health training programs can use this dataset to teach students about patient monitoring techniques and consent management. By working with real-world-like data, students can better understand the complexities involved in mental health treatment and patient relationships."
      },
      {
        "title": "Clinical Evaluations",
        "body": "Clinicians can leverage this dataset to evaluate their patient relationships and the efficacy of crisis plans. Analyzing consent rates and crisis plan implementation can help them identify areas for improvement in their practice."
      }
    ]
  },
  "counts": {
    "clinicians": 100,
    "patients": 250,
    "ai_interactions": 1022,
    "crisis_plans": 415,
    "vocal_patterns": 445
  },
  "stats": {
    "patients": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "full_name": {
          "nulls": 0,
          "distinct": 243,
          "min": "Alice Schneider",
          "max": "Zoe Yilmaz"
        },
        "age": {
          "nulls": 0,
          "distinct": 44,
          "min": 27,
          "max": 75
        },
        "consent": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 250,
          "min": "2020-01-02 17:43:58",
          "max": "2023-12-28 11:47:35"
        }
      }
    },
    "clinicians": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "full_name": {
          "nulls": 0,
          "distinct": 100,
          "min": "Alice Cruz",
          "max": "Zara Carter"
        },
        "specialty": {
          "nulls": 0,
          "distinct": 3,
          "min": "Counseling",
          "max": "Psychology"
        },
        "email": {
          "nulls": 0,
          "distinct": 100
        },
        "created_at": {
          "nulls": 0,
          "distinct": 100,
          "min": "2020-01-05 16:15:02",
          "max": "2023-12-07 14:58:45"
        }
      }
    },
    "crisis_plans": {
      "rows": 415,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 415,
          "min": 1,
          "max": 415
        },
        "patient_id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "plan_details": {
          "nulls": 0,
          "distinct": 414
        },
        "created_at": {
          "nulls": 0,
          "distinct": 415,
          "min": "2020-01-02 15:56:07",
          "max": "2023-12-17 14:02:27"
        }
      }
    },
    "vocal_patterns": {
      "rows": 445,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 445,
          "min": 1,
          "max": 445
        },
        "patient_id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "recording_url": {
          "nulls": 0,
          "distinct": 442
        },
        "duration_seconds": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 299
        },
        "created_at": {
          "nulls": 0,
          "distinct": 445,
          "min": "2020-01-03 13:56:49",
          "max": "2023-12-29 10:42:59"
        }
      }
    },
    "ai_interactions": {
      "rows": 1022,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 1022,
          "min": 1,
          "max": 1022
        },
        "patient_id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "message": {
          "nulls": 0,
          "distinct": 1011
        },
        "response_time_seconds": {
          "nulls": 0,
          "distinct": 47,
          "min": 4,
          "max": 53
        },
        "created_at": {
          "nulls": 0,
          "distinct": 1022,
          "min": "2020-01-03 04:51:20",
          "max": "2023-12-30 14:25:52"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/clinicians.csv",
      "format": "csv",
      "table": "clinicians",
      "key": "datasets/ai-driven-mental-health-monitoring/v2/csv/clinicians.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/csv/clinicians.csv",
      "bytes": 7145,
      "sha256": "76eecc16545b4ace62d53ffdbe7f891e505c0eb19662612106da0eea078eba4f",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/patients.csv",
      "format": "csv",
      "table": "patients",
      "key": "datasets/ai-driven-mental-health-monitoring/v2/csv/patients.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/csv/patients.csv",
      "bytes": 11219,
      "sha256": "db1c5c00883f4052465f6c647b42f0d4e9be7ff08f932db598efac90c5f75ffc",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/ai_interactions.csv",
      "format": "csv",
      "table": "ai_interactions",
      "key": "datasets/ai-driven-mental-health-monitoring/v2/csv/ai_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/csv/ai_interactions.csv",
      "bytes": 90206,
      "sha256": "7bfc5486a648f93cb0873459b191209f9c15d2635151704f92381dd77253abf0",
      "rows": 1022,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/crisis_plans.csv",
      "format": "csv",
      "table": "crisis_plans",
      "key": "datasets/ai-driven-mental-health-monitoring/v2/csv/crisis_plans.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/csv/crisis_plans.csv",
      "bytes": 35146,
      "sha256": "de7e52c84caea939ce52d4c4114647c4732205362ff31ff0e8a5db17a838e931",
      "rows": 415,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/vocal_patterns.csv",
      "format": "csv",
      "table": "vocal_patterns",
      "key": "datasets/ai-driven-mental-health-monitoring/v2/csv/vocal_patterns.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/csv/vocal_patterns.csv",
      "bytes": 28959,
      "sha256": "dba2df4eeaa5f5ee35925f0569511b34c3ebc4465149100df5bd492708b1bc1c",
      "rows": 445,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ai-driven-mental-health-monitoring.json",
      "format": "json",
      "table": null,
      "key": "datasets/ai-driven-mental-health-monitoring/v2/ai-driven-mental-health-monitoring.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/ai-driven-mental-health-monitoring.json",
      "bytes": 423195,
      "sha256": "3074c12caa4428e2babf213967dbcbfe59f485cd249bf7666a84891923aa492b",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ai-driven-mental-health-monitoring/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/sql/postgres.sql",
      "bytes": 206954,
      "sha256": "4069cf5af0e33ede7e002bcc949c61ffeac43d7d996bdbf205e8e97f1d39c1bc",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ai-driven-mental-health-monitoring/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/sql/mysql.sql",
      "bytes": 205581,
      "sha256": "ab926ae946aed0707af4987723783394c7427d1d73b51b3b24b84f5e1a654c44",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ai-driven-mental-health-monitoring/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/sql/mssql.sql",
      "bytes": 210609,
      "sha256": "07947939a596bc0addf45dacb46fc44d0f667bfa6e1cf5a1de7c4ca1faa81f4d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ai-driven-mental-health-monitoring/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/sql/sqlite.sql",
      "bytes": 205380,
      "sha256": "03cac576016875cc8e4111fe8532e11bec7fcbe34eed112e79886bdc43c282b0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ai-driven-mental-health-monitoring/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/prisma/seed.ts",
      "bytes": 371820,
      "sha256": "b8df7ba8ce5fc2c64debbf483d026ebdfa2413344d423674bb9627cff7030677",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ai-driven-mental-health-monitoring/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-driven-mental-health-monitoring/v2/django/fixtures.json",
      "bytes": 527672,
      "sha256": "d87fa9d02859c1fbe873b13a0b9320755edf25820abde6e9fb0baf30c0269814",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734120251,
  "updatedAt": 1788777258304
}
