<% if patient.provider_performances.empty? -%> <% else -%> <% patient.provider_performances.each do |pp| -%> /> /> <% pp.provider.cda_identifiers.each do |cda_id| -%> <% unless cda_id.root.eql? '2.16.840.1.113883.4.2' -%> <% end -%> <% end -%> <% if pp.provider.specialty %> <% end %> <%== render :partial=>"address" , :collection=>pp.provider.addresses %> <%== render :partial=>"telecom", :collection=>pp.provider.telecoms %> <%= pp.provider.given_name %> <%= pp.provider.family_name %> <% pp.provider.cda_identifiers.each do |cda_id| -%> <% if cda_id.root.eql?('2.16.840.1.113883.4.2') -%> <% end -%> <% end -%> <%if pp.provider.organization %> <%= pp.provider.organization.name %> <%== render :partial=>"address" , :collection=>pp.provider.organization.addresses %> <%== render :partial=>"telecom", :collection=>pp.provider.organization.telecoms %> <% else %> <%== render :partial=>"address" , :collection=>pp.provider.addresses %> <%== render :partial=>"telecom", :collection=>pp.provider.telecoms %> <% end %> <% end -%> <% end -%>