<div>
    {if $ProgramesettingData->displaydoctorname eq 1}
    <div class="row ltr" >
        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <label class="control-label col-md-2 ">{$username}</label>
            </div>
        </div>
    </div>
    {/if}
    <div class="row ltr" >
        <div class="col-md-1" style="width: 62px;">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control  updateElement" name="obstrduration" data-colName="obstrduration"   data-id="{$phobstetric_obj->id}" data-tableName="phobstetric" />
                <!--<label for="contduration">Duration</label>-->
                <span class="input-group-addon">W</span>
            </div>
        </div>




        <div class="col-md-2" style="width: 100px;">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Termination</label>-->
                <select  class="form-control obstermination updateElement allupdateselect" data-val="" id="obstermination{$itr}" data-itr="{$itr}" name="obstermination"  data-colName="obstermination"  select-tableName="phobstericterminate"   data-id="{$phobstetric_obj->id}" data-tableName="phobstetric" >
                    <option value="">choose</option>
                    {foreach  $allphobstericterminate as $myallphobstericterminate}
                    <option value="{$myallphobstericterminate->id}">{$myallphobstericterminate->name} </option>
                    {/foreach}
                    <option value="-2" class="deleteoptincompo" >Delete</option>
                </select>
            </div>
        </div>




        <div class="col-md-1" style="width: 140px;">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Place</label>-->
                <select  class="form-control obsplace updateElement allupdateselect" data-val="" id="obsplace{$itr}"  data-itr="{$itr}"  name="obsplace" data-colName="obsplace"   data-id="{$phobstetric_obj->id}" select-tableName="phobstericterplace" data-tableName="phobstetric" >
                    <option value="">choose</option>
                    {foreach  $allphobstericterplace as $myallphobstericterplace}
                    <option value="{$myallphobstericterplace->id}">{$myallphobstericterplace->name} </option>
                    {/foreach}
                    <option value="-2" class="deleteoptincompo" >Delete</option>
                </select>
            </div>
        </div>



        <div class="col-md-1 wds10">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control updateElement datepicker" placeholder="Date" name="obsdate" data-colName="obsdate"  data-id="{$phobstetric_obj->id}" value="{$phobstetric_obj->obsdate}" data-tableName="phobstetric"/>
                <!--<label for="obsdate">Date</label>-->
            </div>
        </div>


        <!-- END SAMPLE FORM PORTLET-->


        <div class="col-md-4" id="allbabydivs{$itr}" style="display:none">
            <div class="form-group form-md-line-input form-md-floating-label has-info">

                <div class="row" id="baby_div{$itr}">

                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Type</label>-->
                            <select  class="form-control  updateElement outcomeid"  name="outcomeid" data-colName="outcomeid"  data-itr="{$itr}"  data-id="{$phobstetric_obj->id}"  data-tableName="phobstetric" >
                                <option>Type</option>
                                <option value="0" >Male</option>
                                <option value="1" >Female</option>
                                <option value="2" >Twins</option>
                                <option value="3" >Triplets</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">OutCome</label>-->
                            <select  class="form-control  updateElement "    name="babytype" data-colName="babytype"  data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric" >
                                <option value="0" >Living</option>
                                <option value="1" >Dead</option>
                            </select>
                        </div>
                    </div>



                    <div class="col-md-2" id="genderdiv{$itr}" style="display: none;">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Gender</label>-->
                            <select  class="form-control  updateElement "     name="babygendernew" data-colName="babygendernew" data-id="{$phobstetric_obj->id}"  data-tableName="phobstetric" >
                                <option value="0" >M</option>
                                <option value="1" >F</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="txtl form-control updateElement" name="babyweight" data-colName="babyweight" placeholder="Weight" data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">gm</label>-->
                            <!--span class="input-group-addon">GM</span-->
                        </div>
                    </div>


                    <div class="col-md-4" id="babyidcolnew{$itr}">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="form-control updateElement" name="babyname" data-colName="babyname" placeholder="Name" data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">Baby Name</label>-->
                        </div>
                    </div>


                </div>
                <!-- END SAMPLE FORM PORTLET-->
            </div>
        </div>
        <div class="col-md-4" id="nooutdata{$itr}"> <center>no out come </center></div>

        <div class="col-md-3 wds23">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <div class="form-group form-md-line-input form-md-floating-label has-info">
                    <input type="text"amrpop class="form-control updateElement" name="obsnote" data-colName="obsnote"  placeholder="Note" data-id="{$phobstetric_obj->id}" data-tableName="phobstetric"/>
                </div>
                <button type="button" class="btn btn-xs red fright deleteElement delbtnsml" data-id="{$phobstetric_obj->id}" data-tableName="phobstetric"><i class="fa fa-close"></i></button>
            </div>
        </div>

        <div class="row">

            <div class="row" id="baby_div1{$itr}" style="display:none">



                <div class="col-md-5" style="margin-right: 30px;">
                    <div class="form-group">

                    </div>
                </div>


                <div class="col-md-4">
                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">OutCome</label>-->
                            <select  class="form-control  updateElement "    name="babytype1" data-colName="babytype1" data-id="{$phobstetric_obj->id}"  data-tableName="phobstetric" >
                                <option value="0" >Living</option>
                                <option value="1" >Dead</option>
                            </select>
                        </div>
                    </div>



                    <div class="col-md-2">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Gender</label>-->
                            <select  class="form-control  updateElement "    name="babygendernew1" data-colName="babygendernew1" data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric" >
                                <option value="0" >M</option>
                                <option value="1" >F</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="txtl form-control updateElement" name="babyweight1" data-colName="babyweight1"  placeholder="Weight" data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">gm</label>-->
                            <!--span class="input-group-addon">GM</span-->
                        </div>
                    </div>


                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="form-control updateElement" name="babyname1" placeholder="Name" data-colName="babyname1"  data-id="{$phobstetric_obj->id}"  data-tableName="phobstetric"/>
                            <!--<label for="obsnote">Baby Name</label>-->
                        </div>
                    </div>
                </div>

            </div>



            <div class="row" id="baby_div2{$itr}" style="display:none">

                <div class="col-md-5" style="margin-right: 30px;">
                    <div class="form-group">

                    </div>
                </div>
                <div class="col-md-4">

                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">OutCome</label>-->
                            <select  class="form-control  updateElement "    name="babytype2" data-colName="babytype2" data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric" >
                                <option value="0" >Living</option>
                                <option value="1" >Dead</option>
                            </select>
                        </div>
                    </div>



                    <div class="col-md-2">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Gender</label>-->
                            <select  class="form-control  updateElement "     name="babygendernew2" data-colName="babygendernew2" data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric" >
                                <option value="0" >M</option>
                                <option value="1" >F</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="txtl form-control updateElement" name="babyweight2" data-colName="babyweight2"  placeholder="Weight" data-id="{$phobstetric_obj->id}"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">gm</label>-->
                            <!--span class="input-group-addon">GM</span-->
                        </div>
                    </div>


                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="form-control updateElement" name="babyname2" data-colName="babyname2"  placeholder="Name" data-id="{$phobstetric_obj->id}" data-tableName="phobstetric"/>
                            <!--<label for="obsnote">Baby Name</label>-->
                        </div>
                    </div>

                </div>
            </div>

        </div>
    </div>

</div>

















</div>
