Heparin plasma level and activated partial thromboplastin time