health-data-standards 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/templates/html/_header.html.erb +5 -3
  2. metadata +3 -2
@@ -2,13 +2,15 @@
2
2
  <tbody>
3
3
  <tr>
4
4
  <td width="20%" bgcolor="#3399ff"><span class="td_label">Patient</span></td>
5
- <td colspan="3"><%= patient.first%> <%= patient.last%></td>
5
+ <td witdh="30%"><%= patient.first%> <%= patient.last%></td>
6
+ <td width="15%" bgcolor="#3399ff"><span class="td_label">Sex</span></td>
7
+ <td><%= (patient.gender == 'M') ? "Male" : (patient.gender == 'F') ? 'Female' : 'Unknown'%></td>
6
8
  </tr>
7
9
  <tr>
8
10
  <td width="20%" bgcolor="#3399ff"><span class="td_label">Date of birth</span></td>
9
11
  <td width="30%"><%= Time.at(patient.birthdate).utc.to_formatted_s(:long_ordinal)%></td>
10
- <td width="15%" bgcolor="#3399ff"><span class="td_label">Sex</span></td>
11
- <td><%= (patient.gender == 'M') ? "Male" : (patient.gender == 'F') ? 'Female' : 'Unknown'%></td>
12
+ <td width="15%" bgcolor="#3399ff"><span class="td_label">Date of expiration</span></td>
13
+ <td><%= (patient.expired) ? Time.at(patient.deathdate).utc.to_formatted_s(:long_ordinal) : "" %></td>
12
14
  </tr>
13
15
  <tr>
14
16
  <td width="20%" bgcolor="#3399ff"><span class="td_label">Race</span></td>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health-data-standards
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,11 @@ authors:
9
9
  - Sam Sayer
10
10
  - Marc Hadley
11
11
  - Rob Dingwell
12
+ - Andre Quina
12
13
  autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
- date: 2012-12-19 00:00:00.000000000 Z
16
+ date: 2012-12-20 00:00:00.000000000 Z
16
17
  dependencies:
17
18
  - !ruby/object:Gem::Dependency
18
19
  name: rest-client