Measuring the impact of medical care on children