Program: 112324
Project: 112324
Buggy source:
protected List<ResourceIndexedSearchParamQuantity> extractSearchParamQuantity(ResourceTable theEntity,IResource theResource){
  ArrayList<ResourceIndexedSearchParamQuantity> retVal=new ArrayList<ResourceIndexedSearchParamQuantity>();
  RuntimeResourceDefinition def=getContext().getResourceDefinition(theResource);
  FhirTerser t=getContext().newTerser();
  for (  RuntimeSearchParam nextSpDef : def.getSearchParams()) {
    if (nextSpDef.getParamType() != SearchParamTypeEnum.QUANTITY) {
      continue;
    }
    String nextPath=nextSpDef.getPath();
    List<Object> values=t.getValues(theResource,nextPath);
    for (    Object nextObject : values) {
      if (nextObject == null || ((IDatatype)nextObject).isEmpty()) {
        continue;
      }
      String resourceName=nextSpDef.getName();
      boolean multiType=false;
      if (nextPath.endsWith("String_Node_Str")) {
        multiType=true;
      }
      if (nextObject instanceof QuantityDt) {
        QuantityDt nextValue=(QuantityDt)nextObject;
        if (nextValue.getValue().isEmpty()) {
          continue;
        }
        ResourceIndexedSearchParamQuantity nextEntity=new ResourceIndexedSearchParamQuantity(resourceName,nextValue.getValue().getValue(),nextValue.getSystem().getValueAsString(),nextValue.getUnits().getValue());
        nextEntity.setResource(theEntity);
        retVal.add(nextEntity);
      }
 else {
        if (!multiType) {
          throw new ConfigurationException("String_Node_Str" + resourceName + "String_Node_Str"+ nextObject.getClass());
        }
 else {
          continue;
        }
      }
    }
  }
  theEntity.setParamsNumberPopulated(retVal.size() > 0);
  return retVal;
}

Fixed version (ground truth):
protected List<ResourceIndexedSearchParamQuantity> extractSearchParamQuantity(ResourceTable theEntity,IResource theResource){
  ArrayList<ResourceIndexedSearchParamQuantity> retVal=new ArrayList<ResourceIndexedSearchParamQuantity>();
  RuntimeResourceDefinition def=getContext().getResourceDefinition(theResource);
  FhirTerser t=getContext().newTerser();
  for (  RuntimeSearchParam nextSpDef : def.getSearchParams()) {
    if (nextSpDef.getParamType() != SearchParamTypeEnum.QUANTITY) {
      continue;
    }
    String nextPath=nextSpDef.getPath();
    if (isBlank(nextPath)) {
      continue;
    }
    List<Object> values=t.getValues(theResource,nextPath);
    for (    Object nextObject : values) {
      if (nextObject == null || ((IDatatype)nextObject).isEmpty()) {
        continue;
      }
      String resourceName=nextSpDef.getName();
      boolean multiType=false;
      if (nextPath.endsWith("String_Node_Str")) {
        multiType=true;
      }
      if (nextObject instanceof QuantityDt) {
        QuantityDt nextValue=(QuantityDt)nextObject;
        if (nextValue.getValue().isEmpty()) {
          continue;
        }
        ResourceIndexedSearchParamQuantity nextEntity=new ResourceIndexedSearchParamQuantity(resourceName,nextValue.getValue().getValue(),nextValue.getSystem().getValueAsString(),nextValue.getUnits().getValue());
        nextEntity.setResource(theEntity);
        retVal.add(nextEntity);
      }
 else {
        if (!multiType) {
          throw new ConfigurationException("String_Node_Str" + resourceName + "String_Node_Str"+ nextObject.getClass());
        }
 else {
          continue;
        }
      }
    }
  }
  theEntity.setParamsNumberPopulated(retVal.size() > 0);
  return retVal;
}