Dr. Siavash Ghoreishi told the court he used ChatGPT to help answer whether he could write a prescription for a family member.