I would absolutely make sure that both the surgeon and the anesthesia provider are clear on your diabetes management. I spent years working in an operating room and have seen many T1Ds on pumps on the table for surgery. Depending on the type of procedure you’re having, you may or may not be able to keep the pump on during the procedure. Also, and very important, is that the type of anesthesia you are receiving may affect your insulin requirements. The only other people who may be involved with your insulin dosing are the post-operative nursing staff, so type something out ahead of time about your medications and your pump, especially if you expect to be out of it for awhile.
As a side note to your original point on health care workers knowledge about diabetes, please take my advice and trust no one. As a T1D who is also a midlevel provider (or VERY soon to be) I am AMAZED on a daily basis, not on the lack of understanding, but the presumed understanding. That is, its not that health care workers don’t know about diabetes, its that they THINK they know about diabetes when they clearly do not. Most, but not all, of the nurses you will encounter in the hospital know very little about diabetes mgmt (unless they work in endo). And the knowledge only barely increases as you work up the clinical ladder to physicians. Just today, a supervising family practice PA spewed such a torrent of nonsense on diabetes to a diabetic patient I was seeing that it was all I could do to keep my mouth shut (it wasn’t affecting his ultimate care, so I didn’t bother).
Sorry for the long rant, just home from clinic and had to get that out!