I'm a doctor, and whilst I despise carrying a pager it does have some benefits over more modern alternatives in some scenarios.
Mobile (cell) reception in hospitals is generally very poor and wifi connectivity is also generally poor. Trying to rely on either of those to deliver critical communication (e.g. bleeps to the crash team to respond to a cardiac arrest) is more unreliable than the hospital blasting a simple radio signal that any pagers within a few mile radius will always receive and decode appropriately.
For less critical communications (e.g. where you might bleep someone to contact them to a refer a patient to their specialty) there is a (slow) move towards messaging apps or email. These solutions do not yet have the immediacy and reliability of a simple pager for critical applications.