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

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