fixed comparison calculator for all hmis report