Medical professionals must take notice of mental health conditions during chronic illness diagnosis

The diagnosis of a chronic condition and the difficult reality of living with it can cause many people to struggle with coming to terms but are medical professionals doing enough to spot this as part of the treatment?