Tasmanians are being urged to stay away from the state's two main public hospitals unless it's an emergency because of significant demand.