A man was in court today charged with escaping custody after an incident at Bradford Royal Infirmary.