selectOneCode updated to include reference link