Applied getTypeValue() to currentBarcode y, fatherBarcode y, and motherBarcode y mapY functions.