finish diagnosis application