As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ENROUTE HYD CAUTION 1B AND 2B DISPLAYED. EMERGENCY DECLARED. QRH FOLLOWED. MSGS CLEARED. (FLT#5675) CLOSED REMOVED AND REPLACED RT FLAP POSITION TRANSMITTER IAW AMM. RAN OPERATIONAL TEST OF ACMP IAW AMM TO VERIFY THE CORRECT ACTION WITH HYDRAULICS AND FLAP POSITION. OPS CHECK GOOD.