A model-based algorithm for the monitoring of long-term anticoagulation therapy