The type of pun used in the sentence "This hospital is known for having a lot of patience." is a B: Homophonic pun. This is because "patience" (the ability to wait) sounds like "patients" (people receiving medical care), creating a play on words based on similar sounds.
So, the correct answer is B: Homophonic pun.