Then there's Lampent's. The spirits it absorbs fuel its baleful fire. It hangs around hospitals waiting for people to pass on.
... Okay, what's the problem there? Are you confused about the idea of hospitals?
Have you seen any hospitals in Pokemon games? Pokemon Centers are for Pokemon only. I've seen Nurses and Doctors but no hospitals.
Right. You've found the plothole. Clearly because they're not drawn in the games, it means that despite all of their technology, the Pokemon world has not created the "Hospital". It has nothing to do with those being large complex things that would add nothing to the game or atmosphere (much like toilets and cars), it's because Hospitals literally do not exist in the Pokemon universe.