<commit_before><component>
  <!-- Imaging Studies -->
  <section classCode="DOCSECT" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.6.1.1"/>
    <code code="121181" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Object Catalog" displayName="DICOM Object Catalog Section"/>
    <title>Imaging Studies</title>
    <#list ehr_imaging_studies as study>
    <entry typeCode="COMP">
      <!-- Study -->
      <act classCode="ACT" moodCode="EVN">
        <templateId root="2.16.840.1.113883.10.20.6.2.6"/>
        <id root="${randomDicomUid(0, 0)}"/>
        <code code="113014" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="Study"/>
        <effectiveTime value="${study.start?number_to_date?string["yyyyMMddHHmmss"]}"/>
        <!-- Series -->
        <#list study.series as series>
        <entryRelationship typeCode="COMP">
          <act classCode="ACT" moodCode="EVN">
            <templateId root="2.16.840.1.113883.10.20.22.4.63"/>
            <id root="${randomDicomUid(series?counter, 0)}"/>
            <code code="113015" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="Series">
							<qualifier>
								<name code="121139" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="Modality"></name>
								<value code="${series.modality.code}" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="${series.modality.display}"></value>
							</qualifier>
						</code>
            <!-- Instances -->
            <#list series.instances as instance>
            <entryRelationship typeCode="COMP">
              <observation classCode="DGIMG" moodCode="EVN">
                <templateId root="2.16.840.1.113883.10.20.6.2.8"/><commit_msg>Fix whitespace in template<commit_after><component>
  <!-- Imaging Studies -->
  <section classCode="DOCSECT" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.6.1.1"/>
    <code code="121181" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Object Catalog" displayName="DICOM Object Catalog Section"/>
    <title>Imaging Studies</title>
    <#list ehr_imaging_studies as study>
    <entry typeCode="COMP">
      <!-- Study -->
      <act classCode="ACT" moodCode="EVN">
        <templateId root="2.16.840.1.113883.10.20.6.2.6"/>
        <id root="${randomDicomUid(0, 0)}"/>
        <code code="113014" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="Study"/>
        <effectiveTime value="${study.start?number_to_date?string["yyyyMMddHHmmss"]}"/>
        <!-- Series -->
        <#list study.series as series>
        <entryRelationship typeCode="COMP">
          <act classCode="ACT" moodCode="EVN">
            <templateId root="2.16.840.1.113883.10.20.22.4.63"/>
            <id root="${randomDicomUid(series?counter, 0)}"/>
            <code code="113015" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="Series">
            	<qualifier>
                <name code="121139" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="Modality"></name>
                <value code="${series.modality.code}" codeSystem="1.2.840.10008.2.16.4" codeSystemName="DICOM Controlled Terminology" displayName="${series.modality.display}"></value>
            	</qualifier>
            </code>
            <!-- Instances -->
            <#list series.instances as instance>
            <entryRelationship typeCode="COMP">
              <observation classCode="DGIMG" moodCode="EVN">
                <templateId root="2.16.840.1.113883.10.20.6.2.8"/>
{'fraction_non_alphanumeric': 0.1736092448266595, 'fraction_numerical': 0.09621069604944907, 'mean_word_length': 3.0107758620689653, 'pattern_counts': {'":': 0, '<': 71, '<?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': '5563103', 'n_tokens_mistral': 1460, 'n_tokens_neox': 1246, 'n_words': 192}