Unfortunately, mandated reporting laws outweigh medical privacy ones. If the hospital "has reasonable cause to believe that a child is suffering physical or emotional injury resulting from: (i) abuse inflicted upon him which causes harm or substantial risk of harm to the child’s health or welfare, including sexual abuse; (ii) neglect, including malnutrition; or (iii) physical dependence upon an addictive drug at birth" it must report to DCF. Then DCF must investigate and "Notwithstanding any privilege created by statute or common law relating to confidential communications or any statute prohibiting the disclosure of information but subject to subsection (j) of section 51A, a mandated reporter shall answer questions and provide information posed by the department relating to an investigation conducted under this section". So, it only matters if they think it affects how your child is cared for.
NOTE: This answer is made available by the lawyer for educational purposes only. By using or participating in this site you understand that there is no attorney client privilege between you and the attorney responding. This site should not be used as a substitute for competent legal advice from a licensed professional attorney in your area who regularly practices in the subject matter which your question is about. You should develop an attorney client relationship with the lawyer of your choice so that your communications will be subject to the attorney client privilege and have the other benefits of a professional relationship. The law changes frequently and varies from jurisdiction to jurisdiction. The information and materials provided are general in nature, and may not apply to a specific matter as partially described in the question.