
{if $inv->semen.color != Null && $inv->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>

        {if $inv->semen.color_low == 1 ||  $inv->semen.color_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.color}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.color_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.color_low == 1 } L  {else if $inv->semen.color_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.color_range_txt != Null && $inv->semen.color_range_txt  != ''}
        {$inv->semen.color_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.volume != Null && $inv->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>

        {if $inv->semen.volume_low == 1 ||  $inv->semen.volume_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.volume}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.volume_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.volume_low == 1 } L  {else if $inv->semen.volume_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.volume_range_txt != Null && $inv->semen.volume_range_txt  != ''}
        {$inv->semen.volume_range_txt}
        {/if}
    </td>

</tr>
{/if}


{if $inv->semen.ph != Null && $inv->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>

        {if $inv->semen.ph_low == 1 ||  $inv->semen.ph_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.ph}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.ph_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.ph_low == 1 } L  {else if $inv->semen.ph_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.ph_range_txt != Null && $inv->semen.ph_range_txt  != ''}
        {$inv->semen.ph_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.liq_time != Null && $inv->semen.liq_time != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">Liquifaction Time
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.liq_time_low == 1 ||  $inv->semen.liq_time_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.liq_time}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.liq_time_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.liq_time_low == 1 } L  {else if $inv->semen.liq_time_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.liq_time_range_txt != Null && $inv->semen.liq_time_range_txt  != ''}
        {$inv->semen.liq_time_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.viscosity != Null && $inv->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>

        {if $inv->semen.viscosity_low == 1 ||  $inv->semen.viscosity_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.viscosity}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.viscosity_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.viscosity_low == 1 } L  {else if $inv->semen.viscosity_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.viscosity_range_txt != Null && $inv->semen.viscosity_range_txt  != ''}
        {$inv->semen.viscosity_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.apperance != Null && $inv->semen.apperance != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">Apperance
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.apperance_low == 1 ||  $inv->semen.apperance_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.apperance}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.apperance_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.apperance_low == 1 } L  {else if $inv->semen.apperance_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.apperance_range_txt != Null && $inv->semen.apperance_range_txt  != ''}
        {$inv->semen.apperance_range_txt}
        {/if}
    </td>

</tr>
{/if}

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

{if $inv->semen.total_count != Null && $inv->semen.total_count != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">Total Sperm ount /ml
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.total_count_low == 1 ||  $inv->semen.total_count_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.total_count}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.total_count_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.total_count_low == 1 } L  {else if $inv->semen.total_count_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.total_count_range_txt != Null && $inv->semen.total_count_range_txt  != ''}
        {$inv->semen.total_count_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.sperm_count != Null && $inv->semen.sperm_count != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">Sperm Count /ejaculate
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.sperm_count_low == 1 ||  $inv->semen.sperm_count_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.sperm_count}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.sperm_count_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.sperm_count_low == 1 } L  {else if $inv->semen.sperm_count_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.sperm_count_range_txt != Null && $inv->semen.sperm_count_range_txt  != ''}
        {$inv->semen.sperm_count_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.ab_form != Null && $inv->semen.ab_form != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">Abnormal Forms
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.ab_form_low == 1 ||  $inv->semen.ab_form_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.ab_form}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.ab_form_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.ab_form_low == 1 } L  {else if $inv->semen.ab_form_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.ab_form_range_txt != Null && $inv->semen.ab_form_range_txt  != ''}
        {$inv->semen.ab_form_range_txt}
        {/if}
    </td>

</tr>
{/if}

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

{if $inv->semen.mobility_a != Null && $inv->semen.mobility_a != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">A- Rapid Forward Progressive
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.mobility_a_low == 1 ||  $inv->semen.mobility_a_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.mobility_a}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.mobility_a_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.mobility_a_low == 1 } L  {else if $inv->semen.mobility_a_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.mobility_a_range_txt != Null && $inv->semen.mobility_a_range_txt  != ''}
        {$inv->semen.mobility_a_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.mobility_b != Null && $inv->semen.mobility_b != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">B- Slow Forward Progressive
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.mobility_b_low == 1 ||  $inv->semen.mobility_b_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.mobility_b}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.mobility_b_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.mobility_b_low == 1 } L  {else if $inv->semen.mobility_b_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.mobility_b_range_txt != Null && $inv->semen.mobility_b_range_txt  != ''}
        {$inv->semen.mobility_b_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.mobility_c != Null && $inv->semen.mobility_c != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">C- None Progressive
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.mobility_c_low == 1 ||  $inv->semen.mobility_c_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.mobility_c}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.mobility_c_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.mobility_c_low == 1 } L  {else if $inv->semen.mobility_c_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.mobility_c_range_txt != Null && $inv->semen.mobility_c_range_txt  != ''}
        {$inv->semen.mobility_c_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.mobility_d != Null && $inv->semen.mobility_d != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">D- Immotile
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.mobility_d_low == 1 ||  $inv->semen.mobility_d_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.mobility_d}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.mobility_d_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.mobility_d_low == 1 } L  {else if $inv->semen.mobility_d_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.mobility_d_range_txt != Null && $inv->semen.mobility_d_range_txt  != ''}
        {$inv->semen.mobility_d_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.mobility_percent != Null && $inv->semen.mobility_percent != ''}
<tr>
    <td class="wds75">
        <ul class="col-med wds40" style=" padding-left: 15%;">
            <li style="list-style: disc;">Mobility Percentage Within 1 Hour
                <span class="right">:</span>
            </li>
        </ul>

        {if $inv->semen.mobility_percent_low == 1 ||  $inv->semen.mobility_percent_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.mobility_percent}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.mobility_percent_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.mobility_percent_low == 1 } L  {else if $inv->semen.mobility_percent_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.mobility_percent_range_txt != Null && $inv->semen.mobility_percent_range_txt  != ''}
        {$inv->semen.mobility_percent_range_txt}
        {/if}
    </td>

</tr>
{/if}

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


{if $inv->semen.pus != Null && $inv->semen.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>

        {if $inv->semen.pus_low == 1 ||  $inv->semen.pus_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.pus}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.pus_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.pus_low == 1 } L  {else if $inv->semen.pus_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.pus_range_txt != Null && $inv->semen.pus_range_txt  != ''}
        {$inv->semen.pus_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.rbc != Null && $inv->semen.rbc != ''}
<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>

        {if $inv->semen.rbc_low == 1 ||  $inv->semen.rbc_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.rbc}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.rbc_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.rbc_low == 1 } L  {else if $inv->semen.rbc_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.rbc_range_txt != Null && $inv->semen.rbc_range_txt  != ''}
        {$inv->semen.rbc_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.sperm_cells != Null && $inv->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>

        {if $inv->semen.sperm_cells_low == 1 ||  $inv->semen.sperm_cells_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.sperm_cells}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.sperm_cells_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.sperm_cells_low == 1 } L  {else if $inv->semen.sperm_cells_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.sperm_cells_range_txt != Null && $inv->semen.sperm_cells_range_txt  != ''}
        {$inv->semen.sperm_cells_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.agg != Null && $inv->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>

        {if $inv->semen.agg_low == 1 ||  $inv->semen.agg_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.agg}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.agg_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.agg_low == 1 } L  {else if $inv->semen.agg_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.agg_range_txt != Null && $inv->semen.agg_range_txt  != ''}
        {$inv->semen.agg_range_txt}
        {/if}
    </td>

</tr>
{/if}

{if $inv->semen.epith_cells != Null && $inv->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>

        {if $inv->semen.epith_cells_low == 1 ||  $inv->semen.epith_cells_high == 1 }
        <ul class=" col-med wds30  bg-grey  p5 txtc "> {else} <ul class=" col-med wds30  txtc ">{/if}
                <li style="list-style: none;">  {$inv->semen.epith_cells}    </li>
            </ul>

            <ul class="col-med wds15">
                <li style="list-style: none;">  {$inv->semen.epith_cells_invest_units}  </li>
            </ul>

            <ul class="col-med wds8">
                <li style="list-style: none;">  {if $inv->semen.epith_cells_low == 1 } L  {else if $inv->semen.epith_cells_high == 1 } H   {/if}  </li>
            </ul>

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

        {if $inv->semen.epith_cells_range_txt != Null && $inv->semen.epith_cells_range_txt  != ''}
        {$inv->semen.epith_cells_range_txt}
        {/if}
    </td>

</tr>
{/if}
