As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS NOT GROUNDED: AN EMERGENCY WAS DECLARED AND THE AIRCRAFT DIVERTED TO LHR DUE FLIGHT CREW REPORTING EICAS MESSAGES FOR BLEED LOSS WING R AND FOR PACK R. THE AIRCRAFT LANDED SAFELY AT LHR. MAINTENANCE REPLACED RIGHT ENGINE BLEED SWITCH M36113S6. ACCOMPLISHED SATISFACTORY TEST PER AMM TASK 36-10-00-700-804.