Man who allegedly assaulted doctor ordered not to enter hospital, make contact with victim