Giter VIP home page Giter VIP logo

biostat821-ehr-analysis's Introduction

Biostat821-EHR-analysis

This Python module provides several simple analytical function on some (synthetic) EHR data. Example data: *PatientCorePopulatedTable.txt, patient demographic data table *LabsCorePopulatedTable.txt laboratory results table

End user guide:

  • setup/installation instructions, including information about the expected input file formats

File need to be in .txt format

  • API description:

The system will ask user enter index age for num_older_than function, TypeError will happened if input is not integar. The system will ask user enter index value for sick_patients function, TypeError will happened if input is not float. The system will ask user enter lab name and comparsion symbol for sick_patients function, TypeError will happened if input is nuvalid.

  • Examples
>> pt = load_patients("PatientCorePopulatedTable.txt")
>> num_older_than(51.2, pt)
52
>> lt = labs_patients("PatientCorePopulatedTable.txt")
>> sick_patients(lt, 'METABOLIC: ALBUMIN', '>', 5.8)
'1A8791E3-A61C-455A-8DEE-763EB90C9B2C', '1', 'METABOLIC: ALBUMIN', '5.9', 'pg', '1992-06-30 03:50:11.777'
  • Testing instructions

test_ehr_analysis.py is test functions using 'pytest' framework for functions in ehr_analysis.py Any change of sample output should result in a failed test, all the test should be passed

biostat821-ehr-analysis's People

Contributors

janedeng28 avatar patrickkwang 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.