| acute_pancreatitis_prediction_model | R Documentation |
Calculates a prediction score for the likelihood of acute pancreatitis in patients presenting with elevated lipase. A score of 6 or greater suggests a high probability of acute pancreatitis, helping to differentiate it from other causes of hyperlipasemia.
acute_pancreatitis_prediction_model(prior_episodes, cholelithiasis, recent_surgery,
epigastric_pain, worsening_severity,
pain_duration_days, pain_severity_score,
lipase_uln_multiplier)
prior_episodes |
Numeric. Number of prior acute pancreatitis episodes. (0-1 = 0 pts; 2 = +2 pts; 3 = +3 pts; >=4 = +4 pts). |
cholelithiasis |
Numeric (0 or 1). History of cholelithiasis (gallstones). (1 = Yes, +2 pts). |
recent_surgery |
Numeric (0 or 1). Abdominal surgery within the prior 2 months. (1 = Yes, -2 pts). |
epigastric_pain |
Numeric (0 or 1). Presence of epigastric pain. (1 = Yes, +2 pts). |
worsening_severity |
Numeric (0 or 1). Is the pain worsening in severity? (1 = Yes, +1 pt). |
pain_duration_days |
Numeric. Duration of pain in days. (1-5 days = +1 pt; otherwise 0). |
pain_severity_score |
Numeric. Pain severity on a scale of 0-10. (0-3 = 0 pts; 4-6 = +2 pts; 7-10 = +3 pts). |
lipase_uln_multiplier |
Numeric. Serum lipase level expressed as a multiple of the Upper Limit of Normal (ULN). (3 to <10 = 0 pts; 10 to <20 = +1 pt; >=20 = +2 pts). |
A list containing:
Total_Score |
The calculated prediction score. |
Risk_Assessment |
"Low Risk" or "High Probability" based on the cutoff of 6. |
Jang DK, et al. Development and Validation of a Prediction Model for Acute Pancreatitis in Patients with Elevated Serum Lipase. Sci Rep. 2019.
# Example 1: High Probability
# No prior eps, Stones present (+2), No surgery, Epigastric pain (+2),
# Worsening (+1), 2 days duration (+1), Severe pain (+3), Lipase 25x (+2)
# Score = 2 + 2 + 1 + 1 + 3 + 2 = 11
acute_pancreatitis_prediction_model(0, 1, 0, 1, 1, 2, 8, 25)
# Example 2: Low Risk
# 1 prior ep (0), No stones, Recent surgery (-2), No epigastric pain,
# Not worsening, 10 days duration (0), Mild pain (0), Lipase 5x (0)
# Score = -2
acute_pancreatitis_prediction_model(1, 0, 1, 0, 0, 10, 2, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.