Predictive modeling of depression and anxiety using electronic health records and a novel machine learning approach with artificial intelligence