MIAMI (AP) A Miami federal judge has refused to dismiss a lawsuit filed by New York Giants lineman Jason Pierre-Paul against ESPN over disclosure of his medical records from a 2015 fireworks accident.

Pierre-Paul attorney John Lukacs said Judge Marcia Cooke issued her ruling Thursday after a hearing on ESPN's motion to dismiss. The case is set for an August 2017 trial.

Pierre-Paul was hospitalized in Miami after the Fourth of July accident, which caused serious injury to his right hand. The lawsuit claims ESPN and a network reporter violated his privacy and Florida medical confidentiality laws by posting the records on social media.

More from FoxSports

The network argued the records merely bolstered a news report. An ESPN spokeswoman did not return a call seeking comment.

Pierre-Paul is listed as the Giants' starting left defensive end.