As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: AN EMERGENCY ON WAS DECLARED ON APPROACH DUE TO FLAPS SELECTED 30 BUT GAUGE INDICATION READ 5, AIRCRAFT LANDED SAFELY AT ORD WITHOUT FURTHER INCIDENT. REPLACED RIGHT FLAP POSITION TRANSMITTER. FUNCTIONAL CHECK GOOD. PER AMM 27-58-01.