As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
EN ROUTE, CREW RECEIVED THE EICAS MESSAGE R HYD PRIM PUMP AND NOTED DECREASING HYDRAULIC QUANTITY AND PRESSURE. CREW SECURED THE RIGHT EDP. FLIGHT DIVERTED TO CLT AND LANDED WITHOUT FURTHER INCIDENT. MAINTENANCE REPLACED THE RIGHT EDP.