templates/_condition.gc32.erb in health-data-standards-0.8.1 vs templates/_condition.gc32.erb in health-data-standards-1.0.0

- old
+ new

@@ -1,11 +1,9 @@ <condition <% unless condition.cause_of_death.nil? %>causeOfDeath="<%= condition.cause_of_death %>"<% end %> xmlns="urn:hl7-org:greencda:c32"> <id><%= condition.id %></id> <%== code_display condition, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %> - <% if condition.name %> - <name><%= condition.name %></name> + <%== gc32_effective_time(condition)%> + <% if condition.priority %> + <priority><%= condition.priority %></priority> <% end %> - <effectiveTime> - <start><%= time_if_not_nil(condition.start_time, condition.time) %></start> - <end><%= time_if_not_nil(condition.end_time) %></end> - </effectiveTime> + <type><%= condition.type %></type> </condition> \ No newline at end of file