<commit_before><div loading="loading" crud>
  <div ng-if="viewing">
    <p>
      <span crud-list-button></span>
      <span crud-edit-button item="item"></span>
    </p>

    <table class="table properties">
      <tr>
        <th>Date of Picture</th>
        <td>{{item.dateOfPicture | dateFormat}}</td>
      </tr>

      <tr>
        <th>Oedema</th>
        <td><span tick="item.oedema"></span></td>
      </tr>

      <tr>
        <th>Hypertension (Requiring Treatment)</th>
        <td><span tick="item.hypertension"></span></td>
      </tr>

      <tr>
        <th>Urticaria</th>
        <td><span tick="item.urticaria"></span></td>
      </tr>

      <tr>
        <th>Partial Lipodystrophy</th>
        <td><span tick="item.partialLipodystrophy"></span></td>
      </tr>

      <tr>
        <th>Recent Infection</th>
        <td><span tick="item.recentInfection"></span></td>
      </tr>

      <tr ng-if="item.recentInfection">
        <th>Recent Infection Details</th>
        <td class="newlines">{{item.recentInfectionDetails | missing}}</td>
      </tr>

      <tr>
        <th>Ophthalmoscopy</th>
        <td><span tick="item.ophthalmoscopy"></span></td>
      </tr>

      <tr ng-if="item.ophthalmoscopy">
        <th>Ophthalmoscopy Details</th>
        <td class="newlines">{{item.ophthalmoscopyDetail | missing}}</td>
      </tr>

      <tr>
        <th>Comments</th>
        <td class="newlines">{{item.comments | missing}}</td>
      </tr>
    </table>

    <div metadata item="item"></div>
  </div>

  <div ng-if="editing">
    <p>
      <span crud-list-button></span>
      <span crud-view-button item="originalItem"></span>
    </p>

    <form class="form-horizontal form-container" crud-submit="saveAndView()" novalidate>
      <div frm-field frm-group>
        <div frm-label>Date of Picture</div>

        <div frm-control>
          <div frm-date-field model="item.dateOfPicture" required="true"></div>
          <div frm-errors errors="item.errors.dateOfPicture"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Oedema</div>

        <div frm-control>
          <div frm-boolean-field model="item.oedema"></div>
          <div frm-errors errors="item.errors.oedema"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Hypertension (Requiring Treatment)</div>

        <div frm-control>
          <div frm-boolean-field model="item.hypertension"></div>
          <div frm-errors errors="item.errors.hypertension"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Urticaria</div>

        <div frm-control>
          <div frm-boolean-field model="item.urticaria"></div>
          <div frm-errors errors="item.errors.urticaria"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Partial Lipodystrophy</div>

        <div frm-control>
          <div frm-boolean-field model="item.partialLipodystrophy"></div>
          <div frm-errors errors="item.errors.partialLipodystrophy"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Recent Infection</div>

        <div frm-control>
          <div frm-boolean-field model="item.recentInfection"></div>
          <div frm-errors errors="item.errors.recentInfection"></div>
        </div>
      </div>

      <div frm-field frm-group ng-if="item.recentInfection">
        <div frm-label>Recent Infection Details</div>

        <div frm-control>
          <div frm-textarea-field model="item.recentInfectionDetails"></div>
          <div frm-errors errors="item.errors.recentInfectionDetails"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Ophthalmoscopy</div>

        <div frm-control>
          <div frm-boolean-field model="item.ophthalmoscopy"></div>
          <div frm-errors errors="item.errors.ophthalmoscopy"></div>
        </div>
      </div><commit_msg>Migrate recent infections for INS<commit_after><div loading="loading" crud>
  <div ng-if="viewing">
    <p>
      <span crud-list-button></span>
      <span crud-edit-button item="item"></span>
    </p>

    <table class="table properties">
      <tr>
        <th>Date of Picture</th>
        <td>{{item.dateOfPicture | dateFormat}}</td>
      </tr>

      <tr>
        <th>Oedema</th>
        <td><span tick="item.oedema"></span></td>
      </tr>

      <tr>
        <th>Hypertension (Requiring Treatment)</th>
        <td><span tick="item.hypertension"></span></td>
      </tr>

      <tr>
        <th>Urticaria</th>
        <td><span tick="item.urticaria"></span></td>
      </tr>

      <tr>
        <th>Partial Lipodystrophy</th>
        <td><span tick="item.partialLipodystrophy"></span></td>
      </tr>

      <tr>
        <th>Recent Infection</th>
        <td><span tick="item.infection"></span></td>
      </tr>

      <tr ng-if="item.infection">
        <th>Recent Infection Details</th>
        <td class="newlines">{{item.infectionDetails | missing}}</td>
      </tr>

      <tr>
        <th>Ophthalmoscopy</th>
        <td><span tick="item.ophthalmoscopy"></span></td>
      </tr>

      <tr ng-if="item.ophthalmoscopy">
        <th>Ophthalmoscopy Details</th>
        <td class="newlines">{{item.ophthalmoscopyDetail | missing}}</td>
      </tr>

      <tr>
        <th>Comments</th>
        <td class="newlines">{{item.comments | missing}}</td>
      </tr>
    </table>

    <div metadata item="item"></div>
  </div>

  <div ng-if="editing">
    <p>
      <span crud-list-button></span>
      <span crud-view-button item="originalItem"></span>
    </p>

    <form class="form-horizontal form-container" crud-submit="saveAndView()" novalidate>
      <div frm-field frm-group>
        <div frm-label>Date of Picture</div>

        <div frm-control>
          <div frm-date-field model="item.dateOfPicture" required="true"></div>
          <div frm-errors errors="item.errors.dateOfPicture"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Oedema</div>

        <div frm-control>
          <div frm-boolean-field model="item.oedema"></div>
          <div frm-errors errors="item.errors.oedema"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Hypertension (Requiring Treatment)</div>

        <div frm-control>
          <div frm-boolean-field model="item.hypertension"></div>
          <div frm-errors errors="item.errors.hypertension"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Urticaria</div>

        <div frm-control>
          <div frm-boolean-field model="item.urticaria"></div>
          <div frm-errors errors="item.errors.urticaria"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Partial Lipodystrophy</div>

        <div frm-control>
          <div frm-boolean-field model="item.partialLipodystrophy"></div>
          <div frm-errors errors="item.errors.partialLipodystrophy"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Recent Infection</div>

        <div frm-control>
          <div frm-boolean-field model="item.infection"></div>
          <div frm-errors errors="item.errors.infection"></div>
        </div>
      </div>

      <div frm-field frm-group ng-if="item.infection">
        <div frm-label>Recent Infection Details</div>

        <div frm-control>
          <div frm-textarea-field model="item.infectionDetails"></div>
          <div frm-errors errors="item.errors.infectionDetails"></div>
        </div>
      </div>

      <div frm-field frm-group>
        <div frm-label>Ophthalmoscopy</div>

        <div frm-control>
          <div frm-boolean-field model="item.ophthalmoscopy"></div>
          <div frm-errors errors="item.errors.ophthalmoscopy"></div>
        </div>
      </div>
{'fraction_non_alphanumeric': 0.1724312042413532, 'fraction_numerical': 0.0, 'mean_word_length': 2.1806503412284224, 'pattern_counts': {'":': 0, '<': 349, '<?xml version=': 0, '>': 349, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1082853', 'n_tokens_mistral': 2772, 'n_tokens_neox': 2635, 'n_words': 459}