<%== render partial: "organization", locals: {organization: insurance_provider.payer, tag_name: payer} %> <% if insurance_provider.subscriber %> <%== render partial: 'person_attributes', locals: {person: insurance_provider.subscriber} %> <% end %> <% if insurance_provider.relationship %> <%== gc32_code_display insurance_provider, "attribute" => "relationship", "tag_name" => "relationshipToSubscriber" %> <% end %> <% insurance_provider.guarantors.each do |g| %> <%== gc32_interval(insurance_provider, "financialResponsibilityDateRange", :start_time, :end_time) %> <% if g.organization %> <%== render partial: 'organization', locals: {organization: g.organization}%> <% elsif g.person%> <%== render partial: 'person_attributes', locals: {person: g.person} %> <% end %> <% end %> <%=insurance_provider.name%> <% if insurance_provider.free_text%> <%= insurance_provider.free_text%> <% end %>