this should be population based, but I think the logic is wrong... it should be using the keys for the population rather than Thorax.Models.Measure.allPopulationCodes

I will make that fix.