File size: 5,730 Bytes
9039034
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
---
license: cc-by-4.0
pretty_name: "Datadhara Sample: De-identified Outpatient Clinic Notes with ICD-10 Codes"
language:
- en
task_categories:
- text-classification
- token-classification
- summarization
size_categories:
- n<1K
tags:
- medical
- clinical
- clinical-notes
- clinical-nlp
- icd-10
- healthcare
- de-identified
- dataset-sample
configs:
- config_name: default
  data_files:
  - split: train
    path: datadhara-sample-clinic-notes.csv
---

# Outpatient clinic notes: sample

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.

## What this is

- 16 rows, one note per row.
- 8 specialties: general medicine, paediatrics, gastroenterology, orthopaedics, dermatology, pulmonology, endocrinology, ophthalmology.
- Notes are written the way clinicians write them, with abbreviations such as `TDS`, `BD`, `OD`, `SOS`, `HS`, `SLR`, `FBS` and `Hb`.
- Each note records whether it was captured from a handwritten note (scanned) or a typed clinic EMR export.
- Patients are identified only by a pseudonymous ID. Ages are five-year bands and dates are months.

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.

## Fields

| Column | Type | Description |
|---|---|---|
| `note_id` | string | Note identifier, e.g. `CN-1001` |
| `patient_id` | string | Pseudonymous patient ID, e.g. `pt_0ee42548` |
| `age_band` | string | Five-year age band, e.g. `30-34` |
| `sex` | string | `F` or `M` |
| `visit_month` | string | Visit month, `YYYY-MM` (exact date coarsened) |
| `specialty` | string | Clinical specialty, e.g. `General medicine` |
| `note_text` | string | Free-text clinical note |
| `diagnosis_icd10` | string | ICD-10 code, e.g. `J06.9` |
| `diagnosis_label` | string | ICD-10 description |
| `medications` | string | Prescribed medications with dose and frequency, `;`-separated |
| `source_format` | string | `handwritten (scanned)` or `typed (clinic EMR export)` |
| `language` | string | Language tag, e.g. `en` |
| `consent_ref` | string | Reference to the source agreement and its version, e.g. `src-0313 / v1` |

## Example row

```json
{
  "note_id": "CN-1001",
  "patient_id": "pt_0ee42548",
  "age_band": "30-34",
  "sex": "F",
  "visit_month": "2026-09",
  "specialty": "General medicine",
  "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.",
  "diagnosis_icd10": "J06.9",
  "diagnosis_label": "Acute upper respiratory infection, unspecified",
  "medications": "Paracetamol 500mg TDS x3d",
  "source_format": "handwritten (scanned)",
  "language": "en",
  "consent_ref": "src-0313 / v1"
}
```

## Load it

```python
from datasets import load_dataset

ds = load_dataset("datadhara/clinic-notes-sample", split="train")
```

## Intended uses

Use this sample to check the schema and label set against your pipeline before requesting real data. The licensed data is used for:

- Clinical NLP and summarisation
- ICD-10 coding and medication extraction
- Handwriting and form understanding for notes and prescriptions
- Evaluation sets for medical assistants

## Limitations of this sample

- Text only. The full data can include the scanned forms; none are in this repository.
- 16 notes is enough to see the format, not to train or benchmark anything.
- One note per patient; no longitudinal records in this sample.

## Full dataset and licensing

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).

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.

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.

## Consent and de-identification

As described in Datadhara's [methodology](https://datadhara.in/methodology?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global):

- Every source organisation signs a written agreement that explicitly covers use for AI training.
- 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.
- Free text is checked with automated detection and then reviewed by a person.
- 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.
- Every record carries a `consent_ref` linking it to its source agreement. In a real delivery, that reference resolves to the signed agreement.

## Citation

The same sample files are archived on Zenodo: https://doi.org/10.5281/zenodo.24349905