Sha256: c19056b6592797b0bbdbd16ae2a045039ba1653dcff3702c39815867f06d12f6

Contents?: true

Size: 806 Bytes

Versions: 49

Compression:

Stored size: 806 Bytes

Contents

<% preferred_code = entry.preferred_code(preferred_code_sets)
  if preferred_code 
  code_system_oid = HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(preferred_code['code_set'])
  -%>
<code code="<%= preferred_code['code'] %>" codeSystem="<%= code_system_oid %>" codeSystemName="<%= preferred_code['code_set'] %>" displayName="<%= entry.description %>">
<% else -%>
<code nullFlavor="UNK">
<% end -%>
  <originalText><reference value="#<%= section %>-desc-<%= i %>"/></originalText>
  <% entry.translation_codes(preferred_code_sets).each do |translation| -%>
  <translation code="<%= translation['code'] %>" codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(translation['code_set']) %>"  codeSystemName="<%= translation['code_set'] %>"/>
  <% end -%>
</code>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
health-data-standards-3.5.0 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.4.6 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.4.5 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.4.4 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.4.3 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.4.2 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.4.1 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.4.0 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.12 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.3.0 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.11 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.10 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.8 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.7 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.6 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.5 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.4 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.3 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.2 templates/c32/_code_with_reference.c32.erb
health-data-standards-3.2.1 templates/c32/_code_with_reference.c32.erb