Sha256: 2c8a576907c42626a71d5ba3d9c8615f24621806947ad8e888a751e4d722a699

Contents?: true

Size: 707 Bytes

Versions: 65

Compression:

Stored size: 707 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 %>" 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']) %>" />
  <% end -%>
</code>

Version data entries

65 entries across 62 versions & 1 rubygems

Version Path
health-data-standards-0.8.1 templates/_code_with_reference.c32.erb
health-data-standards-0.8.0 templates/_code_with_reference.c32.erb
health-data-standards-0.7.1 templates/_code_with_reference.c32.erb
health-data-standards-0.7.0 templates/_code_with_reference.c32.erb
health-data-standards-0.5.0 templates/_code_with_reference.c32.erb