My wife has been getting pains under her diaphram and below her right ribs 45 minutes to an hour after eating fatty foods?

How long? See MD. Could be gall bladder attack (acute cholecystitis): stone gets stuck trying to pass out of gallbladder; pain, sometimes radiating to back, often with vomiting. If with fever, datk urine, jaundice-stone in common bile duct and infection. Could be ulcer related, bile duct issues, including tumors (less likely); could be irritable bowel, other bowel issues. Need to see a doc asap.
Gallbladder. Stop eating fatty foods, get a sonogram, see a physician fast.