Program: 23052
Project: 23052
Buggy source:
@Override protected void composeResource(Resource resource) throws IOException {
  if (resource instanceof Parameters)   composeParameters("String_Node_Str",(Parameters)resource);
 else   if (resource instanceof Account)   composeAccount("String_Node_Str",(Account)resource);
 else   if (resource instanceof ActivityDefinition)   composeActivityDefinition("String_Node_Str",(ActivityDefinition)resource);
 else   if (resource instanceof AdverseEvent)   composeAdverseEvent("String_Node_Str",(AdverseEvent)resource);
 else   if (resource instanceof AllergyIntolerance)   composeAllergyIntolerance("String_Node_Str",(AllergyIntolerance)resource);
 else   if (resource instanceof Appointment)   composeAppointment("String_Node_Str",(Appointment)resource);
 else   if (resource instanceof AppointmentResponse)   composeAppointmentResponse("String_Node_Str",(AppointmentResponse)resource);
 else   if (resource instanceof AuditEvent)   composeAuditEvent("String_Node_Str",(AuditEvent)resource);
 else   if (resource instanceof Basic)   composeBasic("String_Node_Str",(Basic)resource);
 else   if (resource instanceof Binary)   composeBinary("String_Node_Str",(Binary)resource);
 else   if (resource instanceof BiologicallyDerivedProduct)   composeBiologicallyDerivedProduct("String_Node_Str",(BiologicallyDerivedProduct)resource);
 else   if (resource instanceof BodyStructure)   composeBodyStructure("String_Node_Str",(BodyStructure)resource);
 else   if (resource instanceof Bundle)   composeBundle("String_Node_Str",(Bundle)resource);
 else   if (resource instanceof CapabilityStatement)   composeCapabilityStatement("String_Node_Str",(CapabilityStatement)resource);
 else   if (resource instanceof CarePlan)   composeCarePlan("String_Node_Str",(CarePlan)resource);
 else   if (resource instanceof CareTeam)   composeCareTeam("String_Node_Str",(CareTeam)resource);
 else   if (resource instanceof ChargeItem)   composeChargeItem("String_Node_Str",(ChargeItem)resource);
 else   if (resource instanceof Claim)   composeClaim("String_Node_Str",(Claim)resource);
 else   if (resource instanceof ClaimResponse)   composeClaimResponse("String_Node_Str",(ClaimResponse)resource);
 else   if (resource instanceof ClinicalImpression)   composeClinicalImpression("String_Node_Str",(ClinicalImpression)resource);
 else   if (resource instanceof CodeSystem)   composeCodeSystem("String_Node_Str",(CodeSystem)resource);
 else   if (resource instanceof Communication)   composeCommunication("String_Node_Str",(Communication)resource);
 else   if (resource instanceof CommunicationRequest)   composeCommunicationRequest("String_Node_Str",(CommunicationRequest)resource);
 else   if (resource instanceof CompartmentDefinition)   composeCompartmentDefinition("String_Node_Str",(CompartmentDefinition)resource);
 else   if (resource instanceof Composition)   composeComposition("String_Node_Str",(Composition)resource);
 else   if (resource instanceof ConceptMap)   composeConceptMap("String_Node_Str",(ConceptMap)resource);
 else   if (resource instanceof Condition)   composeCondition("String_Node_Str",(Condition)resource);
 else   if (resource instanceof Consent)   composeConsent("String_Node_Str",(Consent)resource);
 else   if (resource instanceof Contract)   composeContract("String_Node_Str",(Contract)resource);
 else   if (resource instanceof Coverage)   composeCoverage("String_Node_Str",(Coverage)resource);
 else   if (resource instanceof DetectedIssue)   composeDetectedIssue("String_Node_Str",(DetectedIssue)resource);
 else   if (resource instanceof Device)   composeDevice("String_Node_Str",(Device)resource);
 else   if (resource instanceof DeviceComponent)   composeDeviceComponent("String_Node_Str",(DeviceComponent)resource);
 else   if (resource instanceof DeviceMetric)   composeDeviceMetric("String_Node_Str",(DeviceMetric)resource);
 else   if (resource instanceof DeviceRequest)   composeDeviceRequest("String_Node_Str",(DeviceRequest)resource);
 else   if (resource instanceof DeviceUseStatement)   composeDeviceUseStatement("String_Node_Str",(DeviceUseStatement)resource);
 else   if (resource instanceof DiagnosticReport)   composeDiagnosticReport("String_Node_Str",(DiagnosticReport)resource);
 else   if (resource instanceof DocumentManifest)   composeDocumentManifest("String_Node_Str",(DocumentManifest)resource);
 else   if (resource instanceof DocumentReference)   composeDocumentReference("String_Node_Str",(DocumentReference)resource);
 else   if (resource instanceof EligibilityRequest)   composeEligibilityRequest("String_Node_Str",(EligibilityRequest)resource);
 else   if (resource instanceof EligibilityResponse)   composeEligibilityResponse("String_Node_Str",(EligibilityResponse)resource);
 else   if (resource instanceof Encounter)   composeEncounter("String_Node_Str",(Encounter)resource);
 else   if (resource instanceof Endpoint)   composeEndpoint("String_Node_Str",(Endpoint)resource);
 else   if (resource instanceof EnrollmentRequest)   composeEnrollmentRequest("String_Node_Str",(EnrollmentRequest)resource);
 else   if (resource instanceof EnrollmentResponse)   composeEnrollmentResponse("String_Node_Str",(EnrollmentResponse)resource);
 else   if (resource instanceof EntryDefinition)   composeEntryDefinition("String_Node_Str",(EntryDefinition)resource);
 else   if (resource instanceof EpisodeOfCare)   composeEpisodeOfCare("String_Node_Str",(EpisodeOfCare)resource);
 else   if (resource instanceof EventDefinition)   composeEventDefinition("String_Node_Str",(EventDefinition)resource);
 else   if (resource instanceof ExampleScenario)   composeExampleScenario("String_Node_Str",(ExampleScenario)resource);
 else   if (resource instanceof ExpansionProfile)   composeExpansionProfile("String_Node_Str",(ExpansionProfile)resource);
 else   if (resource instanceof ExplanationOfBenefit)   composeExplanationOfBenefit("String_Node_Str",(ExplanationOfBenefit)resource);
 else   if (resource instanceof FamilyMemberHistory)   composeFamilyMemberHistory("String_Node_Str",(FamilyMemberHistory)resource);
 else   if (resource instanceof Flag)   composeFlag("String_Node_Str",(Flag)resource);
 else   if (resource instanceof Goal)   composeGoal("String_Node_Str",(Goal)resource);
 else   if (resource instanceof GraphDefinition)   composeGraphDefinition("String_Node_Str",(GraphDefinition)resource);
 else   if (resource instanceof Group)   composeGroup("String_Node_Str",(Group)resource);
 else   if (resource instanceof GuidanceResponse)   composeGuidanceResponse("String_Node_Str",(GuidanceResponse)resource);
 else   if (resource instanceof HealthcareService)   composeHealthcareService("String_Node_Str",(HealthcareService)resource);
 else   if (resource instanceof ImagingStudy)   composeImagingStudy("String_Node_Str",(ImagingStudy)resource);
 else   if (resource instanceof Immunization)   composeImmunization("String_Node_Str",(Immunization)resource);
 else   if (resource instanceof ImmunizationEvaluation)   composeImmunizationEvaluation("String_Node_Str",(ImmunizationEvaluation)resource);
 else   if (resource instanceof ImmunizationRecommendation)   composeImmunizationRecommendation("String_Node_Str",(ImmunizationRecommendation)resource);
 else   if (resource instanceof ImplementationGuide)   composeImplementationGuide("String_Node_Str",(ImplementationGuide)resource);
 else   if (resource instanceof ImplementationGuideInput)   composeImplementationGuideInput("String_Node_Str",(ImplementationGuideInput)resource);
 else   if (resource instanceof ImplementationGuideOutput)   composeImplementationGuideOutput("String_Node_Str",(ImplementationGuideOutput)resource);
 else   if (resource instanceof Invoice)   composeInvoice("String_Node_Str",(Invoice)resource);
 else   if (resource instanceof ItemInstance)   composeItemInstance("String_Node_Str",(ItemInstance)resource);
 else   if (resource instanceof Library)   composeLibrary("String_Node_Str",(Library)resource);
 else   if (resource instanceof Linkage)   composeLinkage("String_Node_Str",(Linkage)resource);
 else   if (resource instanceof ListResource)   composeListResource("String_Node_Str",(ListResource)resource);
 else   if (resource instanceof Location)   composeLocation("String_Node_Str",(Location)resource);
 else   if (resource instanceof Measure)   composeMeasure("String_Node_Str",(Measure)resource);
 else   if (resource instanceof MeasureReport)   composeMeasureReport("String_Node_Str",(MeasureReport)resource);
 else   if (resource instanceof Media)   composeMedia("String_Node_Str",(Media)resource);
 else   if (resource instanceof Medication)   composeMedication("String_Node_Str",(Medication)resource);
 else   if (resource instanceof MedicationAdministration)   composeMedicationAdministration("String_Node_Str",(MedicationAdministration)resource);
 else   if (resource instanceof MedicationDispense)   composeMedicationDispense("String_Node_Str",(MedicationDispense)resource);
 else   if (resource instanceof MedicationRequest)   composeMedicationRequest("String_Node_Str",(MedicationRequest)resource);
 else   if (resource instanceof MedicationStatement)   composeMedicationStatement("String_Node_Str",(MedicationStatement)resource);
 else   if (resource instanceof MedicinalProduct)   composeMedicinalProduct("String_Node_Str",(MedicinalProduct)resource);
 else   if (resource instanceof MedicinalProductAuthorization)   composeMedicinalProductAuthorization("String_Node_Str",(MedicinalProductAuthorization)resource);
 else   if (resource instanceof MedicinalProductClinicals)   composeMedicinalProductClinicals("String_Node_Str",(MedicinalProductClinicals)resource);
 else   if (resource instanceof MedicinalProductDeviceSpec)   composeMedicinalProductDeviceSpec("String_Node_Str",(MedicinalProductDeviceSpec)resource);
 else   if (resource instanceof MedicinalProductIngredient)   composeMedicinalProductIngredient("String_Node_Str",(MedicinalProductIngredient)resource);
 else   if (resource instanceof MedicinalProductPackaged)   composeMedicinalProductPackaged("String_Node_Str",(MedicinalProductPackaged)resource);
 else   if (resource instanceof MedicinalProductPharmaceutical)   composeMedicinalProductPharmaceutical("String_Node_Str",(MedicinalProductPharmaceutical)resource);
 else   if (resource instanceof MessageDefinition)   composeMessageDefinition("String_Node_Str",(MessageDefinition)resource);
 else   if (resource instanceof MessageHeader)   composeMessageHeader("String_Node_Str",(MessageHeader)resource);
 else   if (resource instanceof NamingSystem)   composeNamingSystem("String_Node_Str",(NamingSystem)resource);
 else   if (resource instanceof NutritionOrder)   composeNutritionOrder("String_Node_Str",(NutritionOrder)resource);
 else   if (resource instanceof Observation)   composeObservation("String_Node_Str",(Observation)resource);
 else   if (resource instanceof ObservationDefinition)   composeObservationDefinition("String_Node_Str",(ObservationDefinition)resource);
 else   if (resource instanceof OccupationalData)   composeOccupationalData("String_Node_Str",(OccupationalData)resource);
 else   if (resource instanceof OperationDefinition)   composeOperationDefinition("String_Node_Str",(OperationDefinition)resource);
 else   if (resource instanceof OperationOutcome)   composeOperationOutcome("String_Node_Str",(OperationOutcome)resource);
 else   if (resource instanceof Organization)   composeOrganization("String_Node_Str",(Organization)resource);
 else   if (resource instanceof OrganizationRole)   composeOrganizationRole("String_Node_Str",(OrganizationRole)resource);
 else   if (resource instanceof Patient)   composePatient("String_Node_Str",(Patient)resource);
 else   if (resource instanceof PaymentNotice)   composePaymentNotice("String_Node_Str",(PaymentNotice)resource);
 else   if (resource instanceof PaymentReconciliation)   composePaymentReconciliation("String_Node_Str",(PaymentReconciliation)resource);
 else   if (resource instanceof Person)   composePerson("String_Node_Str",(Person)resource);
 else   if (resource instanceof PlanDefinition)   composePlanDefinition("String_Node_Str",(PlanDefinition)resource);
 else   if (resource instanceof Practitioner)   composePractitioner("String_Node_Str",(Practitioner)resource);
 else   if (resource instanceof PractitionerRole)   composePractitionerRole("String_Node_Str",(PractitionerRole)resource);
 else   if (resource instanceof Procedure)   composeProcedure("String_Node_Str",(Procedure)resource);
 else   if (resource instanceof ProcessRequest)   composeProcessRequest("String_Node_Str",(ProcessRequest)resource);
 else   if (resource instanceof ProcessResponse)   composeProcessResponse("String_Node_Str",(ProcessResponse)resource);
 else   if (resource instanceof ProductPlan)   composeProductPlan("String_Node_Str",(ProductPlan)resource);
 else   if (resource instanceof Provenance)   composeProvenance("String_Node_Str",(Provenance)resource);
 else   if (resource instanceof Questionnaire)   composeQuestionnaire("String_Node_Str",(Questionnaire)resource);
 else   if (resource instanceof QuestionnaireResponse)   composeQuestionnaireResponse("String_Node_Str",(QuestionnaireResponse)resource);
 else   if (resource instanceof RelatedPerson)   composeRelatedPerson("String_Node_Str",(RelatedPerson)resource);
 else   if (resource instanceof RequestGroup)   composeRequestGroup("String_Node_Str",(RequestGroup)resource);
 else   if (resource instanceof ResearchStudy)   composeResearchStudy("String_Node_Str",(ResearchStudy)resource);
 else   if (resource instanceof ResearchSubject)   composeResearchSubject("String_Node_Str",(ResearchSubject)resource);
 else   if (resource instanceof RiskAssessment)   composeRiskAssessment("String_Node_Str",(RiskAssessment)resource);
 else   if (resource instanceof Schedule)   composeSchedule("String_Node_Str",(Schedule)resource);
 else   if (resource instanceof SearchParameter)   composeSearchParameter("String_Node_Str",(SearchParameter)resource);
 else   if (resource instanceof Sequence)   composeSequence("String_Node_Str",(Sequence)resource);
 else   if (resource instanceof ServiceRequest)   composeServiceRequest("String_Node_Str",(ServiceRequest)resource);
 else   if (resource instanceof Slot)   composeSlot("String_Node_Str",(Slot)resource);
 else   if (resource instanceof Specimen)   composeSpecimen("String_Node_Str",(Specimen)resource);
 else   if (resource instanceof SpecimenDefinition)   composeSpecimenDefinition("String_Node_Str",(SpecimenDefinition)resource);
 else   if (resource instanceof StructureDefinition)   composeStructureDefinition("String_Node_Str",(StructureDefinition)resource);
 else   if (resource instanceof StructureMap)   composeStructureMap("String_Node_Str",(StructureMap)resource);
 else   if (resource instanceof Subscription)   composeSubscription("String_Node_Str",(Subscription)resource);
 else   if (resource instanceof Substance)   composeSubstance("String_Node_Str",(Substance)resource);
 else   if (resource instanceof SubstancePolymer)   composeSubstancePolymer("String_Node_Str",(SubstancePolymer)resource);
 else   if (resource instanceof SubstanceReferenceInformation)   composeSubstanceReferenceInformation("String_Node_Str",(SubstanceReferenceInformation)resource);
 else   if (resource instanceof SubstanceSpecification)   composeSubstanceSpecification("String_Node_Str",(SubstanceSpecification)resource);
 else   if (resource instanceof SupplyDelivery)   composeSupplyDelivery("String_Node_Str",(SupplyDelivery)resource);
 else   if (resource instanceof SupplyRequest)   composeSupplyRequest("String_Node_Str",(SupplyRequest)resource);
 else   if (resource instanceof Task)   composeTask("String_Node_Str",(Task)resource);
 else   if (resource instanceof TerminologyCapabilities)   composeTerminologyCapabilities("String_Node_Str",(TerminologyCapabilities)resource);
 else   if (resource instanceof TestReport)   composeTestReport("String_Node_Str",(TestReport)resource);
 else   if (resource instanceof TestScript)   composeTestScript("String_Node_Str",(TestScript)resource);
 else   if (resource instanceof UserSession)   composeUserSession("String_Node_Str",(UserSession)resource);
 else   if (resource instanceof ValueSet)   composeValueSet("String_Node_Str",(ValueSet)resource);
 else   if (resource instanceof VerificationResult)   composeVerificationResult("String_Node_Str",(VerificationResult)resource);
 else   if (resource instanceof VisionPrescription)   composeVisionPrescription("String_Node_Str",(VisionPrescription)resource);
 else   if (resource instanceof Binary)   composeBinary("String_Node_Str",(Binary)resource);
 else   throw new Error("String_Node_Str" + resource.getClass().getName());
}

Fixed version (ground truth):
@Override protected void composeResource(Resource resource) throws IOException {
  if (resource instanceof Parameters)   composeParameters("String_Node_Str",(Parameters)resource);
 else   if (resource instanceof Account)   composeAccount("String_Node_Str",(Account)resource);
 else   if (resource instanceof ActivityDefinition)   composeActivityDefinition("String_Node_Str",(ActivityDefinition)resource);
 else   if (resource instanceof AdverseEvent)   composeAdverseEvent("String_Node_Str",(AdverseEvent)resource);
 else   if (resource instanceof AllergyIntolerance)   composeAllergyIntolerance("String_Node_Str",(AllergyIntolerance)resource);
 else   if (resource instanceof Appointment)   composeAppointment("String_Node_Str",(Appointment)resource);
 else   if (resource instanceof AppointmentResponse)   composeAppointmentResponse("String_Node_Str",(AppointmentResponse)resource);
 else   if (resource instanceof AuditEvent)   composeAuditEvent("String_Node_Str",(AuditEvent)resource);
 else   if (resource instanceof Basic)   composeBasic("String_Node_Str",(Basic)resource);
 else   if (resource instanceof Binary)   composeBinary("String_Node_Str",(Binary)resource);
 else   if (resource instanceof BiologicallyDerivedProduct)   composeBiologicallyDerivedProduct("String_Node_Str",(BiologicallyDerivedProduct)resource);
 else   if (resource instanceof BodyStructure)   composeBodyStructure("String_Node_Str",(BodyStructure)resource);
 else   if (resource instanceof Bundle)   composeBundle("String_Node_Str",(Bundle)resource);
 else   if (resource instanceof CapabilityStatement)   composeCapabilityStatement("String_Node_Str",(CapabilityStatement)resource);
 else   if (resource instanceof CarePlan)   composeCarePlan("String_Node_Str",(CarePlan)resource);
 else   if (resource instanceof CareTeam)   composeCareTeam("String_Node_Str",(CareTeam)resource);
 else   if (resource instanceof ChargeItem)   composeChargeItem("String_Node_Str",(ChargeItem)resource);
 else   if (resource instanceof Claim)   composeClaim("String_Node_Str",(Claim)resource);
 else   if (resource instanceof ClaimResponse)   composeClaimResponse("String_Node_Str",(ClaimResponse)resource);
 else   if (resource instanceof ClinicalImpression)   composeClinicalImpression("String_Node_Str",(ClinicalImpression)resource);
 else   if (resource instanceof CodeSystem)   composeCodeSystem("String_Node_Str",(CodeSystem)resource);
 else   if (resource instanceof Communication)   composeCommunication("String_Node_Str",(Communication)resource);
 else   if (resource instanceof CommunicationRequest)   composeCommunicationRequest("String_Node_Str",(CommunicationRequest)resource);
 else   if (resource instanceof CompartmentDefinition)   composeCompartmentDefinition("String_Node_Str",(CompartmentDefinition)resource);
 else   if (resource instanceof Composition)   composeComposition("String_Node_Str",(Composition)resource);
 else   if (resource instanceof ConceptMap)   composeConceptMap("String_Node_Str",(ConceptMap)resource);
 else   if (resource instanceof Condition)   composeCondition("String_Node_Str",(Condition)resource);
 else   if (resource instanceof Consent)   composeConsent("String_Node_Str",(Consent)resource);
 else   if (resource instanceof Contract)   composeContract("String_Node_Str",(Contract)resource);
 else   if (resource instanceof Coverage)   composeCoverage("String_Node_Str",(Coverage)resource);
 else   if (resource instanceof DetectedIssue)   composeDetectedIssue("String_Node_Str",(DetectedIssue)resource);
 else   if (resource instanceof Device)   composeDevice("String_Node_Str",(Device)resource);
 else   if (resource instanceof DeviceComponent)   composeDeviceComponent("String_Node_Str",(DeviceComponent)resource);
 else   if (resource instanceof DeviceMetric)   composeDeviceMetric("String_Node_Str",(DeviceMetric)resource);
 else   if (resource instanceof DeviceRequest)   composeDeviceRequest("String_Node_Str",(DeviceRequest)resource);
 else   if (resource instanceof DeviceUseStatement)   composeDeviceUseStatement("String_Node_Str",(DeviceUseStatement)resource);
 else   if (resource instanceof DiagnosticReport)   composeDiagnosticReport("String_Node_Str",(DiagnosticReport)resource);
 else   if (resource instanceof DocumentManifest)   composeDocumentManifest("String_Node_Str",(DocumentManifest)resource);
 else   if (resource instanceof DocumentReference)   composeDocumentReference("String_Node_Str",(DocumentReference)resource);
 else   if (resource instanceof EligibilityRequest)   composeEligibilityRequest("String_Node_Str",(EligibilityRequest)resource);
 else   if (resource instanceof EligibilityResponse)   composeEligibilityResponse("String_Node_Str",(EligibilityResponse)resource);
 else   if (resource instanceof Encounter)   composeEncounter("String_Node_Str",(Encounter)resource);
 else   if (resource instanceof Endpoint)   composeEndpoint("String_Node_Str",(Endpoint)resource);
 else   if (resource instanceof EnrollmentRequest)   composeEnrollmentRequest("String_Node_Str",(EnrollmentRequest)resource);
 else   if (resource instanceof EnrollmentResponse)   composeEnrollmentResponse("String_Node_Str",(EnrollmentResponse)resource);
 else   if (resource instanceof EntryDefinition)   composeEntryDefinition("String_Node_Str",(EntryDefinition)resource);
 else   if (resource instanceof EpisodeOfCare)   composeEpisodeOfCare("String_Node_Str",(EpisodeOfCare)resource);
 else   if (resource instanceof EventDefinition)   composeEventDefinition("String_Node_Str",(EventDefinition)resource);
 else   if (resource instanceof ExampleScenario)   composeExampleScenario("String_Node_Str",(ExampleScenario)resource);
 else   if (resource instanceof ExpansionProfile)   composeExpansionProfile("String_Node_Str",(ExpansionProfile)resource);
 else   if (resource instanceof ExplanationOfBenefit)   composeExplanationOfBenefit("String_Node_Str",(ExplanationOfBenefit)resource);
 else   if (resource instanceof FamilyMemberHistory)   composeFamilyMemberHistory("String_Node_Str",(FamilyMemberHistory)resource);
 else   if (resource instanceof Flag)   composeFlag("String_Node_Str",(Flag)resource);
 else   if (resource instanceof Goal)   composeGoal("String_Node_Str",(Goal)resource);
 else   if (resource instanceof GraphDefinition)   composeGraphDefinition("String_Node_Str",(GraphDefinition)resource);
 else   if (resource instanceof Group)   composeGroup("String_Node_Str",(Group)resource);
 else   if (resource instanceof GuidanceResponse)   composeGuidanceResponse("String_Node_Str",(GuidanceResponse)resource);
 else   if (resource instanceof HealthcareService)   composeHealthcareService("String_Node_Str",(HealthcareService)resource);
 else   if (resource instanceof ImagingStudy)   composeImagingStudy("String_Node_Str",(ImagingStudy)resource);
 else   if (resource instanceof Immunization)   composeImmunization("String_Node_Str",(Immunization)resource);
 else   if (resource instanceof ImmunizationEvaluation)   composeImmunizationEvaluation("String_Node_Str",(ImmunizationEvaluation)resource);
 else   if (resource instanceof ImmunizationRecommendation)   composeImmunizationRecommendation("String_Node_Str",(ImmunizationRecommendation)resource);
 else   if (resource instanceof ImplementationGuide)   composeImplementationGuide("String_Node_Str",(ImplementationGuide)resource);
 else   if (resource instanceof Invoice)   composeInvoice("String_Node_Str",(Invoice)resource);
 else   if (resource instanceof ItemInstance)   composeItemInstance("String_Node_Str",(ItemInstance)resource);
 else   if (resource instanceof Library)   composeLibrary("String_Node_Str",(Library)resource);
 else   if (resource instanceof Linkage)   composeLinkage("String_Node_Str",(Linkage)resource);
 else   if (resource instanceof ListResource)   composeListResource("String_Node_Str",(ListResource)resource);
 else   if (resource instanceof Location)   composeLocation("String_Node_Str",(Location)resource);
 else   if (resource instanceof Measure)   composeMeasure("String_Node_Str",(Measure)resource);
 else   if (resource instanceof MeasureReport)   composeMeasureReport("String_Node_Str",(MeasureReport)resource);
 else   if (resource instanceof Media)   composeMedia("String_Node_Str",(Media)resource);
 else   if (resource instanceof Medication)   composeMedication("String_Node_Str",(Medication)resource);
 else   if (resource instanceof MedicationAdministration)   composeMedicationAdministration("String_Node_Str",(MedicationAdministration)resource);
 else   if (resource instanceof MedicationDispense)   composeMedicationDispense("String_Node_Str",(MedicationDispense)resource);
 else   if (resource instanceof MedicationRequest)   composeMedicationRequest("String_Node_Str",(MedicationRequest)resource);
 else   if (resource instanceof MedicationStatement)   composeMedicationStatement("String_Node_Str",(MedicationStatement)resource);
 else   if (resource instanceof MedicinalProduct)   composeMedicinalProduct("String_Node_Str",(MedicinalProduct)resource);
 else   if (resource instanceof MedicinalProductAuthorization)   composeMedicinalProductAuthorization("String_Node_Str",(MedicinalProductAuthorization)resource);
 else   if (resource instanceof MedicinalProductClinicals)   composeMedicinalProductClinicals("String_Node_Str",(MedicinalProductClinicals)resource);
 else   if (resource instanceof MedicinalProductDeviceSpec)   composeMedicinalProductDeviceSpec("String_Node_Str",(MedicinalProductDeviceSpec)resource);
 else   if (resource instanceof MedicinalProductIngredient)   composeMedicinalProductIngredient("String_Node_Str",(MedicinalProductIngredient)resource);
 else   if (resource instanceof MedicinalProductPackaged)   composeMedicinalProductPackaged("String_Node_Str",(MedicinalProductPackaged)resource);
 else   if (resource instanceof MedicinalProductPharmaceutical)   composeMedicinalProductPharmaceutical("String_Node_Str",(MedicinalProductPharmaceutical)resource);
 else   if (resource instanceof MessageDefinition)   composeMessageDefinition("String_Node_Str",(MessageDefinition)resource);
 else   if (resource instanceof MessageHeader)   composeMessageHeader("String_Node_Str",(MessageHeader)resource);
 else   if (resource instanceof NamingSystem)   composeNamingSystem("String_Node_Str",(NamingSystem)resource);
 else   if (resource instanceof NutritionOrder)   composeNutritionOrder("String_Node_Str",(NutritionOrder)resource);
 else   if (resource instanceof Observation)   composeObservation("String_Node_Str",(Observation)resource);
 else   if (resource instanceof ObservationDefinition)   composeObservationDefinition("String_Node_Str",(ObservationDefinition)resource);
 else   if (resource instanceof OccupationalData)   composeOccupationalData("String_Node_Str",(OccupationalData)resource);
 else   if (resource instanceof OperationDefinition)   composeOperationDefinition("String_Node_Str",(OperationDefinition)resource);
 else   if (resource instanceof OperationOutcome)   composeOperationOutcome("String_Node_Str",(OperationOutcome)resource);
 else   if (resource instanceof Organization)   composeOrganization("String_Node_Str",(Organization)resource);
 else   if (resource instanceof OrganizationRole)   composeOrganizationRole("String_Node_Str",(OrganizationRole)resource);
 else   if (resource instanceof Patient)   composePatient("String_Node_Str",(Patient)resource);
 else   if (resource instanceof PaymentNotice)   composePaymentNotice("String_Node_Str",(PaymentNotice)resource);
 else   if (resource instanceof PaymentReconciliation)   composePaymentReconciliation("String_Node_Str",(PaymentReconciliation)resource);
 else   if (resource instanceof Person)   composePerson("String_Node_Str",(Person)resource);
 else   if (resource instanceof PlanDefinition)   composePlanDefinition("String_Node_Str",(PlanDefinition)resource);
 else   if (resource instanceof Practitioner)   composePractitioner("String_Node_Str",(Practitioner)resource);
 else   if (resource instanceof PractitionerRole)   composePractitionerRole("String_Node_Str",(PractitionerRole)resource);
 else   if (resource instanceof Procedure)   composeProcedure("String_Node_Str",(Procedure)resource);
 else   if (resource instanceof ProcessRequest)   composeProcessRequest("String_Node_Str",(ProcessRequest)resource);
 else   if (resource instanceof ProcessResponse)   composeProcessResponse("String_Node_Str",(ProcessResponse)resource);
 else   if (resource instanceof ProductPlan)   composeProductPlan("String_Node_Str",(ProductPlan)resource);
 else   if (resource instanceof Provenance)   composeProvenance("String_Node_Str",(Provenance)resource);
 else   if (resource instanceof Questionnaire)   composeQuestionnaire("String_Node_Str",(Questionnaire)resource);
 else   if (resource instanceof QuestionnaireResponse)   composeQuestionnaireResponse("String_Node_Str",(QuestionnaireResponse)resource);
 else   if (resource instanceof RelatedPerson)   composeRelatedPerson("String_Node_Str",(RelatedPerson)resource);
 else   if (resource instanceof RequestGroup)   composeRequestGroup("String_Node_Str",(RequestGroup)resource);
 else   if (resource instanceof ResearchStudy)   composeResearchStudy("String_Node_Str",(ResearchStudy)resource);
 else   if (resource instanceof ResearchSubject)   composeResearchSubject("String_Node_Str",(ResearchSubject)resource);
 else   if (resource instanceof RiskAssessment)   composeRiskAssessment("String_Node_Str",(RiskAssessment)resource);
 else   if (resource instanceof Schedule)   composeSchedule("String_Node_Str",(Schedule)resource);
 else   if (resource instanceof SearchParameter)   composeSearchParameter("String_Node_Str",(SearchParameter)resource);
 else   if (resource instanceof Sequence)   composeSequence("String_Node_Str",(Sequence)resource);
 else   if (resource instanceof ServiceRequest)   composeServiceRequest("String_Node_Str",(ServiceRequest)resource);
 else   if (resource instanceof Slot)   composeSlot("String_Node_Str",(Slot)resource);
 else   if (resource instanceof Specimen)   composeSpecimen("String_Node_Str",(Specimen)resource);
 else   if (resource instanceof SpecimenDefinition)   composeSpecimenDefinition("String_Node_Str",(SpecimenDefinition)resource);
 else   if (resource instanceof StructureDefinition)   composeStructureDefinition("String_Node_Str",(StructureDefinition)resource);
 else   if (resource instanceof StructureMap)   composeStructureMap("String_Node_Str",(StructureMap)resource);
 else   if (resource instanceof Subscription)   composeSubscription("String_Node_Str",(Subscription)resource);
 else   if (resource instanceof Substance)   composeSubstance("String_Node_Str",(Substance)resource);
 else   if (resource instanceof SubstancePolymer)   composeSubstancePolymer("String_Node_Str",(SubstancePolymer)resource);
 else   if (resource instanceof SubstanceReferenceInformation)   composeSubstanceReferenceInformation("String_Node_Str",(SubstanceReferenceInformation)resource);
 else   if (resource instanceof SubstanceSpecification)   composeSubstanceSpecification("String_Node_Str",(SubstanceSpecification)resource);
 else   if (resource instanceof SupplyDelivery)   composeSupplyDelivery("String_Node_Str",(SupplyDelivery)resource);
 else   if (resource instanceof SupplyRequest)   composeSupplyRequest("String_Node_Str",(SupplyRequest)resource);
 else   if (resource instanceof Task)   composeTask("String_Node_Str",(Task)resource);
 else   if (resource instanceof TerminologyCapabilities)   composeTerminologyCapabilities("String_Node_Str",(TerminologyCapabilities)resource);
 else   if (resource instanceof TestReport)   composeTestReport("String_Node_Str",(TestReport)resource);
 else   if (resource instanceof TestScript)   composeTestScript("String_Node_Str",(TestScript)resource);
 else   if (resource instanceof UserSession)   composeUserSession("String_Node_Str",(UserSession)resource);
 else   if (resource instanceof ValueSet)   composeValueSet("String_Node_Str",(ValueSet)resource);
 else   if (resource instanceof VerificationResult)   composeVerificationResult("String_Node_Str",(VerificationResult)resource);
 else   if (resource instanceof VisionPrescription)   composeVisionPrescription("String_Node_Str",(VisionPrescription)resource);
 else   if (resource instanceof Binary)   composeBinary("String_Node_Str",(Binary)resource);
 else   throw new Error("String_Node_Str" + resource.getClass().getName());
}