If statement checking wrong attribute (#2098)
This commit is contained in:
parent
3debef6cd4
commit
0e5020fa0a
|
@ -268,7 +268,7 @@ public class PersonHelper {
|
|||
if (theAllowOverwriting || person.getName().isEmpty()) {
|
||||
person.setName(patient.getName());
|
||||
}
|
||||
if (theAllowOverwriting || person.getName().isEmpty()) {
|
||||
if (theAllowOverwriting || person.getAddress().isEmpty()) {
|
||||
person.setAddress(patient.getAddress());
|
||||
}
|
||||
if (theAllowOverwriting || person.getTelecom().isEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue