Sha256: 1a9c45e86cb06eaa077228907c9b97d5bfa63e67c8e747a8a680abb01953a559

Contents?: true

Size: 1.7 KB

Versions: 32

Compression:

Stored size: 1.7 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="2016-02-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["ANATOMICAL_LOCATION_SITE"], 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' => ['*'], '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

32 entries across 16 versions & 1 rubygems

Version Path
health-data-standards-4.0.4 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.4 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.3 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.3 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.2 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.2 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.1 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.1 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.0 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-4.0.0 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.7.0 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.7.0 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb