# Example 1: Eligible Standard Dose
# Positive, Day 3, 50yo, 80kg, Risk Factors, eGFR 90, No issues
paxlovid_eligibility_check(1, 3, 50, 80, 1, 90, 0, 0)
# Example 2: Eligible Renal Dose
# Positive, Day 4, 65yo, 70kg, Risk Factors, eGFR 45, No issues
paxlovid_eligibility_check(1, 4, 65, 70, 1, 45, 0, 0)
# Example 3: Contraindicated (eGFR)
# Positive, Day 2, 70yo, 70kg, Risk Factors, eGFR 20
paxlovid_eligibility_check(1, 2, 70, 70, 1, 20, 0, 0)
Run the code above in your browser using DataLab