<%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM', 'CPT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> <%= entry.description %> /> /> <% if entry.discharge_disposition.present? -%> <% end -%> <% if entry.respond_to?(:facility) && entry.facility.present? -%> <% if entry.facility.code.present? -%> <% else -%> <% end -%> <% if entry.facility.addresses.present? -%> <%= entry.facility.addresses.first.street %> <%= entry.facility.addresses.first.city %> <%= entry.facility.addresses.first.state %> <%= entry.facility.addresses.first.zip %> <%= entry.facility.addresses.first.country %> <% end -%> <%= entry.facility.name %> <% end -%> <% if entry.respond_to?(:transferFrom) && entry.transferFrom.present? -%> <% end -%> <% if entry.respond_to?(:transferTo) && entry.transferTo.present? -%> <% end -%> <% if entry.reason.present? -%> /> <% end -%>