The Colombian health system has two main types of agents: the insurers and the service providers, which interact with each other through bilateral contracts. The types of contracts that these agents can write is restricted to a limited menu established by the regulator. The two most prevalent types of contract in the data are, by far, capitation contracts and fee-for-service contracts, which distribute risk and incentives differentially across both parties. We use a detailed data set of services and payments of all insurers and service providers at the individual user level to study the determinants of contract choice and their effect on health outcomes of a large sample of patients with chronic diseases. We focus on patients who are identical at the type of diagnosis, except for the contract type under which they are served, and show that capitation contracts are strongly correlated with lower rates of return to emergency care and lower rates of reincidence, compared with fee-for-service contracts. Both types of contracts lead to statistically different treatment paths. These results are consistent with contract theory and the economics of asymmetric information. Moreover, we show that the contract type depends on the market power of insurers and providers as predicted by a bargaining model. More generally, the results highlight the relevance of vertical contracts for the performance of health systems.