This is the technology that Ridley Scott described in the 2017 science fiction horror film "Alien: Covenant" directed and produced by Ridley Scott and written by John Logan and Dante Harper, from a story by Michael Green and Jack Paglen.
The computer on the colony-mother-ship spaceship tried to analyze the planet before landing a module-ship on the surface, and there is a little scene where "mother" was still analyzing all the hazards once the sub-orbital spaceship landed on the surface. In the movie, the cut and compressed these scenes, and the watcher can just enjoy the last check before opening the hatch and letting the crew come out ... and get infected by alien spores.
The current climate (Covid-19), especially incentives us to develop, such sensors, in real life. Especially something like a hand-held scanner, which can reliably check aircraft passengers, are free from Virus's. As they first enter a Country, trying to prevent current and/or new variants, of some kind of virus (such as Covid), from entering the country.
I would imagine, in time, perhaps 5 to 50 years in the future. Possibly sooner, because of all the current research, or later, if it proves to be a very difficult problem, technically to solve.
A bit like the current hand-held fever temperature, infra-red meters, that some countries like China, seem to have used, during the epidemic.
But much more sophisticated, I suppose a sort of tiny/miniature MRI type of machine, or similar. Tuned in to detect virus's and/or people currently suffering from virus infections, that need more extensive testing/screening for dangerous infectious diseases.
Or a tiny and portable, electron microscope, with AI vision, to recognize and warn of dangerous or unknown, virus's in the air.
These considerations made me to think about my grandfather's death
He was one of those who build highway tunnels by digging in the mountains. He died 30 years ago, and frankly there was the technology to protect his life, but the company sent him to dig into the mountain, neither bought adequate protection against fine stone dust, nor they carried out studies on the health of workers.
He died because he inhaled too much fine dust that lodged in his lungs.
Sorry to hear that. Over the years, safety standards, seem to be generally improving. Safety standards were not particularly good, 30 years ago. Take cars as an example. Older ones didn't even have seat belts fitted, later they were fitted, but no law needing drivers to wear them.
Later laws to wear seat belts, air-bags in cars, etc etc.
Several decades ago, face masks, eye protection, hearing protection devices, were not necessarily worn by workers. Probably, fifty years from now, people will wonder how we led so dangerous lives.
With the various new rules and devices, which protect/save people and the planet, from harm.