How about extracting this expression into a method called hasWeightingChanged, and also use it in the updateDiseaseOccurrenceFinalWeighting method.