ClarityNLP / validation-framework

Scala/Javascript web app for patient chart annotation and review

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validation Framework

TODO - this documentation needs to be expanded

Requirements

  • Scala 2.11.x+
  • sbt 1.1.x
  • npm
  • Relational patient database in OMOP format
  • Local Postgres DB/schema, set up with app/sql scripts
  • Local OHDSI WebAPI pointing to this branch patient-records-addon (Link)
    • Note: Standard OHDSI WebAPI doesn't pull out patient-level data
  • Patient note data stored in Solr 6.x+

To prepare javascript

npm install

Note: We are transitioning from Angular to React.

If you see errors with webpack, you may need to instal webpack globally.

npm install --global webpack

To compile

sbt compile

To run

Copy conf/application.conf to a another local directory and modify values to reference your local versions of OHDSI, Solr, Postgres.

sbt "run -Dconfig.file=/opt/conf/prod.conf"

To run with Eclipse Debugging

sbt -jvm-debug 9999 "run -Dconfig.file=/opt/conf/prod.conf"

Then setup a new Debug Configuration, as a Remote Java Application on this project on localhost:9999

About

Scala/Javascript web app for patient chart annotation and review

License:Mozilla Public License 2.0


Languages

Language:JavaScript 51.6%Language:Scala 27.3%Language:HTML 12.1%Language:CSS 8.7%Language:PLSQL 0.1%Language:Java 0.1%