CodeMapper: semiautomatic coding of case definitions. A contribution from the ADVANCE project