An investigation of the factors influencing the choice of healthcare facility in South Africa