Commit
·
6d2a11c
1
Parent(s):
dfb76bd
Update README.md
Browse files
README.md
CHANGED
@@ -35,50 +35,41 @@ English (en).
|
|
35 |
|
36 |
## Dataset Structure
|
37 |
|
38 |
-
|
|
|
39 |
|
40 |
-
|
41 |
|
42 |
-
-
|
43 |
-
|
44 |
-
- `
|
45 |
-
- `
|
46 |
-
- `title`: string. Source article title.
|
47 |
-
- `patient`: string. Patient summary.
|
48 |
-
- `age`: list of tuples. Each entry is in format `(value, unit)` where value is a float number and unit is in 'year', 'month', 'week', 'day' and 'hour' indicating age unit. For example, `[[1.0, 'year'], [2.0, 'month']]` indicating the patient is a one-year- and two-month-old infant.
|
49 |
-
- `gender`: 'M' or 'F'. Male or Female.
|
50 |
|
51 |
-
###
|
52 |
|
53 |
-
|
|
|
|
|
|
|
54 |
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
### Data Instances
|
58 |
|
59 |
-
**A sample of patient in PMC-Patients.json**
|
60 |
-
{
|
61 |
-
"patient_id": "0",
|
62 |
-
"patient_uid": "7665777-1",
|
63 |
-
"PMID": "33492400",
|
64 |
-
"file_path": "comm/PMC007xxxxxx/PMC7665777.xml",
|
65 |
-
"title": "Early Physical Therapist Interventions for Patients With COVID-19 in the Acute Care Hospital: A Case Report Series",
|
66 |
-
"patient": "This 60-year-old male was hospitalized due to moderate ARDS from COVID-19 with symptoms of fever, dry cough, and dyspnea. We encountered several difficulties during physical therapy on the acute ward. First, any change of position or deep breathing triggered coughing attacks that induced oxygen desaturation and dyspnea. To avoid rapid deterioration and respiratory failure, we instructed and performed position changes very slowly and step-by-step. In this way, a position change to the 135\u00b0 prone position () took around 30 minutes. This approach was well tolerated and increased oxygen saturation, for example, on day 5 with 6 L/min of oxygen from 93% to 97%. Second, we had to adapt the breathing exercises to avoid prolonged coughing and oxygen desaturation. Accordingly, we instructed the patient to stop every deep breath before the need to cough and to hold inspiration for better air distribution. In this manner, the patient performed the breathing exercises well and managed to increase his oxygen saturation. Third, the patient had difficulty maintaining sufficient oxygen saturation during physical activity. However, with close monitoring and frequent breaks, he managed to perform strength and walking exercises at a low level without any significant deoxygenation. Exercise progression was low on days 1 to 5, but then increased daily until hospital discharge to a rehabilitation clinic on day 10.",
|
67 |
-
"age": [
|
68 |
-
[
|
69 |
-
60.0,
|
70 |
-
"year"
|
71 |
-
]
|
72 |
-
],
|
73 |
-
"gender": "M"
|
74 |
-
}
|
75 |
|
76 |
**A sample of query**
|
77 |
{"_id": "8699387-1", "text": "A 60-year-old female patient with a medical history of hypertension came to our attention because of several neurological deficits that had developed over the last few years, significantly impairing her daily life. Four years earlier, she developed sudden weakness and hypoesthesia of the right hand. The symptoms resolved in a few days and no specific diagnostic tests were performed. Two months later, she developed hypoesthesia and weakness of the right lower limb. On neurological examination at the time, she had spastic gait, ataxia, slight pronation of the right upper limb and bilateral Babinski sign. Brain MRI showed extensive white matter hyperintensities (WMHs), so leukodystrophy was suspected. However, these WMHs were located bilaterally in the corona radiata, basal ganglia, the anterior part of the temporal lobes and the medium cerebellar peduncle (A–D), and were highly suggestive of CADASIL. Genetic testing was performed, showing heterozygous mutation of the NOTCH3 gene (c.994 C<T; exon 6). The diagnosis of CADASIL was confirmed and antiplatelet prevention therapy was started. Since then, her clinical conditions remained stable, and the lesion load was unchanged at follow-up brain MRIs for 4 years until November 2020, when the patient was diagnosed with COVID-19 after a PCR nasal swab. The patient developed only mild respiratory symptoms, not requiring hospitalization or any specific treatment. Fifteen days after the COVID-19 diagnosis, she suddenly developed aphasia, agraphia and worsened right upper limb motor deficit, but she did not seek medical attention. Some days later, she reported these symptoms to her family medical doctor, and a new brain MRI was performed, showing a subacute ischemic area in the left corona radiata (E,F). Therapy with acetylsalicylic acid was switched to clopidogrel as secondary prevention, while her symptoms improved in the next few weeks. The patient underwent a carotid doppler ultrasound and an echocardiogram, which did not reveal any pathological changes. The review of the blood pressure log, both in-hospital and the personal one the patient had kept, excluded uncontrolled hypertension."}
|
78 |
|
79 |
**A sample of qrels**
|
80 |
query-id corpus-id score
|
|
|
81 |
8647806-1 6437752-1 1
|
|
|
82 |
8647806-1 6946242-1 1
|
83 |
|
84 |
|
|
|
35 |
|
36 |
## Dataset Structure
|
37 |
|
38 |
+
The PMC-Patients ReCDS benchmark is presented as retrieval tasks and the data format is the same as [BEIR](https://github.com/beir-cellar/beir) benchmark.
|
39 |
+
To be specific, there are queries, corpus, and qrels (annotations).
|
40 |
|
41 |
+
### Queries
|
42 |
|
43 |
+
ReCDS-PAR and ReCDS-PPR tasks share the same query patient set and dataset split.
|
44 |
+
For each split (train, dev, and test), queries are stored a `jsonl` file that contains a list of dictionaries, each with two fields:
|
45 |
+
- `_id`: unique query identifier represented by patient_uid.
|
46 |
+
- `text`: query text represented by patient summary text.
|
|
|
|
|
|
|
|
|
47 |
|
48 |
+
### Corpus
|
49 |
|
50 |
+
Corpus is shared by different splits. For ReCDS-PAR, the corpus contains 11.7M PubMed articles, and for ReCDS-PPR, the corpus contains 155.2k reference patients from PMC-Patients. The corpus is also presented by a `jsonl` file that contains a list of dictionaries with three fields:
|
51 |
+
- `_id`: unique document identifier represented by PMID of the PubMed article in ReCDS-PAR, and patient_uid of the candidate patient in ReCDS-PPR.
|
52 |
+
- `title`: : title of the article in ReCDS-PAR, and empty string in ReCDS-PPR.
|
53 |
+
- `text`: abstract of the article in ReCDS-PAR, and patient summary text in ReCDS-PPR.
|
54 |
|
55 |
+
### Qrels
|
56 |
+
|
57 |
+
Qrels are TREC-style retrieval annotation files in `tsv` format.
|
58 |
+
A qrels file contains three tab-separated columns, i.e. the query identifier, corpus identifier, and score in this order. The scores (2 or 1) indicate the relevance level in ReCDS-PAR or similarity level in ReCDS-PPR.
|
59 |
+
|
60 |
+
Note that the qrels may not be the same as `relevant_articles` and `similar_patients` in `PMC-Patients.json` due to dataset split (see our manuscript for details).
|
61 |
|
62 |
### Data Instances
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
**A sample of query**
|
66 |
{"_id": "8699387-1", "text": "A 60-year-old female patient with a medical history of hypertension came to our attention because of several neurological deficits that had developed over the last few years, significantly impairing her daily life. Four years earlier, she developed sudden weakness and hypoesthesia of the right hand. The symptoms resolved in a few days and no specific diagnostic tests were performed. Two months later, she developed hypoesthesia and weakness of the right lower limb. On neurological examination at the time, she had spastic gait, ataxia, slight pronation of the right upper limb and bilateral Babinski sign. Brain MRI showed extensive white matter hyperintensities (WMHs), so leukodystrophy was suspected. However, these WMHs were located bilaterally in the corona radiata, basal ganglia, the anterior part of the temporal lobes and the medium cerebellar peduncle (A–D), and were highly suggestive of CADASIL. Genetic testing was performed, showing heterozygous mutation of the NOTCH3 gene (c.994 C<T; exon 6). The diagnosis of CADASIL was confirmed and antiplatelet prevention therapy was started. Since then, her clinical conditions remained stable, and the lesion load was unchanged at follow-up brain MRIs for 4 years until November 2020, when the patient was diagnosed with COVID-19 after a PCR nasal swab. The patient developed only mild respiratory symptoms, not requiring hospitalization or any specific treatment. Fifteen days after the COVID-19 diagnosis, she suddenly developed aphasia, agraphia and worsened right upper limb motor deficit, but she did not seek medical attention. Some days later, she reported these symptoms to her family medical doctor, and a new brain MRI was performed, showing a subacute ischemic area in the left corona radiata (E,F). Therapy with acetylsalicylic acid was switched to clopidogrel as secondary prevention, while her symptoms improved in the next few weeks. The patient underwent a carotid doppler ultrasound and an echocardiogram, which did not reveal any pathological changes. The review of the blood pressure log, both in-hospital and the personal one the patient had kept, excluded uncontrolled hypertension."}
|
67 |
|
68 |
**A sample of qrels**
|
69 |
query-id corpus-id score
|
70 |
+
|
71 |
8647806-1 6437752-1 1
|
72 |
+
|
73 |
8647806-1 6946242-1 1
|
74 |
|
75 |
|