<commit_before><component>
  <!--Social History - Not C32-->
  <section>
    <templateId root="2.16.840.1.113883.3.88.11.83.126" assigningAuthorityName="HITSP/C83"/>
    <templateId root="2.16.840.1.113883.10.20.1.15" assigningAuthorityName="CCD"/>
    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.16" assigningAuthorityName="IHE PCC"/>
    <!-- Social history section template -->
    <code code="29762-2" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Social History</title>
    <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'social_history'} %>
    <% entries.each_with_index do |entry, i| -%>
    <entry typeCode="DRIV">
      <observation classCode="OBS" moodCode="EVN">
        <templateId root="2.16.840.1.113883.3.88.11.83.19" assigningAuthorityName="HITSP C83"/>
        <templateId root="2.16.840.1.113883.10.20.1.33" assigningAuthorityName="CCD"/>
        <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.4" assigningAuthorityName="IHE PCC"/>
        <!-- Social history observation template -->
        <id root="<%= UUID.generate %>"/>
        <%== code_display(entry) %>
        <statusCode code="completed"/>
        <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
      </observation>
    </entry>
    <% end -%>
  </section>
</component><commit_msg>Attempting to include status in social history<commit_after><component>
  <!--Social History - Not C32-->
  <section>
    <templateId root="2.16.840.1.113883.192.168.3.11.126" assigningAuthorityName="HITSP/C83"/>
    <templateId root="2.16.840.1.113883.10.20.1.15" assigningAuthorityName="CCD"/>
    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.16" assigningAuthorityName="IHE PCC"/>
    <!-- Social history section template -->
    <code code="29762-2" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Social History</title>
    <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'social_history'} %>
    <% entries.each_with_index do |entry, i| -%>
    <entry typeCode="DRIV">
      <observation classCode="OBS" moodCode="EVN">
        <templateId root="2.16.840.1.113883.192.168.3.11.19" assigningAuthorityName="HITSP C83"/>
        <templateId root="2.16.840.1.113883.10.20.1.33" assigningAuthorityName="CCD"/>
        <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.4" assigningAuthorityName="IHE PCC"/>
        <!-- Social history observation template -->
        <id root="<%= UUID.generate %>"/>
        <%== code_display(entry) %>
        <statusCode code="completed"/>
        <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
        <value xsi:type="CE" code="<%= status_code_for(entry) %>" codeSystem="2.16.840.1.113883.6.96"/>
      </observation>
    </entry>
    <% end -%>
  </section>
</component>
{'fraction_non_alphanumeric': 0.20389380530973453, 'fraction_numerical': 0.11256637168141594, 'mean_word_length': 3.2560240963855422, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 18, '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': '1059985', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1036, 'n_words': 152}