So glad you got a real work-up and got at least some answers. If you pancreas is unhappy, it's probably best to stick with a diet that won't stimulate it. Pancreatitis has many causes, including surgery in that area, so when you see your pcp, ask for diet recommendations for pancreatitis. I think you'll feel much better when that problem improves.
And, if it doesn't improve, it's back to the ER for you, because pancreatitis can have serious complications.