Design of a computer-assisted anticoagulant dosing system