GET api/score/{gender}/{age}/{ethnicity}/{diabetes}/{smoke}/{fhhx}/{chol}/{hdl}/{sbp}/{lipid}/{htnmed}/{cac}
Calculate CHD Risk Scores, returns cac_riskscore, nocac_riskscore
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| gender |
Gender f/m |
string |
Required |
| age |
Age 45-85 |
integer |
Required |
| ethnicity |
Race/Ethnicity 1=Caucasion 2=Chinese 3=African-American 4=Hispanic |
integer |
Required |
| diabetes |
Diabetes 0=No 1=Yes |
integer |
Required |
| smoke |
Currently Smoke 0=No 1=Yes |
integer |
Required |
| fhhx |
0=No 1=Yes |
integer |
Required |
| chol |
Total Cholesterol, mg/dL |
integer |
Required |
| hdl |
HDL Cholesterol, mg/dL |
integer |
Required |
| sbp |
Systolic Blood Pressure, mmHg |
decimal number |
Required |
| lipid |
Lipid Lowering Medication 0=No 1=Yes |
integer |
Required |
| htnmed |
Hypertension Medication 0=No 1=Yes |
integer |
Required |
| cac |
(Not required) Coronary Artery Calcification, Agatston |
integer |
Default value is -9 |
Body Parameters
None.
Response Information
Resource Description
Dictionary of string [key] and string [value]Response Formats
application/json, text/json
Sample:
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringstring>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</KeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 3</Key>
<Value>sample string 4</Value>
</KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>