Hospitals and insurers would be forced to disclose their secret negotiated rates for the first time under a far-reaching plan released Friday by the Trump administration.

Administration officials said the final rule will compel hospitals in 2021 to publicize the rates they negotiate with individual insurers for all services, including drugs, supplies, facility fees and care by doctors who work for the facility.

The...