Sha256: e4e189ef3bb26cfcb9e6f72e4d6e0e420e83d49aca9452f7d0e166c87d9b3234

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

<entry>
  <procedure classCode="PROC" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!--  Procedure performed template -->
    <templateId root="2.16.840.1.113883.10.20.24.3.64"/>
    <!-- Procedure Activity Procedure-->
    <templateId root="2.16.840.1.113883.10.20.22.4.14"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'CPT', 'ICD-9-PCS', 'ICD-10-PCS'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
    <text><%= entry.description %></text>
    <statusCode code="completed"/>
    <effectiveTime>
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>
    <%== render(:partial => 'ordinality', :locals => {:entry => entry, :ordinality_oids=>field_oids["ORDINAL"]}) %>
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>
    <% if entry.respond_to?(:incision_time) && entry.incision_time.present? -%>
    <entryRelationship typeCode="REFR">
      <procedure classCode="PROC" moodCode="EVN">
        <templateId root="2.16.840.1.113883.10.20.24.3.89"/>
        <id extension="<%= identifier_for([entry.id, entry.incision_time]) %>" />
        <code code="34896006" 
              codeSystem="2.16.840.1.113883.6.96"
              codeSystemName="SNOMED CT" 
              displayName="incision"/>
              <effectiveTime <%= value_or_null_flavor(entry.incision_time) %>/>
      </procedure>
    </entryRelationship>
    <% end -%>
  </procedure>
</entry>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
health-data-standards-3.5.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.64.cat1.erb