Program: 24013
Project: 24013
Buggy source:
@Override protected void composeResource(Complex parent,Resource resource){
  if (resource instanceof Parameters)   composeParameters(parent,null,"String_Node_Str",(Parameters)resource,-1);
 else   if (resource instanceof Account)   composeAccount(parent,null,"String_Node_Str",(Account)resource,-1);
 else   if (resource instanceof AllergyIntolerance)   composeAllergyIntolerance(parent,null,"String_Node_Str",(AllergyIntolerance)resource,-1);
 else   if (resource instanceof Appointment)   composeAppointment(parent,null,"String_Node_Str",(Appointment)resource,-1);
 else   if (resource instanceof AppointmentResponse)   composeAppointmentResponse(parent,null,"String_Node_Str",(AppointmentResponse)resource,-1);
 else   if (resource instanceof AuditEvent)   composeAuditEvent(parent,null,"String_Node_Str",(AuditEvent)resource,-1);
 else   if (resource instanceof Basic)   composeBasic(parent,null,"String_Node_Str",(Basic)resource,-1);
 else   if (resource instanceof Binary)   composeBinary(parent,null,"String_Node_Str",(Binary)resource,-1);
 else   if (resource instanceof BodySite)   composeBodySite(parent,null,"String_Node_Str",(BodySite)resource,-1);
 else   if (resource instanceof Bundle)   composeBundle(parent,null,"String_Node_Str",(Bundle)resource,-1);
 else   if (resource instanceof CarePlan)   composeCarePlan(parent,null,"String_Node_Str",(CarePlan)resource,-1);
 else   if (resource instanceof CareTeam)   composeCareTeam(parent,null,"String_Node_Str",(CareTeam)resource,-1);
 else   if (resource instanceof Claim)   composeClaim(parent,null,"String_Node_Str",(Claim)resource,-1);
 else   if (resource instanceof ClaimResponse)   composeClaimResponse(parent,null,"String_Node_Str",(ClaimResponse)resource,-1);
 else   if (resource instanceof ClinicalImpression)   composeClinicalImpression(parent,null,"String_Node_Str",(ClinicalImpression)resource,-1);
 else   if (resource instanceof CodeSystem)   composeCodeSystem(parent,null,"String_Node_Str",(CodeSystem)resource,-1);
 else   if (resource instanceof Communication)   composeCommunication(parent,null,"String_Node_Str",(Communication)resource,-1);
 else   if (resource instanceof CommunicationRequest)   composeCommunicationRequest(parent,null,"String_Node_Str",(CommunicationRequest)resource,-1);
 else   if (resource instanceof CompartmentDefinition)   composeCompartmentDefinition(parent,null,"String_Node_Str",(CompartmentDefinition)resource,-1);
 else   if (resource instanceof Composition)   composeComposition(parent,null,"String_Node_Str",(Composition)resource,-1);
 else   if (resource instanceof ConceptMap)   composeConceptMap(parent,null,"String_Node_Str",(ConceptMap)resource,-1);
 else   if (resource instanceof Condition)   composeCondition(parent,null,"String_Node_Str",(Condition)resource,-1);
 else   if (resource instanceof Conformance)   composeConformance(parent,null,"String_Node_Str",(Conformance)resource,-1);
 else   if (resource instanceof Consent)   composeConsent(parent,null,"String_Node_Str",(Consent)resource,-1);
 else   if (resource instanceof Contract)   composeContract(parent,null,"String_Node_Str",(Contract)resource,-1);
 else   if (resource instanceof Coverage)   composeCoverage(parent,null,"String_Node_Str",(Coverage)resource,-1);
 else   if (resource instanceof DataElement)   composeDataElement(parent,null,"String_Node_Str",(DataElement)resource,-1);
 else   if (resource instanceof DecisionSupportRule)   composeDecisionSupportRule(parent,null,"String_Node_Str",(DecisionSupportRule)resource,-1);
 else   if (resource instanceof DecisionSupportServiceModule)   composeDecisionSupportServiceModule(parent,null,"String_Node_Str",(DecisionSupportServiceModule)resource,-1);
 else   if (resource instanceof DetectedIssue)   composeDetectedIssue(parent,null,"String_Node_Str",(DetectedIssue)resource,-1);
 else   if (resource instanceof Device)   composeDevice(parent,null,"String_Node_Str",(Device)resource,-1);
 else   if (resource instanceof DeviceComponent)   composeDeviceComponent(parent,null,"String_Node_Str",(DeviceComponent)resource,-1);
 else   if (resource instanceof DeviceMetric)   composeDeviceMetric(parent,null,"String_Node_Str",(DeviceMetric)resource,-1);
 else   if (resource instanceof DeviceUseRequest)   composeDeviceUseRequest(parent,null,"String_Node_Str",(DeviceUseRequest)resource,-1);
 else   if (resource instanceof DeviceUseStatement)   composeDeviceUseStatement(parent,null,"String_Node_Str",(DeviceUseStatement)resource,-1);
 else   if (resource instanceof DiagnosticOrder)   composeDiagnosticOrder(parent,null,"String_Node_Str",(DiagnosticOrder)resource,-1);
 else   if (resource instanceof DiagnosticReport)   composeDiagnosticReport(parent,null,"String_Node_Str",(DiagnosticReport)resource,-1);
 else   if (resource instanceof DocumentManifest)   composeDocumentManifest(parent,null,"String_Node_Str",(DocumentManifest)resource,-1);
 else   if (resource instanceof DocumentReference)   composeDocumentReference(parent,null,"String_Node_Str",(DocumentReference)resource,-1);
 else   if (resource instanceof EligibilityRequest)   composeEligibilityRequest(parent,null,"String_Node_Str",(EligibilityRequest)resource,-1);
 else   if (resource instanceof EligibilityResponse)   composeEligibilityResponse(parent,null,"String_Node_Str",(EligibilityResponse)resource,-1);
 else   if (resource instanceof Encounter)   composeEncounter(parent,null,"String_Node_Str",(Encounter)resource,-1);
 else   if (resource instanceof Endpoint)   composeEndpoint(parent,null,"String_Node_Str",(Endpoint)resource,-1);
 else   if (resource instanceof EnrollmentRequest)   composeEnrollmentRequest(parent,null,"String_Node_Str",(EnrollmentRequest)resource,-1);
 else   if (resource instanceof EnrollmentResponse)   composeEnrollmentResponse(parent,null,"String_Node_Str",(EnrollmentResponse)resource,-1);
 else   if (resource instanceof EpisodeOfCare)   composeEpisodeOfCare(parent,null,"String_Node_Str",(EpisodeOfCare)resource,-1);
 else   if (resource instanceof ExpansionProfile)   composeExpansionProfile(parent,null,"String_Node_Str",(ExpansionProfile)resource,-1);
 else   if (resource instanceof ExplanationOfBenefit)   composeExplanationOfBenefit(parent,null,"String_Node_Str",(ExplanationOfBenefit)resource,-1);
 else   if (resource instanceof FamilyMemberHistory)   composeFamilyMemberHistory(parent,null,"String_Node_Str",(FamilyMemberHistory)resource,-1);
 else   if (resource instanceof Flag)   composeFlag(parent,null,"String_Node_Str",(Flag)resource,-1);
 else   if (resource instanceof Goal)   composeGoal(parent,null,"String_Node_Str",(Goal)resource,-1);
 else   if (resource instanceof Group)   composeGroup(parent,null,"String_Node_Str",(Group)resource,-1);
 else   if (resource instanceof GuidanceResponse)   composeGuidanceResponse(parent,null,"String_Node_Str",(GuidanceResponse)resource,-1);
 else   if (resource instanceof HealthcareService)   composeHealthcareService(parent,null,"String_Node_Str",(HealthcareService)resource,-1);
 else   if (resource instanceof ImagingManifest)   composeImagingManifest(parent,null,"String_Node_Str",(ImagingManifest)resource,-1);
 else   if (resource instanceof ImagingStudy)   composeImagingStudy(parent,null,"String_Node_Str",(ImagingStudy)resource,-1);
 else   if (resource instanceof Immunization)   composeImmunization(parent,null,"String_Node_Str",(Immunization)resource,-1);
 else   if (resource instanceof ImmunizationRecommendation)   composeImmunizationRecommendation(parent,null,"String_Node_Str",(ImmunizationRecommendation)resource,-1);
 else   if (resource instanceof ImplementationGuide)   composeImplementationGuide(parent,null,"String_Node_Str",(ImplementationGuide)resource,-1);
 else   if (resource instanceof Library)   composeLibrary(parent,null,"String_Node_Str",(Library)resource,-1);
 else   if (resource instanceof Linkage)   composeLinkage(parent,null,"String_Node_Str",(Linkage)resource,-1);
 else   if (resource instanceof ListResource)   composeListResource(parent,null,"String_Node_Str",(ListResource)resource,-1);
 else   if (resource instanceof Location)   composeLocation(parent,null,"String_Node_Str",(Location)resource,-1);
 else   if (resource instanceof Measure)   composeMeasure(parent,null,"String_Node_Str",(Measure)resource,-1);
 else   if (resource instanceof MeasureReport)   composeMeasureReport(parent,null,"String_Node_Str",(MeasureReport)resource,-1);
 else   if (resource instanceof Media)   composeMedia(parent,null,"String_Node_Str",(Media)resource,-1);
 else   if (resource instanceof Medication)   composeMedication(parent,null,"String_Node_Str",(Medication)resource,-1);
 else   if (resource instanceof MedicationAdministration)   composeMedicationAdministration(parent,null,"String_Node_Str",(MedicationAdministration)resource,-1);
 else   if (resource instanceof MedicationDispense)   composeMedicationDispense(parent,null,"String_Node_Str",(MedicationDispense)resource,-1);
 else   if (resource instanceof MedicationOrder)   composeMedicationOrder(parent,null,"String_Node_Str",(MedicationOrder)resource,-1);
 else   if (resource instanceof MedicationStatement)   composeMedicationStatement(parent,null,"String_Node_Str",(MedicationStatement)resource,-1);
 else   if (resource instanceof MessageHeader)   composeMessageHeader(parent,null,"String_Node_Str",(MessageHeader)resource,-1);
 else   if (resource instanceof ModuleDefinition)   composeModuleDefinition(parent,null,"String_Node_Str",(ModuleDefinition)resource,-1);
 else   if (resource instanceof NamingSystem)   composeNamingSystem(parent,null,"String_Node_Str",(NamingSystem)resource,-1);
 else   if (resource instanceof NutritionOrder)   composeNutritionOrder(parent,null,"String_Node_Str",(NutritionOrder)resource,-1);
 else   if (resource instanceof Observation)   composeObservation(parent,null,"String_Node_Str",(Observation)resource,-1);
 else   if (resource instanceof OperationDefinition)   composeOperationDefinition(parent,null,"String_Node_Str",(OperationDefinition)resource,-1);
 else   if (resource instanceof OperationOutcome)   composeOperationOutcome(parent,null,"String_Node_Str",(OperationOutcome)resource,-1);
 else   if (resource instanceof Order)   composeOrder(parent,null,"String_Node_Str",(Order)resource,-1);
 else   if (resource instanceof OrderResponse)   composeOrderResponse(parent,null,"String_Node_Str",(OrderResponse)resource,-1);
 else   if (resource instanceof OrderSet)   composeOrderSet(parent,null,"String_Node_Str",(OrderSet)resource,-1);
 else   if (resource instanceof Organization)   composeOrganization(parent,null,"String_Node_Str",(Organization)resource,-1);
 else   if (resource instanceof Patient)   composePatient(parent,null,"String_Node_Str",(Patient)resource,-1);
 else   if (resource instanceof PaymentNotice)   composePaymentNotice(parent,null,"String_Node_Str",(PaymentNotice)resource,-1);
 else   if (resource instanceof PaymentReconciliation)   composePaymentReconciliation(parent,null,"String_Node_Str",(PaymentReconciliation)resource,-1);
 else   if (resource instanceof Person)   composePerson(parent,null,"String_Node_Str",(Person)resource,-1);
 else   if (resource instanceof Practitioner)   composePractitioner(parent,null,"String_Node_Str",(Practitioner)resource,-1);
 else   if (resource instanceof PractitionerRole)   composePractitionerRole(parent,null,"String_Node_Str",(PractitionerRole)resource,-1);
 else   if (resource instanceof Procedure)   composeProcedure(parent,null,"String_Node_Str",(Procedure)resource,-1);
 else   if (resource instanceof ProcedureRequest)   composeProcedureRequest(parent,null,"String_Node_Str",(ProcedureRequest)resource,-1);
 else   if (resource instanceof ProcessRequest)   composeProcessRequest(parent,null,"String_Node_Str",(ProcessRequest)resource,-1);
 else   if (resource instanceof ProcessResponse)   composeProcessResponse(parent,null,"String_Node_Str",(ProcessResponse)resource,-1);
 else   if (resource instanceof Protocol)   composeProtocol(parent,null,"String_Node_Str",(Protocol)resource,-1);
 else   if (resource instanceof Provenance)   composeProvenance(parent,null,"String_Node_Str",(Provenance)resource,-1);
 else   if (resource instanceof Questionnaire)   composeQuestionnaire(parent,null,"String_Node_Str",(Questionnaire)resource,-1);
 else   if (resource instanceof QuestionnaireResponse)   composeQuestionnaireResponse(parent,null,"String_Node_Str",(QuestionnaireResponse)resource,-1);
 else   if (resource instanceof ReferralRequest)   composeReferralRequest(parent,null,"String_Node_Str",(ReferralRequest)resource,-1);
 else   if (resource instanceof RelatedPerson)   composeRelatedPerson(parent,null,"String_Node_Str",(RelatedPerson)resource,-1);
 else   if (resource instanceof RiskAssessment)   composeRiskAssessment(parent,null,"String_Node_Str",(RiskAssessment)resource,-1);
 else   if (resource instanceof Schedule)   composeSchedule(parent,null,"String_Node_Str",(Schedule)resource,-1);
 else   if (resource instanceof SearchParameter)   composeSearchParameter(parent,null,"String_Node_Str",(SearchParameter)resource,-1);
 else   if (resource instanceof Sequence)   composeSequence(parent,null,"String_Node_Str",(Sequence)resource,-1);
 else   if (resource instanceof Slot)   composeSlot(parent,null,"String_Node_Str",(Slot)resource,-1);
 else   if (resource instanceof Specimen)   composeSpecimen(parent,null,"String_Node_Str",(Specimen)resource,-1);
 else   if (resource instanceof StructureDefinition)   composeStructureDefinition(parent,null,"String_Node_Str",(StructureDefinition)resource,-1);
 else   if (resource instanceof StructureMap)   composeStructureMap(parent,null,"String_Node_Str",(StructureMap)resource,-1);
 else   if (resource instanceof Subscription)   composeSubscription(parent,null,"String_Node_Str",(Subscription)resource,-1);
 else   if (resource instanceof Substance)   composeSubstance(parent,null,"String_Node_Str",(Substance)resource,-1);
 else   if (resource instanceof SupplyDelivery)   composeSupplyDelivery(parent,null,"String_Node_Str",(SupplyDelivery)resource,-1);
 else   if (resource instanceof SupplyRequest)   composeSupplyRequest(parent,null,"String_Node_Str",(SupplyRequest)resource,-1);
 else   if (resource instanceof Task)   composeTask(parent,null,"String_Node_Str",(Task)resource,-1);
 else   if (resource instanceof TestScript)   composeTestScript(parent,null,"String_Node_Str",(TestScript)resource,-1);
 else   if (resource instanceof ValueSet)   composeValueSet(parent,null,"String_Node_Str",(ValueSet)resource,-1);
 else   if (resource instanceof VisionPrescription)   composeVisionPrescription(parent,null,"String_Node_Str",(VisionPrescription)resource,-1);
 else   throw new Error("String_Node_Str" + resource.getClass().getName());
}

Fixed version (ground truth):
@Override protected void composeResource(Complex parent,Resource resource){
  if (resource instanceof Parameters)   composeParameters(parent,null,"String_Node_Str",(Parameters)resource,-1);
 else   if (resource instanceof Account)   composeAccount(parent,null,"String_Node_Str",(Account)resource,-1);
 else   if (resource instanceof ActivityDefinition)   composeActivityDefinition(parent,null,"String_Node_Str",(ActivityDefinition)resource,-1);
 else   if (resource instanceof AllergyIntolerance)   composeAllergyIntolerance(parent,null,"String_Node_Str",(AllergyIntolerance)resource,-1);
 else   if (resource instanceof Appointment)   composeAppointment(parent,null,"String_Node_Str",(Appointment)resource,-1);
 else   if (resource instanceof AppointmentResponse)   composeAppointmentResponse(parent,null,"String_Node_Str",(AppointmentResponse)resource,-1);
 else   if (resource instanceof AuditEvent)   composeAuditEvent(parent,null,"String_Node_Str",(AuditEvent)resource,-1);
 else   if (resource instanceof Basic)   composeBasic(parent,null,"String_Node_Str",(Basic)resource,-1);
 else   if (resource instanceof Binary)   composeBinary(parent,null,"String_Node_Str",(Binary)resource,-1);
 else   if (resource instanceof BodySite)   composeBodySite(parent,null,"String_Node_Str",(BodySite)resource,-1);
 else   if (resource instanceof Bundle)   composeBundle(parent,null,"String_Node_Str",(Bundle)resource,-1);
 else   if (resource instanceof CarePlan)   composeCarePlan(parent,null,"String_Node_Str",(CarePlan)resource,-1);
 else   if (resource instanceof CareTeam)   composeCareTeam(parent,null,"String_Node_Str",(CareTeam)resource,-1);
 else   if (resource instanceof Claim)   composeClaim(parent,null,"String_Node_Str",(Claim)resource,-1);
 else   if (resource instanceof ClaimResponse)   composeClaimResponse(parent,null,"String_Node_Str",(ClaimResponse)resource,-1);
 else   if (resource instanceof ClinicalImpression)   composeClinicalImpression(parent,null,"String_Node_Str",(ClinicalImpression)resource,-1);
 else   if (resource instanceof CodeSystem)   composeCodeSystem(parent,null,"String_Node_Str",(CodeSystem)resource,-1);
 else   if (resource instanceof Communication)   composeCommunication(parent,null,"String_Node_Str",(Communication)resource,-1);
 else   if (resource instanceof CommunicationRequest)   composeCommunicationRequest(parent,null,"String_Node_Str",(CommunicationRequest)resource,-1);
 else   if (resource instanceof CompartmentDefinition)   composeCompartmentDefinition(parent,null,"String_Node_Str",(CompartmentDefinition)resource,-1);
 else   if (resource instanceof Composition)   composeComposition(parent,null,"String_Node_Str",(Composition)resource,-1);
 else   if (resource instanceof ConceptMap)   composeConceptMap(parent,null,"String_Node_Str",(ConceptMap)resource,-1);
 else   if (resource instanceof Condition)   composeCondition(parent,null,"String_Node_Str",(Condition)resource,-1);
 else   if (resource instanceof Conformance)   composeConformance(parent,null,"String_Node_Str",(Conformance)resource,-1);
 else   if (resource instanceof Consent)   composeConsent(parent,null,"String_Node_Str",(Consent)resource,-1);
 else   if (resource instanceof Contract)   composeContract(parent,null,"String_Node_Str",(Contract)resource,-1);
 else   if (resource instanceof Coverage)   composeCoverage(parent,null,"String_Node_Str",(Coverage)resource,-1);
 else   if (resource instanceof DataElement)   composeDataElement(parent,null,"String_Node_Str",(DataElement)resource,-1);
 else   if (resource instanceof DecisionSupportRule)   composeDecisionSupportRule(parent,null,"String_Node_Str",(DecisionSupportRule)resource,-1);
 else   if (resource instanceof DecisionSupportServiceModule)   composeDecisionSupportServiceModule(parent,null,"String_Node_Str",(DecisionSupportServiceModule)resource,-1);
 else   if (resource instanceof DetectedIssue)   composeDetectedIssue(parent,null,"String_Node_Str",(DetectedIssue)resource,-1);
 else   if (resource instanceof Device)   composeDevice(parent,null,"String_Node_Str",(Device)resource,-1);
 else   if (resource instanceof DeviceComponent)   composeDeviceComponent(parent,null,"String_Node_Str",(DeviceComponent)resource,-1);
 else   if (resource instanceof DeviceMetric)   composeDeviceMetric(parent,null,"String_Node_Str",(DeviceMetric)resource,-1);
 else   if (resource instanceof DeviceUseRequest)   composeDeviceUseRequest(parent,null,"String_Node_Str",(DeviceUseRequest)resource,-1);
 else   if (resource instanceof DeviceUseStatement)   composeDeviceUseStatement(parent,null,"String_Node_Str",(DeviceUseStatement)resource,-1);
 else   if (resource instanceof DiagnosticOrder)   composeDiagnosticOrder(parent,null,"String_Node_Str",(DiagnosticOrder)resource,-1);
 else   if (resource instanceof DiagnosticReport)   composeDiagnosticReport(parent,null,"String_Node_Str",(DiagnosticReport)resource,-1);
 else   if (resource instanceof DocumentManifest)   composeDocumentManifest(parent,null,"String_Node_Str",(DocumentManifest)resource,-1);
 else   if (resource instanceof DocumentReference)   composeDocumentReference(parent,null,"String_Node_Str",(DocumentReference)resource,-1);
 else   if (resource instanceof EligibilityRequest)   composeEligibilityRequest(parent,null,"String_Node_Str",(EligibilityRequest)resource,-1);
 else   if (resource instanceof EligibilityResponse)   composeEligibilityResponse(parent,null,"String_Node_Str",(EligibilityResponse)resource,-1);
 else   if (resource instanceof Encounter)   composeEncounter(parent,null,"String_Node_Str",(Encounter)resource,-1);
 else   if (resource instanceof Endpoint)   composeEndpoint(parent,null,"String_Node_Str",(Endpoint)resource,-1);
 else   if (resource instanceof EnrollmentRequest)   composeEnrollmentRequest(parent,null,"String_Node_Str",(EnrollmentRequest)resource,-1);
 else   if (resource instanceof EnrollmentResponse)   composeEnrollmentResponse(parent,null,"String_Node_Str",(EnrollmentResponse)resource,-1);
 else   if (resource instanceof EpisodeOfCare)   composeEpisodeOfCare(parent,null,"String_Node_Str",(EpisodeOfCare)resource,-1);
 else   if (resource instanceof ExpansionProfile)   composeExpansionProfile(parent,null,"String_Node_Str",(ExpansionProfile)resource,-1);
 else   if (resource instanceof ExplanationOfBenefit)   composeExplanationOfBenefit(parent,null,"String_Node_Str",(ExplanationOfBenefit)resource,-1);
 else   if (resource instanceof FamilyMemberHistory)   composeFamilyMemberHistory(parent,null,"String_Node_Str",(FamilyMemberHistory)resource,-1);
 else   if (resource instanceof Flag)   composeFlag(parent,null,"String_Node_Str",(Flag)resource,-1);
 else   if (resource instanceof Goal)   composeGoal(parent,null,"String_Node_Str",(Goal)resource,-1);
 else   if (resource instanceof Group)   composeGroup(parent,null,"String_Node_Str",(Group)resource,-1);
 else   if (resource instanceof GuidanceResponse)   composeGuidanceResponse(parent,null,"String_Node_Str",(GuidanceResponse)resource,-1);
 else   if (resource instanceof HealthcareService)   composeHealthcareService(parent,null,"String_Node_Str",(HealthcareService)resource,-1);
 else   if (resource instanceof ImagingManifest)   composeImagingManifest(parent,null,"String_Node_Str",(ImagingManifest)resource,-1);
 else   if (resource instanceof ImagingStudy)   composeImagingStudy(parent,null,"String_Node_Str",(ImagingStudy)resource,-1);
 else   if (resource instanceof Immunization)   composeImmunization(parent,null,"String_Node_Str",(Immunization)resource,-1);
 else   if (resource instanceof ImmunizationRecommendation)   composeImmunizationRecommendation(parent,null,"String_Node_Str",(ImmunizationRecommendation)resource,-1);
 else   if (resource instanceof ImplementationGuide)   composeImplementationGuide(parent,null,"String_Node_Str",(ImplementationGuide)resource,-1);
 else   if (resource instanceof Library)   composeLibrary(parent,null,"String_Node_Str",(Library)resource,-1);
 else   if (resource instanceof Linkage)   composeLinkage(parent,null,"String_Node_Str",(Linkage)resource,-1);
 else   if (resource instanceof ListResource)   composeListResource(parent,null,"String_Node_Str",(ListResource)resource,-1);
 else   if (resource instanceof Location)   composeLocation(parent,null,"String_Node_Str",(Location)resource,-1);
 else   if (resource instanceof Measure)   composeMeasure(parent,null,"String_Node_Str",(Measure)resource,-1);
 else   if (resource instanceof MeasureReport)   composeMeasureReport(parent,null,"String_Node_Str",(MeasureReport)resource,-1);
 else   if (resource instanceof Media)   composeMedia(parent,null,"String_Node_Str",(Media)resource,-1);
 else   if (resource instanceof Medication)   composeMedication(parent,null,"String_Node_Str",(Medication)resource,-1);
 else   if (resource instanceof MedicationAdministration)   composeMedicationAdministration(parent,null,"String_Node_Str",(MedicationAdministration)resource,-1);
 else   if (resource instanceof MedicationDispense)   composeMedicationDispense(parent,null,"String_Node_Str",(MedicationDispense)resource,-1);
 else   if (resource instanceof MedicationOrder)   composeMedicationOrder(parent,null,"String_Node_Str",(MedicationOrder)resource,-1);
 else   if (resource instanceof MedicationStatement)   composeMedicationStatement(parent,null,"String_Node_Str",(MedicationStatement)resource,-1);
 else   if (resource instanceof MessageHeader)   composeMessageHeader(parent,null,"String_Node_Str",(MessageHeader)resource,-1);
 else   if (resource instanceof ModuleDefinition)   composeModuleDefinition(parent,null,"String_Node_Str",(ModuleDefinition)resource,-1);
 else   if (resource instanceof NamingSystem)   composeNamingSystem(parent,null,"String_Node_Str",(NamingSystem)resource,-1);
 else   if (resource instanceof NutritionOrder)   composeNutritionOrder(parent,null,"String_Node_Str",(NutritionOrder)resource,-1);
 else   if (resource instanceof Observation)   composeObservation(parent,null,"String_Node_Str",(Observation)resource,-1);
 else   if (resource instanceof OperationDefinition)   composeOperationDefinition(parent,null,"String_Node_Str",(OperationDefinition)resource,-1);
 else   if (resource instanceof OperationOutcome)   composeOperationOutcome(parent,null,"String_Node_Str",(OperationOutcome)resource,-1);
 else   if (resource instanceof Order)   composeOrder(parent,null,"String_Node_Str",(Order)resource,-1);
 else   if (resource instanceof OrderResponse)   composeOrderResponse(parent,null,"String_Node_Str",(OrderResponse)resource,-1);
 else   if (resource instanceof OrderSet)   composeOrderSet(parent,null,"String_Node_Str",(OrderSet)resource,-1);
 else   if (resource instanceof Organization)   composeOrganization(parent,null,"String_Node_Str",(Organization)resource,-1);
 else   if (resource instanceof Patient)   composePatient(parent,null,"String_Node_Str",(Patient)resource,-1);
 else   if (resource instanceof PaymentNotice)   composePaymentNotice(parent,null,"String_Node_Str",(PaymentNotice)resource,-1);
 else   if (resource instanceof PaymentReconciliation)   composePaymentReconciliation(parent,null,"String_Node_Str",(PaymentReconciliation)resource,-1);
 else   if (resource instanceof Person)   composePerson(parent,null,"String_Node_Str",(Person)resource,-1);
 else   if (resource instanceof Practitioner)   composePractitioner(parent,null,"String_Node_Str",(Practitioner)resource,-1);
 else   if (resource instanceof PractitionerRole)   composePractitionerRole(parent,null,"String_Node_Str",(PractitionerRole)resource,-1);
 else   if (resource instanceof Procedure)   composeProcedure(parent,null,"String_Node_Str",(Procedure)resource,-1);
 else   if (resource instanceof ProcedureRequest)   composeProcedureRequest(parent,null,"String_Node_Str",(ProcedureRequest)resource,-1);
 else   if (resource instanceof ProcessRequest)   composeProcessRequest(parent,null,"String_Node_Str",(ProcessRequest)resource,-1);
 else   if (resource instanceof ProcessResponse)   composeProcessResponse(parent,null,"String_Node_Str",(ProcessResponse)resource,-1);
 else   if (resource instanceof Protocol)   composeProtocol(parent,null,"String_Node_Str",(Protocol)resource,-1);
 else   if (resource instanceof Provenance)   composeProvenance(parent,null,"String_Node_Str",(Provenance)resource,-1);
 else   if (resource instanceof Questionnaire)   composeQuestionnaire(parent,null,"String_Node_Str",(Questionnaire)resource,-1);
 else   if (resource instanceof QuestionnaireResponse)   composeQuestionnaireResponse(parent,null,"String_Node_Str",(QuestionnaireResponse)resource,-1);
 else   if (resource instanceof ReferralRequest)   composeReferralRequest(parent,null,"String_Node_Str",(ReferralRequest)resource,-1);
 else   if (resource instanceof RelatedPerson)   composeRelatedPerson(parent,null,"String_Node_Str",(RelatedPerson)resource,-1);
 else   if (resource instanceof RiskAssessment)   composeRiskAssessment(parent,null,"String_Node_Str",(RiskAssessment)resource,-1);
 else   if (resource instanceof Schedule)   composeSchedule(parent,null,"String_Node_Str",(Schedule)resource,-1);
 else   if (resource instanceof SearchParameter)   composeSearchParameter(parent,null,"String_Node_Str",(SearchParameter)resource,-1);
 else   if (resource instanceof Sequence)   composeSequence(parent,null,"String_Node_Str",(Sequence)resource,-1);
 else   if (resource instanceof Slot)   composeSlot(parent,null,"String_Node_Str",(Slot)resource,-1);
 else   if (resource instanceof Specimen)   composeSpecimen(parent,null,"String_Node_Str",(Specimen)resource,-1);
 else   if (resource instanceof StructureDefinition)   composeStructureDefinition(parent,null,"String_Node_Str",(StructureDefinition)resource,-1);
 else   if (resource instanceof StructureMap)   composeStructureMap(parent,null,"String_Node_Str",(StructureMap)resource,-1);
 else   if (resource instanceof Subscription)   composeSubscription(parent,null,"String_Node_Str",(Subscription)resource,-1);
 else   if (resource instanceof Substance)   composeSubstance(parent,null,"String_Node_Str",(Substance)resource,-1);
 else   if (resource instanceof SupplyDelivery)   composeSupplyDelivery(parent,null,"String_Node_Str",(SupplyDelivery)resource,-1);
 else   if (resource instanceof SupplyRequest)   composeSupplyRequest(parent,null,"String_Node_Str",(SupplyRequest)resource,-1);
 else   if (resource instanceof Task)   composeTask(parent,null,"String_Node_Str",(Task)resource,-1);
 else   if (resource instanceof TestScript)   composeTestScript(parent,null,"String_Node_Str",(TestScript)resource,-1);
 else   if (resource instanceof ValueSet)   composeValueSet(parent,null,"String_Node_Str",(ValueSet)resource,-1);
 else   if (resource instanceof VisionPrescription)   composeVisionPrescription(parent,null,"String_Node_Str",(VisionPrescription)resource,-1);
 else   throw new Error("String_Node_Str" + resource.getClass().getName());
}