mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-08 22:14:50 +00:00
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()) {
|
if (theAllowOverwriting || person.getName().isEmpty()) {
|
||||||
person.setName(patient.getName());
|
person.setName(patient.getName());
|
||||||
}
|
}
|
||||||
if (theAllowOverwriting || person.getName().isEmpty()) {
|
if (theAllowOverwriting || person.getAddress().isEmpty()) {
|
||||||
person.setAddress(patient.getAddress());
|
person.setAddress(patient.getAddress());
|
||||||
}
|
}
|
||||||
if (theAllowOverwriting || person.getTelecom().isEmpty()) {
|
if (theAllowOverwriting || person.getTelecom().isEmpty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user