Understaffing and insufficient resources have led to poor quality care and a surge of medicolegal claims in South Africa