Sha256: 314577bfb98dbddd8dfbcf8ad6ee4308fca66210cf150422bbea35b6b5235180

Contents?: true

Size: 1.32 KB

Versions: 5

Compression:

Stored size: 1.32 KB

Contents

<text>
  <table border="1" width="100%">
    <thead>
      <tr>
        <th>Description</th>
        <th>Codes</th>
        <th>Time</th>
        <% if status.present? %>
          <th>Status</th>
        <% end %>
        
         <% if value.present? %>
          <th>Value</th>
        <% end %>
      </tr>
    </thead>
    <tbody>
      <% entries.each_with_index do |entry, i| -%>
        <tr>
          <td ID="<%= section %>-desc-<%= i %>"><%= entry.description %></td>
          <td ID="<%= section %>-code-<%= i %>"><%= entry.codes_to_s %><br/><i><%= entry.specifics %></i></td>
          <td><%= entry.times_to_s %></td>
           <% if status.present? %>
            <td><%= entry.status %></td>
           <% end %>
           
            <% if value.present?%>
              <td>
	            <% entry.values.each do |value| %>
	              <% if value.respond_to? :scalar %>
	                <%= value.try(:scalar) %><br/>
	              <% elsif value.respond_to? :codes %>
	                <% value.codes.each do |system, vals| %>
	                  <%= system %>: <%= vals.join(',') %><br/>
	                <% end %>
	              <% else %>
	                UNKNOWN VALUE
	              <% end %>
	            <% end %>
              </td>
           <% end %>
        </tr>
      <%- end -%>
    </tbody>
  </table>
</text>

Version data entries

5 entries across 4 versions & 1 rubygems

Version Path
health-data-standards-2.1.2 templates/_narrative_block.c32.erb
health-data-standards-2.1.2 templates/ccda/_narrative_block.ccda.erb
health-data-standards-2.1.1 templates/_narrative_block.c32.erb
health-data-standards-2.1.0 templates/_narrative_block.c32.erb
health-data-standards-2.0.0 templates/_narrative_block.c32.erb