Talk to your lawyer. If you don't have a lawyer yet, retain a lawyer then talk to your lawyer. We don't have enough context here to even know why this is an issue, let alone why it is potentially affecting your custody case.

Isn't your nurse practitioner working under the supervision of a doctor? Perhaps this can be resolved with a letter from the doctor.