/**
   * @param encounter
   * @return encounter type and date
   */
  @PropertyGetter("display")
  public String getDisplayString(FieldAnswer delegate) {
    if (delegate == null) return null;

    return new StringBuilder()
        .append(delegate.getField() == null ? "Null Field" : delegate.getField().getName())
        .append(" - ")
        .append(
            delegate.getConcept() == null
                ? "Null Concept"
                : delegate.getConcept().getName().toString())
        .toString();
  }
 /**
  * @see
  *     org.openmrs.module.webservices.rest.web.resource.impl.DelegatingSubResource#setParent(java.lang.Object,
  *     java.lang.Object)
  */
 @Override
 public void setParent(FieldAnswer instance, Field parent) {
   instance.setField(parent);
 }
 /**
  * @see
  *     org.openmrs.module.webservices.rest.web.resource.impl.DelegatingSubResource#getParent(java.lang.Object)
  */
 @Override
 public Field getParent(FieldAnswer instance) {
   return instance.getField();
 }