# Example 1: High Risk
# Age 80 (+3), LDH 4x (+2), Bone Marrow (+1), Stage IV (+1), ECOG 2 (+1)
# Score = 8
nccn_ipi_score(80, 4.0, "bone_marrow", 4, 2)
# Example 2: Low Risk
# Age 35 (0), Normal LDH (0), No high-risk sites, Stage I (0), ECOG 0 (0)
# Score = 0
nccn_ipi_score(35, 0.8, "none_or_other", 1, 0)
Run the code above in your browser using DataLab