xtannier commited on
Commit
0a88093
·
verified ·
1 Parent(s): 39ca7a0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +530 -74
README.md CHANGED
@@ -1,91 +1,547 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  dtype: string
6
- - name: local_id
7
- dtype: string
8
- - name: specialty
9
- dtype: string
10
- - name: author
 
 
11
  dtype: string
12
- - name: reviewer
13
  dtype: string
14
- - name: pool
15
  dtype: string
16
- - name: suggested_scenario
17
  struct:
18
- - name: name
19
  dtype: string
20
- - name: age
21
- struct:
22
- - name: value
23
- dtype: int32
24
- - name: unit
25
- dtype: string
26
- - name: sex
27
  dtype: string
28
- - name: admission_mode
29
- dtype: string
30
- - name: discharge_mode
31
  dtype: string
32
- - name: primary_procedure
33
- struct:
34
- - name: code
35
- dtype: string
36
- - name: description
37
- dtype: string
38
- - name: primary_diagnosis
39
- sequence:
40
- - name: code
41
- dtype: string
42
- - name: description
43
- dtype: string
44
- - name: type_of_care
45
  dtype: string
46
- - name: documents
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  sequence:
48
- - name: type
49
  dtype: string
50
- - name: header
51
  dtype: string
52
- - name: text
 
 
53
  dtype: string
54
- - name: word_count
55
- dtype: int32
56
- - name: structured_abstract
57
- struct:
58
- - name: primary_diagnosis
59
- sequence:
60
- - name: code
61
- dtype: string
62
- - name: description
63
- dtype: string
64
- - name: primary_procedure
65
- sequence:
66
- - name: code
67
- dtype: string
68
- - name: description
69
- dtype: string
70
- - name: admission_mode
71
  dtype: string
72
- - name: discharge_mode
 
 
 
 
 
 
 
 
73
  dtype: string
74
- - name: length_of_stay
75
- struct:
76
- - name: value
77
- dtype: int32
78
- - name: unit
79
- dtype: string
80
- splits:
81
- - name: train
82
- num_bytes: 21325362
83
- num_examples: 4254
84
- download_size: 9249774
85
- dataset_size: 21325362
86
- configs:
87
- - config_name: default
88
- data_files:
89
- - split: train
90
- path: data/train-*
91
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ features:
3
+ - name: id
4
+ dtype: string
5
+ - name: local_id
6
+ dtype: string
7
+ - name: specialty
8
+ dtype: string
9
+ - name: author
10
+ dtype: string
11
+ - name: reviewer
12
+ dtype: string
13
+ - name: pool
14
+ dtype: string
15
+ - name: suggested_scenario
16
+ struct:
17
+ - name: name
18
  dtype: string
19
+ - name: age
20
+ struct:
21
+ - name: value
22
+ dtype: int32
23
+ - name: unit
24
+ dtype: string
25
+ - name: sex
26
  dtype: string
27
+ - name: admission_mode
28
  dtype: string
29
+ - name: discharge_mode
30
  dtype: string
31
+ - name: primary_procedure
32
  struct:
33
+ - name: code
34
  dtype: string
35
+ - name: description
 
 
 
 
 
 
36
  dtype: string
37
+ - name: primary_diagnosis
38
+ sequence:
39
+ - name: code
40
  dtype: string
41
+ - name: description
 
 
 
 
 
 
 
 
 
 
 
 
42
  dtype: string
43
+ - name: type_of_care
44
+ dtype: string
45
+ - name: documents
46
+ sequence:
47
+ - name: type
48
+ dtype: string
49
+ - name: header
50
+ dtype: string
51
+ - name: text
52
+ dtype: string
53
+ - name: word_count
54
+ dtype: int32
55
+ - name: structured_abstract
56
+ struct:
57
+ - name: primary_diagnosis
58
  sequence:
59
+ - name: code
60
  dtype: string
61
+ - name: description
62
  dtype: string
63
+ - name: primary_procedure
64
+ sequence:
65
+ - name: code
66
  dtype: string
67
+ - name: description
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  dtype: string
69
+ - name: admission_mode
70
+ dtype: string
71
+ - name: discharge_mode
72
+ dtype: string
73
+ - name: length_of_stay
74
+ struct:
75
+ - name: value
76
+ dtype: int32
77
+ - name: unit
78
  dtype: string
79
+ config_name: default
80
+ splits:
81
+ - name: train
82
+ num_bytes: 21325362
83
+ num_examples: 4254
84
+ download_size: 0
85
+ dataset_size: 21325362
 
 
 
 
 
 
 
 
 
 
86
  ---
87
+
88
+ # Dataset Card for PARHAF
89
+
90
+ <div align="center">
91
+ <p>
92
+ <a href="https://huggingface.co/spaces/HealthDataHub/PARTAGES" style="display:inline;"><img src="img/PARTAGES BASELINE_RVB.png" alt="Logo" style="height:20px;vertical-align:middle; margin-right:8px; display:inline; margin-bottom:0.2em; margin-top:0.2em;" title="PARTAGES project"; /></a>
93
+ <a href="https://www.etalab.gouv.fr/wp-content/uploads/2018/11/open-licence.pdf" style="display:inline;" title="Etalab 2.0 license"><img src="img/Logo-licence-ouverte2.svg" style="height:20px; display:inline; margin-bottom:0.2em; margin-top:0.2em;"/></a>
94
+ <a href="https://creativecommons.org/licenses/by/4.0/deed.en" style="display:inline;"><img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/png/by.png" style="height:20px; display:inline; margin-bottom:0.2em; margin-top:0.2em;" title="CC BY 4.0 license"/></a>
95
+ <a href="https://arxiv.org/pdf/2603.20494"><img src="https://img.shields.io/badge/Paper-red?logo=arxiv&logoColor=white" style="height:20px; display:inline; margin-bottom:0.2em; margin-top:0.2em;" title="Paper"/></a>
96
+ </p>
97
+ </div>
98
+
99
+ ## Table of Contents
100
+
101
+ - [Dataset Description](#dataset-description)
102
+ - [Dataset Summary](#dataset-summary)
103
+ - [Languages](#languages)
104
+ - [Dataset Structure](#dataset-structure)
105
+ - [Standalone corpus (out of Hugging Face)](#standalone-corpus-out-of-hugging-face)
106
+ - [Hugging Face dataset](#hugging-face-dataset)
107
+ - [Data Instances](#data-instances)
108
+ - [Data Fields](#data-fields)
109
+ - [Controlled Vocabularies](#controlled-vocabularies)
110
+ - [Data Splits](#data-splits)
111
+ - [Dataset Creation](#dataset-creation)
112
+ - [Changelog](#changelog-changelog)
113
+ - [1.0](#1-0)
114
+ - [Additional Information](#additional-information)
115
+ - [Licensing Information](#licensing-information)
116
+ - [Citation Information](#citation-information)
117
+
118
+ ## Dataset Description
119
+
120
+ **Note for users interested in the PARTAGES use cases** on pseudonymisation, coding, oncology, and infectiology: This dataset contains **unlabeled data only**. Labeled versions are available in separate datasets on the same platform. Besides, **the documents for the test set of all use cases are excluded.** They will remain under embargo to enable future evaluations under controlled conditions, limiting the risk of LLM contamination through prior data exposure. Please contact us if you wish to get access to the test set to evaluate your system.
121
+
122
+ **Paper:** https://arxiv.org/pdf/2603.20494
123
+
124
+
125
+ ### Dataset Summary
126
+
127
+ PARHAF is an open French corpus of human-authored clinical reports of fictional patients. It was created to support the development and evaluation of clinical NLP systems under strict health-data protection constraints. Each patient is each documented with structured clinical information (diagnosis, procedures, care pathway, discharge data).
128
+
129
+ Each patient record was written by a senior medical resident and reviewed by another senior medical resident, from the same specialty. You can consult the [guidelines provided to the writers and reviewers (in French)](doc/PARTAGES_Guide_methodologique_de_redaction_et_de_relecture_des_CR_fictifs.pdf).
130
+
131
+
132
+ #### Data statistics
133
+
134
+ ##### Main statistics
135
+
136
+ | Patients | Documents | Words |
137
+ |---|---|---|
138
+ | 4259 | 6190 | 3952583 |
139
+
140
+ ##### Patient count per specialty
141
+
142
+ | Specialty | General | CU 2 - ICD-10 coding | CU 5a - Oncology (biomarkers) | CU 5b - Oncology (response to treatment) | CU 6 - Infectiology | Total |
143
+ |---|---|---|---|---|---|---|
144
+ | Cardiology | 96 | 0 | 0 | 0 | 0 | **96** |
145
+ | Cardiovasc. Surg. | 39 | 0 | 0 | 0 | 0 | **39** |
146
+ | Critical Care | 44 | 0 | 0 | 0 | 0 | **44** |
147
+ | Digestive Surg. | 170 | 125 | 0 | 0 | 0 | **295** |
148
+ | Gastro-Hepatology | 170 | 0 | 0 | 0 | 0 | **170** |
149
+ | Gen. Internal Med. | 82 | 0 | 0 | 0 | 0 | **82** |
150
+ | Geriatrics | 155 | 0 | 0 | 0 | 0 | **155** |
151
+ | Gynecology | 212 | 0 | 0 | 0 | 0 | **212** |
152
+ | Hematology | 153 | 0 | 0 | 0 | 0 | **153** |
153
+ | Infectious Dis. | 151 | 0 | 0 | 0 | 134 | **285** |
154
+ | Internal Med. | 228 | 0 | 0 | 0 | 0 | **228** |
155
+ | Nephrology | 104 | 0 | 0 | 0 | 0 | **104** |
156
+ | Neurology | 251 | 0 | 0 | 0 | 0 | **251** |
157
+ | Obstetrics | 174 | 0 | 0 | 0 | 0 | **174** |
158
+ | Oncology | 399 | 0 | 0 | 108 | 0 | **507** |
159
+ | Ortho & Trauma Surg. | 143 | 98 | 0 | 0 | 0 | **241** |
160
+ | Pathology | 285 | 0 | 152 | 0 | 0 | **437** |
161
+ | Pediatrics | 82 | 0 | 0 | 0 | 0 | **82** |
162
+ | Pulmonology | 531 | 0 | 0 | 0 | 0 | **531** |
163
+ | Urology | 108 | 65 | 0 | 0 | 0 | **173** |
164
+ | **Total** | **3577** | **288** | **152** | **108** | **134** | 4259 |
165
+
166
+ Note: In case you wonder why CU 1 (Pseudonymisation) is not listed below: The patients for this use case have been sampled from the general distribution, that's why they don't appear here. To know which documents are part of this use case, consult the specific dataset PARCOMED.
167
+
168
+ #### Data Origin
169
+
170
+ The clinical reports were authored by senior medical residents specifically for this corpus.
171
+
172
+ The source data for building clinical scenarios comes from National Hospital claims data available in the SNDS national French database. To comply with privacy regulations regarding the use of SNDS data, scenarios are built by sampling on the observed distributions. The diagnosis distribution aims at reducing the over-representation of very common conditions and including less frequent situations.
173
+
174
+ The writers were provided with a scenario made of:
175
+ - A primary diagnosis
176
+ - A patient age
177
+ - An admission mode (when relevant)
178
+ - A discharge mode (when relevant)
179
+ - A type of care (when relevant)
180
+
181
+ A list of common secondary diagnoses for the specified primary diagnoses was also provided for information.
182
+
183
+ A standardized clinical report template was also provided to the writers. It defined a generic structure designed to reflect the expected logic of clinical documentation. It includes the core sections of a medical report (such as patient history, clinical findings, assessment, and care plan) while remaining flexible through adaptable templates based on the report type, medical specialty, and identified use cases.
184
+
185
+ #### Intended usages
186
+
187
+ This dataset can be used to support a variety of applications, including:
188
+
189
+ - Sharing clinical notes and annotations
190
+ - Pooling efforts within the clinical NLP community
191
+ - Benchmarking French medical LLMs
192
+ - Enabling reproducible clinical NLP research
193
+ - Supporting medical teaching and education
194
+ - Promoting work on PARTAGES’s 7 use cases
195
+ - Enabling privacy-safe data augmentation
196
+
197
+
198
+ #### Excluded usages
199
+
200
+ The dataset is not intended to be used for
201
+
202
+ - Clinical decision-making or patient care (no diagnostic, prognostic, or therapeutic use)
203
+ - Clinical validation or performance claims (models trained on this data are not clinically validated)
204
+ - Generalization to unseen hospitals, regions, or practices
205
+ - Epidemiological or population-level inference (≠ real-world prevalence or distributions)
206
+ - Assessing real-world safety or clinical risk (rare adverse events, edge cases)
207
+ - Replacing real clinical data for deployment (research-only)
208
+ - Stress-testing models on realistic clinical language (no time pressure, workload, interruptions)
209
+
210
+ This dataset is limited to hospital-based clinical documentation and focuses on selected document types that are central to the patient record but not representative of the full range of medical documentation. It excludes several important categories, such as imaging reports, prescriptions, referral letters, and procedural or operative reports, and therefore does not capture the full diversity of clinical documentation.
211
+
212
+
213
+ ### Languages
214
+
215
+ - fr_FR
216
+
217
+
218
+ ## Dataset Structure
219
+
220
+ We distribute both a Hugging Face dataset and a standalone version of the corpus. The standalone JSON files constitute the canonical version of the corpus. The Hugging Face dataset (Parquet/Arrow) is a derived representation generated automatically from the JSON files.
221
+
222
+ Both formats therefore contain identical information and differ only in storage layout.
223
+
224
+
225
+ ### Standalone corpus (out of Hugging Face)
226
+
227
+ The standalone dataset consists of a single JSON file containing structured metadata about fictitious patients and the clinical documents associated with them. Each entry in the **data** array corresponds to one patient record and includes patient-level metadata, contextual information about the care scenario, and a list of associated documents.
228
+
229
+ The documents themselves are **not embedded** in the JSON file. Instead, each document is referenced via a relative file path pointing to an external text file. These text files are stored separately and organized by medical specialty, with one directory per specialty. Each document file contains raw, unannotated plain text in French, with no markup, labels, or structural tags applied.
230
+
231
+ The JSON file, therefore, serves as the index and metadata layer for the corpus, while the directory structure contains the raw textual content. The linkage between metadata and text relies exclusively on the relative paths specified in the `documents[].path` fields.
232
+
233
+
234
+ ```python
235
+ import json
236
+ import os
237
+ with open(json_path, "r") as f:
238
+ data = json.load(f)
239
+
240
+ patients = data["data"]
241
+ patient = patients[0] # First patient
242
+ patient_id = patient["id"]
243
+ specialty = patient["specialty"]
244
+ scenario = patient["suggested_scenario"]
245
+ patient_fake_name = scenario["name"]
246
+ primary_diagnosis = scenario["primary_diagnosis"]
247
+ patient_reports = patient["documents"]
248
+ ...
249
+
250
+ # Each patient can have one, two or three reports
251
+ for report in patient_reports:
252
+ type = report["type"]
253
+ path = report["path"]
254
+ # The content of the report is not in the JSON file
255
+ # but in distinct text files
256
+ abs_path = os.path.join(os.path.dirname(json_path), path)
257
+ with open(abs_path, "r") as f:
258
+ text = f.read()
259
+ print(type, text)
260
+ ...
261
+ ```
262
+
263
+ ### Hugging Face dataset
264
+
265
+ The Hugging Face dataset and the standalone JSON file contain the same information but use different data representations.
266
+ First, in the Hugging Face dataset (parquet format), the textual content of the document is embedded in the dictionary.
267
+ Second, the JSON standalone representation follows a conventional nested structure (a list of objects, each containing a list of `{type, text}` dictionaries), as described below in the description of data instances.
268
+
269
+
270
+ In contrast, the Hugging Face version is stored using a columnar format optimized for efficient loading and machine learning.
271
+ As a consequence, sequences of dictionaries are represented as a dictionary of lists (one list per field) rather than a list of dictionaries.
272
+ This structural change does not alter the data content, only its storage layout.
273
+
274
+ ```python
275
+ from datasets import load_dataset
276
+
277
+ ds = load_dataset("HealthDataHub/PARHAF")
278
+ patient = ds["train"][0] # First patient
279
+ patient_id = patient["id"]
280
+ specialty = patient["specialty"]
281
+ scenario = patient["suggested_scenario"]
282
+ patient_fake_name = scenario["name"]
283
+ primary_diagnosis = scenario["primary_diagnosis"]
284
+ patient_reports = patient["documents"]
285
+ ...
286
+ # In Hugging Face dataset, sequences of dictionaries are represented
287
+ # as a dictionary of lists (one list per field) rather than a list of dictionaries.
288
+ types = patient_reports["type"]
289
+ texts = patient_reports["text"]
290
+ for type, text in zip(types, texts):
291
+ print(type, text)
292
+ ...
293
+ ```
294
+
295
+
296
+ ### Data Instances
297
+
298
+ One dataset instance corresponds to **one patient** and contains all associated documents and metadata.
299
+
300
+ Each example includes:
301
+
302
+ - `id`: patient identifier
303
+ - `local_id`
304
+ - `specialty`
305
+ - `author`
306
+ - `reviewer`
307
+ - `pool`
308
+ - `suggested_scenario`: structured clinical metadata
309
+ - `documents`: list of clinical reports with full text
310
+ - `structured_abstract`: optional structured summary
311
+
312
+ The dataset preserves a hierarchical patient-level organization. Note that
313
+ this corresponds to the standalone dataset; As mentioned above, the HF dataset is stored using a columnar format.
314
+
315
+ ```
316
+ patient
317
+ ├─ id: string
318
+ ├�� local_id: string
319
+ ├─ specialty: string
320
+ ├─ author: string
321
+ ├─ reviewer: string
322
+ ├─ pool: string
323
+ ├─ suggested_scenario:
324
+ │ ├─ name: string
325
+ │ ├─ age:
326
+ │ │ ├─ value: integer
327
+ │ │ └─ unit: string
328
+ │ ├─ sex: string
329
+ │ ├─ admission_mode: string (optional)
330
+ │ ├─ discharge_mode: string (optional)
331
+ │ ├─ primary_procedure: {code, description} (optional)
332
+ │ ├─ primary_diagnosis: {code, description}
333
+ │ └─ type_of_care: string (optional)
334
+ ├─ documents: [document]
335
+ │ └─ document
336
+ │ ├─ type: string
337
+ │ ├─ header: string
338
+ │ ├─ path: string
339
+ │ └─ word_count: integer
340
+ └─ structured_abstract (optional)
341
+ ├─ primary_diagnosis: [{code?, description}]
342
+ ├─ primary_procedure: [{code, description}]
343
+ ├─ admission_mode: string
344
+ ├─ discharge_mode: string
345
+ └─ length_of_stay: {value, unit}
346
+ ```
347
+
348
+
349
+ ### Data Fields
350
+
351
+ Field names use dot notation to describe nested objects.
352
+
353
+ #### ```data[]```(one patient)
354
+
355
+ | Path | Type | Description |
356
+ | --------------------- | ------ | ------------------------------------------------------------------------------- |
357
+ | `id` | string | Global unique patient identifier |
358
+ | `local_id` | string | Local identifier within the specialty |
359
+ | `specialty` | string | Medical specialty |
360
+ | `author` | string | Author trigram |
361
+ | `reviewer` | string | Reviewer trigram |
362
+ | `pool` | string | Dataset partition. Some patients belong to specific use cases (CU1–CU6) |
363
+ | `suggested_scenario` | dict | Scenario provided to the report writer |
364
+ | `documents[]` | array | List of reports for this patient |
365
+ | `structured_abstract` | dict | Optional uncurated abstract written by the author. May not match report content |
366
+
367
+
368
+ #### `suggested_scenario`
369
+
370
+ | Path | Type | Description |
371
+ | ------------------------------- | ------- | ---------------------- |
372
+ | `name` | string | Fictional patient name |
373
+ | `age.value` | integer | Age value |
374
+ | `age.unit` | string | Age unit |
375
+ | `sex` | string | Patient sex |
376
+ | `admission_mode` | string | Admission source |
377
+ | `discharge_mode` | string | Discharge destination |
378
+ | `primary_procedure.code` | string | CCAM code |
379
+ | `primary_procedure.description` | string | Procedure label |
380
+ | `primary_diagnosis.code` | string | ICD-10 code |
381
+ | `primary_diagnosis.description` | string | Diagnosis label |
382
+ | `type_of_care` | string | Care description |
383
+
384
+
385
+ #### `documents[]`(patients reports, 1-3 per patient)
386
+
387
+ | Path | Type | Description |
388
+ | ------------ | ------- | ----------------------------- |
389
+ | `type` | string | Document type |
390
+ | `header` | string | Document title |
391
+ | `word_count` | integer | Number of words in the report |
392
+ | `path` | string | Relative path to raw text |
393
+
394
+ ### Controlled Vocabularies
395
+
396
+ The following fields use closed sets of values and should be treated as categorical variables rather than free text.
397
+
398
+ #### `specialty`
399
+
400
+ ```
401
+ ANATOMOPATHOLOGIE
402
+ CANCERO ADULTE
403
+ CARDIOLOGIE
404
+ CHIR ORTHO ET TRAUMATO
405
+ CHIR.CARDIO-VASC.
406
+ CHIRURGIE VISCERALE
407
+ GYNECOLOGIE
408
+ HEMATOLOGIE CLINIQUE
409
+ HEPATO-GASTRO-ENTERO
410
+ MALADIES INFECTIEUSES
411
+ MEDECINE GERIATRIQUE
412
+ MEDECINE INTER-SPECIALITES
413
+ MEDECINE INTERNE
414
+ MEDECINE PEDIATRIQUE
415
+ NEPHROLOGIE
416
+ NEUROLOGIE
417
+ OBSTETRIQUE
418
+ PNEUMOLOGIE
419
+ REANIMATION
420
+ UROLOGIE
421
+ ```
422
+
423
+ #### `pool`
424
+
425
+ ```
426
+ 'CU 1 - Pseudonymisation'
427
+ 'CU 2 - ICD-10 coding'
428
+ 'CU 5a - Oncology (biomarkers)',
429
+ 'CU 5b - Oncology (response to treatment)',
430
+ 'CU 6 - Infectiology',
431
+ 'General'
432
+ ```
433
+
434
+
435
+ #### `age.unit`
436
+
437
+ ```
438
+ 'ans',
439
+ 'mois'
440
+ ```
441
+
442
+ #### `sex`
443
+
444
+ ```
445
+ 'F',
446
+ 'M'
447
+ ```
448
+
449
+
450
+ #### `admission_mode`
451
+
452
+ ```
453
+ 'admission non programmée suite à un contact avec le médecin traitant dans les 48h',
454
+ 'admission non programmée suite à un contact avec un médecin suivant le patient en consultation (médecin traitant par exemple) dans les 48h',
455
+ 'admission par les urgences',
456
+ 'domicile',
457
+ 'domicile (à modifier pour entrée par les urgences)',
458
+ 'domicile sans passer par le service des urgences',
459
+ 'domicile- service de gastro-entérologie',
460
+ 'entrée par les urgences',
461
+ "entrée par un autre service d'hospitalisation",
462
+ "transfert d'un autre hôpital",
463
+ 'transfert depuis un autre service',
464
+ 'transfert par le service des urgences',
465
+ 'urgences'
466
+ None
467
+ ```
468
+
469
+ #### `discharge_mode`
470
+
471
+ ```
472
+ 'admission en smr',
473
+ 'domicile',
474
+ 'décès',
475
+ 'retour au soins de suite et réadaptation',
476
+ 'retour à domicile',
477
+ 'retour à domicile -> hématologie stérile',
478
+ 'retour à domicile ; transfert gastrologie',
479
+ 'retour à domicile > changer pour transfert en chirurgie digestive',
480
+ 'retour à domicile → hospitalisation',
481
+ 'sortie en soins de suite',
482
+ 'ssr neurologique',
483
+ 'transfert',
484
+ 'transfert dans un autre hôpital',
485
+ 'transfert dans un autre service',
486
+ 'transfert en gastro-entérologie',
487
+ 'transfert en gynécologie',
488
+ 'transfert en psychiatrie',
489
+ 'transfert en soins de suite et réadaptation',
490
+ 'transfert en soins de suite et rééducation'
491
+ None
492
+ ```
493
+
494
+ #### Document's `type`
495
+
496
+ ```
497
+ 'ACCOUCHEMENT', # Birth
498
+ 'ANAPATH', # Pathology report
499
+ 'CRC', # CR consultation
500
+ 'CRH', # CR hospitalisation
501
+ 'CRO', # CR opération
502
+ 'MATERNITE', # Maternity
503
+ 'URGENCES' # ER
504
+ ```
505
+
506
+ ### Data Splits
507
+
508
+ **Note for users interested in the PARTAGES use cases** on pseudonymisation, coding, oncology, and infectiology: This dataset contains **unlabeled data only**. Labeled versions are available in separate datasets on the same platform. Besides, **the documents for the test set of all use cases are excluded.** They will remain under embargo to enable future evaluations under controlled conditions, limiting the risk of LLM contamination through prior data exposure. Please contact us if you wish to get access to the test set to evaluate your system.
509
+
510
+
511
+ ## Dataset Creation
512
+
513
+ PARTAGES releases an open corpus of human-authored medical reports in French that will enable players from industry and academia to address specific use cases based on general medical generative LLMs.
514
+
515
+ This was made possible by:
516
+
517
+ - A partnership with over 17 associations and unions of medical residents, in multiple medical and surgical specialties : 120 medical residents were recruited as writers;
518
+ - The creation of guidelines to choose clinical cases based on Data from the National Health Data System (SNDS) as support scenarios to author medical reports;
519
+ - The authoring by medical residents of synthetic medical reports;
520
+ - The creation of an open-source corpus in French to train and evaluate language models on specific use cases.
521
+
522
+
523
+ ## Changelog
524
+
525
+ ### 1.0
526
+
527
+ **The currently delivered version includes all documents that are not assigned to a specific clinical use case. Documents related to specific use cases will be delivered at a later stage.**
528
+
529
+ Only the training set is released here. The remaining portion of the corpus will be temporarily embargoed to enable future evaluations under controlled conditions, thereby limiting the risk of large language model contamination through prior exposure to the data. You can evaluate your system on the test set through the CodaBench platform.
530
+
531
+ **Please contact us for information about how to evaluate your system on our unreleased test data**
532
+
533
+
534
+ ## Additional Information
535
+
536
+ ### Licensing Information
537
+
538
+ This dataset is released under licenses:
539
+
540
+ - CC BY 4.0
541
+ - Etalab 2.0
542
+
543
+ ### Citation Information
544
+
545
+ [More Information Needed]
546
+
547
+