emile.heilbron, I am not familiar with the characteristics of medical x-rays and CT scanners, being more concerned from an electronics design and manufacturing perspective.
There has been lots of work done looking into the effects of x-ray PCB inspection methods, where the modern very small geometry Flash devices nowadays ubiquitous, have been found to be very susceptible to the effects of x-rays.
After a quick search, I have come up with a few links that may be of interest:
X-ray irradiation was performed using an ARACOR Model
4100 10-keV X-ray irradiator at a dose rate of 5 krad(SiO2)/
min.
The total ionizing dose response of a triple-level-cell (TLC) NAND flash is shown to be low enough that data corruption can occur as a result of an x-ray inspection. Only a few seconds of x-ray exposure corresponding to a total dose of merely 50 rad(Si) in a real-time x-ray source are required to induce errors.
https://meridian.allenpress.com/ism/article-abstract/2016/1/000660/187897/Effects-of-x-ray-exposure-on-NOR-and-NAND-flash
In this paper, we present a detailed study on the effects of x-ray exposure on data corruption in commercially available NOR and NAND flash memory devices during x-ray inspection with a high-resolution Phoenix Nanomex system from GE. We investigated role of the x-ray tube voltage, tube current, device orientation, x-ray filters and photon energy.
The dosimetry in these studies is usually reported in rads of Silicon equivalent. I do not know how that compares with the methods adopted for medical X-rays, which I suppose assume a different ,material for bodily absorption. But, for example, the ieee paper reports that doses as low as 50 rad(Si).(i.e 50 cGy(Si) can cause corruption.
Such damage is cumulative. I.e. a chip may survive one exposure of a certain dose, but repeat exposures may steadily weaken it until the data does become corrupted.
Apparently the plastic packaging of discrete components has some shielding effect on x-rays of below 10 KV, but that protection was found to be removed when some chips were de-capped before the tests. And will of course depend on the thickness of the plastic layer. I don’t know much about the construction of the actual chip assemblies inside modern hearing aids, nor whether the outer plastic casings might themselves have some shielding effect.
I came across a table here: Radiation risk from medical imaging - Harvard Health from which it seems that the dose from one panoramic dental x-ray is about ten times higher than that from say an arm or leg x-ray (0.01 mSv vs. 0.001 mSv)
Whereas a head CT scan could be 2 mSv. Or more.
NB. these are averages, if you look at that table they also give the ranges reported in studies, which vary considerably.
Having had three head CT scans in the past year, as well as a full cerebral angiogram, and a barium swallow test, I am becoming slightly nervous about having too many more high dose procedures.
My guess is that if anything is going to zap hearing aids, it would be having a head CT scan whilst wearing them. I have no knowledge of panoramic dental x-rays, mine are done as individual ones.
I am sorry if that is not terribly helpful, but there is research out there to find.