Giter Club home page Giter Club logo

gosh-fhirworks2020-statistics's Introduction

GOSH-FHIRworks2020-Statistics

Display various patient statistics in a visual format

Set-up

Use pip which is a python package installer to install all the required libraries used in the code. There are not too many and your IDE should let you install via the IDE itself. If not, use the following command:

  pip install

I used FHIRworks_2020 github repo to extract patient data. Carefully read the README instructions and ensure you have installed the correct versions for any required software and correctly setup the FHIR API credentials in appsettings.json. Now that you have the basics, clone this repository.

Deploy

On the terminal, type

cd FHIRworks_2020\dotnet-azure-fhir-web-api

Then run the following command in the terminal. This should work if everything has been set-up correctly. If not, refer back to the set-up instructions.

dotnet run

As shown in the demo video, run api.py. You can either do this in visual studio or run the following command on the terminal:

python api.py

You can now choose which graph to display by running any of the following three commands:

python Graph1.py
python Graph2.py
python Graph_3.py

Graph breakdown

Graph 1 - Age Statistics displays a horizontal bar chart of "average ages by gender"
Graph 2 - Marriage Statistics displays a stacked bar chart split by "proportion of married/unmarried females/males"
Graph 3 - Language Statistics dispays a chart of the number of patients who speak a particular language

References

FHIR-parser by Ethan Wood to simplify parsing patient data
FHIRworks_2020 which we were given by GOSH

gosh-fhirworks2020-statistics's People

Contributors

rachel-mattoo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.