<commit_before><procedure xmlns="urn:hl7-org:greencda:c32">
  <id><%= procedure.id %></id>
  <%== code_display procedure, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %>
  <effectiveTime>
    <start><%= Time.at(procedure.start_time)%></start>
    <end><%= Time.at(procedure.end_time)%></end>
  </effectiveTime>
</procedure><commit_msg>Adding nil safety to the procedure GreenCDA template<commit_after><procedure xmlns="urn:hl7-org:greencda:c32">
  <id><%= procedure.id %></id>
  <%== code_display procedure, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %>
  <effectiveTime>
    <start><%= time_if_not_nil(procedure.start_time, procedure.time)%></start>
    <end><%= time_if_not_nil(procedure.end_time)%></end>
  </effectiveTime>
</procedure>
{'fraction_non_alphanumeric': 0.21216041397153945, 'fraction_numerical': 0.007761966364812419, 'mean_word_length': 6.30188679245283, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, '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': '4202318', 'n_tokens_mistral': 302, 'n_tokens_neox': 278, 'n_words': 43}