You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dilated Convolutional Attention Network (DCAN), integrating dilated convolutions, residual connections, and label attention, for medical code assignment. It adopts dilated convolutions to capture complex medical patterns with a receptive field which increases exponentially with dilation size.
4
+
5
+
## Data
6
+
Download MIMIC-III dataset from [physionet](https://mimic.physionet.org).
7
+
8
+
Organize your data using the following structure
9
+
10
+
```
11
+
data
12
+
| D_ICD_DIAGNOSES.csv
13
+
| D_ICD_PROCEDURES.csv
14
+
| ICD9_descriptions
15
+
└───mimic3/
16
+
| | NOTEEVENTS.csv
17
+
| | DIAGNOSES_ICD.csv
18
+
| | PROCEDURES_ICD.csv
19
+
| | *_hadm_ids.csv
20
+
```
21
+
22
+
23
+
`ICD9_descriptions` is avaiable [in this repo](https://github.com/jamesmullenbach/caml-mimic/blob/master/mimicdata/ICD9_descriptions), and
24
+
`*_hadm_ids.csv` are avaiable [here](https://github.com/jamesmullenbach/caml-mimic/tree/master/mimicdata/mimic3).
25
+
`MIMIC_RAW_DSUMS` is available [here](https://physionet.org/works/ICD9CodingofDischargeSummaries/), while the rest file for MIMIC2 can be generated with their code.
26
+
If you use Python3 `consctruct_datasest.py` in `ICD9_Coding_of_Discharge_Summaries` to create data files, remember to convert dict object to list (line 82&83) and use `dict.items()` instead of `dict.iteritems()`.
27
+
Assign the directories of MIMIC data using `MIMIC_3_DIR`.
28
+
29
+
## Run
30
+
``python3 main.py``
31
+
32
+
Configs available at `options.py`.
33
+
34
+
Requirements:
35
+
- python 3.7
36
+
- pytorch 1.5.0
37
+
38
+
## Citation
39
+
```
40
+
@inproceedings{ji2020dilated,
41
+
title={Dilated Convolutional Attention Network for Medical Code Assignment from Clinical Text},
42
+
author={Ji, Shaoxiong and Cambria, Erik and Marttinen, Pekka},
43
+
booktitle={3rd Clinical Natural Language Processing Workshop at EMNLP},
0 commit comments