(a) If a request for discovery is refused, application may be made to the court for a written order granting discovery.
(b) Motions to compel discovery shall certify that a request for discovery was made and was refused.
(c) An order granting discovery shall require reciprocal discovery.
(d) The court may deny, in whole or in part, or otherwise limit or set conditions concerning discovery upon sufficient showing by a person or entity to whom a request for discovery is made that disclosure of the information would:
(1) Jeopardize the safety of a party, witness, or confidential informant;
(2) Create a substantial threat of physical or economic harm to a witness or other person;
(3) Endanger the existence of physical evidence;
(4) Disclose privileged information; or
(5) Impede the criminal prosecution of a child who is being prosecuted as an adult or the prosecution of an adult charged with an offense arising from the same transaction or occurrence.