Characterization and generalization of fuzzy information measures and their role in coding and medical diagnosis