The IRS is maintaining such a database on our income with programs that are probably 30 or 40 years old.
I think a medical database is much more difficult. I’ve worked with databases for inventory & it’s simple fields for simple data. Our IRS data would be similar - name, address, income, etc. A medical database would have to have lots of text. That’s not so easy in a database. My friend didn’t really go into what issues they couldn’t address, but that’s my take on it.