jkjarvis commited on
Commit
9039034
·
verified ·
1 Parent(s): cec86b5

Add sample and dataset card

Browse files
Files changed (2) hide show
  1. README.md +123 -0
  2. datadhara-sample-clinic-notes.csv +17 -0
README.md ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: "Datadhara Sample: De-identified Outpatient Clinic Notes with ICD-10 Codes"
4
+ language:
5
+ - en
6
+ task_categories:
7
+ - text-classification
8
+ - token-classification
9
+ - summarization
10
+ size_categories:
11
+ - n<1K
12
+ tags:
13
+ - medical
14
+ - clinical
15
+ - clinical-notes
16
+ - clinical-nlp
17
+ - icd-10
18
+ - healthcare
19
+ - de-identified
20
+ - dataset-sample
21
+ configs:
22
+ - config_name: default
23
+ data_files:
24
+ - split: train
25
+ path: datadhara-sample-clinic-notes.csv
26
+ ---
27
+
28
+ # Outpatient clinic notes: sample
29
+
30
+ Short outpatient notes with age band, sex, visit month, specialty, free-text note, ICD-10 code and label, and medications. This file shows the schema and labels of the clinical data that [Datadhara](https://datadhara.in/healthcare-data-for-ai?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global) licenses to AI teams.
31
+
32
+ ## What this is
33
+
34
+ - 16 rows, one note per row.
35
+ - 8 specialties: general medicine, paediatrics, gastroenterology, orthopaedics, dermatology, pulmonology, endocrinology, ophthalmology.
36
+ - Notes are written the way clinicians write them, with abbreviations such as `TDS`, `BD`, `OD`, `SOS`, `HS`, `SLR`, `FBS` and `Hb`.
37
+ - Each note records whether it was captured from a handwritten note (scanned) or a typed clinic EMR export.
38
+ - Patients are identified only by a pseudonymous ID. Ages are five-year bands and dates are months.
39
+
40
+ The rows in this file were created to show the format, labels and de-identification. They do not come from real patients or clinics, and the `consent_ref` values are format examples. Licensed deliveries contain real records collected under written agreements.
41
+
42
+ ## Fields
43
+
44
+ | Column | Type | Description |
45
+ |---|---|---|
46
+ | `note_id` | string | Note identifier, e.g. `CN-1001` |
47
+ | `patient_id` | string | Pseudonymous patient ID, e.g. `pt_0ee42548` |
48
+ | `age_band` | string | Five-year age band, e.g. `30-34` |
49
+ | `sex` | string | `F` or `M` |
50
+ | `visit_month` | string | Visit month, `YYYY-MM` (exact date coarsened) |
51
+ | `specialty` | string | Clinical specialty, e.g. `General medicine` |
52
+ | `note_text` | string | Free-text clinical note |
53
+ | `diagnosis_icd10` | string | ICD-10 code, e.g. `J06.9` |
54
+ | `diagnosis_label` | string | ICD-10 description |
55
+ | `medications` | string | Prescribed medications with dose and frequency, `;`-separated |
56
+ | `source_format` | string | `handwritten (scanned)` or `typed (clinic EMR export)` |
57
+ | `language` | string | Language tag, e.g. `en` |
58
+ | `consent_ref` | string | Reference to the source agreement and its version, e.g. `src-0313 / v1` |
59
+
60
+ ## Example row
61
+
62
+ ```json
63
+ {
64
+ "note_id": "CN-1001",
65
+ "patient_id": "pt_0ee42548",
66
+ "age_band": "30-34",
67
+ "sex": "F",
68
+ "visit_month": "2026-09",
69
+ "specialty": "General medicine",
70
+ "note_text": "Fever 3 days, sore throat, mild cough. No breathlessness. Throat congested, chest clear. Temp 38.2 C. Advised fluids and rest; review if not better in 3 days.",
71
+ "diagnosis_icd10": "J06.9",
72
+ "diagnosis_label": "Acute upper respiratory infection, unspecified",
73
+ "medications": "Paracetamol 500mg TDS x3d",
74
+ "source_format": "handwritten (scanned)",
75
+ "language": "en",
76
+ "consent_ref": "src-0313 / v1"
77
+ }
78
+ ```
79
+
80
+ ## Load it
81
+
82
+ ```python
83
+ from datasets import load_dataset
84
+
85
+ ds = load_dataset("datadhara/clinic-notes-sample", split="train")
86
+ ```
87
+
88
+ ## Intended uses
89
+
90
+ Use this sample to check the schema and label set against your pipeline before requesting real data. The licensed data is used for:
91
+
92
+ - Clinical NLP and summarisation
93
+ - ICD-10 coding and medication extraction
94
+ - Handwriting and form understanding for notes and prescriptions
95
+ - Evaluation sets for medical assistants
96
+
97
+ ## Limitations of this sample
98
+
99
+ - Text only. The full data can include the scanned forms; none are in this repository.
100
+ - 16 notes is enough to see the format, not to train or benchmark anything.
101
+ - One note per patient; no longitudinal records in this sample.
102
+
103
+ ## Full dataset and licensing
104
+
105
+ This sample file is released under CC BY 4.0, as on the [samples page](https://datadhara.in/samples?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global).
106
+
107
+ The full data is not on Hugging Face. It is available under a commercial licence. Datadhara sources outpatient notes, prescriptions, lab reports and discharge summaries directly from clinics, hospitals and diagnostic labs, as text, scanned forms, PDFs and structured values. Specialty, document types, languages and volume are agreed per project. Licences cover training and evaluating commercial models, and can be exclusive or non-exclusive.
108
+
109
+ To request data, describe what you need at [datadhara.in/healthcare-data-for-ai](https://datadhara.in/healthcare-data-for-ai?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global) or email hello@datadhara.in.
110
+
111
+ ## Consent and de-identification
112
+
113
+ As described in Datadhara's [methodology](https://datadhara.in/methodology?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global):
114
+
115
+ - Every source organisation signs a written agreement that explicitly covers use for AI training.
116
+ - Patient names, record numbers, phone numbers, addresses and ID numbers are removed before data leaves the source. Exact dates are shifted or coarsened, and rare conditions in small clinics are reviewed so they can't single a patient out.
117
+ - Free text is checked with automated detection and then reviewed by a person.
118
+ - The identifier categories in the U.S. HIPAA Safe Harbor method are used as a baseline checklist, alongside the requirements of the law that applies to the source.
119
+ - Every record carries a `consent_ref` linking it to its source agreement. In a real delivery, that reference resolves to the signed agreement.
120
+
121
+ ## Citation
122
+
123
+ The same sample files are archived on Zenodo: https://doi.org/10.5281/zenodo.24349905
datadhara-sample-clinic-notes.csv ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ note_id,patient_id,age_band,sex,visit_month,specialty,note_text,diagnosis_icd10,diagnosis_label,medications,source_format,language,consent_ref
2
+ CN-1001,pt_0ee42548,30-34,F,2026-09,General medicine,"Fever 3 days, sore throat, mild cough. No breathlessness. Throat congested, chest clear. Temp 38.2 C. Advised fluids and rest; review if not better in 3 days.",J06.9,"Acute upper respiratory infection, unspecified",Paracetamol 500mg TDS x3d,handwritten (scanned),en,src-0313 / v1
3
+ CN-1002,pt_7e0450fe,35-39,F,2026-08,General medicine,"Known diabetic on metformin. FBS 162 mg/dL at home. Diet poor over festival period. Foot exam normal. Reinforced diet, increased dose.",E11.9,Type 2 diabetes mellitus without complications,Metformin 1000mg BD,handwritten (scanned),en,src-0319 / v1
4
+ CN-1003,pt_241d3b14,55-59,F,2026-03,General medicine,"BP 152/96 on two readings. Headache occasionally, no chest pain. Not on treatment. Lifestyle advice given, start amlodipine, recheck 2 weeks.",I10,Essential (primary) hypertension,Amlodipine 5mg OD,typed (clinic EMR export),en,src-0313 / v1
5
+ CN-1004,pt_26edd80d,65-69,F,2026-07,Gastroenterology,"Burning epigastric pain after meals x 1 month, worse at night. No vomiting, no weight loss. Tenderness epigastrium. Avoid late meals and spicy food.",K21.9,Gastro-oesophageal reflux disease without oesophagitis,Pantoprazole 40mg OD before breakfast x4w,typed (clinic EMR export),en,src-0313 / v1
6
+ CN-1005,pt_d1e57f48,60-64,M,2026-09,Orthopaedics,"Low back pain 2 weeks after lifting at work. No radiation, no numbness. SLR negative bilaterally. Physiotherapy referral.",M54.5,Low back pain,Diclofenac gel topical BD; Paracetamol 650mg SOS,typed (clinic EMR export),en,src-0316 / v1
7
+ CN-1006,pt_86e8ea25,5-9,M,2026-04,Paediatrics,"Child with loose stools 5-6 times/day x 2 days, no blood. Mild dehydration. Tolerating oral fluids. ORS and zinc started.",A09,"Infectious gastroenteritis and colitis, unspecified",ORS; Zinc 20mg OD x14d,typed (clinic EMR export),en,src-0311 / v1
8
+ CN-1007,pt_364ad7da,30-34,M,2026-03,General medicine,"Burning micturition and frequency x 3 days. No fever, no flank pain. Urine dipstick nitrite positive. Increase water intake.",N39.0,"Urinary tract infection, site not specified",Nitrofurantoin 100mg BD x5d,handwritten (scanned),en,src-0319 / v1
9
+ CN-1008,pt_c94ec5bd,45-49,F,2026-09,Dermatology,"Itchy red patches on forearms x 2 weeks, started after new detergent. No discharge. Advised to avoid trigger.",L30.9,"Dermatitis, unspecified",Mometasone cream OD x7d; Cetirizine 10mg HS,handwritten (scanned),en,src-0316 / v1
10
+ CN-1009,pt_257245b7,30-34,M,2026-09,Pulmonology,"Known asthmatic, wheeze worse at night for a week, using reliever 3-4 times/day. Scattered wheeze on auscultation. Inhaler technique reviewed.",J45.9,"Asthma, unspecified",Budesonide/formoterol inhaler BD; Salbutamol SOS,handwritten (scanned),en,src-0319 / v1
11
+ CN-1010,pt_5f134439,40-44,F,2026-03,General medicine,"Tiredness and breathlessness on exertion. Pallor present. Hb 9.1 g/dL. Diet low in iron. Started supplementation, repeat Hb in 6 weeks.",D50.9,"Iron deficiency anaemia, unspecified",Ferrous sulphate 200mg OD,handwritten (scanned),en,src-0314 / v1
12
+ CN-1011,pt_a5a289df,30-34,F,2026-03,Endocrinology,"Weight gain, cold intolerance, constipation. TSH 9.8 mIU/L. Start thyroxine, repeat TSH in 6 weeks.",E03.9,"Hypothyroidism, unspecified",Levothyroxine 50mcg OD empty stomach,handwritten (scanned),en,src-0317 / v1
13
+ CN-1012,pt_2bd1b271,50-54,F,2026-06,Ophthalmology,"Red, watery right eye x 2 days with sticky discharge in morning. Vision normal. Hygiene advice.",H10.9,"Conjunctivitis, unspecified",Moxifloxacin eye drops QID x5d,handwritten (scanned),en,src-0314 / v1
14
+ CN-1013,pt_58c87441,30-34,F,2026-07,General medicine,"Lipid profile: LDL 168 mg/dL. Smoker, 10/day. Counselled on quitting. Start statin.",E78.5,"Hyperlipidaemia, unspecified",Atorvastatin 10mg HS,handwritten (scanned),en,src-0312 / v1
15
+ CN-1014,pt_dcac8444,60-64,M,2026-05,General medicine,"Recurrent headache, frontal, end of workday, screen use 9+ h. No red flags. Advised breaks and eye check.",R51,Headache,Paracetamol 500mg SOS,handwritten (scanned),en,src-0315 / v1
16
+ CN-1015,pt_da1b35d0,25-29,F,2026-09,Gastroenterology,"Upper abdominal discomfort and bloating, irregular meals, frequent tea. No alarm features.",K29.7,"Gastritis, unspecified",Pantoprazole 40mg OD x2w,typed (clinic EMR export),en,src-0316 / v1
17
+ CN-1016,pt_c9fda8ac,5-9,F,2026-04,Paediatrics,"Fever 2 days, runny nose, playful between fever spikes. Chest clear. Viral illness likely.",B34.9,"Viral infection, unspecified",Paracetamol syrup 15mg/kg SOS,handwritten (scanned),en,src-0313 / v1