forked from karrtikiyer-tw/bahmni-shiny
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Mritunjay Dubey edited this page Sep 13, 2017
·
3 revisions
Welcome to the bahmni-shiny wiki!
This application is built using R and shiny . This helps a hospital to visualize the trend for patients visiting hospital over a period of time. Right now it works with MySQL and PSQL databases.
Since it might not be possible to expose MySQL and PSQL ports to outside, we are connecting to databases over SSH tunnel.
To configure analytics for a specific disease you need to create a folder and put under plugins folder. The path to plugins folder is a configurable property. The folder will have 2 files.
- config.json:- For now, we are just getting the name of the plugin from this file.
- dao.R:- This R file will need to have a function called
fetchData
which will take themysql
andpsql
connections and return model data for that disease.
The image below shows the basic architecture and workflow for the application.