As my comment implies, nearly everything else in Cuba is dysfunctional.
In one sense the Cuban healthcare system is mediocre, since it suffers from the shortages that plague the entire nation.
But that's like saying Cuban auto mechanics, who also suffer from shortages, are mediocre, despite their ability to keep the island's 70 year old American cars and Yugos in pristine condition.
What good is “healthcare” is you don’t have basics like antibiotics and wound dressings? The idea that Cuba healthcare is anything but terrible is a myth. Any stats coming from the Cuban government about health outcomes shouldn’t be taken seriously, they don’t allow any independent investigation and medical professionals can’t freely publish research.