A hospital has admitted responsibility for the tragic death of a baby after they wrongfully turned a motheraway.