I think the father does not need to tell the doctor.
Just say the boy was hit hard by a baseball. (The father knows that he made a mistake and is willing to be responsible for it. That is good enough. The child forgave him. No need to get things unnecessarily complicated.)