Coder Social home page Coder Social logo

410.712_finalproject_emscompare's Introduction

PROGRAM

JHU - 410.712 Advanced Practical Computer Concepts for Bioinformatics Final Project

AUTHOR

Bhavya Kandimalla

ABOUT

This program is an online quality control tool that asses EMS performance for training and process improvement purposes by comparing EMS impressions to eventual hospital diagnosis.

The program's algorithm calculates a EMS quality care score for each event using a crosswalk to quantify EMS performance based on a 5-3-1-0 point system assigned to impression-diagnosis matches. 5 points are awarded if the EMS impression matches the first hospital diagnosis, 3 points are awarded if the impression matches the second diagnosis, 1 point is awarded if the impression matches the third diagnosis, and 0 points are awarded if the impression does not match any of the three hospital diagnoses.

The results, which can be filtered by score and impression, are viewed at: http://bfx.eng.jhu.edu/bkandim1/410.712_Advanced_Practical_Computer_Concepts_for_Bioinformatics/final/

REQUIREMENTS

The recommended Python version is Python 2.6.6.

The recommended MySQL version is 5.1.73.

The program requires a stable internet connection. Any web browser can be used.

The EMS patient raw data file must be in the following format:

"Name",DateOfBirth,DispatchDate,"EMS Impression"

The hospital patient raw data file must be in the following format:

"Name",DateOfBirth,AdmitDate,"Reason For Visit","Diagnosis1 Code", "Diagnosis1", "Diagnosis2 Code","Diagnosis2","Diagnosis3 Code","Diagnosis3"

USAGE

SETUP AND BACKEND USE:

  1. Raw data files of the EMS Patients and Hospital must be uploaded to the server as source files

  2. To de-identify EMS patients and create patient-event table, un-comment lines 19, 23-25, and 30-31 of the insert.py script and, on the server, run command:

    python insert.py

  3. To de-identify hospital patients and create patient-event table, un-comment lines 20, 23-25, and 33-35 of the insert.py script and, on the server, run command:

    python insert.py

  4. To create crosswalk table, un-comment lines 18 and 27-28 of the insert.py script and, on the server, run command:

    python insert.py

  5. To run the data through the program and upload to database

    1. Log into the MySQL server:

      mysql -u USERNAME -h localhost -p

    2. Use the bkandim1 database:

      use bkandim1;

    3. Direct the source to the views.sql script:

      source /FULLPATH/views.sql;


USER USE:

  1. View and query the results at: http://bfx.eng.jhu.edu/bkandim1/410.712_Advanced_Practical_Computer_Concepts_for_Bioinformatics/final/

FILE NOTES:

EMS Patients.txt - raw EMS patient file
Hospital Patients.txt - raw hospital patient file
insert.py - de-identifies patients and inserts data into input tables
tables.sql - defines structure of input tables
views.sql - input table queries to create 8 views and 1 table for the program
querydb.cgi - runs queries and returns results to the webpage
query.sql - script to test queries
query.py - test script

DEMO DATA

The project source files can be found here: https://github.com/kandimallab/410.712_FinalProject

A sample dataset can be viewed at: http://bfx.eng.jhu.edu/bkandim1/410.712_Advanced_Practical_Computer_Concepts_for_Bioinformatics/final/

410.712_finalproject_emscompare's People

Contributors

kandimallab avatar

Watchers

Joshua Orvis 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.