I have two ideas for automatic machines in hospitals.
One is hand sanitizer dispensers that counts people entering rooms and beeps until all have used the machine, or even until all people already in the room have used it.
It's notoriously hard to get people to use hand sanitizers.
The other is convenient and fast dispensers that counts tools and sponges as they are used.