Program: 24029
Project: 24029
Buggy source:
public static org.hl7.fhir.dstu2.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.AllergyIntolerance)   return convertAllergyIntolerance((org.hl7.fhir.dstu3.model.AllergyIntolerance)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Appointment)   return convertAppointment((org.hl7.fhir.dstu3.model.Appointment)src);
  if (src instanceof org.hl7.fhir.dstu3.model.AppointmentResponse)   return convertAppointmentResponse((org.hl7.fhir.dstu3.model.AppointmentResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.AuditEvent)   return convertAuditEvent((org.hl7.fhir.dstu3.model.AuditEvent)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Basic)   return convertBasic((org.hl7.fhir.dstu3.model.Basic)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Binary)   return convertBinary((org.hl7.fhir.dstu3.model.Binary)src);
  if (src instanceof org.hl7.fhir.dstu3.model.BodySite)   return convertBodySite((org.hl7.fhir.dstu3.model.BodySite)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.CarePlan)   return convertCarePlan((org.hl7.fhir.dstu3.model.CarePlan)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Claim)   return convertClaim((org.hl7.fhir.dstu3.model.Claim)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ClaimResponse)   return convertClaimResponse((org.hl7.fhir.dstu3.model.ClaimResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ClinicalImpression)   return convertClinicalImpression((org.hl7.fhir.dstu3.model.ClinicalImpression)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Communication)   return convertCommunication((org.hl7.fhir.dstu3.model.Communication)src);
  if (src instanceof org.hl7.fhir.dstu3.model.CommunicationRequest)   return convertCommunicationRequest((org.hl7.fhir.dstu3.model.CommunicationRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Composition)   return convertComposition((org.hl7.fhir.dstu3.model.Composition)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.Condition)   return convertCondition((org.hl7.fhir.dstu3.model.Condition)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.Contract)   return convertContract((org.hl7.fhir.dstu3.model.Contract)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Coverage)   return convertCoverage((org.hl7.fhir.dstu3.model.Coverage)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.DetectedIssue)   return convertDetectedIssue((org.hl7.fhir.dstu3.model.DetectedIssue)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Device)   return convertDevice((org.hl7.fhir.dstu3.model.Device)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceComponent)   return convertDeviceComponent((org.hl7.fhir.dstu3.model.DeviceComponent)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceMetric)   return convertDeviceMetric((org.hl7.fhir.dstu3.model.DeviceMetric)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceUseRequest)   return convertDeviceUseRequest((org.hl7.fhir.dstu3.model.DeviceUseRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceUseStatement)   return convertDeviceUseStatement((org.hl7.fhir.dstu3.model.DeviceUseStatement)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DiagnosticOrder)   return convertDiagnosticOrder((org.hl7.fhir.dstu3.model.DiagnosticOrder)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DiagnosticReport)   return convertDiagnosticReport((org.hl7.fhir.dstu3.model.DiagnosticReport)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DocumentManifest)   return convertDocumentManifest((org.hl7.fhir.dstu3.model.DocumentManifest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DocumentReference)   return convertDocumentReference((org.hl7.fhir.dstu3.model.DocumentReference)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EligibilityRequest)   return convertEligibilityRequest((org.hl7.fhir.dstu3.model.EligibilityRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EligibilityResponse)   return convertEligibilityResponse((org.hl7.fhir.dstu3.model.EligibilityResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Encounter)   return convertEncounter((org.hl7.fhir.dstu3.model.Encounter)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EnrollmentRequest)   return convertEnrollmentRequest((org.hl7.fhir.dstu3.model.EnrollmentRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EnrollmentResponse)   return convertEnrollmentResponse((org.hl7.fhir.dstu3.model.EnrollmentResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EpisodeOfCare)   return convertEpisodeOfCare((org.hl7.fhir.dstu3.model.EpisodeOfCare)src);
  if (src instanceof org.hl7.fhir.dstu3.model.FamilyMemberHistory)   return convertFamilyMemberHistory((org.hl7.fhir.dstu3.model.FamilyMemberHistory)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Flag)   return convertFlag((org.hl7.fhir.dstu3.model.Flag)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Goal)   return convertGoal((org.hl7.fhir.dstu3.model.Goal)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Group)   return convertGroup((org.hl7.fhir.dstu3.model.Group)src);
  if (src instanceof org.hl7.fhir.dstu3.model.HealthcareService)   return convertHealthcareService((org.hl7.fhir.dstu3.model.HealthcareService)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ImagingObjectSelection)   return convertImagingObjectSelection((org.hl7.fhir.dstu3.model.ImagingObjectSelection)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ImagingStudy)   return convertImagingStudy((org.hl7.fhir.dstu3.model.ImagingStudy)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Immunization)   return convertImmunization((org.hl7.fhir.dstu3.model.Immunization)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ImmunizationRecommendation)   return convertImmunizationRecommendation((org.hl7.fhir.dstu3.model.ImmunizationRecommendation)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.ListResource)   return convertList((org.hl7.fhir.dstu3.model.ListResource)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Location)   return convertLocation((org.hl7.fhir.dstu3.model.Location)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Media)   return convertMedia((org.hl7.fhir.dstu3.model.Media)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Medication)   return convertMedication((org.hl7.fhir.dstu3.model.Medication)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationAdministration)   return convertMedicationAdministration((org.hl7.fhir.dstu3.model.MedicationAdministration)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationDispense)   return convertMedicationDispense((org.hl7.fhir.dstu3.model.MedicationDispense)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationOrder)   return convertMedicationOrder((org.hl7.fhir.dstu3.model.MedicationOrder)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationStatement)   return convertMedicationStatement((org.hl7.fhir.dstu3.model.MedicationStatement)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MessageHeader)   return convertMessageHeader((org.hl7.fhir.dstu3.model.MessageHeader)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.NutritionOrder)   return convertNutritionOrder((org.hl7.fhir.dstu3.model.NutritionOrder)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Observation)   return convertObservation((org.hl7.fhir.dstu3.model.Observation)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.Order)   return convertOrder((org.hl7.fhir.dstu3.model.Order)src);
  if (src instanceof org.hl7.fhir.dstu3.model.OrderResponse)   return convertOrderResponse((org.hl7.fhir.dstu3.model.OrderResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Organization)   return convertOrganization((org.hl7.fhir.dstu3.model.Organization)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Patient)   return convertPatient((org.hl7.fhir.dstu3.model.Patient)src);
  if (src instanceof org.hl7.fhir.dstu3.model.PaymentNotice)   return convertPaymentNotice((org.hl7.fhir.dstu3.model.PaymentNotice)src);
  if (src instanceof org.hl7.fhir.dstu3.model.PaymentReconciliation)   return convertPaymentReconciliation((org.hl7.fhir.dstu3.model.PaymentReconciliation)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Person)   return convertPerson((org.hl7.fhir.dstu3.model.Person)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Practitioner)   return convertPractitioner((org.hl7.fhir.dstu3.model.Practitioner)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Procedure)   return convertProcedure((org.hl7.fhir.dstu3.model.Procedure)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ProcedureRequest)   return convertProcedureRequest((org.hl7.fhir.dstu3.model.ProcedureRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ProcessRequest)   return convertProcessRequest((org.hl7.fhir.dstu3.model.ProcessRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ProcessResponse)   return convertProcessResponse((org.hl7.fhir.dstu3.model.ProcessResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Provenance)   return convertProvenance((org.hl7.fhir.dstu3.model.Provenance)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)   return convertReferralRequest((org.hl7.fhir.dstu3.model.ReferralRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.RelatedPerson)   return convertRelatedPerson((org.hl7.fhir.dstu3.model.RelatedPerson)src);
  if (src instanceof org.hl7.fhir.dstu3.model.RiskAssessment)   return convertRiskAssessment((org.hl7.fhir.dstu3.model.RiskAssessment)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Schedule)   return convertSchedule((org.hl7.fhir.dstu3.model.Schedule)src);
  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.Slot)   return convertSlot((org.hl7.fhir.dstu3.model.Slot)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Specimen)   return convertSpecimen((org.hl7.fhir.dstu3.model.Specimen)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.Subscription)   return convertSubscription((org.hl7.fhir.dstu3.model.Subscription)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Substance)   return convertSubstance((org.hl7.fhir.dstu3.model.Substance)src);
  if (src instanceof org.hl7.fhir.dstu3.model.SupplyDelivery)   return convertSupplyDelivery((org.hl7.fhir.dstu3.model.SupplyDelivery)src);
  if (src instanceof org.hl7.fhir.dstu3.model.SupplyRequest)   return convertSupplyRequest((org.hl7.fhir.dstu3.model.SupplyRequest)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.dstu2.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.AllergyIntolerance)   return convertAllergyIntolerance((org.hl7.fhir.dstu3.model.AllergyIntolerance)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Appointment)   return convertAppointment((org.hl7.fhir.dstu3.model.Appointment)src);
  if (src instanceof org.hl7.fhir.dstu3.model.AppointmentResponse)   return convertAppointmentResponse((org.hl7.fhir.dstu3.model.AppointmentResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.AuditEvent)   return convertAuditEvent((org.hl7.fhir.dstu3.model.AuditEvent)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Basic)   return convertBasic((org.hl7.fhir.dstu3.model.Basic)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Binary)   return convertBinary((org.hl7.fhir.dstu3.model.Binary)src);
  if (src instanceof org.hl7.fhir.dstu3.model.BodySite)   return convertBodySite((org.hl7.fhir.dstu3.model.BodySite)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.CarePlan)   return convertCarePlan((org.hl7.fhir.dstu3.model.CarePlan)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ClinicalImpression)   return convertClinicalImpression((org.hl7.fhir.dstu3.model.ClinicalImpression)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Communication)   return convertCommunication((org.hl7.fhir.dstu3.model.Communication)src);
  if (src instanceof org.hl7.fhir.dstu3.model.CommunicationRequest)   return convertCommunicationRequest((org.hl7.fhir.dstu3.model.CommunicationRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Composition)   return convertComposition((org.hl7.fhir.dstu3.model.Composition)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.Condition)   return convertCondition((org.hl7.fhir.dstu3.model.Condition)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.Contract)   return convertContract((org.hl7.fhir.dstu3.model.Contract)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Coverage)   return convertCoverage((org.hl7.fhir.dstu3.model.Coverage)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.DetectedIssue)   return convertDetectedIssue((org.hl7.fhir.dstu3.model.DetectedIssue)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Device)   return convertDevice((org.hl7.fhir.dstu3.model.Device)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceComponent)   return convertDeviceComponent((org.hl7.fhir.dstu3.model.DeviceComponent)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceMetric)   return convertDeviceMetric((org.hl7.fhir.dstu3.model.DeviceMetric)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceUseRequest)   return convertDeviceUseRequest((org.hl7.fhir.dstu3.model.DeviceUseRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DeviceUseStatement)   return convertDeviceUseStatement((org.hl7.fhir.dstu3.model.DeviceUseStatement)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DiagnosticOrder)   return convertDiagnosticOrder((org.hl7.fhir.dstu3.model.DiagnosticOrder)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DiagnosticReport)   return convertDiagnosticReport((org.hl7.fhir.dstu3.model.DiagnosticReport)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DocumentManifest)   return convertDocumentManifest((org.hl7.fhir.dstu3.model.DocumentManifest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.DocumentReference)   return convertDocumentReference((org.hl7.fhir.dstu3.model.DocumentReference)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EligibilityRequest)   return convertEligibilityRequest((org.hl7.fhir.dstu3.model.EligibilityRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EligibilityResponse)   return convertEligibilityResponse((org.hl7.fhir.dstu3.model.EligibilityResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Encounter)   return convertEncounter((org.hl7.fhir.dstu3.model.Encounter)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EnrollmentRequest)   return convertEnrollmentRequest((org.hl7.fhir.dstu3.model.EnrollmentRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EnrollmentResponse)   return convertEnrollmentResponse((org.hl7.fhir.dstu3.model.EnrollmentResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.EpisodeOfCare)   return convertEpisodeOfCare((org.hl7.fhir.dstu3.model.EpisodeOfCare)src);
  if (src instanceof org.hl7.fhir.dstu3.model.FamilyMemberHistory)   return convertFamilyMemberHistory((org.hl7.fhir.dstu3.model.FamilyMemberHistory)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Flag)   return convertFlag((org.hl7.fhir.dstu3.model.Flag)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Goal)   return convertGoal((org.hl7.fhir.dstu3.model.Goal)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Group)   return convertGroup((org.hl7.fhir.dstu3.model.Group)src);
  if (src instanceof org.hl7.fhir.dstu3.model.HealthcareService)   return convertHealthcareService((org.hl7.fhir.dstu3.model.HealthcareService)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ImagingStudy)   return convertImagingStudy((org.hl7.fhir.dstu3.model.ImagingStudy)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Immunization)   return convertImmunization((org.hl7.fhir.dstu3.model.Immunization)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ImmunizationRecommendation)   return convertImmunizationRecommendation((org.hl7.fhir.dstu3.model.ImmunizationRecommendation)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.ListResource)   return convertList((org.hl7.fhir.dstu3.model.ListResource)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Location)   return convertLocation((org.hl7.fhir.dstu3.model.Location)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Media)   return convertMedia((org.hl7.fhir.dstu3.model.Media)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Medication)   return convertMedication((org.hl7.fhir.dstu3.model.Medication)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationAdministration)   return convertMedicationAdministration((org.hl7.fhir.dstu3.model.MedicationAdministration)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationDispense)   return convertMedicationDispense((org.hl7.fhir.dstu3.model.MedicationDispense)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationOrder)   return convertMedicationOrder((org.hl7.fhir.dstu3.model.MedicationOrder)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MedicationStatement)   return convertMedicationStatement((org.hl7.fhir.dstu3.model.MedicationStatement)src);
  if (src instanceof org.hl7.fhir.dstu3.model.MessageHeader)   return convertMessageHeader((org.hl7.fhir.dstu3.model.MessageHeader)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.NutritionOrder)   return convertNutritionOrder((org.hl7.fhir.dstu3.model.NutritionOrder)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Observation)   return convertObservation((org.hl7.fhir.dstu3.model.Observation)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.Order)   return convertOrder((org.hl7.fhir.dstu3.model.Order)src);
  if (src instanceof org.hl7.fhir.dstu3.model.OrderResponse)   return convertOrderResponse((org.hl7.fhir.dstu3.model.OrderResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Organization)   return convertOrganization((org.hl7.fhir.dstu3.model.Organization)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Patient)   return convertPatient((org.hl7.fhir.dstu3.model.Patient)src);
  if (src instanceof org.hl7.fhir.dstu3.model.PaymentNotice)   return convertPaymentNotice((org.hl7.fhir.dstu3.model.PaymentNotice)src);
  if (src instanceof org.hl7.fhir.dstu3.model.PaymentReconciliation)   return convertPaymentReconciliation((org.hl7.fhir.dstu3.model.PaymentReconciliation)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Person)   return convertPerson((org.hl7.fhir.dstu3.model.Person)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Practitioner)   return convertPractitioner((org.hl7.fhir.dstu3.model.Practitioner)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Procedure)   return convertProcedure((org.hl7.fhir.dstu3.model.Procedure)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ProcedureRequest)   return convertProcedureRequest((org.hl7.fhir.dstu3.model.ProcedureRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ProcessRequest)   return convertProcessRequest((org.hl7.fhir.dstu3.model.ProcessRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.ProcessResponse)   return convertProcessResponse((org.hl7.fhir.dstu3.model.ProcessResponse)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Provenance)   return convertProvenance((org.hl7.fhir.dstu3.model.Provenance)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)   return convertReferralRequest((org.hl7.fhir.dstu3.model.ReferralRequest)src);
  if (src instanceof org.hl7.fhir.dstu3.model.RelatedPerson)   return convertRelatedPerson((org.hl7.fhir.dstu3.model.RelatedPerson)src);
  if (src instanceof org.hl7.fhir.dstu3.model.RiskAssessment)   return convertRiskAssessment((org.hl7.fhir.dstu3.model.RiskAssessment)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Schedule)   return convertSchedule((org.hl7.fhir.dstu3.model.Schedule)src);
  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.Slot)   return convertSlot((org.hl7.fhir.dstu3.model.Slot)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Specimen)   return convertSpecimen((org.hl7.fhir.dstu3.model.Specimen)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.Subscription)   return convertSubscription((org.hl7.fhir.dstu3.model.Subscription)src);
  if (src instanceof org.hl7.fhir.dstu3.model.Substance)   return convertSubstance((org.hl7.fhir.dstu3.model.Substance)src);
  if (src instanceof org.hl7.fhir.dstu3.model.SupplyDelivery)   return convertSupplyDelivery((org.hl7.fhir.dstu3.model.SupplyDelivery)src);
  if (src instanceof org.hl7.fhir.dstu3.model.SupplyRequest)   return convertSupplyRequest((org.hl7.fhir.dstu3.model.SupplyRequest)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());
}