<%= result.id %> <%== code_display result, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %> <% if result.status %> <% end %> <%= Time.at(result.time) %> <% if result.interpretation%> <% code = result.interpretation.first%> <% end %> <% if result.reference_range %> <%= result.reference_range %> <% end %>