ImmunoID Methods
ImmunoID provides an educational estimate of immunosuppression intensity based on selected agents. The score is a heuristic and does not replace clinical risk assessment.
1) Agent-Level Base Score
Each medication in lib/immunoData.ts has a curated baseScore (higher = stronger expected immunosuppressive effect in typical use).
Base sum = Σ(baseScore for all selected agents)
2) Combination Penalty
To reflect additive risk when multiple immunosuppressive drugs are combined, ImmunoID adds a fixed penalty per extra agent.
if n < 2: comboPenalty = 0
if n >= 2: comboPenalty = (n − 1) × 1.5
3) Final Score
The displayed score is the base sum plus combination penalty, rounded to one decimal place.
totalScore = round((Base sum + comboPenalty) × 10) / 10
4) Level Mapping
The score is converted to one of four qualitative levels:
score ≤ 3 → Low
3 < score ≤ 6 → Moderate
6 < score ≤ 9 → High
score > 9 → Very High
5) Infection Risk Tag Aggregation
Each agent carries curated infection risk tags (for example: PJP, TB reactivation, CMV, invasive mold). For each selected tag, ImmunoID:
- Takes the maximum strength across selected agents
- Deduplicates reasons (mechanistic notes)
- Lists all linked medications that contributed to that tag
- Sorts tags by strength (highest first)
Strength labels in UI
- 3 → High-yield
- 2 → Common
- 1 → Possible
6) Important Limits
- The score is not a validated prediction model for any single infection outcome.
- It does not yet account for dose, duration, timing from last dose, labs, or prophylaxis in a formal equation.
- Risk estimates should always be interpreted with host factors, epidemiology, and local protocols.