private Map<ParticipantOption, String> getAllOptionsButExternalId(Study study, StudyParticipant participant) {
Map<ParticipantOption, String> options = Maps.newHashMap();
for (ParticipantOption option : ParticipantOption.values()) {
options.put(option, option.fromParticipant(participant));
}
<BUG>if (study.isExternalIdRequiredOnSignup() || study.isExternalIdValidationEnabled()) {
options.remove(EXTERNAL_IDENTIFIER);</BUG>
}
return options;
}

private Map<ParticipantOption, String> getAllOptionsButExternalId(Study study, StudyParticipant participant) {
Map<ParticipantOption, String> options = Maps.newHashMap();
for (ParticipantOption option : ParticipantOption.values()) {
options.put(option, option.fromParticipant(participant));
}
if (study.isExternalIdValidationEnabled()) {
options.remove(EXTERNAL_IDENTIFIER);
}
return options;
}
