I was thinking about the one where Worf grabbed Mott the barbers hand because there was something weird about the scissors and, when scanned, they found that Riker's hand had been removed and reattached at some point. Then they went into the holodeck and reconstructed some experimentation table...