Sha256: abf8f09b688c9d18f807e270191e8f39c923637adc77c2489d3434693a0a2a13

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 KB

Contents

# Framingham

Ruby gem to implement Framingham Heart Study calculators  
http://www.framinghamheartstudy.org

## Installation

Add this line to your application's Gemfile:

    gem 'framingham'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install framingham

# Module: Framingham::Heartdisease#
        `Defined in: framingham/heartdisease.rb`

## Usage

### Public Class Methods ###
![](http://ruby-doc.org/images/brick.png) ::eval(options) → <code>Hash&lt;<span style="color:purple">​Symbol</span>, <span style="color:cadetblue">Numeric</span>&gt;</span>{:heart_age, :risk, :normal, :optimal}</code> or Error String

        Evaluates Framingham::Heartdisease score
  
###   Parameters ###

options(<code>Hash&lt;<span style="color:purple">​Symbol</span>, <span style="color:cadetblue">Object</span>&gt;</span></code>) (defaults to: `{}`) — initial context configuration

```ruby
age:                      30..74  
blood_pressure:           90..200  
blood_pressure_treatment: true | false  
body_mass_index:          15..50  
diabetes:                 true | false  
gender:                   :male | :female  
smoker:                   true | false  
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
framingham-0.1.20130719170918 README.md
framingham-0.1.20130712221655 README.md
framingham-0.1.20130711193533 README.md