sudo easy_install pip
pip3 install -r requirements.txt
python3 main.py
patient id | date | include (optional) |
---|---|---|
12345678 | 02/28/2020 | 1 |
11111111 | 01/01/2019 | 0 |
- The filter file should contain at least two columns: "patient ID (empi)" and "date (could be procedure date)"
- The default setting is including all the rows, but you could specify 1 or 0 to include or exclude that patient within a specified time range.
- Matches dates of formats:
'%m/%d/%Y','%Y/%m/%d','%m/%d/%y','%m-%d-%Y','%Y-%m-%d','%m-%d-%y','%b %d, %Y','%b %d, %Y','%B %d, %Y','%B %d %Y','%b %d,%Y'
The output file has the same format as the origin with _filter_[before_days]-[after-days]
added to the filename.