Two-year-old girl dies after being discharged from hospital hours later.