The 20-month-old was taken to hospital after officers went to a property in Mansfield.