<?php /* Smarty version Smarty-3.1.11, created on 2025-03-22 02:54:09
         compiled from "../views/obgy/ultrasoundobst/print.html" */ ?>
<?php /*%%SmartyHeaderCode:178958677567de88c1bd3ce1-60875018%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ead6a062d2b9c15454b174ecb6de746974aee88a' => 
    array (
      0 => '../views/obgy/ultrasoundobst/print.html',
      1 => 1542464116,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '178958677567de88c1bd3ce1-60875018',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'patientData' => 0,
    'hosturl' => 0,
    'ProgramesettingData' => 0,
    'ultrasoundobstData' => 0,
    'allSname' => 0,
    'sname' => 0,
    'ultrasoundobstDetail' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67de88c1d10215_39071562',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67de88c1d10215_39071562')) {function content_67de88c1d10215_39071562($_smarty_tpl) {?><div id="ultrasoundobstOPrintDiv">
    
    <style>


        .prntbl {
            padding:0px !important;
            width:95% !important;
            margin:0px auto !important;
        }.prntbl table{
            border-collapse: collapse !important;
            width:100% !important;
            margin:0px !important;
            padding:0px !important;
        }
        .prntbl 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;
        }.prntbl tr:hover td{

        }
        .prntbl tr:nth-child(odd){background-color: #E0E0E0 !important;}
        .prntbl tr:nth-child(even)    { background-color:#ffffff !important; }.prntbl 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;
        }


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

        }

        .prntbl span {
            font-weight: 700;
        }

    </style>

    
    <meta charset="UTF-8">

    <input type="hidden" id="ultrasoundobstobstPage" value="1"/>
    <input type="hidden" id="patientId" value="<?php echo $_smarty_tpl->tpl_vars['patientData']->value->id;?>
"/>
    <input type="hidden" id="controllName" value="ultrasoundobstobst"/>
    <!---======================================================== tab1============================================================================================ ----->

    <div class="row">
        <div id="">

            <div class="row">

                <div class="portlet-body form prntbl" style="height: 5cm !important;">
                    <center><br /><br /><h5>APPENDIX : ROUTINE ULTRASOUND WORKSHEET </h5></center>
                    <div style="width: 65%; float: left;height: 5cm;">


                        <table border="1">
                            <thead></thead>
                            <tbody>
                                <tr>
                                    <td width="120" rowspan="5" style="width:120px;height: 125px;"><img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/logo/<?php echo $_smarty_tpl->tpl_vars['ProgramesettingData']->value->logo;?>
" width="120" height="120"/></td>
                                    <td colspan="2"><span>Patient</span> : <?php echo $_smarty_tpl->tpl_vars['patientData']->value->wifename;?>
</td>
                                    <td colspan="2"><span>ID </span> : <?php echo $_smarty_tpl->tpl_vars['patientData']->value->id;?>
</td>
                                </tr>
                                <tr>
                                    <td colspan="4"><span>Date Of Birth</span> <?php echo $_smarty_tpl->tpl_vars['patientData']->value->dateofbirth;?>
</td>
                                </tr>
                                <tr>
                                    <td colspan="2"><span>Referring Physican</span></td>
                                    <td colspan="2"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstData']->value->physician;?>
</td>
                                </tr>
                                <tr>
                                    <td colspan="4"><span>Date Of Exam</span> <?php echo $_smarty_tpl->tpl_vars['ultrasoundobstData']->value->edate;?>
</td>
                                </tr>

                                <tr>
                                    <td width="256" colspan="1"><span> Sonographer  </span></td>
                                    <td colspan="3"><?php  $_smarty_tpl->tpl_vars['sname'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sname']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allSname']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sname']->key => $_smarty_tpl->tpl_vars['sname']->value){
$_smarty_tpl->tpl_vars['sname']->_loop = true;
?><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstData']->value->sid==$_smarty_tpl->tpl_vars['sname']->value['user_id']){?><?php echo $_smarty_tpl->tpl_vars['sname']->value['user_name'];?>
<?php }?><?php } ?></td>
                                </tr>
                                <tr>
                                    <td colspan="3"><span>Indication For Scan And Relevant Clinical Information</span></td>
                                    <td colspan="3"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstData']->value->indication;?>
</td>
                                </tr>
                                <tr>
                                    <td colspan="3"><span>Gestational Age</span>  <?php echo $_smarty_tpl->tpl_vars['ultrasoundobstData']->value->gage;?>
</td>
                                    <td width="100"><span>Technical Conditions</span></td>
                                    <td width="67"><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstData']->value->tcondition==0){?>Good<?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstData']->value->tcondition==1){?>Limited by: <?php echo $_smarty_tpl->tpl_vars['ultrasoundobstData']->value->limit;?>
<?php }?></td>
                                </tr>
                                <tr>
                                    <td><span>Based On</span></td>
                                    <td colspan="5"><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstData']->value->based==0){?>LMP<?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstData']->value->based==1){?>Previous US<?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstData']->value->based==2){?><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstData']->value->otherbased;?>
<?php }?></td>
                                </tr>
                                <tr>
                            </tbody>
                        </table>
                        <table border="1">
                            <th colspan="6"><span style="color: #ffffff !important;">ADNEXA</span></th>
                            </tr>
                            <tr>
                                <td><span>Appearance</span></td>
                                <td colspan="5"><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->appearance==0){?>Normal<?php }else{ ?>Abnormal<?php }?></td>
                            </tr>
                            <tr>
                                <td width="170"><span>Anomaly</span></td>
                                <td colspan="5"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->anomaly;?>
</td>
                            </tr>
                        </table>
                        <table>
                            <tr class="darkcolorx">
                                <th>MEASUREMENTS</th>
                                <th>mm</th>
                                <th colspan="4">Centile(Reference range)</th>
                            </tr>
                            <tr>
                                <td class="txtl"><span>Crown-rump length</span></td>
                                <td><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->crownm;?>
</td>
                                <td colspan="4"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->crownmc;?>
</td>
                            </tr>
                            <tr>
                                <td class="txtl"><span>Nuchal translucency</span></td>
                                <td><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->nuchalm;?>
</td>
                                <td colspan="4"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->nuchalc;?>
</td>
                            </tr>
                            <tr>
                                <td class="txtl"><span>Biparietal diameter</span></td>
                                <td><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->diameterm;?>
</td>
                                <td colspan="4"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->diameterc;?>
</td>
                            </tr>
                            <tr>
                                <td class="txtl"><span>Head circumference</span></td>
                                <td><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->headcm;?>
</td>
                                <td colspan="4"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->headcc;?>
</td>
                            </tr>
                            <tr>
                                <td class="txtl"><span>Abdominal circumference</span></td>
                                <td><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->abdominalm;?>
</td>
                                <td colspan="4"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->abdominalc;?>
</td>
                            </tr>
                            <tr>
                                <td class="txtl"><span>Femoral diaphysis length</span></td>
                                <td><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->flengthm;?>
</td>
                                <td colspan="4"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->flengthc;?>
</td>
                            </tr>

                            <tr>
                                <td><span>Abnormal Findings</span></td>
                                <td colspan="5"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->finding;?>
</td>
                            </tr>
                            <tr>
                                <td><span>Estimation of GA</span></td>
                                <td colspan="5"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->gaestimatew;?>
 weeks + <?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->gaestimated;?>
 Days</td>
                            </tr>

                            <tr>
                                <td><span>Conclusion</span></td>
                                <td colspan="5"><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->conclusion==1){?>Normal And Complete Examination<?php }?>
                                    <?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->inconclusion==1){?><br/>Normal But Incomplete Examination<?php }?>
                                    <?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->abconclusion==1){?><br/>Abnormal Examination<?php }?></td>
                            </tr>
                            <?php if (!empty($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->pconclusion)){?>
                            <tr>
                                <td><span>Plans</span></td> 
                                <td colspan="5"><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->plans==0){?>No Further Ultrasound Scans Required<?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->plans==1){?>Follow Up Planned In <?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->weeks;?>
 Weeks<?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->plans==2){?>Referred To <?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->referred;?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->oplans;?>
<?php }?></td>
                            </tr>
                            <?php }?>

                            <tr>
                                <td><span>Other</span></td>
                                <td colspan="5"><?php echo $_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->othernormal;?>
</td>
                            </tr>
                        </table>


                    </div>
                    <div style="width: 34%; float: left;margin-left: 1%;height: 5cm;">



                        <table>
                            <thead>
                                <tr>
                                    <th colspan="2" style=" vertical-align: middle;">SONOGRAPHIC APPEARANCE OF FETAL ANATOMY</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <th colspan="2">Head</th>
                                </tr>
                                <tr>
                                    <td width="284">Shape</td>
                                    <td width="159"><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->shape==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->shape==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Cranial Ossification</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->cranial==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->cranial==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Midline falx</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->falx==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->falx==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Choroid plexus</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->choroid==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->choroid==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th colspan="2">Face</th>
                                </tr>
                                <tr>
                                    <td>Orbits</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->orbits==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->orbits==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Profile</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->profile==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->profile==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th>Neck</th>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->neck==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->neck==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th colspan="2">Thorax</th>
                                </tr>
                                <tr>
                                    <td>Pulm. Area</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->pulm==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->pulm==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Diaphragm</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->diaphragm==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->diaphragm==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th>Heart</th>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->heart==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->heart==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Heart activity</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->heartactivity==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->heartactivity==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Size</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->hsize==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->hsize==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Cardiac axis</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->haxix==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->haxix==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Four-chamber view</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->chamberview==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->chamberview==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th colspan="2">Abdomen</th>
                                </tr>
                                <tr>
                                    <td>Stomach</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->stomach==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->stomach==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Bowel</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->bowel==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->bowel==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Kidneys</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->kidney==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->kidney==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Urinary bladder</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->bladder==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->bladder==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Cord insertion/Abdominal wall</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->cordinsertion==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->cordinsertion==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Cord vessels</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->cordvessels==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->cordvessels==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th>Spine</th>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->spine==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->spine==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th colspan="2">Limbs</th>
                                </tr>
                                <tr>
                                    <td>Right arm (incl. hand)</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->rarm==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->rarm==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Right leg (incl. foot)</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->rleg==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->rleg==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Left arm (incl. hand)</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->larm==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->larm==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <td>Left leg (incl. foot)</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->lleg==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->lleg==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>
                                <tr>
                                    <th><span style="color: #ffffff !important;">Gender</span> <?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->gender==0){?>Male <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->gender==1){?>Female<?php }?> </th>
                                    <td><?php if ($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->gendern==0){?>Normal <?php }elseif($_smarty_tpl->tpl_vars['ultrasoundobstDetail']->value->gendern==1){?>Abnormal<?php }else{ ?>Not visualized<?php }?></td>
                                </tr>

                            </tbody>
                        </table>


                    </div>


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

                </div>

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

        </div>
    </div>
</div><?php }} ?>