The Health app on iPhone and iPad allows you to take depression and anxiety assessments. Apple explicitly states that these assessments aren't a diagnosis of any medical conditions. Rather, this can help users understand the risk levels, discover resources, and create a PDF to share with their doctor.