GithubHelp home page GithubHelp logo

bgulbis / apacheii Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kevinconroy/apacheii

0.0 2.0 0.0 208 KB

Excel VBA Function for Acute Physiology and Chronic Health Evaluation II (APACHEII)

License: MIT License

Visual Basic 100.00%

apacheii's Introduction

Acute Physiology and Chronic Health Evaluation II (APACHEII)

This is a VBA function for Microsoft Excel that calculates the APACHEII score for a patient. This score estimates ICU mortality. You should use the worst value for each physiological variable within the past 24 hours.

This macro was written using the formula provided by Knaus WA et al (1985). This function ensures that all values are within a sane range. Upper and lower limits allow for some "world record" setting conditions and might suggest conditions beyond known survivable ranges. These are meant to ensure that there are not obvious coding or data entry errors.

References:

How to Use

Example File

  1. Download APACHE-II-Example.xlsm
  2. Be sure to "Enable Macros"
  3. Edit the data or add rows to calculate APACHE II scores.

Adding Macro to Existing Excel Workbook

  1. Open a new or existing Excel file.
  2. "Save As..." and select the format "Excel Macro-Enabled Workbook (.xlsm)"
  3. Go to Tools -> Macro -> Visual Basic Editor
  4. Copy and paste the contents of the 'APACHE-II.bas' file into the editor that appears. You can alternative "Import" this file.
  5. Save the workbook.
  6. Close the Visual Basic Editor and go back to your workbook.
  7. Use the APACHEII function to calculate the APACHEII score for the given arguments
  8. Once you have an APACHE II score, you can use APACHEII_DEATHRATE or APACHEII_DEATHRATE_ADJUSTED to determine the estimated death rate. See http://www.sfar.org/scores2/apache22.html for adjustment factors.
  9. Remember to "Enable Macros" each time you open the file.

apacheii's People

Contributors

kevinconroy avatar

Watchers

James Cloos avatar  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.