Example #1
0
        ?>
                                                <span class="input-group-addon"><?php 
        echo $attr['unit'];
        ?>
</span>
                                            <?php 
    }
    ?>
                                        </div>
                                <?php 
}
?>
                            </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);
?>
Example #2
0
                            <?php 
$urinalysis_label_list = new LabelList();
$urinalysis_label_list->addNode(new LabelNode("Appearance", 1, array('column' => UrinalysisTable::appearance)));
$urinalysis_label_list->addNode(new LabelNode("pH", 2, array('column' => UrinalysisTable::ph)));
$urinalysis_label_list->addNode(new LabelNode("glucose", 3, array('column' => UrinalysisTable::glucose)));
$urinalysis_label_list->addNode(new LabelNode("protein", 4, array('column' => UrinalysisTable::protein)));
$urinalysis_label_list->addNode(new LabelNode("Bilirubin", 5, array('column' => UrinalysisTable::bilirubin)));
$urinalysis_label_list->addNode(new LabelNode("Urobilinogen", 6, array('column' => UrinalysisTable::urobillinogen)));
$microscopy_label_list = new LabelList();
$microscopy_label_list->addNode(new LabelNode("Pus Cells", 1, array('column' => MicroscopyTable::pus_cells)));
$microscopy_label_list->addNode(new LabelNode("Red Cells", 2, array('column' => MicroscopyTable::red_cells)));
$microscopy_label_list->addNode(new LabelNode("Epithelial Cells", 3, array('column' => MicroscopyTable::epithelial_cells)));
$microscopy_label_list->addNode(new LabelNode("Casts", 4, array('column' => MicroscopyTable::casts)));
$microscopy_label_list->addNode(new LabelNode("Crystals", 5, array('column' => MicroscopyTable::crystals)));
$microscopy_label_list->addNode(new LabelNode("Others", 6, array('column' => MicroscopyTable::others)));
$anibiotics_label_list = new LabelList();
$anibiotics_label_list->addNode(new LabelNode("Ampiciline", 1));
$anibiotics_label_list->addNode(new LabelNode("Mechicillin/Clox", 2));
$anibiotics_label_list->addNode(new LabelNode("Erythromycin", 3));
$anibiotics_label_list->addNode(new LabelNode("Tetrecyclin", 4));
$anibiotics_label_list->addNode(new LabelNode("Septrin", 5));
$anibiotics_label_list->addNode(new LabelNode("Streptomycin", 6));
$anibiotics_label_list->addNode(new LabelNode("Nitofurantoin", 7));
$anibiotics_label_list->addNode(new LabelNode("Cefotaxime", 8));
$anibiotics_label_list->addNode(new LabelNode("Tarivid", 9));
$anibiotics_label_list->addNode(new LabelNode("Ciprfloxacin", 10));
?>

                            <div class="col-sm-6">
                                <h4 class="title">URINALYSIS</h4>
                                <?php 
Example #3
0
$ova_of_parasites->addNode(new LabelNode("A. lumbricoides", 2));
$ova_of_parasites->addNode(new LabelNode("T. Trichuris", 3));
$ova_of_parasites->addNode(new LabelNode("E. vemicularis", 4));
$ova_of_parasites->addNode(new LabelNode("S. haematobium", 5));
$ova_of_parasites->addNode(new LabelNode("No cysts. ova", 6));
$trophozoites_cyts_parasites = new LabelList();
$trophozoites_cyts_parasites->addNode(new LabelNode("E. coli", 7));
$trophozoites_cyts_parasites->addNode(new LabelNode("E. histolytica", 8));
$trophozoites_cyts_parasites->addNode(new LabelNode("G. lamblia", 9));
$larvae_of_parasites = new LabelList();
$larvae_of_parasites->addNode(new LabelNode("Hook worm", 10));
$larvae_of_parasites->addNode(new LabelNode("S. stercoralis", 11));
$cells_parasites = new LabelList();
$cells_parasites->addNode(new LabelNode("RBC's", 12));
$cells_parasites->addNode(new LabelNode("WBC's", 13));
$occult_blood_parasites = new LabelList();
$occult_blood_parasites->addNode(new LabelNode("Positive", 14));
$occult_blood_parasites->addNode(new LabelNode("Negative", 15));
?>

                            <div class="col-sm-12">
                                <h4 class="title text-center">Appearance</h4>
                                <p class="text-center">The Following Parasites seen</p>
                            </div>
                            <div class="col-sm-6">
                                <table class="table table-responsive">
                                    <thead>
                                    <tr>
                                        <th scope="col" colspan="2" class="test-label text-center">Cells</th>
                                    </tr>
                                    </thead>
        ?>
                                                <span class="input-group-addon"><?php 
        echo $attr['unit'];
        ?>
</span>
                                            <?php 
    }
    ?>
                                        </div>
                                        <?php 
}
?>
                                </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();
    ?>
Example #5
0
                                </fieldset>
                                <fieldset class="barX"><legend class="test-label">For Completion By Physician:</legend>
                                    <div class="center-block">
                                        <textarea class="col-sm-12 form-control" <?php 
echo $disabled;
?>
 name="<?php 
echo ExaminationRequestedTable::table_name . "[" . ExaminationRequestedTable::clinical_diagnosis_details . "]";
?>
"></textarea>
                                    </div>
                                </fieldset>
                            </div>
                            <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>