We take explicit account of the way in which the supply of physicians and patients in the economy affects the design of physician remuneration schemes, highlighting the three-way trade-off between quality of care, access, and cost. Both physicians and patients are heterogeneous. Physicians choose both the number of patients and the quality of care to provide to their patients. When determining physician payment rates, the principal must ensure access to care for all patients. When physicians can adjust the number of patients seen, there is no incentive to over-treat. In contrast, altruistic physicians always quality stint: they prefer to add an additional patient, rather than to increase the quality of service provided. A mixed payment mechanism does not increase the quality of service provided with respect to capitation. Offering a menu of compensation schemes may constitute a cost-effective strategy for inducing physicians to choose a given overall caseload but may also generate difficulties with access to care for frail patients.