Diagnosing functional dyspepsia involves excluding other possible conditions like acid reflux, ulcers, and slow stomach emptying. Sometimes, a lack of response to strong acid suppression treatment can indicate functional dyspepsia. A comprehensive assessment may be needed for an accurate diagnosis.