daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest May 16th, 2018 118 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <script src="/FusionCharts/FusionCharts.js" type="text/javascript"></script>
  2.  
  3. <div id="whyadd_explanation" style="display:none">
  4.     <h1>
  5.         Why Add This Provider?
  6.     </h1>
  7.  
  8.     <p>By adding your providers you gain a number of advantages.  First and foremost you can then use this provider when managing your bills in the bill management section.  Secondly, with our new
  9.     activity feeds you are now instantly notified when there are new comments and ratings on your providers, as well as notified about who else is using this provider. </p>
  10.     <p>In the future you will be able to find out how your provider is related to other providers, health issues, prescriptions, and insurances.  So go ahead and add your provider now!</p>
  11. </div>
  12.  
  13. <h1 class="profile">
  14.     <div class="left">
  15.         <%= @medical_provider.name %>
  16.     </div>
  17.     <% unless logged_in? && current_user.my_provider?(@medical_provider)%>
  18.     <div id="add_to_my_background">
  19.          <%= link_to 'Add to My Providers', {:controller => 'providers', :action => 'new', :id => @medical_provider.id}, :class => 'protected' %><br /><small><%= link_to_function 'Why?  Learn More.', "new Lightbox.base('whyadd_explanation');" %></small>
  20.     </div>
  21.     <% end %>
  22.     <div class="clear"></div>
  23. </h1>
  24.  
  25. <div id="profile_information">
  26.     <div class="profile_general">
  27.         <ul>
  28.             <li><%= image_tag '/newimages/provider_profile_icon.png' %></li>
  29.             <li><div class="comment_badge"><a href="#comments"><%= @medical_provider.comments.count %></a><br /><small><a href="#comments">Comments</a></small></div></li>
  30.             <li>
  31.             <div class="rating_badge">
  32.             <% if logged_in? %>
  33.                
  34.                 <% if @survey_result %>
  35.                 <% if @survey_result.score_sample_size > 0 %>
  36.                 <%= number_with_precision(@survey_result.score, 0) %>
  37.                 <% else %>
  38.                ?
  39.                 <% end %>
  40.                 <% end %>
  41.             <% else %>
  42.             ?
  43.                 <% end %>
  44.             <br /><small>Rating</small>
  45.                    
  46.             </div>
  47.             </li>
  48.            
  49.             <li>
  50. <div id="survey_area"></div>
  51. <% if logged_in? %><p><%= link_to_remote 'Rate Provider',               :update   => { :success => 'survey_area' },
  52.                 :url      => { :action => 'show', :controller => 'provider_survey', :survey_id => @survey.id.to_s, :subject_id => @medical_provider.id.to_s,:subject_type => 'MedicalProvider' },
  53.                 :complete => "new Lightbox.base('survey_area', { before : function(){  }, after : function(){  } } );" -%><br /><%= link_to_remote 'View Details',
  54.             :update   => { :success => 'survey_area' },
  55.             :url      => { :action => 'results', :controller => 'provider_survey', :survey_id => @survey.id.to_s, :subject_id => @medical_provider.id.to_s,:subject_type => 'MedicalProvider' },
  56.             :complete => "new Lightbox.base('survey_area', { before : function(){  }, after : function(){  } } );" -%></p><% else %><p>Login to<br /> view rating.</p><% end %></li>
  57.         </ul>
  58.  
  59. <div class="basic_info">
  60. <p>
  61. <strong><%= @medical_provider.type %></strong>
  62. <br />
  63. <% if @is_physician %>
  64.     <%= @medical_provider.actual_provider.specialty %>, <%= @medical_provider.actual_provider.primary_specialty %>, <%= @medical_provider.actual_provider.secondary_specialty %>
  65. <% end %>
  66. </p>
  67. <p><%= @medical_provider.address %><br />
  68. <%= @medical_provider.city %>, <%= @medical_provider.state %> <br />
  69. <%= @medical_provider.zipcode %> -  <% if @have_location%>
  70.         <strong><%= link_to('Map It!', {:controller => 'medical_providers', :action => 'show', :view => 'map', :id => @medical_provider.id}) %></strong>
  71.     <% else %>
  72.     <% end %>
  73. <br />
  74. <%= @medical_provider.telephone %></p>
  75.  
  76. </div>
  77.     </div>
  78.  
  79.  
  80.  
  81. <div id="shared_arrow"></div>
  82.    
  83. <div id="shared_connections">
  84. <%= image_tag '/newimages/coming_soon.png' %>
  85. </div>
  86.     <div class="clear"></div>
  87. </div>
  88.  
  89.  
  90.  
  91.  
  92.  
  93. <div class="clear"></div>
  94.  
  95. <% unless @is_pharmacy %>
  96. <div class="chart_background">
  97.  
  98. <div class="provider_toggle">
  99.     <h3>Inpatient Graphs</h3>
  100.         <ul class="provider_options">
  101.             <% if @is_hospital %>
  102.             <li><a href="#" onclick="Effect.Appear('inpatient_volume_chart', {to: 1.000001}); Effect.Fade('inpatient_cost_chart', {duration: 0});Effect.Fade('outpatient_volume_chart', {duration: 0});Effect.Fade('outpatient_cost_chart', {duration: 0});return false;">Top 5 Health Issues by Volume</a></li>
  103.             <% end %>
  104.             <% if @is_hospital || @is_physician %>
  105.             <li><a href="#" onclick="Effect.Appear('inpatient_cost_chart', {to: 1.000001}); Effect.Fade('inpatient_volume_chart', {duration: 0});Effect.Fade('outpatient_volume_chart', {duration: 0});Effect.Fade('outpatient_cost_chart', {duration: 0});return false;">Average Cost of top 5 <% if @is_hospital %>Health Issues<% end %><% if @is_physician %>Procedures<% end %></a></li>
  106.             <% end %>
  107.         </ul>
  108.  
  109.     <h3>Outpatient Graphs</h3>
  110.         <ul class="provider_options">
  111.             <% if @is_hospital %>
  112.             <li><a href="#" onclick="Effect.Appear('outpatient_volume_chart', {to: 1.000001}); Effect.Fade('inpatient_volume_chart', {duration: 0});Effect.Fade('inpatient_cost_chart', {duration: 0});Effect.Fade('outpatient_cost_chart', {duration: 0});return false;">Top 5 Health Issues by Volume</a></li>
  113.             <% end %>
  114.             <% if @is_hospital || @is_physician %>
  115.             <li><a href="#" onclick="Effect.Appear('outpatient_cost_chart', {to: 1.000001}); Effect.Fade('inpatient_volume_chart', {duration: 0});Effect.Fade('inpatient_cost_chart', {duration: 0});Effect.Fade('outpatient_volume_chart', {duration: 0});return false;">Average Cost of top 5 <% if @is_hospital %>Health Issues<% end %><% if @is_physician %>Procedures<% end %></a></li>
  116.             <% end %>
  117.         </ul>
  118.  
  119. </div>
  120.  
  121.     <div id='inpatient_volume_chart' <% if @is_physician%>style="display:none"<%end%>>
  122. <% if @inpatient_volume_chart %>
  123.         <h2>Top 5 Inpatient Health Issues by Volume</h2>
  124.             <div class="provider_graph" >
  125.                 <script type="text/javascript">
  126.                     var style_inpatient_volume_chart = "<styles><definition><style name='ValuesFontStyle' type='font' face='Arial' size='14' color='32363f' bold='1'  /></definition><application><apply toObject='Datavalues' styles='ValuesFontStyle' /></application></styles>";
  127.                 </script>
  128.                 <%= @inpatient_volume_chart%>
  129.             </div>
  130. <% else %>
  131.   <%= image_tag('/newimages/empty_provider_graph.png') %>          
  132. <% end %>
  133.     </div>
  134.  
  135.  
  136.     <div id='outpatient_volume_chart' style="display:none">
  137. <% if @outpatient_volume_chart %>
  138.         <h2>Top 5 Outpatient Health Issues by Volume</h2>
  139.             <div class="provider_graph">
  140.                 <script type="text/javascript">
  141.                     var style_outpatient_volume_chart = "<styles><definition><style name='ValuesFontStyle' type='font' face='Arial' size='14' color='32363f' bold='1'  /></definition><application><apply toObject='Datavalues' styles='ValuesFontStyle' /></application></styles>";
  142.                 </script>
  143.                 <%= @outpatient_volume_chart%>
  144.             </div>
  145. <% else %>
  146.   <%= image_tag('/newimages/empty_provider_graph.png') %>          
  147. <% end %>
  148.     </div>
  149.  
  150.     <div id='inpatient_cost_chart' style="display:none">
  151. <% if @inpatient_cost_chart %>
  152.         <h2>Average Cost for Top 5 Inpatient <% if @is_hospital %>Health Issues<% end %><% if @is_physician %>Procedures<% end %></h2>
  153.             <div class="provider_graph">
  154.                 <script type="text/javascript">
  155.                     var style_inpatient_cost_chart = "<styles><definition><style name='ValuesFontStyle' type='font' face='Arial' size='14' color='32363f' bold='1'  /></definition><application><apply toObject='Datavalues' styles='ValuesFontStyle' /></application></styles>";
  156.                 </script>
  157.                 <%= @inpatient_cost_chart%>
  158.             </div>
  159. <% else %>
  160.   <%= image_tag('/newimages/empty_provider_graph.png') %>          
  161. <% end %>
  162.     </div>
  163.  
  164.     <div id='outpatient_cost_chart' <% if @is_hospital%>style="display:none"<%end%>>
  165. <% if @outpatient_cost_chart %>
  166.         <h2>Average Cost for Top 5 Outpatient <% if @is_hospital %>Health Issues<% end %><% if @is_physician %>Procedures<% end %></h2>
  167.             <div class="provider_graph">
  168.                 <script type="text/javascript">
  169.                     var style_outpatient_cost_chart = "<styles><definition><style name='ValuesFontStyle' type='font' face='Arial' size='14' color='32363f' bold='1'  /></definition><application><apply toObject='Datavalues' styles='ValuesFontStyle' /></application></styles>";
  170.                 </script>
  171.                 <%= @outpatient_cost_chart%>
  172.             </div>
  173. <% else %>
  174.   <%= image_tag('/newimages/empty_provider_graph.png') %>          
  175. <% end %>
  176.     </div>
  177.    
  178. <div class="clear"></div>
  179. </div>
  180. <% end %>
  181.  
  182.  
  183. <div class="clear"></div>
  184.  
  185.  
  186.  
  187.  
  188.  
  189. <%= comments_for(@medical_provider) %>
  190.  
  191. <% if @show_cost_percentage %>
  192.     <h2>Provider Cost Graph</h2>
  193.     <script type="text/javascript">
  194.        var style_pay_compare_chart = "";
  195.     </script>
  196.     <%= @pay_compare_chart%><br>
  197. <% end %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top