Program: 23795
Project: 23795
Buggy source:
public static org.hl7.fhir.dstu2016may.model.Resource convertResource(org.hl7.fhir.dstu3.model.Resource src) throws FHIRException {
  if (src == null)   return null;
  if (src instanceof org.hl7.fhir.dstu3.model.Parameters)   return convertParameters((org.hl7.fhir.dstu3.model.Parameters)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Bundle)   return convertBundle((org.hl7.fhir.dstu3.model.Bundle)src);
  if (src instanceof org.hl7.fhir.dstu3.model.CodeSystem)   return convertCodeSystem((org.hl7.fhir.dstu3.model.CodeSystem)src);
  if (src instanceof org.hl7.fhir.dstu3.model.CompartmentDefinition)   return convertCompartmentDefinition((org.hl7.fhir.dstu3.model.CompartmentDefinition)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ConceptMap)   return convertConceptMap((org.hl7.fhir.dstu3.model.ConceptMap)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Conformance)   return convertConformance((org.hl7.fhir.dstu3.model.Conformance)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DataElement)   return convertDataElement((org.hl7.fhir.dstu3.model.DataElement)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ImplementationGuide)   return convertImplementationGuide((org.hl7.fhir.dstu3.model.ImplementationGuide)src);
  if (src instanceof org.hl7.fhir.dstu3.model.NamingSystem)   return convertNamingSystem((org.hl7.fhir.dstu3.model.NamingSystem)src);
  if (src instanceof org.hl7.fhir.dstu3.model.OperationDefinition)   return convertOperationDefinition((org.hl7.fhir.dstu3.model.OperationDefinition)src);
  if (src instanceof org.hl7.fhir.dstu3.model.OperationOutcome)   return convertOperationOutcome((org.hl7.fhir.dstu3.model.OperationOutcome)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Questionnaire)   return convertQuestionnaire((org.hl7.fhir.dstu3.model.Questionnaire)src);
  if (src instanceof org.hl7.fhir.dstu3.model.QuestionnaireResponse)   return convertQuestionnaireResponse((org.hl7.fhir.dstu3.model.QuestionnaireResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ReferralRequest)   if (src instanceof org.hl7.fhir.dstu3.model.SearchParameter)   return convertSearchParameter((org.hl7.fhir.dstu3.model.SearchParameter)src);
  if (src instanceof org.hl7.fhir.dstu3.model.StructureDefinition)   return convertStructureDefinition((org.hl7.fhir.dstu3.model.StructureDefinition)src);
  if (src instanceof org.hl7.fhir.dstu3.model.TestScript)   return convertTestScript((org.hl7.fhir.dstu3.model.TestScript)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ValueSet)   return convertValueSet((org.hl7.fhir.dstu3.model.ValueSet)src);
  if (src instanceof org.hl7.fhir.dstu3.model.VisionPrescription)   return convertVisionPrescription((org.hl7.fhir.dstu3.model.VisionPrescription)src);
  throw new Error("String_Node_Str" + src.fhirType());
}

Fixed version (ground truth):
public static org.hl7.fhir.dstu2016may.model.Resource convertResource(org.hl7.fhir.dstu3.model.Resource src) throws FHIRException {
  if (src == null || src.isEmpty())   return null;
  if (src instanceof org.hl7.fhir.dstu3.model.Parameters)   return convertParameters((org.hl7.fhir.dstu3.model.Parameters)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Bundle)   return convertBundle((org.hl7.fhir.dstu3.model.Bundle)src);
  if (src instanceof org.hl7.fhir.dstu3.model.CodeSystem)   return convertCodeSystem((org.hl7.fhir.dstu3.model.CodeSystem)src);
  if (src instanceof org.hl7.fhir.dstu3.model.CompartmentDefinition)   return convertCompartmentDefinition((org.hl7.fhir.dstu3.model.CompartmentDefinition)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ConceptMap)   return convertConceptMap((org.hl7.fhir.dstu3.model.ConceptMap)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Conformance)   return convertConformance((org.hl7.fhir.dstu3.model.Conformance)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DataElement)   return convertDataElement((org.hl7.fhir.dstu3.model.DataElement)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ImplementationGuide)   return convertImplementationGuide((org.hl7.fhir.dstu3.model.ImplementationGuide)src);
  if (src instanceof org.hl7.fhir.dstu3.model.NamingSystem)   return convertNamingSystem((org.hl7.fhir.dstu3.model.NamingSystem)src);
  if (src instanceof org.hl7.fhir.dstu3.model.OperationDefinition)   return convertOperationDefinition((org.hl7.fhir.dstu3.model.OperationDefinition)src);
  if (src instanceof org.hl7.fhir.dstu3.model.OperationOutcome)   return convertOperationOutcome((org.hl7.fhir.dstu3.model.OperationOutcome)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Questionnaire)   return convertQuestionnaire((org.hl7.fhir.dstu3.model.Questionnaire)src);
  if (src instanceof org.hl7.fhir.dstu3.model.QuestionnaireResponse)   return convertQuestionnaireResponse((org.hl7.fhir.dstu3.model.QuestionnaireResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ReferralRequest)   if (src instanceof org.hl7.fhir.dstu3.model.SearchParameter)   return convertSearchParameter((org.hl7.fhir.dstu3.model.SearchParameter)src);
  if (src instanceof org.hl7.fhir.dstu3.model.StructureDefinition)   return convertStructureDefinition((org.hl7.fhir.dstu3.model.StructureDefinition)src);
  if (src instanceof org.hl7.fhir.dstu3.model.TestScript)   return convertTestScript((org.hl7.fhir.dstu3.model.TestScript)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ValueSet)   return convertValueSet((org.hl7.fhir.dstu3.model.ValueSet)src);
  if (src instanceof org.hl7.fhir.dstu3.model.VisionPrescription)   return convertVisionPrescription((org.hl7.fhir.dstu3.model.VisionPrescription)src);
  throw new Error("String_Node_Str" + src.fhirType());
}