Program: 23054
Project: 23054
Buggy source:
protected void composeImmunizationEvaluationInner(ImmunizationEvaluation element) throws IOException {
  composeDomainResourceElements(element);
  if (element.hasIdentifier()) {
    openArray("String_Node_Str");
    for (    Identifier e : element.getIdentifier())     composeIdentifier(null,e);
    closeArray();
  }
  ;
  if (element.hasStatusElement()) {
    composeEnumerationCore("String_Node_Str",element.getStatusElement(),new ImmunizationEvaluation.ImmunizationEvaluationStatusEnumFactory(),false);
    composeEnumerationExtras("String_Node_Str",element.getStatusElement(),new ImmunizationEvaluation.ImmunizationEvaluationStatusEnumFactory(),false);
  }
  if (element.hasPatient()) {
    composeReference("String_Node_Str",element.getPatient());
  }
  if (element.hasDateElement()) {
    composeDateTimeCore("String_Node_Str",element.getDateElement(),false);
    composeDateTimeExtras("String_Node_Str",element.getDateElement(),false);
  }
  if (element.hasAuthority()) {
    composeReference("String_Node_Str",element.getAuthority());
  }
  if (element.hasTargetDisease()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getTargetDisease())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasImmunizationEvent()) {
    composeReference("String_Node_Str",element.getImmunizationEvent());
  }
  if (element.hasDoseStatus()) {
    composeCodeableConcept("String_Node_Str",element.getDoseStatus());
  }
  if (element.hasDoseStatusReason()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getDoseStatusReason())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasDescriptionElement()) {
    composeStringCore("String_Node_Str",element.getDescriptionElement(),false);
    composeStringExtras("String_Node_Str",element.getDescriptionElement(),false);
  }
  if (element.hasSeriesElement()) {
    composeStringCore("String_Node_Str",element.getSeriesElement(),false);
    composeStringExtras("String_Node_Str",element.getSeriesElement(),false);
  }
  if (element.hasDoseNumberElement()) {
    composePositiveIntCore("String_Node_Str",element.getDoseNumberElement(),false);
    composePositiveIntExtras("String_Node_Str",element.getDoseNumberElement(),false);
  }
  if (element.hasSeriesDosesElement()) {
    composePositiveIntCore("String_Node_Str",element.getSeriesDosesElement(),false);
    composePositiveIntExtras("String_Node_Str",element.getSeriesDosesElement(),false);
  }
}

Fixed version (ground truth):
protected void composeImmunizationEvaluationInner(ImmunizationEvaluation element) throws IOException {
  composeDomainResourceElements(element);
  if (element.hasIdentifier()) {
    openArray("String_Node_Str");
    for (    Identifier e : element.getIdentifier())     composeIdentifier(null,e);
    closeArray();
  }
  ;
  if (element.hasStatusElement()) {
    composeEnumerationCore("String_Node_Str",element.getStatusElement(),new ImmunizationEvaluation.ImmunizationEvaluationStatusEnumFactory(),false);
    composeEnumerationExtras("String_Node_Str",element.getStatusElement(),new ImmunizationEvaluation.ImmunizationEvaluationStatusEnumFactory(),false);
  }
  if (element.hasPatient()) {
    composeReference("String_Node_Str",element.getPatient());
  }
  if (element.hasDateElement()) {
    composeDateTimeCore("String_Node_Str",element.getDateElement(),false);
    composeDateTimeExtras("String_Node_Str",element.getDateElement(),false);
  }
  if (element.hasAuthority()) {
    composeReference("String_Node_Str",element.getAuthority());
  }
  if (element.hasTargetDisease()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getTargetDisease())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasImmunizationEvent()) {
    composeReference("String_Node_Str",element.getImmunizationEvent());
  }
  if (element.hasDoseStatus()) {
    composeCodeableConcept("String_Node_Str",element.getDoseStatus());
  }
  if (element.hasDoseStatusReason()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getDoseStatusReason())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasDescriptionElement()) {
    composeStringCore("String_Node_Str",element.getDescriptionElement(),false);
    composeStringExtras("String_Node_Str",element.getDescriptionElement(),false);
  }
  if (element.hasSeriesElement()) {
    composeStringCore("String_Node_Str",element.getSeriesElement(),false);
    composeStringExtras("String_Node_Str",element.getSeriesElement(),false);
  }
  if (element.hasDoseNumber()) {
    composeType("String_Node_Str",element.getDoseNumber());
  }
  if (element.hasSeriesDoses()) {
    composeType("String_Node_Str",element.getSeriesDoses());
  }
}