I've had several Pancreatitis attacks over the years. I'm a guy, and a wimp, so when I cry (I cry ALOT), the docs listen... I jest a bit, but my wife doesn't get the same treatment I do when she ends up in the ER or at the dox office... ANYway, they should have been able to diagnose you almost immediately with blood work from the first day. While they would do other confirmation work, from what I understand from my visits to the ER, what they based my treatment on was the enzyme levels. Not that there's much treatment for it, other than pain management, and then a *very* restricted diet until things calm down. You do NOT mess around and dilly-dally with pancreatitis.
Now here's a "kicker" for you... The pancreas is an endocrine gland; so is the thyroid... if one endocrine gland gets attacked by auto-immune, there will almost always be at least one other that does, whether it'd be the adrenals or whatever. It's like the endocrine system is "sympathetic" to it's parts (brain fog, can't think of the proper words). If they haven't done any CAT scans, and they go to, be sure they use contrast also, and do them both in one day (they usually separate them into upper (kidneys in picture) & lower (no kidneys) also)...
"There but for the grace of God, go I."
"... His mercy endureth for ever."