Since this is not my domain of expertise I can’t advice on how your algorithm should make calculations. But you can do 11 drugs at once using widgets and case switches. Or you can go the column expression route with simple if-then statements.