Program: 23072
Project: 23072
Buggy source:
protected void composeImmunizationEvaluation(Complex parent,String parentType,String name,ImmunizationEvaluation element,int index){
  if (element == null)   return;
  Complex t;
  if (Utilities.noString(parentType))   t=parent;
 else {
    t=parent.predicate("String_Node_Str" + parentType + '.'+ name);
  }
  composeDomainResource(t,"String_Node_Str",name,element,index);
  for (int i=0; i < element.getIdentifier().size(); i++)   composeIdentifier(t,"String_Node_Str","String_Node_Str",element.getIdentifier().get(i),i);
  if (element.hasStatusElement())   composeEnum(t,"String_Node_Str","String_Node_Str",element.getStatusElement(),-1);
  if (element.hasPatient())   composeReference(t,"String_Node_Str","String_Node_Str",element.getPatient(),-1);
  if (element.hasDateElement())   composeDateTime(t,"String_Node_Str","String_Node_Str",element.getDateElement(),-1);
  if (element.hasAuthority())   composeReference(t,"String_Node_Str","String_Node_Str",element.getAuthority(),-1);
  for (int i=0; i < element.getTargetDisease().size(); i++)   composeCodeableConcept(t,"String_Node_Str","String_Node_Str",element.getTargetDisease().get(i),i);
  if (element.hasImmunizationEvent())   composeReference(t,"String_Node_Str","String_Node_Str",element.getImmunizationEvent(),-1);
  if (element.hasDoseStatus())   composeCodeableConcept(t,"String_Node_Str","String_Node_Str",element.getDoseStatus(),-1);
  for (int i=0; i < element.getDoseStatusReason().size(); i++)   composeCodeableConcept(t,"String_Node_Str","String_Node_Str",element.getDoseStatusReason().get(i),i);
  if (element.hasDescriptionElement())   composeString(t,"String_Node_Str","String_Node_Str",element.getDescriptionElement(),-1);
  if (element.hasSeriesElement())   composeString(t,"String_Node_Str","String_Node_Str",element.getSeriesElement(),-1);
  if (element.hasDoseNumberElement())   composePositiveInt(t,"String_Node_Str","String_Node_Str",element.getDoseNumberElement(),-1);
  if (element.hasSeriesDosesElement())   composePositiveInt(t,"String_Node_Str","String_Node_Str",element.getSeriesDosesElement(),-1);
}

Fixed version (ground truth):
protected void composeImmunizationEvaluation(Complex parent,String parentType,String name,ImmunizationEvaluation element,int index){
  if (element == null)   return;
  Complex t;
  if (Utilities.noString(parentType))   t=parent;
 else {
    t=parent.predicate("String_Node_Str" + parentType + '.'+ name);
  }
  composeDomainResource(t,"String_Node_Str",name,element,index);
  for (int i=0; i < element.getIdentifier().size(); i++)   composeIdentifier(t,"String_Node_Str","String_Node_Str",element.getIdentifier().get(i),i);
  if (element.hasStatusElement())   composeEnum(t,"String_Node_Str","String_Node_Str",element.getStatusElement(),-1);
  if (element.hasPatient())   composeReference(t,"String_Node_Str","String_Node_Str",element.getPatient(),-1);
  if (element.hasDateElement())   composeDateTime(t,"String_Node_Str","String_Node_Str",element.getDateElement(),-1);
  if (element.hasAuthority())   composeReference(t,"String_Node_Str","String_Node_Str",element.getAuthority(),-1);
  for (int i=0; i < element.getTargetDisease().size(); i++)   composeCodeableConcept(t,"String_Node_Str","String_Node_Str",element.getTargetDisease().get(i),i);
  if (element.hasImmunizationEvent())   composeReference(t,"String_Node_Str","String_Node_Str",element.getImmunizationEvent(),-1);
  if (element.hasDoseStatus())   composeCodeableConcept(t,"String_Node_Str","String_Node_Str",element.getDoseStatus(),-1);
  for (int i=0; i < element.getDoseStatusReason().size(); i++)   composeCodeableConcept(t,"String_Node_Str","String_Node_Str",element.getDoseStatusReason().get(i),i);
  if (element.hasDescriptionElement())   composeString(t,"String_Node_Str","String_Node_Str",element.getDescriptionElement(),-1);
  if (element.hasSeriesElement())   composeString(t,"String_Node_Str","String_Node_Str",element.getSeriesElement(),-1);
  if (element.hasDoseNumber())   composeType(t,"String_Node_Str","String_Node_Str",element.getDoseNumber(),-1);
  if (element.hasSeriesDoses())   composeType(t,"String_Node_Str","String_Node_Str",element.getSeriesDoses(),-1);
}