<?php
$id      = $this->uri->segment(3);
$patient = $this->uri->segment(4);
?>
<?php
if (@$headerCppt['Note'] == 1) {
    echo "<div class='text-danger'><b>CPPT sedang berjalan atau belum selesai, silahkan klik pada histori cppt di samping kiri layar anda untuk meneruskan!</b></div>";
} else {
?>
    <b>** CPPT Baru</b>
    <form action="<?= base_url('Sks/cppt/' . $id . '/' . $patient); ?>" method="post">
        <table class="table table-striped">
            <tr>
                <td>Resume Medis</td>
                <td><textarea class="form-control" required name="resume"></textarea></td>
            </tr>
            <tr>
            <tr>
                <td>Pilih Keterangan</td>
                <td>
                    <select name="keterangan" required id="" class="form-control">
                        <option value="">Pilih Keterangan</option>
                        <option value="1" selected>Belum Selesai</option>
                        <option value="0">Selesai</option>
                    </select>
                </td>
            </tr>
            <td>
                <button type="submit" class="btn btn-success">Save</button>
            </td>
            </tr>
        </table>
    </form>
<?php
}
?>