AN inmate at Bathurst threatened in writing to put a child in hospital, a court has heard.