Beispiel #1
0
}
?>
                            </div>

                                <?php 
$differential_count_label = new LabelList();
$differential_count_label->addNode(new LabelNode("Polymorphs / neutrophilis ", 1, array('unit' => '%', 'column' => DifferentialCountTable::polymorphs_neutrophils)));
$differential_count_label->addNode(new LabelNode("Lymphocytes", 2, array('unit' => '%', 'column' => DifferentialCountTable::lymphocytes)));
$differential_count_label->addNode(new LabelNode("Monocytes", 3, array('unit' => '%', 'column' => DifferentialCountTable::monocytes)));
$differential_count_label->addNode(new LabelNode("Eosinophils", 4, array('unit' => '%', 'column' => DifferentialCountTable::eosinophils)));
$differential_count_label->addNode(new LabelNode("Basophils", 5, array('unit' => '%', 'column' => DifferentialCountTable::basophils)));
$differential_count_label->addNode(new LabelNode("Widal's test", 6, array('unit' => '%', 'column' => DifferentialCountTable::widals_test)));
$differential_count_label->addNode(new LabelNode("Blood Group", 7, array('unit' => '', 'column' => DifferentialCountTable::blood_group)));
$differential_count_label->addNode(new LabelNode("Rhesus Factor", 8, array('unit' => '', 'column' => DifferentialCountTable::rhesus_factor)));
$differential_count_label->addNode(new LabelNode("Genotype", 9, array('unit' => '', 'column' => DifferentialCountTable::genotype)));
$list1 = $differential_count_label->getList();
$list2 = $differential_count_label->getList();
$list1 = array_splice($list1, 0, 5);
$list2 = array_splice($list2, 5, 8);
?>

                                <h4 class="title col-sm-12">Differential Counts</h4>
                                <div class="col-sm-6">
                                    <?php 
foreach ($list1 as $label) {
    $attr = $label->getAttribute();
    ?>
                                        <label class="test-label"><?php 
    echo $label->getLabel();
    ?>
</label>
Beispiel #2
0
                                    </div>
                                    <div class="col-sm-12">
                                        <table class="table table-striped table-responsive">
                                            <thead>
                                            <tr>
                                                <th class="title">Antibiotics</th>
                                                <th colspan="2" class="title">Isolates</th>
                                            </tr>
                                            <tr>
                                                <th colspan="1">&nbsp;</th>
                                                <th colspan="1">No</th>
                                                <th colspan="1">Yes</th>
                                            </tr>
                                            </thead>
                                            <?php 
foreach ($anibiotics_label_list->getList() as $label) {
    ?>
                                                <tr>
                                                    <td class="test-label"><?php 
    echo $label->getLabel();
    ?>
</td>

                                                    <td class="text-center"><input type="radio" <?php 
    echo $disabled;
    ?>
 name="<?php 
    echo 'data[' . UrineSensitivityTable::table_name . '][' . $label->getId() . ']';
    ?>
" <?php 
    if (isset($view_bag[UrineSensitivityTable::table_name][$label->getId()])) {
Beispiel #3
0
    ?>
" <?php 
    if (isset($view_bag['parasites'][$label->getId()])) {
        echo "checked";
    }
    ?>
> </td>
                                        </tr>
                                    <?php 
}
?>
                                    <tr>
                                        <th scope="col" colspan="2" class="test-label text-center">Occult Blood</th>
                                    </tr>
                                    <?php 
foreach ($occult_blood_parasites->getList() as $label) {
    ?>
                                    <tr>
                                        <td class="test-label"><?php 
    echo $label->getLabel();
    ?>
</td>
                                        <td class="text-center"><input type="checkbox"  <?php 
    echo $disabled;
    ?>
 name="<?php 
    echo 'data[parasites][' . $label->getId() . ']';
    ?>
" <?php 
    if (isset($view_bag['parasites'][$label->getId()])) {
        echo "checked";
}
?>
                                </div>

                                    <?php 
$proteins_label_list = new LabelList();
$proteins_label_list->addNode(new LabelNode("Total Protein", 21, array('unit' => 'g/L', 'column' => ChemicalPathologyDetailsTable::result)));
$proteins_label_list->addNode(new LabelNode("Albumin", 22, array('unit' => 'g/L', 'column' => ChemicalPathologyDetailsTable::result)));
$proteins_label_list->addNode(new LabelNode("Globulin", 23, array('unit' => 'g/L', 'column' => ChemicalPathologyDetailsTable::result)));
$proteins_label_list->addNode(new LabelNode("Others", 24, array('unit' => 'g/L', 'column' => ChemicalPathologyDetailsTable::result)));
?>

                                    <div class="col-sm-6">
                                        <h4 class="title">PROTEINS</h4>
                                        <?php 
foreach ($proteins_label_list->getList() as $label) {
    $attr = $label->getAttribute();
    ?>
                                        <label class="test-label"><?php 
    echo $label->getLabel();
    ?>
</label>
                                        <?php 
    if (isset($attr['unit'])) {
        ?>
                                        <div class="input-group">
                                            <?php 
    } else {
        ?>
                                            <div class="center-block">
                                                <?php 
Beispiel #5
0
                            <div class="col-sm-6">
                                <?php 
$dimension_list = new LabelList();
$dimension_list->addNode(new LabelNode("17X14", 1));
$dimension_list->addNode(new LabelNode("14X4", 2));
$dimension_list->addNode(new LabelNode("15X12", 3));
$dimension_list->addNode(new LabelNode("12X10", 4));
$dimension_list->addNode(new LabelNode("10X8", 5));
$dimension_list->addNode(new LabelNode("15X6", 6));
$dimension_list->addNode(new LabelNode("8X6", 7));
?>
                                <fieldset class="barX"><legend class="test-label">Dimension</legend>
                                    <div class="center-block">
                                        <table class="table table-striped table-responsive">
                                            <?php 
foreach ($dimension_list->getList() as $label) {
    ?>
                                                <tr>
                                                    <td class="test-label">&nbsp;<?php 
    echo $label->getLabel();
    ?>
 </td>
                                                    <td><input type="radio" <?php 
    echo $disabled;
    ?>
 <?php 
    if (isset($view_bag['radiology']['xray_size_id'])) {
        echo $view_bag['radiology']['xray_size_id'] == $label->getId() ? "checked='checked'" : '';
    }
    ?>
 name="<?php