All Projects → cerner → ascvd-risk-calculator

cerner / ascvd-risk-calculator

Licence: Apache-2.0 license
SMART ASCVD Risk Calculator

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to ascvd-risk-calculator

Udacity
This repo includes all the projects I have finished in the Udacity Nanodegree programs
Stars: ✭ 57 (+23.91%)
Mutual labels:  healthcare-application
fhir-works-on-aws-persistence-ddb
A DynamoDB implementation of the FHIR Works on AWS framework, enabling users to complete CRUD operations on FHIR resources
Stars: ✭ 24 (-47.83%)
Mutual labels:  fhir
Home Assistant Hisense TV
Integration of smart TVs from Hisense on Home Assistant Core
Stars: ✭ 30 (-34.78%)
Mutual labels:  smart
ioBroker.smartcontrol
Control devices smarter: by grouping, including triggers like motion, opening window, etc. and set target devices accordingly
Stars: ✭ 20 (-56.52%)
Mutual labels:  smart
fhir-questionnaire-render-react
Render FHIR Questionnaire as a web form using FHIRFormJS
Stars: ✭ 18 (-60.87%)
Mutual labels:  fhir
m2.SmartCategory
Magento2. Extension Smart Category rules dynamically change the product selection according to a set of conditions.
Stars: ✭ 78 (+69.57%)
Mutual labels:  smart
cql
Clincal Quality Language Specification
Stars: ✭ 16 (-65.22%)
Mutual labels:  fhir
ap-monorepo
Monorepo containing all packages related to the ACTUS Protocol
Stars: ✭ 15 (-67.39%)
Mutual labels:  smart
framework
Lightweight, open source and magic-free framework for testing solidity smart contracts.
Stars: ✭ 36 (-21.74%)
Mutual labels:  smart
node-red-contrib-FIWARE official
FIWARE-Node-Red integration supporting NGSI-LD
Stars: ✭ 14 (-69.57%)
Mutual labels:  smart
slack-smart-bot
Create a Slack bot that is smart and so easy to expand, create new bots on demand, run ruby code on chat, create shortcuts... The main scope of this gem is to be used internally in the company so teams can create team channels with their own bot to help them on their daily work, almost everything is suitable to be automated!! slack-smart-bot can…
Stars: ✭ 23 (-50%)
Mutual labels:  smart
fhir models
FHIR Resource Models
Stars: ✭ 68 (+47.83%)
Mutual labels:  fhir
basisprofil-de-r4
No description or website provided.
Stars: ✭ 15 (-67.39%)
Mutual labels:  fhir
ember-mug
Reverse engineered bluetooth protocol for Ember Mugs
Stars: ✭ 87 (+89.13%)
Mutual labels:  smart
loinc2hpo
Java library to map LOINC-encoded test results to Human Phenotype Ontology
Stars: ✭ 19 (-58.7%)
Mutual labels:  fhir
Hammer
Simple, reliable FHIR validator
Stars: ✭ 27 (-41.3%)
Mutual labels:  fhir
node-on-fhir
Tech stack for building MACRA and 21st Century Cures compliant webapps.
Stars: ✭ 75 (+63.04%)
Mutual labels:  fhir
Devices
All the Candle Arduino code
Stars: ✭ 18 (-60.87%)
Mutual labels:  smart
AHRQ-CDS-Connect-Authoring-Tool
The CDS Authoring Tool is part of the CDS Connect project https://cds.ahrq.gov/, sponsored by the Agency for Healthcare Research and Quality (AHRQ), and developed under contract with AHRQ by MITRE's CAMH FFRDC.
Stars: ✭ 32 (-30.43%)
Mutual labels:  fhir
RonFHIR
R on FHIR
Stars: ✭ 49 (+6.52%)
Mutual labels:  fhir

ASCVD Risk App

ASCVD Risk App is a web application built using React, ES2015, SMART, and FHIR technologies.

The ASCVD Risk Calculator is a tool intended to help users find an estimate for their cardiovascular risk according to the 2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk and the 2013 ACC/AHA Guideline on the Treatment of Blood Cholesterol to Reduce Atherosclerotic Cardiovascular Risk in Adults. Specifically, this tool allows users to estimate a 10-year and/or lifetime risk for atherosclerotic cardiovascular disease (ASCVD). These scores are estimated based on the Pooled Cohort Equations and lifetime risk prediction tools.

The tool also has the ability to simulate a potential reduction in risk based on the risk factors taken into account to calculate the score. This allows a user to see how one or several actions could help to reduce their risk of ASCVD. Along with this, the tool calculates a lowest possible risk score determined by lowest possible values for the labs taken into account to calculate risk, and considering the user is not currently a diabetic, is not smoking, and is not taking treatment for hypertension.

This tool is intended for those with an assumed LDL - Cholesterol < 190 mg/dL, and the following are a number of factors required to calculate an estimated ASCVD risk:

  • Sex
  • Age
  • Race
  • Total Cholesterol
  • HDL - Cholesterol
  • Systolic Blood Pressure
  • Diabetes status
  • Current Smoking status
  • Treatment for Hypertension status

The risk scores calculated by this tool and any recommendations provided are intended to inform, and should not supersede any findings or opinions by a care provider.

10-Year ASCVD Risk

The 10-year risk estimate provided by this application is primarily applicable towards African-American and non-Hispanic white men and women between the ages of 40 and 79 years. Other ethnic groups will have their score calculated with the same equation for non-Hispanic white men and women, though the score estimated may underestimate or overestimate the risk for these persons.

Lifetime ASCVD Risk

The lifetime risk estimate provided by this application is primarily applicable towards non-Hispanic white men and women between the ages of 20 and 59 years. The score calculated will be under the impression of a 50-year old without ASCVD with the relevant factors entered in this calculator by the user. Similar to the 10-year risk estimate, other ethnic groups will have their score calculated with the same equation for non-Hispanic white men and women, though the score estimated may underestimate or overestimate the risk for these persons.

App Design

Results Risk Factors Graph Risk Factors Simulated Risk Recommendations

Running Locally

This project uses the webpack-dev-server to run the application locally. In order to test reflected changes from editing any code locally off the app, components, or views folders, there are a few steps to configure the project:

  1. Install NPM and install/update Node
  2. Run npm install to install all dependencies onto the project
  3. Run npm start to start the server on port 8080 of localhost
  4. Using a patient from the smarthealthit open FHIR DSTU2 endpoint, launch with this link: localhost:8080/launch.html?fhirServiceUrl=https%3A%2F%2Ffhir-open-api-dstu2.smarthealthit.org&patientId=1768562

Build

This project uses webpack to build the application and will generate a bundle.js and styles.css file inside the build/ directory that includes the necessary dependencies and core application code.

To create the build files, run the command: npm run build in the root directory of this project. These files are referenced in the HTML file index.html. The build/ folder in the project acts as the final version of these files to be used in production.

App Development and Project Structure

The following tree closely aligns with Hierarchy of the React Components.

Entry
|--ErrorContainer
`--App
   |--Header
   |--Navbar
   |--PatientBanner
   |--Recommendations
   |  `--DetailBox
   |--Form
   |  |--ButtonForm
   |  |--InputTextForm
   |  |--RadioButtonForm
   |  `--SendForm
   `--Results
      |--Graph
      |  `--GraphBar
      `--SimulatedRisk
         `--RiskAction

When making changes locally, first make changes at the component level located in components/ and views/ or the ASCVDRisk model located at app/load_fhir_data.js. The three main views of this project are:

  • Results: Form page (initial view)
  • Risk Factors: Graph and Simulated Risk sections
  • Recommendations: Detailed recommendation boxes

The central state of the React application is in the /components/App/app.jsx file. This also includes handling navigation throughout the application.

When changes are verified locally, run the build (see Build section above) to bundle all changes made.

Testing and Linting

This project uses the Jest testing framework for unit testing React components, and the Mocha testing framework for unit testing the ASCVDRisk object model. Tests are available under the tests/ folder in the root of the project directory.

Run the following command to run all unit tests: npm test

This project uses the ESLint tool to lint all application-facing ES6 Javascript and JSX files using the Airbnb JavaScript Style Guide. The configuration for this tool is found in the root of the project directory in the .eslintrc file.

Run the following command to lint the project: npm run lint

Issues

Please browse our existing issues before logging new issues

Contributing

See CONTRIBUTING.md

License

Copyright 2017 Cerner Innovation, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].