Program: 24002
Project: 24002
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 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 BodySite)   composeBodySite("String_Node_Str",(BodySite)resource);
 else   if (resource instanceof Bundle)   composeBundle("String_Node_Str",(Bundle)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 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 Conformance)   composeConformance("String_Node_Str",(Conformance)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 DataElement)   composeDataElement("String_Node_Str",(DataElement)resource);
 else   if (resource instanceof DecisionSupportRule)   composeDecisionSupportRule("String_Node_Str",(DecisionSupportRule)resource);
 else   if (resource instanceof DecisionSupportServiceModule)   composeDecisionSupportServiceModule("String_Node_Str",(DecisionSupportServiceModule)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 DeviceUseRequest)   composeDeviceUseRequest("String_Node_Str",(DeviceUseRequest)resource);
 else   if (resource instanceof DeviceUseStatement)   composeDeviceUseStatement("String_Node_Str",(DeviceUseStatement)resource);
 else   if (resource instanceof DiagnosticOrder)   composeDiagnosticOrder("String_Node_Str",(DiagnosticOrder)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 EpisodeOfCare)   composeEpisodeOfCare("String_Node_Str",(EpisodeOfCare)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 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 ImagingManifest)   composeImagingManifest("String_Node_Str",(ImagingManifest)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 ImmunizationRecommendation)   composeImmunizationRecommendation("String_Node_Str",(ImmunizationRecommendation)resource);
 else   if (resource instanceof ImplementationGuide)   composeImplementationGuide("String_Node_Str",(ImplementationGuide)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 MedicationOrder)   composeMedicationOrder("String_Node_Str",(MedicationOrder)resource);
 else   if (resource instanceof MedicationStatement)   composeMedicationStatement("String_Node_Str",(MedicationStatement)resource);
 else   if (resource instanceof MessageHeader)   composeMessageHeader("String_Node_Str",(MessageHeader)resource);
 else   if (resource instanceof ModuleDefinition)   composeModuleDefinition("String_Node_Str",(ModuleDefinition)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 OperationDefinition)   composeOperationDefinition("String_Node_Str",(OperationDefinition)resource);
 else   if (resource instanceof OperationOutcome)   composeOperationOutcome("String_Node_Str",(OperationOutcome)resource);
 else   if (resource instanceof Order)   composeOrder("String_Node_Str",(Order)resource);
 else   if (resource instanceof OrderResponse)   composeOrderResponse("String_Node_Str",(OrderResponse)resource);
 else   if (resource instanceof OrderSet)   composeOrderSet("String_Node_Str",(OrderSet)resource);
 else   if (resource instanceof Organization)   composeOrganization("String_Node_Str",(Organization)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 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 ProcedureRequest)   composeProcedureRequest("String_Node_Str",(ProcedureRequest)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 Protocol)   composeProtocol("String_Node_Str",(Protocol)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 ReferralRequest)   composeReferralRequest("String_Node_Str",(ReferralRequest)resource);
 else   if (resource instanceof RelatedPerson)   composeRelatedPerson("String_Node_Str",(RelatedPerson)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 Slot)   composeSlot("String_Node_Str",(Slot)resource);
 else   if (resource instanceof Specimen)   composeSpecimen("String_Node_Str",(Specimen)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 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 TestScript)   composeTestScript("String_Node_Str",(TestScript)resource);
 else   if (resource instanceof ValueSet)   composeValueSet("String_Node_Str",(ValueSet)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 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 BodySite)   composeBodySite("String_Node_Str",(BodySite)resource);
 else   if (resource instanceof Bundle)   composeBundle("String_Node_Str",(Bundle)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 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 Conformance)   composeConformance("String_Node_Str",(Conformance)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 DataElement)   composeDataElement("String_Node_Str",(DataElement)resource);
 else   if (resource instanceof DecisionSupportRule)   composeDecisionSupportRule("String_Node_Str",(DecisionSupportRule)resource);
 else   if (resource instanceof DecisionSupportServiceModule)   composeDecisionSupportServiceModule("String_Node_Str",(DecisionSupportServiceModule)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 DeviceUseRequest)   composeDeviceUseRequest("String_Node_Str",(DeviceUseRequest)resource);
 else   if (resource instanceof DeviceUseStatement)   composeDeviceUseStatement("String_Node_Str",(DeviceUseStatement)resource);
 else   if (resource instanceof DiagnosticOrder)   composeDiagnosticOrder("String_Node_Str",(DiagnosticOrder)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 EpisodeOfCare)   composeEpisodeOfCare("String_Node_Str",(EpisodeOfCare)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 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 ImagingManifest)   composeImagingManifest("String_Node_Str",(ImagingManifest)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 ImmunizationRecommendation)   composeImmunizationRecommendation("String_Node_Str",(ImmunizationRecommendation)resource);
 else   if (resource instanceof ImplementationGuide)   composeImplementationGuide("String_Node_Str",(ImplementationGuide)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 MedicationOrder)   composeMedicationOrder("String_Node_Str",(MedicationOrder)resource);
 else   if (resource instanceof MedicationStatement)   composeMedicationStatement("String_Node_Str",(MedicationStatement)resource);
 else   if (resource instanceof MessageHeader)   composeMessageHeader("String_Node_Str",(MessageHeader)resource);
 else   if (resource instanceof ModuleDefinition)   composeModuleDefinition("String_Node_Str",(ModuleDefinition)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 OperationDefinition)   composeOperationDefinition("String_Node_Str",(OperationDefinition)resource);
 else   if (resource instanceof OperationOutcome)   composeOperationOutcome("String_Node_Str",(OperationOutcome)resource);
 else   if (resource instanceof Order)   composeOrder("String_Node_Str",(Order)resource);
 else   if (resource instanceof OrderResponse)   composeOrderResponse("String_Node_Str",(OrderResponse)resource);
 else   if (resource instanceof OrderSet)   composeOrderSet("String_Node_Str",(OrderSet)resource);
 else   if (resource instanceof Organization)   composeOrganization("String_Node_Str",(Organization)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 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 ProcedureRequest)   composeProcedureRequest("String_Node_Str",(ProcedureRequest)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 Protocol)   composeProtocol("String_Node_Str",(Protocol)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 ReferralRequest)   composeReferralRequest("String_Node_Str",(ReferralRequest)resource);
 else   if (resource instanceof RelatedPerson)   composeRelatedPerson("String_Node_Str",(RelatedPerson)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 Slot)   composeSlot("String_Node_Str",(Slot)resource);
 else   if (resource instanceof Specimen)   composeSpecimen("String_Node_Str",(Specimen)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 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 TestScript)   composeTestScript("String_Node_Str",(TestScript)resource);
 else   if (resource instanceof ValueSet)   composeValueSet("String_Node_Str",(ValueSet)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());
}