An aging U.S. population and lower risk of replacement by A.I. has contributed to strong demand for health care workers.