<commit_before>
<div class="mdl-grid">
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand patient">
                <h2 class="mdl-card__title-text">Patient Details</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->patient_name?> <br />
                <?=date_create_from_format('Y-m-d', $data->date_of_birth)->format('j M Y')?> <br />
                <?=$data->hos_num?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand patient">
                <h2 class="mdl-card__title-text">Operation Side</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?= $data->eye->name ?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand patient">
                <h2 class="mdl-card__title-text">Operation Type</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->procedure?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand biometry">
                <h2 class="mdl-card__title-text">IOL Model &amp; Formula</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->iol_model?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand biometry">
                <h2 class="mdl-card__title-text">IOL Power</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->iol_power?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand biometry">
                <h2 class="mdl-card__title-text">Predicted refractive outcome</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->predicted_refractive_outcome?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand risk">
                <h2 class="mdl-card__title-text">Allergies</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=nl2br($data->allergies)?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand risk">
                <h2 class="mdl-card__title-text">Alpha-blockers</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?php if ($data->alpha_blockers):?>
                    Yes - <?=$data->alpha_blocker_name?>
                <?php else: ?>
                    No
                <?php endif;?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand risk">
                <h2 class="mdl-card__title-text">Anticoagulants</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?php if ($data->anticoagulants):?>
                    Yes - <?=$data->anticoagulant_name?> <br>
                    INR: <?=$data->inr?>
                <?php else: ?>
                    No
                <?php endif;?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet editable">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand comment">
                <h2 class="mdl-card__title-text">Predicted additional equipment</h2>
                <?php if ($this->getWhiteboard()->isEditable()):?>
                    <div class="mdl-layout-spacer"></div>
                    <i class="material-icons right" data-whiteboard-event-id="<?=$data->event_id?>">create</i>
                <?php endif; ?>
            </div>
            <div class="mdl-card__supporting-text" id="predicted_additional_equipment">
                <?php if ($data->predicted_additional_equipment): ?>
                    <?=nl2br($data->predicted_additional_equipment)?>
                <?php else:?>
                    None
                <?php endif;?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet editable">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand comment">
                <h2 class="mdl-card__title-text">Comments</h2>
                <?php if ($this->getWhiteboard()->isEditable()):?>
                    <div class="mdl-layout-spacer"></div>
                    <i class="material-icons right" data-whiteboard-event-id="<?=$data->event_id?>">create</i>
                <?php endif; ?>
            </div>
            <div class="mdl-card__supporting-text" id="comments">
                <?=nl2br($data->comments)?>
            </div>
        </div>
    </div>
</div>
<commit_msg>OE-6208: Oh look, change it again.<commit_after>
<div class="mdl-grid">
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand patient">
                <h2 class="mdl-card__title-text">Patient Details</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->patient_name?> <br />
                <?=date_create_from_format('Y-m-d', $data->date_of_birth)->format('j M Y')?> <br />
                <?=$data->hos_num?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand patient">
                <h2 class="mdl-card__title-text">Operation Side</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?= $data->eye->name ?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand patient">
                <h2 class="mdl-card__title-text">Operation Type</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->procedure?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand biometry">
                <h2 class="mdl-card__title-text">IOL Model &amp; Formula</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->iol_model?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand biometry">
                <h2 class="mdl-card__title-text">IOL Power</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->iol_power?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand biometry">
                <h2 class="mdl-card__title-text">Predicted refractive outcome</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=$data->predicted_refractive_outcome?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand risk">
                <h2 class="mdl-card__title-text">Allergies</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?=nl2br($data->allergies)?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand risk">
                <h2 class="mdl-card__title-text">Alpha-blockers</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?php if ($data->alpha_blockers):?>
                    Yes - <?=$data->alpha_blocker_name?>
                <?php else: ?>
                    No
                <?php endif;?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand risk">
                <h2 class="mdl-card__title-text">Anticoagulants</h2>
            </div>
            <div class="mdl-card__supporting-text">
                <?php if ($data->anticoagulants):?>
                    Yes - <?=$data->anticoagulant_name?> <br>
                    INR: <?=$data->inr?>
                <?php else: ?>
                    No
                <?php endif;?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--4-col editable">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand comment">
                <h2 class="mdl-card__title-text">Comments</h2>
                <?php if ($this->getWhiteboard()->isEditable()):?>
                    <div class="mdl-layout-spacer"></div>
                    <i class="material-icons right" data-whiteboard-event-id="<?=$data->event_id?>">create</i>
                <?php endif; ?>
            </div>
            <div class="mdl-card__supporting-text" id="comments">
                <?=nl2br($data->comments)?>
            </div>
        </div>
    </div>
    <div class="mdl-cell mdl-cell--8-col mdl-cell--8-col-tablet editable">
        <div class="mdl-card mdl-shadow--2dp">
            <div class="mdl-card__title mdl-card--expand comment">
                <h2 class="mdl-card__title-text">Predicted additional equipment</h2>
                <?php if ($this->getWhiteboard()->isEditable()):?>
                    <div class="mdl-layout-spacer"></div>
                    <i class="material-icons right" data-whiteboard-event-id="<?=$data->event_id?>">create</i>
                <?php endif; ?>
            </div>
            <div class="mdl-card__supporting-text" id="predicted_additional_equipment">
                <?php if ($data->predicted_additional_equipment): ?>
                    <?=nl2br($data->predicted_additional_equipment)?>
                <?php else:?>
                    None
                <?php endif;?>
            </div>
        </div>
    </div>

</div>

{'fraction_non_alphanumeric': 0.17218719474291805, 'fraction_numerical': 0.00896900808098748, 'mean_word_length': 1.6087560806115357, 'pattern_counts': {'":': 0, '<': 307, '<?xml version=': 0, '>': 357, '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': '7660032', 'n_tokens_mistral': 3728, 'n_tokens_neox': 3588, 'n_words': 580}