<div id="ultrasoundPrintDiv">
    {literal}
    <style>

        .prntbl2 {
            padding:0px !important;
            width:95% !important;
            margin:0px auto !important;
        }.prntbl2 table{
            border-collapse: collapse !important;
            width:100% !important;
            margin:0px !important;
            padding:0px !important;
        }
        .prntbl2 table th {
            background-color: #2D2D2D !important;
            background: #2D2D2D !important;
            border:0px solid #000000 !important;
            border-width:0px 0px 1px 1px !important;
            font-size:15px !important;
            font-family:Arial !important;
            font-weight:bold !important;
            color: #FFFFFF !important;
            text-align: center !important;
        }.prntbl2 tr:hover td{

        }
        .prntbl2 tr:nth-child(odd){background-color: #E0E0E0 !important;}
        .prntbl2 tr:nth-child(even)    { background-color:#ffffff !important; }
        .prntbl2 td{
            border:1px solid #000000 !important;
            padding: 0px 3px !important;
            font-size: 13px !important;
            font-family: tahoma !important;
            color:#000000 !important;
            text-align: left !important;
        }


        .prntbl2 th, .prntbl2 tt, .prntbl2 td {
            line-height: 20px !important;
            padding: 1px 5px !important;


        }

        .prntbl2 span {
            font-weight: 700;
        }


    </style>

    {/literal}
    <meta charset="UTF-8">

    <div class="prntbl2">
        <table width="100%" border="1">
            <tr>
                <th colspan="6" scope="row">Ultrasound Gyna</th>
            </tr>
            <tr>
                <th width="271" scope="row">Type Of Exam</th>
                <td colspan="3">{if $ultrasoundgynaData->etype eq 0}2D TAS{elseif $ultrasoundgynaData->etype eq 1}2D TVS{elseif $ultrasoundgynaData->etype eq 2}Combined 2D/3D TAS{/if}</td>
                <th width="104">Patient ID</th>
                <td width="256">{$patientData->id}</td>
            </tr>
            <tr>
                <th scope="row">Patient Name</th>
                <td colspan="5">{$patientData->wifename}</td>
            </tr>
            <tr>
                <th scope="row">Date Of Birth</th>
                <td colspan="5">{$patientData->dateofbirth}</td>
            </tr>
            <tr>
                <th scope="row">Referring Physican</th>
                <td colspan="5">{$ultrasoundgynaData->physician}</td>
            </tr>
            <tr>
                <th scope="row">Date Of Exam</th>
                <td colspan="5">  {$ultrasoundgynaData->edate} </td>
            </tr>
            <tr>
                <th scope="row">Sonographer</th>
                <td colspan="5"> {foreach $allSname as $sname}{if $ultrasoundgynaData->sid eq $sname.user_id}{$sname.user_name}{/if}{/foreach}  </td>
            </tr>
            <tr>
                <th scope="row">Referral Indication</th>
                <td colspan="5">  {$ultrasoundgynaData->indication} </td>
            </tr>
            <tr>
                <th scope="row">Technical Conditions</th>
                <td colspan="5">{if $ultrasoundgynaData->tcondition eq 0}Good{elseif $ultrasoundgynaData->tcondition eq 1}Limited By {$ultrasoundgynaData->limit}{/if}</td>
            </tr>
            <tr>
                <th colspan="6" scope="row">UTERUS</th>
            </tr>
            <tr>
                <th scope="row">Position</th>
                <td colspan="5">  {if $ultrasoundgynaData->position eq 0}AVF {elseif $ultrasoundgynaData->position eq 1} RVF{/if}</td>
            </tr>
            <tr>
                <th scope="row">Measurments</th>
                <td colspan="5">  {$ultrasoundgynaData->measurments} </td>
            </tr>
            <tr>
                <th scope="row">Endometrial Thickness</th>
                <td colspan="5">  {$ultrasoundgynaData->thickness} </td>
            </tr>
            <tr>
                <th scope="row">Transitional Zone</th>
                <td colspan="5"> {if $ultrasoundgynaData->tz eq 0}Clear {elseif $ultrasoundgynaData->tz eq 1}Absent{elseif $ultrasoundgynaData->tz eq 2}irregular {/if}</td>
            </tr>
            <tr>
                <th scope="row">Myometrium</th>
                <td colspan="5"> {if $ultrasoundgynaData->myo eq 0}Homogeneous {elseif $ultrasoundgynaData->myo eq 1}Non Uniform{elseif $ultrasoundgynaData->myo eq 2}Focal Lesion {/if}  </td>
            </tr>
            <tr>
                <th scope="row">Myometrial Walls</th>
                <td colspan="5"> {if $ultrasoundgynaData->myowall eq 0}Symmetrical{elseif $ultrasoundgynaData->myowall eq 1}Asymmetrical {/if}  </td>
            </tr>
            <tr>
                <th scope="row">Focal Lesion</th>
                <td colspan="5"> {$ultrasoundgynaData->flesion}  </td>
            </tr>
            <tr>
                <th colspan="6" scope="row">RT. OVARY</th>
            </tr>
            <tr>
                <th scope="row">Size</th>
                <td width="70"> {$ultrasoundgynaData->rtsize}  </td>
                <th width="73">Shape</th>
                <td width="121"> {$ultrasoundgynaData->rtshape}  </td>
                <th>Follicles</th>
                <td> {$ultrasoundgynaData->rtfolicles}  </td>
            </tr>
            <tr>
                <th colspan="6" scope="row">LT. OVARY</th>
            </tr>
            <tr>
                <th scope="row">Size</th>
                <td width="70">  {$ultrasoundgynaData->ltsize} </td>
                <th width="73">Shape</th>
                <td width="121">  {$ultrasoundgynaData->ltshape} </td>
                <th>Follicles</th>
                <td>  {$ultrasoundgynaData->ltfolicles} </td>
            </tr>
            <th colspan="6" scope="row">OMENTUM</th>
            </tr>
            <tr>
                <th scope="row">Douglas Pouch</th>
                <td colspan="5">{if $ultrasoundgynaData->douglas eq 0}free{elseif $ultrasoundgynaData->douglas eq 1}Abnormal   {$ultrasoundgynaData->describ}{/if}</td>
            </tr>
            <tr>
                <th scope="row">Any Pelvic Masses</th>
                <td colspan="5">  {$ultrasoundgynaData->pmass} </td>
            </tr>
            <tr>
                <th scope="row">Lymph Node</th>
                <td colspan="5"> {$ultrasoundgynaData->lymph}  </td>
            </tr>
            <tr>
                <th colspan="6" scope="row">DOPPLER STUDY ( UTERINE ARTERIES )</th>
            </tr>
            <tr>
                <th scope="row">Rt. Ut. A.</th>
                <td colspan="5">  {$ultrasoundgynaData->rtarteries} </td>
            </tr>
            <tr>
                <th scope="row">Lt. Ut. A.</th>
                <td colspan="5">  {$ultrasoundgynaData->ltarteries} </td>
            </tr>
            <tr>
                <th scope="row">Subendometrial Space</th>
                <td colspan="5">  {$ultrasoundgynaData->subspace} </td>
            </tr>
            <tr>
                <th scope="row">IOTA Score Of Ovarian Mass</th>
                <td colspan="5">  {$ultrasoundgynaData->score} </td>
            </tr>
            <tr>
                <th scope="row">Any Mass</th>
                <td colspan="5"> {$ultrasoundgynaData->anymass}  </td>
            </tr>
            <tr>
                <th scope="row">Conclusion</th>
                <td colspan="5">  {if $ultrasoundgynaData->conclusion eq 0}Normal pelvic sonogram   {$ultrasoundgynaData->normalcon} {elseif $ultrasoundgynaData->conclusion eq 1}Abnormal  {$ultrasoundgynaData->abnormalcon}{/if} </td>
            </tr>
        </table>

    </div>

    <div class="clearfix"></div>