Sha256: 3f427e6970af182b3ff7251e214b17f0da4e97712f3b66a70ec9fe29efcfd77e

Contents?: true

Size: 912 Bytes

Versions: 15

Compression:

Stored size: 912 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"/>  
    <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

15 entries across 15 versions & 1 rubygems

Version Path
health-data-standards-3.5.2 templates/cat1/_reason.cat1.erb
health-data-standards-3.5.1 templates/cat1/_reason.cat1.erb
health-data-standards-3.5.0 templates/cat1/_reason.cat1.erb
health-data-standards-3.4.6 templates/cat1/_reason.cat1.erb
health-data-standards-3.4.5 templates/cat1/_reason.cat1.erb
health-data-standards-3.4.4 templates/cat1/_reason.cat1.erb
health-data-standards-3.4.3 templates/cat1/_reason.cat1.erb
health-data-standards-3.4.2 templates/cat1/_reason.cat1.erb
health-data-standards-3.4.1 templates/cat1/_reason.cat1.erb
health-data-standards-3.4.0 templates/cat1/_reason.cat1.erb
health-data-standards-3.2.12 templates/cat1/_reason.cat1.erb
health-data-standards-3.3.0 templates/cat1/_reason.cat1.erb
health-data-standards-3.2.11 templates/cat1/_reason.cat1.erb
health-data-standards-3.2.10 templates/cat1/_reason.cat1.erb
health-data-standards-3.2.8 templates/cat1/_reason.cat1.erb