Sha256: 28f8da5735b1e1abfe98a92fa4d0bd56e466e1c6c75efde85b510fadd0f369b5

Contents?: true

Size: 1.75 KB

Versions: 16

Compression:

Stored size: 1.75 KB

Contents

<entry>
  <procedure classCode="PROC" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Procedure Activity Procedure -->
    <templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/>
    <!-- Device Applied -->
    <templateId root="2.16.840.1.113883.10.20.24.3.7" extension="2014-12-01"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <code code="360030002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="application of device"/>
    <text><%= entry.description %></text>
    <statusCode code="completed"/>
    
    <effectiveTime>
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.removal_time || entry.end_time) %>/>
    </effectiveTime>
    
    <% if entry.respond_to?(:anatomical_target) && entry.anatomical_target.present? -%>
      <% vset = oid_for_code(entry.anatomical_target.code,field_oids["LATERALITY"], entry.record["bundle_id"]) %>
      <% if vset %>
        <targetSiteCode code="<%= entry.anatomical_target['code'] %>" 
          codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.anatomical_target['code_system']) %>" sdtc:valueSet="<%= vset %>"/>
      <% end %>
    <% end -%>
    <participant typeCode="DEV">
      <participantRole classCode="MANU">
        <playingDevice classCode="DEV">
          <%== code_display(entry, 'value_set_map' => filtered_vs_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-PCS', 'ICD-10-PCS', 'CPT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
        </playingDevice>
      </participantRole>
    </participant>
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>
  </procedure>
</entry>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.3.4 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.3.3 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.3.2 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.3.1 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.3.0 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.2.0 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.1.0 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.6 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.5 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.4 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.3 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.2 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.1 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.0 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.7.0 templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb