Program: 23062
Project: 23062
Buggy source:
protected void composeImmunizationRecommendationImmunizationRecommendationRecommendationComponentInner(ImmunizationRecommendation.ImmunizationRecommendationRecommendationComponent element) throws IOException {
  composeBackbone(element);
  if (element.hasVaccineCode()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getVaccineCode())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasTargetDisease()) {
    composeCodeableConcept("String_Node_Str",element.getTargetDisease());
  }
  if (element.hasContraindicatedVaccineCode()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getContraindicatedVaccineCode())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasForecastStatus()) {
    composeCodeableConcept("String_Node_Str",element.getForecastStatus());
  }
  if (element.hasForecastReason()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getForecastReason())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasDateCriterion()) {
    openArray("String_Node_Str");
    for (    ImmunizationRecommendation.ImmunizationRecommendationRecommendationDateCriterionComponent e : element.getDateCriterion())     composeImmunizationRecommendationImmunizationRecommendationRecommendationDateCriterionComponent(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);
  }
  if (element.hasSupportingImmunization()) {
    openArray("String_Node_Str");
    for (    Reference e : element.getSupportingImmunization())     composeReference(null,e);
    closeArray();
  }
  ;
  if (element.hasSupportingPatientInformation()) {
    openArray("String_Node_Str");
    for (    Reference e : element.getSupportingPatientInformation())     composeReference(null,e);
    closeArray();
  }
  ;
}

Fixed version (ground truth):
protected void composeImmunizationRecommendationImmunizationRecommendationRecommendationComponentInner(ImmunizationRecommendation.ImmunizationRecommendationRecommendationComponent element) throws IOException {
  composeBackbone(element);
  if (element.hasVaccineCode()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getVaccineCode())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasTargetDisease()) {
    composeCodeableConcept("String_Node_Str",element.getTargetDisease());
  }
  if (element.hasContraindicatedVaccineCode()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getContraindicatedVaccineCode())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasForecastStatus()) {
    composeCodeableConcept("String_Node_Str",element.getForecastStatus());
  }
  if (element.hasForecastReason()) {
    openArray("String_Node_Str");
    for (    CodeableConcept e : element.getForecastReason())     composeCodeableConcept(null,e);
    closeArray();
  }
  ;
  if (element.hasDateCriterion()) {
    openArray("String_Node_Str");
    for (    ImmunizationRecommendation.ImmunizationRecommendationRecommendationDateCriterionComponent e : element.getDateCriterion())     composeImmunizationRecommendationImmunizationRecommendationRecommendationDateCriterionComponent(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());
  }
  if (element.hasSupportingImmunization()) {
    openArray("String_Node_Str");
    for (    Reference e : element.getSupportingImmunization())     composeReference(null,e);
    closeArray();
  }
  ;
  if (element.hasSupportingPatientInformation()) {
    openArray("String_Node_Str");
    for (    Reference e : element.getSupportingPatientInformation())     composeReference(null,e);
    closeArray();
  }
  ;
}