Skip to content

Commit

Permalink
Merge pull request MeasureAuthoringTool#43 from raj209/r5
Browse files Browse the repository at this point in the history
Update facility departure datetime
  • Loading branch information
peter li authored Sep 7, 2019
2 parents e07ddb8 + ebbde50 commit fe5e8ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.23.cat1.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
<!-- Attribute: facility location arrival datetime -->
<low <%= value_or_null_flavor(entry.start_time) %>/>
<!-- Attribute: facility location departure datetime -->
<high <%= value_or_null_flavor(entry.end_time) %>/>
<% if entry.facility[:values][0][:locationPeriodHigh].present? -%>
<high <%= value_or_null_flavor(DateTime.strptime(entry.facility[:values][0] [:locationPeriodHigh], '%m/%d/%Y %I:%M %p')) %>/>
<% else -%>
<high <%= value_or_null_flavor(entry.end_time) %>/>
<% end %>
</time>
<participantRole classCode="SDLOC">
<% if entry.facility[:values][0].present? -%>
Expand Down

0 comments on commit fe5e8ee

Please sign in to comment.