In 2367, while exploring a cavern on Alpha Onias III, Commander William T. Riker was rendered unconscious by gases. While unconscious, neural scanners scanned Riker's brain. The scanners used elements of Riker's reality and constructed a holodeck simulation with those elements interspersed throughout, so that it felt real to him. What Riker wanted, the scanners made possible.
In one of these simulations, on stardate 46179, Commander Riker was awarded the Grankite Order of Tactics (Class of Excellence) for his role in the Zavolta Planetary Geosciences Survey Expedition. In 2383, this expedition was mentioned in Riker's service record that was on display in his quarters on the Enterprise-D. (TNG: "Future Imperfect", okudagram)