If at any time during the course of the proceedings it is brought to the attention of the court that a person or entity has failed to comply with a discovery request, the court may order the person or entity to permit the discovery or inspection of evidence, grant a continuance, or upon a showing of prejudice and bad faith, prohibit the party from introducing in evidence the information not disclosed or presenting the witness not disclosed, or enter such other order as the court deems just under the circumstances. The court may specify the time, place, and manner of making the discovery, inspection, and interview and may prescribe such terms and conditions as are just.