templates/html/_header.html.erb in health-data-standards-2.1.4 vs templates/html/_header.html.erb in health-data-standards-2.2.0

- old
+ new

@@ -24,11 +24,33 @@ <td bgcolor="#3399ff"><span class="td_label">Patient IDs</span></td> <td><%= patient.id %> Cypress</td> </tr> <tr> <td bgcolor="#3399ff"><span class="td_label">Contact info</span></td> - <td colspan="3"> Pirmary Home: 202 Burlington Rd. Bedford, MA 01730<br />Tel: +1-781-271-3000</td> + <td colspan="3"> + <% if patient.addresses %> + <% patient.addresses.each do |addr| %> + <% addr.street.each do |street| %> + <%= "#{street}," %> + <% end %> + <%= "#{addr.city}, #{addr.state}, #{addr.zip}." %> + <% if addr.use %> + (<%= addr.use %>) + <% end %> + <br /> + <% end %> + <% end %> + <% if patient.telecoms %> + <% patient.telecoms.each do |telecom| %> + <%= telecom.value %> + <% if telecom.use %> + (<%= telecom.use %>) + <% end %> + <br /> + <% end %> + <% end %> + </td> </tr> </tbody> </table> <table class="header_table"> <tbody> @@ -49,10 +71,10 @@ <td width="80%">Auto Generated</td> </tr> <tr> <td bgcolor="#3399ff"><span class="td_label">Contact info</span></td> <td> - <br />Tel: +1-781-271-3000<br /> + Tel: +1-781-271-3000<br /> </td> </tr> </tbody> </table> <table class="header_table">