@Override
 public void validateFullRepresentation() throws Exception {
   super.validateFullRepresentation();
   assertPropPresent("patient");
   assertPropEquals("voided", getObject().getVoided());
   assertPropPresent("auditInfo");
 }
 @Override
 public void validateFullRepresentation() throws Exception {
   super.validateFullRepresentation();
   assertPropEquals("description", getObject().getDescription());
   assertPropEquals("retired", getObject().getRetired());
   assertPropPresent("concept");
 }
 @Override
 public void validateRefRepresentation() throws Exception {
   super.validateRefRepresentation();
   assertPropEquals(
       "voided",
       getObject()
           .isVoided()); // note that the voided property is only present if the property is voided
 }
 @Override
 public void validateDefaultRepresentation() throws Exception {
   super.validateDefaultRepresentation();
   assertPropPresent("property");
   assertPropPresent("value");
   assertPropPresent("description");
   assertPropEquals("display", getDisplayProperty());
 }
Пример #5
0
 @Override
 public void validateDefaultRepresentation() throws Exception {
   super.validateDefaultRepresentation();
   assertPropEquals("name", getObject().getName());
   assertPropEquals("description", getObject().getDescription());
   assertPropEquals("searchQuery", getObject().getSearchQuery());
   assertPropPresent("patients");
   assertPropEquals("retired", getObject().isRetired());
 }
 @Override
 public void validateFullRepresentation() throws Exception {
   super.validateFullRepresentation();
   assertPropPresent("property");
   assertPropPresent("value");
   assertPropPresent("description");
   assertPropEquals("display", getDisplayProperty());
   assertPropPresent("datatypeClassname");
   assertPropPresent("datatypeConfig");
   assertPropPresent("preferredHandlerClassname");
   assertPropPresent("handlerConfig");
 }
Пример #7
0
 @Override
 public void validateRefRepresentation() throws Exception {
   super.validateRefRepresentation();
 }
 @Override
 public void validateFullRepresentation() throws Exception {
   super.validateFullRepresentation();
   assertPropEquals("deathdateEstimated", getObject().getDeathdateEstimated());
   assertPropEquals("birthtime", getObject().getBirthtime());
 }