Appearing at Falkirk Sheriff Court last Thursday, Ferguson (19) had previously pleaded guilty to behaving in a threatening manner at the hospital on March 24 last year.
Sheriff Derek Livingston said: “You cannot continue behaving in what is a regularly disorderly manner."
He placed Ferguson, 125 Central Avenue, Grangemouth on a 7pm to 7am restriction of liberty order for three months.