A man has been sentenced at Derry Magistrate's Court charged with disorderly behaviour in Altnagelvin Hospital.