Presentation slide deck can be found here.
Requires a GPU to run.
Dataset require
- MIMIC-SQL (public)
- MIMIC III (private due to HIPAA-compliance)
-
Training:
python TREQS/main.py -
Validate:
python TREQS/main.py --task validate -
Test:
python TREQS/main.py --task test
For this portion of our project, we used RosaeNLG, an open-source (MIT) Natural Language Generation (NLG) library written in JavaScript, based on the Pug template engine. RosaeNLG is the first open-source NLG library which is easy to use and complete enough to write real life NLG applications. It can be run both server side (node.js) and client side, in a browser.
cd /natural-language-generation/
npm install
npx rosaenlg-cli -l lang -w <template_filepath>
ex: npx rosaenlg-cli -l en_US -w templates_malesmokers/male_smokers_over45.pug
Code for Patient Browser taken from: https://github.com/smart-on-fhir/patient-browser
cd /patient-browser-master/
npm install
cd /patient-browser-master/build
npm start