When looking at data, an otherwise healthy 20 year old, and an 80-something with multiple chronic and/or terminal Dx's, would stand out.
The challenge in looking at population-level data is that the Dx may well not be available, though other indicia might suggest this (e.g., residence is an assisted-living or long-term care facility). In practice, studies are frequently limited to available data, and proxies are frequently used. These may not be appropriate for specific individuals, but at scale, the law of large numbers and general correlation are your friends.
In 1999, teen (15-19) suicide was at around 8/100k, and it's now around 11/100k. It's lower in absolute numbers than in the general population, but there's still a disturbing uptick.
https://www.charliehealth.com/research/the-us-teen-suicide-r...
But it would be extremely unknowable whether or not they had experienced suicidal ideations, and how long they had had them. Because the most you will get is a note in the medical chart, based on a verbal claim by an unreliable narrator.