<div class="portlet box purple">
    <div class="portlet-title">
        <div class="caption">Obs. U\S </div>
        <div class="actions"></div>
        <div class="tools">
            <a href="#" class="collapse" title="تصغير / تكبير"></a>
        </div>
    </div>
    <div class="portlet-body">
        <div class="row">
            <div id="ultrasoundgynaDiv">
                <div class="row">
                    <div class="portlet-body form" >
                        <form>
                            <div class="form-body">
                                <table>
                                    <tbody>
                                        <tr>
                                            <th class="wds15"> No   :   </th>  
                                            <td>
                                                <select id="obs_no{$obstetric_case_ex->id}"  
                                                        class="form-control obs_noSelect updateElement"  data-colName="obs_no"
                                                        data-rowid="{$obstetric_case_ex->id}"  data-id="{$obstetric_case_ex->id}"
                                                        name="obs_no" select-tableName="obs_no"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <option value="">choose</option>
                                                    {foreach  $obs_no as $one}
                                                    <option value="{$one->id}"{if $obstetric_case_ex->obs_no eq $one->id}selected{/if}>{$one->name}</option>
                                                    {/foreach}

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds15"> Viability   :   </th>  
                                            <td>
                                                <select id="viability{$obstetric_case_ex->id}"  
                                                        class="form-control viabilitySelect updateElement"  data-colName="viability"
                                                        data-rowid="{$obstetric_case_ex->id}"  data-id="{$obstetric_case_ex->id}"
                                                        name="viability" select-tableName="viability"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <option value="">choose</option>
                                                    {foreach  $viability as $one}
                                                    <option value="{$one->id}"{if $obstetric_case_ex->viability eq $one->id}selected{/if}>{$one->name}</option>
                                                    {/foreach}

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds15"> Fetal gender   :   </th>  
                                            <td>
                                                <select id="fetal_gender{$obstetric_case_ex->id}"  
                                                        class="form-control fetal_genderSelect updateElement"  data-colName="fetal_gender"
                                                        data-rowid="{$obstetric_case_ex->id}"  data-id="{$obstetric_case_ex->id}"
                                                        name="fetal_gender" select-tableName="fetal_gender"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <option value="">choose</option>
                                                    {foreach  $fetal_gender as $one}
                                                    <option value="{$one->id}"{if $obstetric_case_ex->fetal_gender eq $one->id}selected{/if}>{$one->name}</option>
                                                    {/foreach}

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>

                                <table>
                                    <tbody>
                                        <tr>
                                            <th class="wds15"> Presentation   :   </th>  
                                            <td>
                                                <select id="presentation{$obstetric_case_ex->id}"  
                                                        class="form-control presentationSelect updateElement"  data-colName="presentation"
                                                        data-rowid="{$obstetric_case_ex->id}"  data-id="{$obstetric_case_ex->id}"
                                                        name="presentation" select-tableName="presentation"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <option value="">choose</option>
                                                    {foreach  $presentation as $one}
                                                    <option value="{$one->id}"{if $obstetric_case_ex->presentation eq $one->id}selected{/if}>{$one->name}</option>
                                                    {/foreach}

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds15"> Liquor   :   </th>  
                                            <td>
                                                <select id="liquor{$obstetric_case_ex->id}"  
                                                        class="form-control liquorSelect updateElement"  data-colName="liquor"
                                                        data-rowid="{$obstetric_case_ex->id}"  data-id="{$obstetric_case_ex->id}"
                                                        name="liquor" select-tableName="liquor"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <option value="">choose</option>
                                                    {foreach  $liquor as $one}
                                                    <option value="{$one->id}"{if $obstetric_case_ex->liquor eq $one->id}selected{/if}>{$one->name}</option>
                                                    {/foreach}

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>

                                <table>
                                    <tbody>
                                        <tr>
                                            <th class="wds15"> Placenta   :   </th>  

                                            <th class="wds15"> Site   :   </th>  
                                            <td>
                                                <select id="placenta_site{$obstetric_case_ex->id}"  
                                                        class="form-control placenta_siteSelect updateElement"  
                                                        data-colName="placenta_site"
                                                        data-rowid="{$obstetric_case_ex->id}"  data-id="{$obstetric_case_ex->id}"
                                                        name="placenta_site" select-tableName="placenta_site"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <option value="">choose</option>
                                                    {foreach  $placenta_site as $one}
                                                    <option value="{$one->id}"{if $obstetric_case_ex->placenta_site eq $one->id}selected{/if}>{$one->name}</option>
                                                    {/foreach}

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds15"> Abnormalites   :   </th>  
                                            <td>
                                                <select id="placenta_abnormalites{$obstetric_case_ex->id}"  
                                                        class="form-control placenta_abnormalitesSelect updateElement"  
                                                        data-colName="placenta_abnormalites"
                                                        data-rowid="{$obstetric_case_ex->id}"  data-id="{$obstetric_case_ex->id}"
                                                        name="placenta_abnormalites" select-tableName="placenta_abnormalites"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <option value="">choose</option>
                                                    {foreach  $placenta_abnormalites as $one}
                                                    <option value="{$one->id}"{if $obstetric_case_ex->placenta_abnormalites eq $one->id}selected{/if}>{$one->name}</option>
                                                    {/foreach}

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>


                                <table>
                                    <tbody>
                                        <tr>
                                            <th colspan="6" class="txtl">  Fetal Biometry   :   </th>  
                                        </tr>
                                        <tr>
                                            <th class="wds15"> BPD   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="bpd" data-id="{$obstetric_case_ex->id}" 
                                                       data-tableName="obstetric_case_ex" value="{$obstetric_case_ex->bpd}"/> 
                                                <span class="bold">   W</span>

                                            </td>

                                            <th class="wds15"> FL   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="fl" data-id="{$obstetric_case_ex->id}" 
                                                       data-tableName="obstetric_case_ex" value="{$obstetric_case_ex->fl}"/> 
                                                <span class="bold">   W</span>

                                            </td>

                                            <th class="wds15"> AC   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="ac" data-id="{$obstetric_case_ex->id}" 
                                                       data-tableName="obstetric_case_ex" value="{$obstetric_case_ex->ac}"/> 
                                                <span class="bold">   W</span>

                                            </td>
                                        </tr>
                                        <tr>
                                            <th class="wds15"> Average G.A   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="ga" data-id="{$obstetric_case_ex->id}" 
                                                       data-tableName="obstetric_case_ex" value="{$obstetric_case_ex->ga}"/> 
                                                <span class="bold">   W</span>

                                            </td>

                                            <th class="wds15"> EFW   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="efw" data-id="{$obstetric_case_ex->id}" 
                                                       data-tableName="obstetric_case_ex" value="{$obstetric_case_ex->efw}"/> 
                                                <span class="bold">   gm</span>

                                            </td>
                                        </tr>
                                </table>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>