A functional biliary sphincter of Oddi disorder is diagnosed when the Rome IV criteria are met, in the absence of cholelithiasis or a structural etiology to the pain, plus elevated aminotransferases or a dilated common bile duct (but not both).