The British Immigration Service has the right to make such requests to inbound passengers. Usually, if you have a health certificate (commonly known as "yellow book") issued by the entry-exit quarantine office in China, you can reduce this procedure. Otherwise, it is required to have a physical examination in China.
Physical examination needs to be in the medical and health institutions designated by the consulate, usually in provincial capitals or big cities.