all clinical calculators so far - JSON input

categories: cardiology   endocrinology   hepatology   json   body mass index   basal metabolic rate   atherosclerotic cardiovascular disease   ast to platelet ratio   alcoholic liver disease to NAFLD index
This has calculators for basal metabolic rate, body mass index, cardiac risk estimates, and liver assessments. It can generate usable output for lifestyle change that a patient can use after the visit. There is a legend with more detail below.
This is the possibly intimidating JSON version of the calculator (see below for details). The more intuitive version is here
The two columns separated by a colon are JSON (JavaScript Object Notation) format. If you enter data here manually you should only change the items in the second column. An alternative (and more exciting) use of this JSON input box is to get the output directly from your Electronic Health Record (EHR). Most (all?) EHRs have a templating capability which will allow you to make output that you can paste into the box below. This speeds things up and imparts less transcription error risk.
The output below is not sent anywhere or saved. You can copy it along with the JSON data from today so you've got a record of what you did and you can recreate it next time you see the patient.
Submit the form both by either pressing enter or clicking the 'Try it' button.








The result has been copied to the clipboard.
Legend
Gendermale or female
Agecan be from 30 to 79 years
Current tobacco useyes or no
Diabetesyes or no
Hypertension medicationyes or no
Cholesterol medicationyes or no
Total cholesterol0 to 320 mg/dL
HDL cholesterol20 to 100 mg/dL
eGFR15 to 140
Systolic blood pressure90 to 200 mm Hg
Urine albumin to creatinine ratio0 to 25000 mg/g -- UACR is clinically indicated for individuals with chronic kidney disease, diabetes, or hypertension.
Hemoglobin A1c3 to 15% -- HbA1c is clinically indicated for individuals with diabetes, prediabetes, overweight, or obesity, or those with history of gestational diabetes.
Weightpounds
Heightinches
ZIP codeThe 5 digit code. ZIP code is used to retrieve the SDI (Social Deprivation Index) decile. Lower SDI decile values are more favorable. A little more detail on this is at this page.
alanine transaminase (ALT)U/L
aspartate transaminase (AST)U/L
aspartate transaminase (AST) upper limit of normal (ULN)default is 37 U/L
mean corpuscular volume (MCV)fl
plateletscount x 1000
References and Notes
This uses the Schofield equation to calculate Basal Metabolic Rate.WHO. 2001. Human energy requirements: Report of a Joint FAO/WHO/UNU Expert Consultation. Rome.
Schofield WN. Predicting basal metabolic rate, new standards and review of previous work. Hum Nutr Clin Nutr. 1985;39 Suppl 1:5-41.
Cardiovascular risk calculationKhan SS, Matsushita K, Sang Y, et al. Development and Validation of the American Heart Association Predicting Risk of Cardiovascular Disease EVENTs (PREVENT) Equations. Circulation 2023.
Khan SS, Coresh J, Pencina MJ, et al. Novel Prediction Equations for Absolute Risk Assessment of Total Cardiovascular Disease Incorporating Cardiovascular-Kidney-Metabolic Health: A Scientific Statement From the American Heart Association. Circulation 2023;148(24):1982-2004.
Social Deprivation IndexSocial deprivation index (SDI). Robert Graham Center - Policy Studies in Family Medicine & Primary Care. (2018, November 5). Retrieved July 28, 2024.
AST to Platelet Ratio (APRI)Wai CT, Greenson JK, Fontana RJ, Kalbfleisch JD, Marrero JA, Conjeevaram HS, Lok AS. A simple noninvasive index can predict both significant fibrosis and cirrhosis in patients with chronic hepatitis C. Hepatology. 2003 Aug;38(2):518-26.
Alcoholic liver disease to NAFLD Index (ANI)Dunn W, Angulo P, Sanderson S, Jamil LH, Stadheim L, Rosen C, Malinchoc M, Kamath PS, Shah VH. Utility of a new model to diagnose an alcohol basis for steatohepatitis. Gastroenterology. 2006 Oct;131(4):1057-63.
This page works offline and may be saved for offline use.