<% if entry.negation_reason.present? reason = entry.negation_reason elsif entry.reason.present? reason = entry.reason end if reason.present? vset = oid_for_code(reason,reason_oids, entry.record["bundle_id"]) if vset -%> extension="2014-12-01"<%end%>/> <% if !r2_compatibility %> <% else %> <% end %> <% if !r2_compatibility %> /> <% else %> /> <% end %> displayName="<%=reason['title']%>" <% end -%> sdtc:valueSet="<%= vset %>" /> <% end -%> <% end -%>