<% if entry.end_time %> <% else %> <% end %> /> /> /> /> <%== code_display(entry, 'tag_name' => 'value', 'value_set_map' => filtered_vs_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM'], 'extra_content' => "xsi:type=\"CD\" sdtc:valueSet=\"#{value_set_oid}\"") %> <% if entry.laterality -%> displayName="<%=entry.laterality['title']%>" <% end -%> sdtc:valueSet="<%= oid_for_code(entry.severity,field_oids["LATERALITY"] || [], entry.record["bundle_id"]) %>" /> <% end -%> <% if entry.anatomical_location -%> displayName="<%=entry.anatomical_location['title']%>" <% end -%> sdtc:valueSet="<%= oid_for_code(entry.anatomical_location,field_oids["ANATOMICAL_LOCATION_SITE"] || [], entry.record["bundle_id"]) %>" /> <% end -%> <% if entry.severity -%> displayName="<%=entry.severity['title']%>" <% end -%> sdtc:valueSet="<%= oid_for_code(entry.severity,field_oids["SEVERITY"] || [], entry.record["bundle_id"]) %>" /> <% end -%>