}
int gen = pc.getGenderCode().intValue();
if (Integer.valueOf(gen) != null ) {
SevenValDKRefusedHashingChoice sevenValDKRef_hc = new SevenValDKRefusedHashingChoice();
SevenValDKRefused sevenValDKRef = new SevenValDKRefused();
gen = GenderMap.map(gen);
if (gen != -1) {
sevenValDKRef.setValue((long)gen);
sevenValDKRef_hc.setUnhashed(sevenValDKRef);
p.setGender(sevenValDKRef_hc);
}
}