Sha256: 15ffc024d3a6ba624b33f672568cf41e9666e73d6f2f4f97cf3ffb0b4c733b73

Contents?: true

Size: 1000 Bytes

Versions: 2

Compression:

Stored size: 1000 Bytes

Contents

<% if entry.negation_reason.present? 
      vset = oid_for_code(entry.negation_reason,reason_oids, entry.record["bundle_id"])
  -%>
<entryRelationship typeCode="RSON">
  <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.24.3.88"/>  
    <id extension="<%= identifier_for([entry.negation_reason, entry.start_time]) %>" />
    <code code="410666004" 
          codeSystem="2.16.840.1.113883.6.96"
          displayName="reason" 
          codeSystemName="SNOMED CT"/>
    <statusCode code="completed"/>
    <effectiveTime <%= value_or_null_flavor(entry.start_time) %>/>
    <value xsi:type="CD" 
         code="<%= entry.negation_reason['code'] %>" 
         codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.negation_reason['codeSystem'] || entry.negation_reason['code_system']) %>"
        <% if vset -%>
          sdtc:valueSet="<%= vset %>"
        <% end -%>
         />
  </observation>
</entryRelationship>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 templates/cat1/_reason.cat1.erb
health-data-standards-3.5.3 templates/cat1/_reason.cat1.erb