Your question talks about two unrelated concepts: medical direct detection of pain, and medical detection of abnormality below the level of overt symptoms. Those are two very different things.
I am NOT an expert in either of these. I have read some fascinating articles (no handy cite) on the idea that most chronic pain that does not respond to anagesics is psychological, not physical. The theory is that it is essentally the same mental process as worrying. These theories seem to be gaining ground in the chronic pain management community, but again I’m no expert.
Just like you can have an unpleasant memory that involuntarily keeps coming back, say of combat or a horriffic accident or a loved one’s illness & death, you can “remember” the pain you had from some injury.
To you, ie to your consciousness, it “feels” just like the real thing; you feel pain. But there is nothing going on anywhere in your body to support that. You’re just remembering the pain from a prior real event. And since this “remembering” is happening at a subconscious level, you not only don’t know that it’s effectively an illusion, you can’t control it.
And all nerve-calming pain deadening drugs in the world won’t do anything for it, since the problem doesn’t exist at the level where they work.
So as far as the OP’s question about pain detection, if this theory is true or mostly true, pain detection would really be psychological state detection, ie mind reading. That’s not a machine we’re gonna see in the clinic any time soon.
Turning to detection of abnormality before overt symptoms…
Heck, that’s what modern medicine is all about. All our chemical tests & scans & whatnot are all about learning more sooner than can be detected by the patient through overt sensations.
For a made-up example, the lower limit of detectability of a stomach tumor by the patient is when a big bulge forms poking out of his skin. That’s a symptom. With a CT or MRI scan the same tumor can be detected when it’s 2mm in diameter. And a sensitive enough antibody test might be able to detect it when it’s .02 mm in diameter & consists of just a few hundred cells.
So, yes, things like that are being developed every day to improve early detection of various abnormalities at an ever lowering thresholds.
But the idea that there would ever be a generalized abnormality detector is silly. There might be one box that can run 10,000 tests, but it’s still 10,000 individual checks for 10,000 individual abnormalities.