<?php /* Smarty version Smarty-3.1.11, created on 2024-10-30 12:34:01
         compiled from "../views/obgy/lab/print/print.html" */ ?>
<?php /*%%SmartyHeaderCode:101875484366b9c1e942d918-87152179%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1f4de45de5945f50a584ff05121ca7b73b11a29f' => 
    array (
      0 => '../views/obgy/lab/print/print.html',
      1 => 1730280839,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '101875484366b9c1e942d918-87152179',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66b9c1ea10cd71_00279609',
  'variables' => 
  array (
    'result' => 0,
    'd' => 0,
    'myId' => 0,
    'i' => 0,
    'inv' => 0,
    'investigationresults_culture_hsCount' => 0,
    'investigationresults_culture_msCount' => 0,
    'investigationresults_culture_lsCount' => 0,
    'investigationresults_culture_rsCount' => 0,
    'investigationresults_culture_hs' => 0,
    'data' => 0,
    'investigationresults_culture_ms' => 0,
    'investigationresults_culture_ls' => 0,
    'investigationresults_culture_rs' => 0,
    'donner' => 0,
    'labSetting' => 0,
    'source' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66b9c1ea10cd71_00279609')) {function content_66b9c1ea10cd71_00279609($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars["d"] = new Smarty_variable("1", null, 0);?>
<?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->_loop = false;
 $_smarty_tpl->tpl_vars['myId'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['result']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['i']->key => $_smarty_tpl->tpl_vars['i']->value){
$_smarty_tpl->tpl_vars['i']->_loop = true;
 $_smarty_tpl->tpl_vars['myId']->value = $_smarty_tpl->tpl_vars['i']->key;
?>

<table   class="noborder wds98">
    <tr>
        <?php if ($_smarty_tpl->tpl_vars['d']->value==1){?>

        <td class="wds75">
            <h4 class="underline bold catName"><?php echo $_smarty_tpl->tpl_vars['myId']->value;?>
 Report </h4>    
        </td>

        <td class="wds25">
            <h4  class="underline bold catName">Reference Range</h4>    
        </td>

        <?php }else{ ?>
        <td class="wds100">
            <h4 class="underline bold catName"><?php echo $_smarty_tpl->tpl_vars['myId']->value;?>
 Report </h4>    
        </td>
        <?php }?>
    </tr>
</table>

<?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['i']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>

<table   class="noborder wds98">


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==1){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -25px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgb!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->hgb!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;"> Hgb (Hemoglobin)    
                    <span class="right">:</span> 
                </li> 
            </ul>


            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgb_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->hgb_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hgb;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hgb_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgb_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->hgb_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgb_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->hgb_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hgb_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rbc!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->rbc!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">RBCs ( Red Blood Cells)   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rbc_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->rbc_high==1){?>     <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->rbc;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->rbc_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rbc_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->rbc_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rbc_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->rbc_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->rbc_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hct!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->hct!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">Hct ( Hematocrit)   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hct_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->hct_high==1){?>    <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hct;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hct_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hct_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->hct_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hct_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->hct_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hct_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">Hgb %   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_high==1){?>      <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->hgbpercent_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">MCV  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_high==1){?>      <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mcv_calc_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">MCH  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_high==1){?>      <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mch_calc_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">MCHC  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_high==1){?>         <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mchc_calc_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rdw!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->rdw!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">RDW  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rdw_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->rdw_high==1){?>        <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->rdw;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->rdw_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rdw_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->rdw_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->rdw_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->rdw_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->rdw_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pct!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->pct!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">Pct   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pct_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->pct_high==1){?>        <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->pct;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->pct_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pct_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->pct_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pct_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->pct_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->pct_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mpv!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mpv!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">MPV     
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mpv_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->mpv_high==1){?>        <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mpv;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mpv_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mpv_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->mpv_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mpv_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mpv_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mpv_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 




    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pdw!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->pdw!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">PDW    
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pdw_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->pdw_high==1){?>        <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->pdw;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->pdw_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pdw_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->pdw_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->pdw_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->pdw_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->pdw_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->plt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->plt!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">Plt (Platelet)   
                    <span class="right">:</span> 
                </li> 
            </ul>


            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->plt_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->plt_high==1){?>        <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->plt;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->plt_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->plt_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->plt_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->plt_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->plt_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->plt_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->wbc!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->wbc!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;"> WBCs (Leukocytes)
                    <span class="right">:</span> 
                </li> 
            </ul>


            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->wbc_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->wbc_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->wbc;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->wbc_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->wbc_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->wbc_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->wbc_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->wbc_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->wbc_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mindex!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mindex!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds45" style=" padding-left: 10%;">
                <li style="list-style: disc;">Mentzer Index
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mindex_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->mindex_high==1){?>     <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mindex;?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mindex_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mindex_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->mindex_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->mindex_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->mindex_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->mindex_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <!------------------------------------------------------------------------------------------------------------------------------>

    <tr>
        <td colspan="2" class="wds100">

            <table style="width: 98% ;margin-left: 8%;"  class="noborder">
                <tr>
                    <td class="wds30 bold"> Differential </td>
                    <td class="wds35 bold txtl">Relative Counts % </td>
                    <td class="bold txtl">Absolute Counts k/ul  </td>
                </tr>
                <tr>
                    <td>
                        <ul class="col-med wds85" style=" padding-left: 15%;">
                            <li style="list-style: disc;"> Neutrophil  <span class="right">:</span>  </li> 
                        </ul>
                    </td>

                    <td class=" txtc">
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r_high==1){?>   <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r_high==1){?> H   <?php }?> </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_r_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>

                    <td>
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs_high==1){?>     <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs_high==1){?> H   <?php }?>
                            </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->neutrophil_abs_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td>
                        <ul class="col-med wds85" style=" padding-left: 15%;">
                            <li style="list-style: disc;"> Lymphocytes  <span class="right">:</span>  </li> 
                        </ul>
                    </td>

                    <td class=" txtc">
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r_high==1){?>   <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r_high==1){?> H   <?php }?> </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_r_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>

                    <td>
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs_high==1){?>     <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs_high==1){?> H   <?php }?>
                            </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->lymphocytes_abs_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td>
                        <ul class="col-med wds85" style=" padding-left: 15%;">
                            <li style="list-style: disc;"> Monocytes  <span class="right">:</span>  </li> 
                        </ul>
                    </td>

                    <td class=" txtc">
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r_high==1){?>   <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r_high==1){?> H   <?php }?> </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_r_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>

                    <td>
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs_high==1){?>     <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs_high==1){?> H   <?php }?>
                            </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->monocytes_abs_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td>
                        <ul class="col-med wds85" style=" padding-left: 15%;">
                            <li style="list-style: disc;"> Eosinophils  <span class="right">:</span>  </li> 
                        </ul>
                    </td>

                    <td class=" txtc">
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r_high==1){?>   <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r_high==1){?> H   <?php }?> </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_r_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>

                    <td>
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs_high==1){?>     <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs_high==1){?> H   <?php }?>
                            </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->eosinophils_abs_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td>
                        <ul class="col-med wds85" style=" padding-left: 15%;">
                            <li style="list-style: disc;"> Basophils  <span class="right">:</span>  </li> 
                        </ul>
                    </td>

                    <td class=" txtc">
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r_high==1){?>   <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r_high==1){?> H   <?php }?> </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->basophils_r_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>

                    <td>
                        <ul class=" col-med wds25  txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs_low==1||$_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs_high==1){?>     <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs;?>

                                    </div> 
                            </li> 
                        </ul>

                        <ul class="col-med wds8">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs_high==1){?> H   <?php }?>
                            </li> 
                        </ul>
                        <ul class=" col-med   txtc ">
                            <li style="list-style: none;"> 
                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs_range_txt!=''){?>  
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->basophils_abs_range_txt;?>

                                <?php }?>  
                            </li> 
                        </ul>
                    </td>
                </tr>
            </table>

        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->blood->comment!=null&&$_smarty_tpl->tpl_vars['inv']->value->blood->comment!=''){?>  
    <tr>
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">      <?php echo $_smarty_tpl->tpl_vars['inv']->value->blood->comment;?>
   </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==2){?>  
    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>
    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Physical Examination :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['volume']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['volume']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Volume  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['volume_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['volume_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['volume'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['volume_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['volume_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['volume_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['volume_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['volume_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['volume_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['color']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['color']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Color  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['color_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['color_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['color'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['color_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['color_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['color_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['color_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['color_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['color_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['odor']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['odor']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Odor  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['odor_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['odor_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['odor'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['odor_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['odor_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['odor_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['odor_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['odor_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['odor_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['aspect']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['aspect']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Aspect  
                    <span class="right">:</span> 
                </li> 
            </ul>


            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['aspect_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['aspect_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['aspect'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['aspect_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['aspect_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['aspect_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['aspect_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['aspect_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['aspect_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['deposit']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['deposit']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Deposit  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['deposit_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['deposit_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['deposit'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['deposit_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['deposit_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['deposit_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['deposit_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['deposit_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['deposit_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Chemical Examination :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['reaction']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['reaction']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Reaction  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['reaction_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['reaction_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['reaction'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['reaction_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['reaction_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['reaction_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['reaction_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['reaction_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['reaction_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['protein']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['protein']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Protein  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['protein_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['protein_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['protein'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['protein_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['protein_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['protein_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['protein_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['protein_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['protein_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['sugar']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['sugar']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Sugar  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['sugar_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['sugar_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['sugar'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['sugar_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['sugar_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['sugar_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['sugar_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['sugar_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['sugar_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['acetone']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['acetone']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Acetone  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['acetone_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['acetone_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['acetone'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['acetone_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['acetone_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['acetone_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['acetone_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['acetone_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['acetone_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['nitrite']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['nitrite']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Nitrite  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['nitrite'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['nitrite_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['gravity']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['gravity']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Specific Gravity   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['gravity_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['gravity_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['gravity'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['gravity_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['gravity_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['gravity_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['gravity_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['gravity_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['gravity_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Bilirubin  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['bilirubin_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Urobilinigen  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['urobilinigen_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Leucocytes  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['leucocytes_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['blood']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['blood']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Blood  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['blood_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['blood_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['blood'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['blood_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['blood_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['blood_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['blood_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['blood_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['blood_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 


    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Microscopic Examination :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pus']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['pus']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Pus Cells  
                    <span class="right">:</span> 
                </li> 
            </ul>


            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pus_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['pus_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pus'];?>
     -  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pus2'];?>
  
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pus_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pus_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['pus_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pus_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['pus_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pus_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pbcs']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['pbcs']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">R.B.Cs  
                    <span class="right">:</span> 
                </li> 
            </ul>


            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pbcs'];?>
    -  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pbcs2'];?>
    
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['pbcs_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['epithelial']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['epithelial']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Epithelial Cells  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['epithelial'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['epithelial_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['casts']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['casts']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Casts  
                    <span class="right">:</span> 
                </li> 
            </ul>


            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['casts_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['casts_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['casts'];?>
   
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['casts2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['casts2']!=''){?>   
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['casts2'];?>
 
                            <?php }?>
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['casts_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['casts_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['casts_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['casts_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['casts_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['casts_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['crystal']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['crystal']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Crystal  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['crystal_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['crystal_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['crystal'];?>
   
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['crystal2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['crystal2']!=''){?>   
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['crystal2'];?>
 
                            <?php }?>
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['crystal_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['crystal_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['crystal_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['crystal_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['crystal_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['crystal_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['amorphous']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['amorphous']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Amorphous  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['amorphous'];?>
   
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['amorphous2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['amorphous2']!=''){?>   
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['amorphous2'];?>
 
                            <?php }?>
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['amorphous_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['ova']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['ova']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Ova  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['ova_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['ova_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['ova'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['ova_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['ova_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['ova_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['ova_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['ova_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['ova_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['trophazite']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['trophazite']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Trophazite  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['trophazite'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['trophazite_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['mucus']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['mucus']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Mucus  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['mucus_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['mucus_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['mucus'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['mucus_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['mucus_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['mucus_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['mucus_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['mucus_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['mucus_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['artifacts']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['artifacts']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Urine Artifacts  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['artifacts'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['artifacts_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['fungi']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['fungi']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Fungi  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['fungi_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['fungi_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['fungi'];?>
   
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['fungi_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['fungi_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['fungi_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['fungi_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['fungi_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['fungi_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bacteria']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['bacteria']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Bacteria  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30  txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_low']==1||$_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_high']==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['bacteria'];?>
   
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bacteria2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['bacteria2']!=''){?>   
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['bacteria2'];?>
 
                            <?php }?>
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_invest_units'];?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_high']==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['bacteria_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->urine['comment']!=null&&$_smarty_tpl->tpl_vars['inv']->value->urine['comment']!=''){?>  
    <tr>
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->urine['comment'];?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 

    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==3){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>

    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Physical Examination :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['color']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['color']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Color  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['color_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['color_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['color'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['color_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['color_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['color_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['color_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['color_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['color_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['reaction']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['reaction']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Reaction  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['reaction_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['reaction_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['reaction'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['reaction_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['reaction_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['reaction_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['reaction_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['reaction_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['reaction_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['odor']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['odor']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Odor  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['odor_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['odor_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['odor'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['odor_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['odor_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['odor_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['odor_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['odor_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['odor_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['mucus']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['mucus']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Mucus  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['mucus_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['mucus_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['mucus'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['mucus_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['mucus_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['mucus_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['mucus_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['mucus_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['mucus_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['consistency']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['consistency']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Consistency  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['consistency_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['consistency_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['consistency'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['consistency_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['consistency_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['consistency_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['consistency_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['consistency_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['consistency_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['food']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['food']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Food Particles   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['food_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['food_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['food'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['food_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['food_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['food_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['food_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['food_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['food_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['blood']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['blood']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Blood  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['blood_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['blood_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['blood'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['blood_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['blood_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['blood_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['blood_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['blood_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['blood_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Microscopic Examination :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['wbc']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['wbc']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">WBCs  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['wbc_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['wbc_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['wbc'];?>
   -  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['wbc2'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['wbc_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['wbc_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['wbc_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['wbc_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['wbc_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['wbc_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['rbc']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['rbc']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">RBCs  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['rbc_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['rbc_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['rbc'];?>
     -  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['rbc2'];?>
  </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['rbc_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['rbc_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['rbc_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['rbc_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['rbc_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['rbc_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Trophozoite  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite'];?>
   

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite2'];?>

                        <?php }?>

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite3']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite3']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite3'];?>

                        <?php }?>
                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['trophozoite_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['cysts']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['cysts']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Cysts  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['cysts_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['cysts_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;"> 
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['cysts'];?>
  

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['cysts2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['cysts2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['cysts2'];?>

                        <?php }?>
                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['cysts_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['cysts_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['cysts_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['cysts_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['cysts_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['cysts_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ova']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['ova']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Ova  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ova_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['ova_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;"> 
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['ova'];?>
  

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ova2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['ova2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['ova2'];?>

                        <?php }?>

                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['ova_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ova_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['ova_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ova_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['ova_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['ova_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['larva']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['larva']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Larva  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['larva_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['larva_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;"> 
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['larva'];?>
  

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['larva2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['larva2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['larva2'];?>

                        <?php }?>
                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['larva_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['larva_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['larva_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['larva_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['larva_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['larva_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['prog']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['prog']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Proglottids  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['prog_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['prog_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['prog'];?>
   

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['prog2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['prog2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['prog2'];?>

                        <?php }?>
                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['prog_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['prog_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['prog_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['prog_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['prog_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['prog_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['flagellates']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['flagellates']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Flagellates  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['flagellates'];?>
 

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['flagellates2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['flagellates2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['flagellates2'];?>

                        <?php }?>
                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['flagellates_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ciliate']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['ciliate']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Ciliate  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['ciliate'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['ciliate_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['undigested']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['undigested']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Undigested Food  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['undigested_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['undigested_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['undigested'];?>
  

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['undigested2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['undigested2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['undigested2'];?>

                        <?php }?>
                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['undigested_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['undigested_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['undigested_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['undigested_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['undigested_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['undigested_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['parasitology']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['parasitology']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Parasitology Artifacts  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_low']==1||$_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['parasitology'];?>
  

                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['parasitology2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['parasitology2']!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['parasitology2'];?>

                        <?php }?>
                    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['parasitology_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->stool['comment']!=null&&$_smarty_tpl->tpl_vars['inv']->value->stool['comment']!=''){?>  
    <tr>
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool['comment'];?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==4){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>

    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 10px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Culture :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['sample']!=null&&$_smarty_tpl->tpl_vars['inv']->value->culture['sample']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Sample  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['sample_value'];?>

                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['organism_a']!=null&&$_smarty_tpl->tpl_vars['inv']->value->culture['organism_a']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Organism A  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['organism_a_value'];?>

                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['organism_b']!=null&&$_smarty_tpl->tpl_vars['inv']->value->culture['organism_b']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Organism B 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['organism_b_value'];?>

                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>
    <?php }?> 


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['organism_c']!=null&&$_smarty_tpl->tpl_vars['inv']->value->culture['organism_c']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Organism C  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['organism_c_value'];?>

                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['condition']!=null&&$_smarty_tpl->tpl_vars['inv']->value->culture['condition']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Culture Condition  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['condition_value'];?>

                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['colony_count']!=null&&$_smarty_tpl->tpl_vars['inv']->value->culture['colony_count']!=''){?>  
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Colony Count   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['colony_count_value'];?>

                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>
    <?php }?> 


    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 10px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Sensitivity :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['investigationresults_culture_hsCount']->value>0||$_smarty_tpl->tpl_vars['investigationresults_culture_msCount']->value>0||$_smarty_tpl->tpl_vars['investigationresults_culture_lsCount']->value>0||$_smarty_tpl->tpl_vars['investigationresults_culture_rsCount']->value>0){?>  

    <tr>
        <td colspan="2" class="wds100">
            <table style="width: 98% ;margin-left: 8%;"  class="noborder">
                <tr>
                    <td class="wds50 "></td>
                    <th class="wds25"> Commercial Name</th>
                    <th class="wds25"> Sensitive  </th>
                </tr>

                <?php if ($_smarty_tpl->tpl_vars['investigationresults_culture_hsCount']->value>0){?>  
                <tr>
                    <td class="wds50 bold">
                        <ul class="col-med wds100">
                            <li style="list-style: disc;"> Highly <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['sensitivity_cat_value'];?>
 For  
                                <span  style=" margin-left: 15px;">:</span>
                            </li> 
                        </ul>
                    </td>
                    <th class="wds25"> </th>
                    <th class="wds25"> </th>
                </tr>

                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['investigationresults_culture_hs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>

                <tr>
                    <td>      <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
  -   <?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
  </td>
                    <td>  <?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
  </td>
                    <td>    </td>
                </tr>

                <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                <?php } ?>


                <?php }?>  

                <?php if ($_smarty_tpl->tpl_vars['investigationresults_culture_msCount']->value>0){?>  
                <tr>
                    <td class="wds50 bold">
                        <ul class="col-med wds100">
                            <li style="list-style: disc;"> Moderate <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['sensitivity_cat_value'];?>
 For  
                                <span  style=" margin-left: 15px;">:</span> 
                            </li> 
                        </ul>
                    </td>
                    <th class="wds25"> </th>
                    <th class="wds25"> </th>
                </tr>

                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['investigationresults_culture_ms']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>

                <tr>
                    <td>      <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
  -   <?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
  </td>
                    <td>  <?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
  </td>
                    <td>    </td>
                </tr>

                <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                <?php } ?>


                <?php }?>  
                <?php if ($_smarty_tpl->tpl_vars['investigationresults_culture_lsCount']->value>0){?>  
                <tr>
                    <td class="wds50 bold">
                        <ul class="col-med wds100">
                            <li style="list-style: disc;"> Low <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['sensitivity_cat_value'];?>
 For  
                                <span  style=" margin-left: 15px;">:</span>
                            </li> 
                        </ul>
                    </td>
                    <th class="wds25"> </th>
                    <th class="wds25"> </th>
                </tr>

                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['investigationresults_culture_ls']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>

                <tr>
                    <td>      <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
  -   <?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
  </td>
                    <td>  <?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
  </td>
                    <td>    </td>
                </tr>

                <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                <?php } ?>


                <?php }?>  
                <?php if ($_smarty_tpl->tpl_vars['investigationresults_culture_rsCount']->value>0){?>  
                <tr>
                    <td class="wds50 bold">
                        <ul class="col-med wds100">
                            <li style="list-style: disc;"> Resistant <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['sensitivity_cat_value'];?>
 For  
                                <span  style=" margin-left: 15px;">:</span>
                            </li> 
                        </ul>
                    </td>
                    <th class="wds25"> </th>
                    <th class="wds25"> </th>
                </tr>

                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['investigationresults_culture_rs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>

                <tr>
                    <td>      <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
  -   <?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
  </td>
                    <td>  <?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
  </td>
                    <td>    </td>
                </tr>

                <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                <?php } ?>


                <?php }?>  
            </table>
        </td>
    </tr>

    <?php }?>  

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['comment']!=null&&$_smarty_tpl->tpl_vars['inv']->value->culture['comment']!=''){?>  
    <tr>
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['comment'];?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==5){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour1']!=null&&$_smarty_tpl->tpl_vars['inv']->value->esr['hour1']!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">First Hour  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour1_low']==1||$_smarty_tpl->tpl_vars['inv']->value->esr['hour1_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->esr['hour1_value'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->esr['hour1_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour1_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->esr['hour1_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour1_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->esr['hour1_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->esr['hour1_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour2']!=null&&$_smarty_tpl->tpl_vars['inv']->value->esr['hour2']!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Second Hour  
                    <span class="right">:</span> 
                </li> 
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour2_low']==1||$_smarty_tpl->tpl_vars['inv']->value->esr['hour2_high']==1){?>    
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->esr['hour2_value'];?>
    </li> 
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->esr['hour2_invest_units'];?>
  </li> 
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour2_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->esr['hour2_high']==1){?> H   <?php }?>  </li> 
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['hour2_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->esr['hour2_range_txt']!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->esr['hour2_range_txt'];?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->esr['comment']!=null&&$_smarty_tpl->tpl_vars['inv']->value->esr['comment']!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->esr['comment'];?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==6){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>



    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc; font-weight: bold;">The Patient 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->cross['abo']>0){?>   <?php echo $_smarty_tpl->tpl_vars['inv']->value->cross['abo_value'];?>
  <?php }?>     
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->cross['rh']>0){?>   <?php echo $_smarty_tpl->tpl_vars['inv']->value->cross['rh_value'];?>
  <?php }?>  
                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>

    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc; font-weight: bold;">The Donors 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds10  txtl " style=" padding-left: 15%;">

            </ul>

            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: none; font-weight: bold;">Viral Screen
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds10  txtl " style=" padding-left: 15%;">

            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->cross['donnersItr']>0){?>
    <tr>
        <td colspan="2" class="wds100">

            <table style="float: left;" cellpadding="2" class="noborder wds54">
                <tr style="line-height: 25px; " class="bg-grey">
                    <th class="wds50 txtc">Donor Name</th>
                    <th class="wds25 txtc"> Result  </th>
                    <th class="wds25">   </th>
                </tr>

                <?php  $_smarty_tpl->tpl_vars['donner'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['donner']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value->cross['donners']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['donner']->key => $_smarty_tpl->tpl_vars['donner']->value){
$_smarty_tpl->tpl_vars['donner']->_loop = true;
?>
                <?php if ($_smarty_tpl->tpl_vars['donner']->value['name']!=null&&$_smarty_tpl->tpl_vars['donner']->value['name']!=''){?>  
                <tr style="line-height: 25px; ">
                    <td class="wds50 txtl ">
                        <ul><li style="list-style: none;"><?php echo $_smarty_tpl->tpl_vars['donner']->value['name'];?>
  <span style="float: right">:</span>  </li> </ul> 
                    </td>
                    <td class="wds25 txtc">
                        <?php if ($_smarty_tpl->tpl_vars['donner']->value['abo']>0){?>   <?php echo $_smarty_tpl->tpl_vars['donner']->value['abo_value'];?>
  <?php }?>     
                        <?php if ($_smarty_tpl->tpl_vars['donner']->value['rh']>0){?>   <?php echo $_smarty_tpl->tpl_vars['donner']->value['rh_value'];?>
  <?php }?>  
                    </td>
                    <td class="wds25 txtc">
                        <?php if ($_smarty_tpl->tpl_vars['donner']->value['compatibility']>0){?>   <?php echo $_smarty_tpl->tpl_vars['donner']->value['compatibility_value'];?>
  <?php }?>     
                    </td>
                </tr>
                <?php }?>     
                <?php } ?>

            </table>

            <table style="float: right;" cellpadding="2" class="noborder wds44">
                <tr style="line-height: 25px; " class="bg-grey">
                    <th class="wds33 txtc"> HCV  </th>
                    <th class="wds33 txtc"> HBsAg  </th>
                    <th class="wds34 txtc"> HV  </th>
                </tr>

                <?php  $_smarty_tpl->tpl_vars['donner'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['donner']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value->cross['donners']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['donner']->key => $_smarty_tpl->tpl_vars['donner']->value){
$_smarty_tpl->tpl_vars['donner']->_loop = true;
?>
                <?php if ($_smarty_tpl->tpl_vars['donner']->value['name']!=null&&$_smarty_tpl->tpl_vars['donner']->value['name']!=''){?>  
                <tr style="line-height: 25px; ">
                    <td class="wds33 txtc ">
                        <?php if ($_smarty_tpl->tpl_vars['donner']->value['hcv']>0){?>   <?php echo $_smarty_tpl->tpl_vars['donner']->value['hcv_value'];?>
  <?php }?>     
                    </td>
                    <td class="wds33 txtc">
                        <?php if ($_smarty_tpl->tpl_vars['donner']->value['hbsag']>0){?>   <?php echo $_smarty_tpl->tpl_vars['donner']->value['hbsag_value'];?>
  <?php }?>     
                    </td>
                    <td class="wds34 txtc">
                        <?php if ($_smarty_tpl->tpl_vars['donner']->value['hv']>0){?>   <?php echo $_smarty_tpl->tpl_vars['donner']->value['hv_value'];?>
  <?php }?>     
                    </td>
                </tr>
                <?php }?>     
                <?php } ?>

            </table>


        </td>
    </tr>

    <?php }?>  

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->cross['comment']!=null&&$_smarty_tpl->tpl_vars['inv']->value->cross['comment']!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->cross['comment'];?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==7){?>  
    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==8){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding!=null&&$_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds50" style=" padding-left: 15%;">
                <li style="list-style: disc;">Bleeding Time ( BT )   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_low==1||$_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding;?>
 :  <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_sec;?>
 
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->bleeding_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->clothing!=null&&$_smarty_tpl->tpl_vars['inv']->value->clothing->clothing!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds50" style=" padding-left: 15%;">
                <li style="list-style: disc;">Clothing Time ( CT )   
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_low==1||$_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->clothing;?>
 :  <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_sec;?>
 
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds5">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->clothing_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->clothing->comment!=null&&$_smarty_tpl->tpl_vars['inv']->value->clothing->comment!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->clothing->comment;?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==9||$_smarty_tpl->tpl_vars['inv']->value->special_inv_type==12||$_smarty_tpl->tpl_vars['inv']->value->special_inv_type==13){?>  
    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==9||$_smarty_tpl->tpl_vars['inv']->value->special_inv_type==12){?>  
    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        PT ( Prothrombin Time ) :  
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->patient_time!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Patient's Time
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_low==1||$_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->patient_time;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->patient_time_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->concentration!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->concentration!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Concentration
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->concentration_low==1||$_smarty_tpl->tpl_vars['inv']->value->pt->concentration_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->concentration;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->concentration_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->concentration_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->pt->concentration_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->concentration_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->concentration_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->concentration_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->inr!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->inr!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">I.N.R
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->inr_low==1||$_smarty_tpl->tpl_vars['inv']->value->pt->inr_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->inr;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->inr_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->inr_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->pt->inr_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->inr_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->inr_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->inr_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?> 

    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==9||$_smarty_tpl->tpl_vars['inv']->value->special_inv_type==13){?>  
    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        APTT  :  
                    </span>
                </li> 
            </ul>
        </td>
    </tr>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Patient's Time
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_low==1||$_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->patient_time1_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Fibrinogen 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_low==1||$_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->fibrinogen_range_txt;?>

            <?php }?>  
        </td>
    </tr>
    <?php }?>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fdp!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->fdp!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">FDP 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds30   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fdp_low==1||$_smarty_tpl->tpl_vars['inv']->value->pt->fdp_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->fdp;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->fdp_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fdp_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->pt->fdp_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->fdp_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->fdp_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->fdp_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>

    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->pt->comment!=null&&$_smarty_tpl->tpl_vars['inv']->value->pt->comment!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->pt->comment;?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==14){?>  
    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        Lipid profile
                    </span>
                </li>
            </ul>
        </td>
    </tr>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol!=''&&in_array('Total Cholesterol',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc; font-weight: bold;">Total Cholesterol 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->cholesterol_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides!=''&&in_array('Triglycerides',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>   
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc; font-weight: bold;">Triglycerides 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->triglycerides_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->hdl!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->hdl!=''&&in_array('HDL Cholesterol',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>      
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">HDL Cholesterol 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->hdl;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->hdl_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->ldl!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->ldl!=''&&in_array('LDL Cholesterol',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>      
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">LDL Cholesterol 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->ldl;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->ldl_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl!=''&&in_array('Non-HDL Cholesterol',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>     
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">Non-HDL Cholesterol
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->nonhdl_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->vldl!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->vldl!=''&&in_array('VLDL Cholesterol',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>     
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">VLDL Cholesterol
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->vldl;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->vldl_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1!=''&&in_array('Risk ratio I',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>      
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">Risk ratio I
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio1_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2!=''&&in_array('Risk ratio II',$_smarty_tpl->tpl_vars['inv']->value->lipid->lipidOrdered)){?>     
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">Risk ratio II
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_low==1||$_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->riskratio2_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>





    <?php if ($_smarty_tpl->tpl_vars['inv']->value->lipid->comment!=null&&$_smarty_tpl->tpl_vars['inv']->value->lipid->comment!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->lipid->comment;?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==15){?>  

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->cr!=null&&$_smarty_tpl->tpl_vars['inv']->value->egfr->cr!=''&&in_array('Serum Creatinine',$_smarty_tpl->tpl_vars['inv']->value->egfr->gfrOrdered)){?>   
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">Serum Creatinine
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->cr_low==1||$_smarty_tpl->tpl_vars['inv']->value->egfr->cr_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->egfr->cr;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->egfr->cr_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->cr_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->egfr->cr_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->cr_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->egfr->cr_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->egfr->cr_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>





    <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->gfr!=null&&$_smarty_tpl->tpl_vars['inv']->value->egfr->gfr!=''&&in_array('eGFR',$_smarty_tpl->tpl_vars['inv']->value->egfr->gfrOrdered)){?>     
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;">GFR
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_low==1||$_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->egfr->gfr;?>

                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_invest_units;?>
  </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->egfr->gfr_range_txt;?>

            <?php }?>  
        </td>

    </tr>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->egfr->comment!=null&&$_smarty_tpl->tpl_vars['inv']->value->egfr->comment!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->egfr->comment;?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==16){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>

    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Semen Description :
                    </span>
                </li> 
            </ul>
        </td>
    </tr>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['volume']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['volume']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Volume
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['volume_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['volume_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['volume'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['volume_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['volume_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['volume_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['volume_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['volume_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['volume_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ph']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['ph']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">PH
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ph_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['ph_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['ph'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['ph_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ph_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['ph_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ph_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['ph_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['ph_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['color']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['color']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Color
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['color_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['color_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['color'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['color_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['color_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['color_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['color_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['color_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['color_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['odor']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['odor']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Odor
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['odor_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['odor_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['odor'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['odor_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['odor_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['odor_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['odor_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['odor_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['odor_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['viscosity']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['viscosity']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Viscosity
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['viscosity'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['viscosity_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_time']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['liq_time']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Liquefection Time
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['liq_time'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['liq_time_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_state']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['liq_state']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Liquifaction State
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['liq_state'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['liq_state_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;">
                <li style="list-style: disc;">
                    <span class="underline bold">
                        CONCENTERATION & MOTILITY ANALYSIS :
                    </span>
                </li>
            </ul>
        </td>
    </tr>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Concenteration /ml 
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['sperm_count_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['total_count']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['total_count']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Total Sperm
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['total_count_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['total_count_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['total_count'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['total_count_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['total_count_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['total_count_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['total_count_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['total_count_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['total_count_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Progressive motility PR
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_a_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Non progressive NP 
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_c_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>
    
    
        
        <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;"> Sluggish motility
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_sluggish_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Total motility PR+NP
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_b_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Immotile IM
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_d_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    
    <?php }?>
    

    <?php if ($_smarty_tpl->tpl_vars['labSetting']->value->immotile_comment==1){?>
    <tr style="line-height: 20px; ">
        <td class="wds75">
            <ul class="col-med" style=" padding-left: 10%;">
                <li style="list-style: disc;">progressive motility PR : spermatozoa moving activity,either linearly or in a large cricle,regardless of speed.</li>
                <li style="list-style: disc;">Non progressive NP : all other patterns of motility with an absence of progession.</li>
                <li style="list-style: disc;">Immotile IM :  no movement</li>
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 



    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;">
                <li style="list-style: disc;">
                    <span class="underline bold">
                        SPERM MORPHOLOGY STUDY :
                    </span>
                </li>
            </ul>
        </td>
    </tr>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['normal_form']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['normal_form']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Normal Sperm
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['normal_form'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['normal_form_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>




    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ab_form']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['ab_form']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Abnormal Sperm
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['ab_form'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['ab_form_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['vitality']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['vitality']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Vitality
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['vitality_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['vitality_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['vitality'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['vitality_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['vitality_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['vitality_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['vitality_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['vitality_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['vitality_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pinheads']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['pinheads']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Pinheads
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['pinheads'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['pinheads_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    
        <?php if ($_smarty_tpl->tpl_vars['labSetting']->value->pinheads_comment==1){?>
    <tr style="line-height: 20px; ">
        <td class="wds75">
            <ul class="col-med" style=" padding-left: 10%;">
                <li style="list-style: disc;">
                    Pinhead sperms are not counted as spermatozoa
                    <br/> or head defects because they possess no chromation
                    <br/> or head structure anterior to the basal plate
                </li>
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?>
    
    
    <?php }?>



    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;">
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Cells other than sperms Exam :
                    </span>
                </li>
            </ul>
        </td>
    </tr>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pus']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['pus']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">White Blood Cells
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pus_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['pus_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['pus'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['pus_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pus_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['pus_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['pus_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['pus_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['pus_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['rbc']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['rbc']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Red Blood Cells
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['rbc_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['rbc_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['rbc'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['rbc_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['rbc_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['rbc_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['rbc_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['rbc_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['rbc_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Spermatogenic Cells
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['sperm_cells_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Epithelial Cells
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['epith_cells_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Others
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['mobility_percent_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;">
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Collection Info :
                    </span>
                </li>
            </ul>
        </td>
    </tr>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_location']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['coll_location']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Coll. Location
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['coll_location'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['coll_location_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['abestination']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['abestination']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Abestination
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['abestination_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['abestination_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['abestination'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['abestination_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['abestination_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['abestination_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['abestination_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['abestination_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['abestination_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_method']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['coll_method']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Coll. Method
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['coll_method'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['coll_method_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>


    <tr>
        <td colspan="2" class="wds100">
            <ul style=" margin-left: 5px;">
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Agglutination & Aggregation :
                    </span>
                </li>
            </ul>
        </td>
    </tr>


    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['aggregation']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['aggregation']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Aggregation
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['aggregation'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['aggregation_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['agg']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['agg']!=''){?>
    <tr>
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Agglutination
                    <span class="right">:</span>
                </li>
            </ul>

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['agg_low']==1||$_smarty_tpl->tpl_vars['inv']->value->semen['agg_high']==1){?>
            <ul class=" col-med wds30  bg-grey  p5 txtc "> <?php }else{ ?> <ul class=" col-med wds30  txtc "><?php }?>
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['agg'];?>
    </li>
                </ul>

                <ul class="col-med wds15">
                    <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['agg_invest_units'];?>
  </li>
                </ul>

                <ul class="col-med wds8">
                    <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['agg_low']==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->semen['agg_high']==1){?> H   <?php }?>  </li>
                </ul>

        </td>
        <td class="wds25">

            <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['agg_range_txt']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['agg_range_txt']!=''){?>
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['agg_range_txt'];?>

            <?php }?>
        </td>

    </tr>
    <?php }?>




    <?php if ($_smarty_tpl->tpl_vars['inv']->value->semen['comment']!=null&&$_smarty_tpl->tpl_vars['inv']->value->semen['comment']!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->semen['comment'];?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==10){?>  

    <tr>
        <td colspan="2" class="wds100">
            <ul style="margin-left: -18px;">
                <li style="list-style: none;">
                    <span class="underline bold">
                        <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    </span>
                </li>
            </ul>

        </td>
    </tr>


    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">ABO System
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->aborh['abo']>0){?>   <?php echo $_smarty_tpl->tpl_vars['inv']->value->aborh['abo_value'];?>
  <?php }?>     
                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>


    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds40" style=" padding-left: 15%;">
                <li style="list-style: disc;">Blood Rh
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds60  txtl " style=" padding-left: 15%;">
                <li style="list-style: none;">
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->aborh['rh']>0){?>   <?php echo $_smarty_tpl->tpl_vars['inv']->value->aborh['rh_value'];?>
  <?php }?>  
                </li> 
            </ul>
        </td>
        <td class="wds25">
        </td>

    </tr>



    <?php if ($_smarty_tpl->tpl_vars['inv']->value->aborh['comment']!=null&&$_smarty_tpl->tpl_vars['inv']->value->aborh['comment']!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: disc;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->aborh['comment'];?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->special_inv_type==11){?>  

    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value->elements; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>

    <tr>
        <td colspan="2" class="wds100">
            <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">
                <tr style="line-height: 25px; ">
                    <td class="wds30" style="vertical-align: top;" >
                        <ul> 
                            <li style="list-style: disc;font-weight: bold;"> <?php echo $_smarty_tpl->tpl_vars['data']->value->show_name;?>
   <span style="float: right">:</span> </li>
                        </ul> 
                    </td>

                    <td class="wds25" style="text-align: center; vertical-align: top;"> 
                        <div class=" wds50   <?php if ($_smarty_tpl->tpl_vars['data']->value->content->element_text_low==1||$_smarty_tpl->tpl_vars['data']->value->content->element_text_high==1){?>     bg-grey  <?php }?>" style=" margin-left: 25%; ">
                            <span style="float: left;"> <?php echo $_smarty_tpl->tpl_vars['data']->value->content->element_select_text;?>
 </span>
                            <span style="float: right;"><?php echo $_smarty_tpl->tpl_vars['data']->value->content->element_text;?>
</span>
                        </div>  

                    </td>
                    <td class="wds10" style="vertical-align: top;" >
                        <?php echo $_smarty_tpl->tpl_vars['data']->value->content->element_text_unit;?>

                    </td>

                    <td class="wds5" style="vertical-align: top;" >
                        <?php if ($_smarty_tpl->tpl_vars['data']->value->content->element_text_low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['data']->value->content->element_text_high==1){?> H   <?php }?>
                    </td>
                    <td style="vertical-align: top;" >  
                        <?php if ($_smarty_tpl->tpl_vars['data']->value->content->element_text_range_txt!=null&&$_smarty_tpl->tpl_vars['data']->value->content->element_text_range_txt!=''){?>  
                        <?php echo $_smarty_tpl->tpl_vars['data']->value->content->element_text_range_txt;?>

                        <?php }?>  
                    </td>
                </tr>
            </table>

        </td>
    </tr>





    <?php } ?>

    <?php if ($_smarty_tpl->tpl_vars['inv']->value->comment!=null&&$_smarty_tpl->tpl_vars['inv']->value->comment!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 10px;"> 
                <li style="list-style: none;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->comment;?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 


    <?php }else{ ?>  

    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul class="col-med wds41" style=" padding-left: 8%;">
                <li style="list-style: disc;font-weight: bold;"> <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
 
                    <span class="right">:</span> 
                </li> 
            </ul>

            <ul class=" col-med wds29   txtc ">
                <li style="list-style: none;"> 
                    <?php if ($_smarty_tpl->tpl_vars['inv']->value->low==1||$_smarty_tpl->tpl_vars['inv']->value->high==1){?> <div class="bg-grey wds50 m25 " >   <?php }else{ ?>  <div>  <?php }?>
                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->investresult;?>
 
                        </div> 
                </li> 
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">     <?php echo $_smarty_tpl->tpl_vars['inv']->value->range->invest_units;?>
   </li> 
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  <?php if ($_smarty_tpl->tpl_vars['inv']->value->low==1){?> L  <?php }elseif($_smarty_tpl->tpl_vars['inv']->value->high==1){?> H   <?php }?>  </li> 
            </ul>

        </td>
        <td class="wds25">
            <?php if ($_smarty_tpl->tpl_vars['inv']->value->range->range_txt!=null&&$_smarty_tpl->tpl_vars['inv']->value->range->range_txt!=''){?>  
            <?php echo $_smarty_tpl->tpl_vars['inv']->value->range->range_txt;?>

            <?php }?>  
        </td>





        <?php if ($_smarty_tpl->tpl_vars['inv']->value->comment!=null&&$_smarty_tpl->tpl_vars['inv']->value->comment!=''){?>  
    <tr style="line-height: 30px; ">
        <td class="wds75">
            <ul  class="col-med-ex wds40" style=" margin-left: 5px;"> 
                <li style="list-style: none;">
                    <span class="underline bold">
                        Comment  :
                    </span>
                </li> 
            </ul>
            <ul class="col-med ">
                <li style="list-style: none;">  <?php echo $_smarty_tpl->tpl_vars['inv']->value->comment;?>
  </li> 
            </ul>
        </td>
        <td class="wds25"></td>
    </tr>
    <?php }?> 




    <?php }?>

</table>
<?php if ($_smarty_tpl->tpl_vars['source']->value==5||$_smarty_tpl->tpl_vars['source']->value==6){?>
<hr style="border: 1px solid black;  margin: 5px 0;">
<?php }?>


<?php } ?>


<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['d']->value+1;?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["d"] = new Smarty_variable($_tmp1, null, 0);?>
<?php } ?>
<?php }} ?>