diff --git a/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java b/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java index b3d44892bac..be42ea5fa6b 100644 --- a/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java +++ b/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java @@ -87,7 +87,7 @@ public class MyOrganization extends Organization { @Override public boolean isEmpty() { - return ElementUtil.isEmpty(super.isEmpty(), myBillingCode, myEmergencyContact); + return super.isEmpty() && ElementUtil.isEmpty(myBillingCode, myEmergencyContact); } /**