We develop a formal model to show how integration solves task allocation problems between organizations and test the predictions of the model, using a large and rich patient-level dataset on hospital discharges to nursing homes and home health care. As predicted by the theory, we find that...