# Example 1: MELD-Na Adjustment Applied
# Bili 2.0, INR 1.5, Cr 1.5, Na 125 (Low Na increases score)
calculate_meld_score(2.0, 1.5, 1.5, 125, 0)
# Example 2: Standard MELD (Score <= 11)
# Bili 1.0, INR 1.0, Cr 1.0, Na 135
# Score = 6
calculate_meld_score(1.0, 1.0, 1.0, 135, 0)
Run the code above in your browser using DataLab