<commit_before><entry>
  <% if !negation_indicator(entry) %>
  <supply classCode="SPLY" moodCode="RQO">
    <!-- Plan of Care Activity Supply -->
    <templateId root="2.16.840.1.113883.10.20.22.4.43" extension="2014-06-09"/>
    <!-- Device, Order -->
    <templateId root="2.16.840.1.113883.10.20.24.3.9" extension="2014-12-01"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <text><%= entry.description %></text>
    <statusCode code="active"/>

    <effectiveTime xsi:type="IVL_TS">
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.removal_time || entry.end_time) %>/>
    </effectiveTime>
    <author>
      <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
      <time <%= value_or_null_flavor(entry.as_point_in_time) %>/>
      <assignedAuthor>
        <id nullFlavor="NA" root="<%= UUID.generate %>"/>
      </assignedAuthor>
    </author>
    <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"]}) %>
  </supply>
  <% else %>
  <act classCode="ACT" moodCode="RQO" <%== negation_indicator(entry) %>>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <code code="SPLY" codeSystem="2.16.840.1.113883.5.6"/>
    <text><%= entry.description %></text>
    <statusCode code="active"/>

    <effectiveTime xsi:type="IVL_TS">
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.removal_time || entry.end_time) %>/>
    </effectiveTime>
    <author>
      <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
      <time <%= value_or_null_flavor(entry.as_point_in_time) %>/>
      <assignedAuthor>
        <id nullFlavor="NA" root="<%= UUID.generate %>"/>
      </assignedAuthor>
    </author>
    <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"]}) %>
  </act>
<% end %>
</entry><commit_msg>Submitters are advised to submit “Device, Applied not done” instead of “Device, Order not done” for the VTE-1, VTE-2, and VTE-6 eCQM measures.<commit_after><entry>
  <% if !negation_indicator(entry) %>
  <supply classCode="SPLY" moodCode="RQO">
    <!-- Plan of Care Activity Supply -->
    <templateId root="2.16.840.1.113883.10.20.22.4.43" extension="2014-06-09"/>
    <!-- Device, Order -->
    <templateId root="2.16.840.1.113883.10.20.24.3.9" extension="2014-12-01"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <text><%= entry.description %></text>
    <statusCode code="active"/>

    <effectiveTime xsi:type="IVL_TS">
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.removal_time || entry.end_time) %>/>
    </effectiveTime>
    <author>
      <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
      <time <%= value_or_null_flavor(entry.as_point_in_time) %>/>
      <assignedAuthor>
        <id nullFlavor="NA" root="<%= UUID.generate %>"/>
      </assignedAuthor>
    </author>
    <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"]}) %>
  </supply>
  <% else %>
  <!--  Submitters are advised to submit “Device, Applied not done” instead of “Device, Order not done” for the VTE-1, VTE-2, and VTE-6 eCQM measures. -->
  <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>
    <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>
<% end %>
</entry>
{'fraction_non_alphanumeric': 0.21003298038534976, 'fraction_numerical': 0.05901753167852803, 'mean_word_length': 3.6096, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 173, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 13, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '254587', 'n_tokens_mistral': 2378, 'n_tokens_neox': 2101, 'n_words': 329}