OHDSI Home | Forums | Wiki | Github

Calculating a risk score, such as the ASCVD Risk Estimator+

This post is part of a series showcasing my new R package Phea for electronic phenotyping.

The Atherosclerotic cardiovascular disease (ASCVD) events Risk Estimator Plus (ASCVD Risk Estimator+, or ASCVD+ for short) is a clinical score for estimating the 10-year probability of said events.

It was developed by the American College of Cardiology/American Heart Association Task Force on Practice Guidelines and published on journal Circulation in November 12, 2013 (https://doi.org/10.1161/01.cir.0000437741.48606.98).

They ACC provides a calculator at ASCVD Risk Estimator +:

How would you go about computing that score for all patients in a database, at all points in time?

R package Phea can help you do that. Here is how the results look like for one patient:



See the full ASCVD+ vignette here, or check out Phea on GitHub.

Phea is just a SQL query builder. The final SQL code that computes ASCVD+ is in the vignette. It is a single SQL query. You can get that query and take it elsewhere, if wanted.

Kind regards!

1 Like
t