Spaces:
Build error
Build error
Create data.json
Browse files
data.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json
|
| 2 |
+
|
| 3 |
+
data = [
|
| 4 |
+
{
|
| 5 |
+
'patient_id': 1,
|
| 6 |
+
'name': 'John Doe',
|
| 7 |
+
'age': 45,
|
| 8 |
+
'gender': 'Male',
|
| 9 |
+
'medical_history': 'Hypertension, Diabetes',
|
| 10 |
+
'date': '2024-01-01',
|
| 11 |
+
'heart_rate': 75,
|
| 12 |
+
'blood_pressure': 120,
|
| 13 |
+
'blood_glucose': 90,
|
| 14 |
+
'temperature': 98.6,
|
| 15 |
+
'medical_complaints': 'Headache',
|
| 16 |
+
'symptoms': 'Nausea, Vomiting',
|
| 17 |
+
'physical_examination': 'Normal',
|
| 18 |
+
'diagnosis': 'Hypertension',
|
| 19 |
+
'extra_notes': 'Advised to reduce salt intake',
|
| 20 |
+
'treatment': 'Medication'
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
'patient_id': 1,
|
| 24 |
+
'name': 'John Doe',
|
| 25 |
+
'age': 45,
|
| 26 |
+
'gender': 'Male',
|
| 27 |
+
'medical_history': 'Hypertension, Diabetes',
|
| 28 |
+
'date': '2024-02-01',
|
| 29 |
+
'heart_rate': 78,
|
| 30 |
+
'blood_pressure': 125,
|
| 31 |
+
'blood_glucose': 95,
|
| 32 |
+
'temperature': 98.7,
|
| 33 |
+
'medical_complaints': 'Dizziness',
|
| 34 |
+
'symptoms': 'Dizziness',
|
| 35 |
+
'physical_examination': 'Slightly elevated blood pressure',
|
| 36 |
+
'diagnosis': 'Diabetes',
|
| 37 |
+
'extra_notes': 'Adjusted medication dosage',
|
| 38 |
+
'treatment': 'Medication'
|
| 39 |
+
},
|
| 40 |
+
# Add more patient data here following the same structure
|
| 41 |
+
]
|
| 42 |
+
|
| 43 |
+
|