openhealthcare/opal-trendy

Name: opal-trendy

Owner: Open Health Care

Description: null

Created: 2017-07-15 12:59:29.0

Updated: 2017-07-15 12:59:54.0

Pushed: 2017-10-10 18:56:04.0

Homepage: null

Size: 82

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

This is trendy - an Opal plugin.

Trendy allows an easy way to ask common questions.

How long on average do patients with coughs stay in our system?

What is the difference in the number of people between Winter and Summer.

For patients who have condition x, what is the average duration of their stay if given the drug y

If patient has condition y what is the pie chart actually showing you it should show the % of episodes that have condition y, vs different conditions.

The api is that you declare either a histogram, gauge, or pie chart, then an a method name on trend that returns a function for these.

These methods are split out between the different mixins.

TODO I want primary diagnosis where available

TODO links in bar charts aren't working

TODO episode admissions are in the wrong order


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.