Program: 23087
Project: 23087
Buggy source:
protected void composeImmunizationEvaluationElements(ImmunizationEvaluation element) throws IOException {
  composeDomainResourceElements(element);
  if (element.hasIdentifier()) {
    for (    Identifier e : element.getIdentifier())     composeIdentifier("String_Node_Str",e);
  }
  if (element.hasStatusElement())   composeEnumeration("String_Node_Str",element.getStatusElement(),new ImmunizationEvaluation.ImmunizationEvaluationStatusEnumFactory());
  if (element.hasPatient()) {
    composeReference("String_Node_Str",element.getPatient());
  }
  if (element.hasDateElement()) {
    composeDateTime("String_Node_Str",element.getDateElement());
  }
  if (element.hasAuthority()) {
    composeReference("String_Node_Str",element.getAuthority());
  }
  if (element.hasTargetDisease()) {
    for (    CodeableConcept e : element.getTargetDisease())     composeCodeableConcept("String_Node_Str",e);
  }
  if (element.hasImmunizationEvent()) {
    composeReference("String_Node_Str",element.getImmunizationEvent());
  }
  if (element.hasDoseStatus()) {
    composeCodeableConcept("String_Node_Str",element.getDoseStatus());
  }
  if (element.hasDoseStatusReason()) {
    for (    CodeableConcept e : element.getDoseStatusReason())     composeCodeableConcept("String_Node_Str",e);
  }
  if (element.hasDescriptionElement()) {
    composeString("String_Node_Str",element.getDescriptionElement());
  }
  if (element.hasSeriesElement()) {
    composeString("String_Node_Str",element.getSeriesElement());
  }
  if (element.hasDoseNumberElement()) {
    composePositiveInt("String_Node_Str",element.getDoseNumberElement());
  }
  if (element.hasSeriesDosesElement()) {
    composePositiveInt("String_Node_Str",element.getSeriesDosesElement());
  }
}

Fixed version (ground truth):
protected void composeImmunizationEvaluationElements(ImmunizationEvaluation element) throws IOException {
  composeDomainResourceElements(element);
  if (element.hasIdentifier()) {
    for (    Identifier e : element.getIdentifier())     composeIdentifier("String_Node_Str",e);
  }
  if (element.hasStatusElement())   composeEnumeration("String_Node_Str",element.getStatusElement(),new ImmunizationEvaluation.ImmunizationEvaluationStatusEnumFactory());
  if (element.hasPatient()) {
    composeReference("String_Node_Str",element.getPatient());
  }
  if (element.hasDateElement()) {
    composeDateTime("String_Node_Str",element.getDateElement());
  }
  if (element.hasAuthority()) {
    composeReference("String_Node_Str",element.getAuthority());
  }
  if (element.hasTargetDisease()) {
    for (    CodeableConcept e : element.getTargetDisease())     composeCodeableConcept("String_Node_Str",e);
  }
  if (element.hasImmunizationEvent()) {
    composeReference("String_Node_Str",element.getImmunizationEvent());
  }
  if (element.hasDoseStatus()) {
    composeCodeableConcept("String_Node_Str",element.getDoseStatus());
  }
  if (element.hasDoseStatusReason()) {
    for (    CodeableConcept e : element.getDoseStatusReason())     composeCodeableConcept("String_Node_Str",e);
  }
  if (element.hasDescriptionElement()) {
    composeString("String_Node_Str",element.getDescriptionElement());
  }
  if (element.hasSeriesElement()) {
    composeString("String_Node_Str",element.getSeriesElement());
  }
  if (element.hasDoseNumber()) {
    composeType("String_Node_Str",element.getDoseNumber());
  }
  if (element.hasSeriesDoses()) {
    composeType("String_Node_Str",element.getSeriesDoses());
  }
}