After you file

It doesn't have to be a doctor's letter.

any evidence that child lives with you.

 

a letter from other parent indicating that you are the custodian would be good.

 

See IRS Form 14815-A here

https://www.irs.gov/pub/irs-pdf/f14815a.pdf