license:mit size_categories:n<1K format:csv modality:tabular modality:text library:datasets library:pandas library:mlcroissant library:polars region:us infinite-dataset-hub synthetic
---
license: mit
tags:
- infinite-dataset-hub
- synthetic
---

# SurgeryPainPredict

tags: outcome, patient-related, post-surgery

_Note: This is an AI-generated dataset so its content may be inaccurate or false_

**Dataset Description:**

The 'SurgeryPainPredict' dataset aims to facilitate research into identifying patient-related factors that can predict the level of postoperative pain following surgery. The dataset is structured to provide a comprehensive overview of patient demographics, medical history, and intraoperative details that may influence postoperative pain experiences.


**CSV Content Preview:**

```

patient_id,age,sex,BMI,smoking_status,previous_pain_disorders,surgery_type,anesthesia_type,intraoperative_blood_loss,operative_time,postoperative_pain_score,recovery_days

1,45,M,27.5,Non-smoker,No,Appendectomy,General,150ml,90min,6,2

2,58,F,30.2,Former smoker,Yes,Hernia repair,Spinal,100ml,120min,7,3

3,37,F,22.1,Never smoked,No,Cholecystectomy,General,200ml,180min,5,4

4,62,M,28.4,Smoker,No,Hip replacement,Epidural,300ml,210min,8,5

5,29,M,25.0,Never smoked,No,Gallbladder removal,Spinal,50ml,60min,4,1

```

In this preview, the CSV contains the following columns:

- `patient_id`: A unique identifier for each patient.

- `age`: The age of the patient.

- `sex`: The biological sex of the patient.

- `BMI`: Body Mass Index, calculated as weight in kilograms divided by the square of height in meters.

- `smoking_status`: The patient's smoking status (Non-smoker, Former smoker, or Current smoker).

- `previous_pain_disorders`: Whether the patient has a history of pain disorders (Yes or No).

- `surgery_type`: The type of surgery performed

**Source of the data:**

The dataset was generated using the [Infinite Dataset Hub](https://huggingface.co/spaces/infinite-dataset-hub/infinite-dataset-hub) and microsoft/Phi-3-mini-4k-instruct using the query '':

- **Dataset Generation Page**: https://huggingface.co/spaces/infinite-dataset-hub/infinite-dataset-hub?q=&dataset=SurgeryPainPredict&tags=outcome,+patient-related,+post-surgery
- **Model**: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct
- **More Datasets**: https://huggingface.co/datasets?other=infinite-dataset-hub
