TheJackBright's picture
Deploy GitHub root master to Space
c296d62
"""Medication burden helpers."""
from __future__ import annotations
def compute_burden_score(med_count: int, high_risk_count: int = 0) -> float:
return max(0.0, min(1.0, med_count / 12.0 + high_risk_count * 0.04))