anchor.diff:  <% end %>
   
   <h4>Encounters</h4>
  -<% unless @encounters.empty? %>
  +<% unless @encounters.nil? || @encounters.empty? %>
     <table class="table table-condensed table-striped encounters">
       <tr>
         <th>Type</th>
  
positive.code: <% patient = @patients.first %>
  <h1><%= [ patient["family_name"], patient["given_name"] ].join(', ') %></h1>
  
  <h4>Basic Info</h4>
  
  <p>
    Birth date: <%= patient["birth_date"] %>
  </p>
  
  <h4>Conditions</h4>
  <% unless @conditions.empty? %>
    <table class="table table-condensed table-striped conditions">
      <tr>
        <th>Condition</th>
  
negative.code: <% end %>
  
  <h4>Observations</h4>
  <% unless @observations.nil? || @observations.empty? %>
    <table class="table table-condensed table-striped observations">
      <tr>
        <th>Type</th>
  