} else {
map.put(FIELD_LEVEL, getLevel());
}</BUG>
}
if (!isEmpty(getFacility())) {
<BUG>map.put(FIELD_FACILITY, getFacility());
}</BUG>
for (Map.Entry<String, String> additionalField : additonalFields.entrySet()) {
if (!ID_NAME.equals(additionalField.getKey()) && additionalField.getValue() != null) {
String value = additionalField.getValue();

} else {
hasFields = writeIfNotEmpty(out, hasFields, FIELD_LEVEL, getLevel());
}
}
if (!isEmpty(getFacility())) {
hasFields = writeIfNotEmpty(out, hasFields, FIELD_FACILITY, getFacility());
}
for (Map.Entry<String, String> additionalField : additonalFields.entrySet()) {
if (!ID_NAME.equals(additionalField.getKey()) && additionalField.getValue() != null) {
String value = additionalField.getValue();
