Exemple #1
0
    ?>
</td>
                                <td><?php 
    echo $row->class;
    ?>
</td>
                                <td><?php 
    echo $row->room;
    ?>
</td>
                                <td><?php 
    echo Admission::Referral()[$row->referral_from];
    ?>
</td>
                                <td><?php 
    echo Admission::Financial()[$row->financial_status];
    ?>
</td>
                                <td><?php 
    echo $row->consultant;
    ?>
</td>
                                <td><a href="<?php 
    echo base_url();
    ?>
index.php/Reception/FindAdmission/<?php 
    echo $row->id;
    ?>
/">Show</a></td>
                            </tr>
                        <?php 
Exemple #2
0
                            <div class="mws-form-item clearfix">
                                <ul class="mws-form-list inline">
                                    <?php 
foreach (Admission::Referral() as $key => $value) {
    echo ' <li><input type="radio" name="referral_from" value="' . $key . '" id="' . $value . '"> <label for="' . $value . '">' . $value . '</label></li>';
}
?>
                                </ul>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="mws-form-label">Financial Status</label>
                            <div class="mws-form-item clearfix">
                                <ul class="mws-form-list inline">
                                    <?php 
foreach (Admission::Financial() as $key => $value) {
    echo ' <li><input type="radio" name="financial_status" value="' . $key . '" id="' . $value . '"> <label for="' . $value . '">' . $value . '</label></li>';
}
?>
                                </ul>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="mws-form-label">Consultant</label>
                            <input type='text' placeholder='Consultant' name='consultant' class="form-control"/>
                        </div>
                            <label>Medical Data</label>
                        <div class="form-group">
                            <label class="mws-form-label">Provisional Diagnosis</label>
                            <textarea placeholder='Provisional Diagnosis' name='provisional_diagnosis' class="form-control"></textarea>
                        </div>
Exemple #3
0
                        <div class="form-group">
                            <label class="mws-form-label">Referral From</label>
                            <div class="mws-form-item clearfix">
                                <ul class="mws-form-list inline">
                                    <?php 
echo '<li><input type="radio"  checked> <label>' . Admission::Referral()[$patient->referral_from] . '</label></li>';
?>
                                </ul>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="mws-form-label">Financial Status</label>
                            <div class="mws-form-item clearfix">
                                <ul class="mws-form-list inline">
                                    <?php 
echo '<li><input type="radio" name="financial_status" checked> <label>' . Admission::Financial()[$patient->financial_status] . '</label></li>';
?>
                                </ul>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="mws-form-label">Consultant</label>
                            <input type='text' placeholder='Consultant' name='consultant' class="form-control" value="<?php 
echo $patient->consultant;
?>
" readonly/>
                        </div>
                        <label>Medical Data</label>
                        <div class="form-group">
                            <label class="mws-form-label">Provisional Diagnosis</label>
                            <textarea placeholder='Provisional Diagnosis' name='provisional_diagnosis' class="form-control" readonly><?php