From this answer:
The Rambam (Bias Mikdash 6:7) states clearly that a Kohain whos Kidney was removed is NOT considered a Baal Mum.
אֵין פּוֹסֵל בָּאָדָם אֶלָּא מוּמִין שֶׁבְּגָלוּי. אֲבָל מוּמִין שֶׁבַּחֲלַל הַגּוּף כְּגוֹן שֶׁנִּטַּל כֻּלְיָתוֹ שֶׁל אָדָם אוֹ טְחוֹל שֶׁלּוֹ אוֹ שֶׁנִּקְּבוּ מֵעָיו אַף עַל פִּי שֶׁנַּעֲשָׂה טְרֵפָה עֲבוֹדָתוֹ כְּשֵׁרָה שֶׁנֶּאֱמַר (ויקרא כא יט) "שֶׁבֶר רָגֶל אוֹ שֶׁבֶר יָד" מָה אֵלּוּ בְּגָלוּי אַף כּל בְּגָלוּי:
But according to wikipedia,
The first successful nephrectomy [= kidney removal] was performed by the German surgeon Gustav Simon on August 2, 1869 in Heidelberg.
So how did the Rambam know it was possible?
(The Kesef Mishneh brings the Rambam's sources as the Mishna and Tosefta, but neither gives the kidney example.)