{
  "format": "dataset-manifest/1",
  "slug": "telehealth-platform-for-mental-health",
  "version": 2,
  "seed": "telehealth-platform-for-mental-health:1",
  "spec": {
    "format": "dataset/1",
    "slug": "telehealth-platform-for-mental-health",
    "name": "Mental Health Telehealth Insights",
    "tagline": "Patient interactions, appointment details, diagnoses, treatment plans, and payment records for mental health services.",
    "description": "Patients access mental health services through a digital platform, connecting with licensed professionals for assessments, continuous support, and tailored treatment plans. Each interaction is recorded meticulously, capturing essential details such as appointment dates, types of diagnoses, and the specific treatment approaches employed. This platform not only facilitates communication between patients and therapists but also streamlines the management of follow-up appointments and payment transactions. By allowing for regular assessments and tracking of treatment goals, the data sheds light on patient progress and areas requiring further attention.\n\nThe core table, patient_interactions, serves as the backbone of this dataset. Each row details a unique interaction, linking specific patients to their respective appointments, including information such as the date, type of appointment, diagnosis, and outcomes. This table can be joined with additional data to analyze patient demographics, therapist effectiveness, and the overall efficiency of the mental health services provided. Understanding how different patients engage with their care is crucial for identifying trends in mental health treatment and improving service delivery.\n\nDevelopers can leverage this synthetic data to practice various analytical techniques, such as querying patient progress over time or evaluating how different treatment plans correlate with patient satisfaction. Questions like \"What types of diagnoses lead to more frequent interactions?\" or \"How do treatment plans vary by patient demographics?\" can be explored using this data. This dataset provides a rich landscape for testing machine learning models, predictive analytics, and visualization techniques, making it an ideal resource for developers looking to hone their skills in healthcare data analysis.",
    "domain": "healthcare",
    "shape": "ledger",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "mental health",
      "telehealth",
      "patient interactions",
      "treatment plans",
      "appointments",
      "diagnoses"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "patient_interactions": {
        "description": "Each row represents a unique patient interaction within the telehealth platform, linking to appointment details, diagnoses, and payment information.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "patient_id": {
            "kind": "uuid",
            "description": "Unique identifier for the patient."
          },
          "appointment_date": {
            "kind": "datetime",
            "description": "Date and time of the appointment.",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "Completed",
                "Cancelled"
              ]
            },
            "dayProfile": "waking"
          },
          "diagnosis": {
            "kind": "enum",
            "values": [
              "Anxiety",
              "Depression",
              "Bipolar Disorder",
              "PTSD",
              "OCD",
              "Other"
            ],
            "weights": [
              0.3,
              0.25,
              0.15,
              0.1,
              0.1,
              0.1
            ],
            "description": "Diagnosis assigned to the patient during the appointment."
          },
          "treatment_plan": {
            "kind": "words",
            "min": 10,
            "max": 200,
            "description": "Description of the treatment plan created for the patient.",
            "nullable": true
          },
          "payment_amount": {
            "kind": "decimal",
            "min": 50,
            "max": 300,
            "scale": 2,
            "description": "Amount charged for the service.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "Scheduled",
              "Completed",
              "Cancelled",
              "No-Show"
            ],
            "weights": [
              0.4,
              0.4,
              0.1,
              0.1
            ],
            "description": "Current status of the appointment."
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "timestamped",
      "categorical",
      "monetary"
    ],
    "analysisQuestions": [
      "What are the most common diagnoses among patients?",
      "How does treatment plan effectiveness vary by diagnosis?",
      "What percentage of appointments are cancelled or result in no-shows?",
      "How do payment amounts differ across various treatment plans?",
      "What trends can be observed in appointment scheduling over time?"
    ],
    "suggestedQueries": [
      {
        "title": "List all patient interactions",
        "sql": "SELECT * FROM patient_interactions;",
        "dialect": "postgres"
      },
      {
        "title": "Count appointments by status",
        "sql": "SELECT status, COUNT(*) FROM patient_interactions GROUP BY status;",
        "dialect": "postgres"
      },
      {
        "title": "Average payment amount by diagnosis",
        "sql": "SELECT diagnosis, AVG(payment_amount) FROM patient_interactions GROUP BY diagnosis;",
        "dialect": "postgres"
      },
      {
        "title": "Find treatment plans for completed appointments",
        "sql": "SELECT treatment_plan FROM patient_interactions WHERE status = 'Completed';",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Teaching SQL Basics",
        "body": "In a SQL class, instructors can use this dataset to teach students how to query and analyze data related to patient interactions in telehealth. The dataset provides a realistic context for students to practice writing SELECT statements, using aggregate functions, and filtering results based on various criteria."
      },
      {
        "title": "Analyzing Mental Health Trends",
        "body": "Mental health professionals and researchers can utilize this dataset to explore trends in patient diagnoses and treatment plans over time. By analyzing the information, they can identify common challenges faced by patients and assess the effectiveness of different treatment strategies in a telehealth setting."
      },
      {
        "title": "Developing Reporting Dashboards",
        "body": "Data analysts can leverage this dataset to create dashboards that visualize key performance indicators in mental health telehealth services. By summarizing appointment statuses, payment amounts, and treatment plan effectiveness, analysts can provide valuable insights to management teams looking to improve service delivery."
      }
    ]
  },
  "counts": {
    "patient_interactions": 500
  },
  "stats": {
    "patient_interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "patient_id": {
          "nulls": 0,
          "distinct": 500
        },
        "appointment_date": {
          "nulls": 254,
          "distinct": 246,
          "min": "2022-01-02 19:31:06",
          "max": "2023-12-24 22:01:13"
        },
        "diagnosis": {
          "nulls": 0,
          "distinct": 6,
          "min": "Anxiety",
          "max": "PTSD"
        },
        "treatment_plan": {
          "nulls": 47,
          "distinct": 453
        },
        "payment_amount": {
          "nulls": 53,
          "distinct": 436,
          "min": 50,
          "max": 299.7
        },
        "status": {
          "nulls": 0,
          "distinct": 4,
          "min": "Cancelled",
          "max": "Scheduled"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/patient_interactions.csv",
      "format": "csv",
      "table": "patient_interactions",
      "key": "datasets/telehealth-platform-for-mental-health/v2/csv/patient_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/csv/patient_interactions.csv",
      "bytes": 365792,
      "sha256": "d27789c828eb78fc005c60f8e852d675af86a2313eb93f1fd9ac74a12672f65e",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "telehealth-platform-for-mental-health.json",
      "format": "json",
      "table": null,
      "key": "datasets/telehealth-platform-for-mental-health/v2/telehealth-platform-for-mental-health.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/telehealth-platform-for-mental-health.json",
      "bytes": 451009,
      "sha256": "8c45bc2548a8a76f159d62594fc1e9ab0bbddfa38270c2b0edbfccac4ad465cd",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/telehealth-platform-for-mental-health/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/sql/postgres.sql",
      "bytes": 378717,
      "sha256": "c40e67010f701aca4937f4e5543ff86abbe2cf760cb1ae3467bf1e4a6e373104",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/telehealth-platform-for-mental-health/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/sql/mysql.sql",
      "bytes": 378597,
      "sha256": "3266de36adf86c60a3558879378d87498fe7a0ea084b1e5e3fb6cea626f3df44",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/telehealth-platform-for-mental-health/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/sql/mssql.sql",
      "bytes": 380893,
      "sha256": "82eb92606ac391e3df706ddebd4439f56d6d4482f4917e7b936288868418ae7f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/telehealth-platform-for-mental-health/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/sql/sqlite.sql",
      "bytes": 378550,
      "sha256": "864d7d15be25f9a1000e97f8052649b281f6e8d9e687fd03ef82d9739cfbcda6",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/telehealth-platform-for-mental-health/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/prisma/seed.ts",
      "bytes": 429413,
      "sha256": "4ad4c8e9c21d3269c4679204b1e84971ae31cc0b40c063ab142e12f89c7c2dfa",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/telehealth-platform-for-mental-health/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/telehealth-platform-for-mental-health/v2/django/fixtures.json",
      "bytes": 479670,
      "sha256": "01d062d2df7a61c3c933486ff63e06604de78a251f4b7a156202eaf1cac8eb89",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768045892,
  "updatedAt": 1788786409347
}
