<div class="all">
    <input type="hidden" id="patientId" value="{$patientId}"/>
    <!--    <input type="hidden" id="tdate" value="{$today}">-->
    <input type="hidden" id="controllName" value="operativedetails"/>
    <input type="hidden" name="hosturl" id="hosturl" value="{$hosturl}"/>
    <br>
    <select class="form-control updateOp" id="child" name="child"  select-tableName="operativedetails" data-tableName="operativedetails" data-maintable = "generalanasthesa" data-colName="generalid" data-id="{$operativedetails.id}">
        <option value="">choose</option>
        {foreach  $general as $data}
        <option value="{$data.id}" {if {$data.id} eq {$operativedetails.generalid} } selected {/if}>{$data.name}</option>
        {/foreach}
        <option value="-2" class="deleteoptincompo">Delete</option>
    </select>

</div>
