This repository contains a synthetic healthcare dataset spanning from 2019 to 2024, consisting of 10,000 records. Each record represents a fictional patient and includes various attributes such as patient demographics, medical conditions, admission details, and billing information. The dataset is meticulously crafted for educational and non-commercial purposes, providing a valuable resource for practicing data analysis, machine learning, and healthcare analytics without compromising real patient privacy.
Dataset Overview
The dataset comprises multiple columns, each offering specific details about the patients, their admissions, and the healthcare services received. Key attributes include:
Name: The patient's name is associated with the healthcare record. Age: The patient's age in years at the time of admission. Gender: The patient's gender, is specified as either "Male" or "Female." Blood Type: The patient's blood type, such as "A+", "O-," etc. Medical Condition: The primary medical condition or diagnosis of the patient. Date of Admission: The date when the patient was admitted to the healthcare facility. Doctor: The name of the doctor responsible for the patient's care. Hospital: The healthcare facility where the patient was admitted. Insurance Provider: The patient's insurance provider, such as "Aetna" or "Blue Cross." Billing Amount: The amount billed for the patient's healthcare services. Room Number: The room number where the patient was accommodated. Admission Type: The type of admission, categorized as "Emergency," "Elective," or "Urgent." Discharge Date: The date of discharge from the healthcare facility. Medication: The medication prescribed or administered during the patient's stay. Test Results: The results of medical tests during admission, categorized as "Normal," "Abnormal," or "Inconclusive." Usage Scenarios
This dataset is versatile and can be used for various educational and research purposes, including but not limited to:
Healthcare Predictive Modeling: Developing and testing predictive models using the dataset to identify patterns and outcomes. Data Cleaning and Transformation: Practicing data preparation techniques, such as handling missing values, data normalization, and feature engineering. Data Visualization: Creating visual representations of healthcare trends, distributions, and relationships within the dataset. Teaching and Learning: Utilizing the dataset in classrooms or workshops to teach data science, machine learning, and healthcare analytics. Multi-Class Classification Problem One of the primary challenges presented by this dataset is a multi-class classification problem based on the "Test Results" column, which includes three categories: "Normal," "Abnormal," and "Inconclusive." This makes the dataset ideal for experimenting with classification algorithms and evaluating model performance in a healthcare context.
Libraries Used The dataset was generated using Python, utilizing several key libraries:
Pandas: For data manipulation, cleaning, and analysis, ensuring the dataset is structured and ready for exploration. NumPy: For numerical computations and efficient handling of large datasets. Seaborn: For creating informative and aesthetic data visualizations, aiding in the exploration of healthcare trends and patterns. Matplotlib: Used alongside Seaborn to customize and enhance visualizations, providing greater control over plot elements. Jupyter Notebook: For developing, documenting, and sharing the data generation process, allowing for easy replication, modification, and interactive exploration of the dataset.
Inspiration and Acknowledgments
This dataset was inspired by the need for practical and diverse healthcare data that can be freely used for educational and research purposes. Given the sensitive nature of real healthcare data and the privacy regulations involved, this synthetic dataset provides an accessible alternative for learning and experimentation. By offering this resource, the goal is to foster innovation, learning, and knowledge sharing in the field of healthcare analytics. This dataset is entirely synthetic and does not contain any real patient information, ensuring compliance with privacy standards.