<style>
    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
    }

    td, th {
        border: 1px solid #000000;
        text-align: left;
        padding: 8px;
    }

    tr:nth-child(even) {
        background-color: #dddddd;
    }
</style>
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="portlet-title">
                <div class="caption">
                    <h2 style="text-align:center">Embryology Report</h2>
                </div>
            </div>
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">

                    <div class="portlet-body">

                        <!--Begin Semen-->

                        <div class="row">



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


                            <div class="form-body">
                                <div class="col-md-12">
                                    <label class="col-md-12 " style="border-bottom:1px solid #000;">
                                        Patient
                                    </label>
                                    <table>
                                        <tr>
                                            <td style="border:0px;">    <label class="col-md-2 txtl" for="form_control_1">اسم الزوجة :</label></td>

                                            <td style="border:0px;">       {$wifename}</td>


                                            <td style="border:0px;">     <label class="col-md-2 txtl" for="form_control_1">السن :</label></td>

                                            <td style="border:0px;">      {$wifeage}</td>

                                        </tr>
                                    </table>
                                    <label class="col-md-12"  style="border-bottom:1px solid #000;">
                                        Examination
                                    </label>
                                    <table id="dr_details">
                                        <tr>
                                            <td style="border:0px;">    <label class="col-md-2 txtl" for="form_control_1">Clinician :</label></td>

                                            <td style="border:0px;">       {$clinician_name}</td>


                                            <td style="border:0px;">     <label class="col-md-2 txtl" for="form_control_1">Embryologist :</label></td>

                                            <td style="border:0px;">      {$embryologist_name}</td>

                                        </tr>
                                        <tr>
                                            <td style="border:0px;">  <label class="col-md-2 txtl" for="form_control_1">Day OF Transfer :</label></td>

                                            <td style="border:0px;">   {$editElement->day_of_transfer}</td>


                                            <td style="border:0px;">   <label class="col-md-2 txtl" for="form_control_1">Date :</label></td>

                                            <td style="border:0px;">   {$editElement->date}</td>

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

                                    <div class="form-group col-md-12">
                                        <table>
                                            <thead>
                                                <tr>
                                                    <th>
                                                        Sperm Source
                                                    </th>
                                                    <th>
                                                        Count
                                                    </th>
                                                    <th>
                                                        Motility
                                                    </th>
                                                    <th>
                                                        Morphology
                                                    </th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>
                                                        {$editElement->sperm_source}
                                                    </td>
                                                    <td>
                                                        {$editElement->count}
                                                    </td>
                                                    <td>
                                                        {$editElement->motility}
                                                    </td>
                                                    <td>
                                                        {$editElement->morphology}
                                                    </td>
                                                </tr>
                                            </tbody>

                                        </table>


                                    </div>
                                    <div class="clearfix"></div>
                                    <hr>
                                    <div class="form-group col-md-12">
                                        <table>
                                            <thead>
                                                <tr>
                                                    <th>
                                                        Oocyte retrieved
                                                    </th>
                                                    <th>
                                                        MII
                                                    </th>
                                                    <th>
                                                        MI
                                                    </th>
                                                    <th>
                                                        GV
                                                    </th>
                                                    <th>
                                                        Atretic
                                                    </th>
                                                    <th>
                                                        Other
                                                    </th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>
                                                        {$editElement->oocyte_retrived}
                                                    </td>
                                                    <td>
                                                        {$editElement->mii}
                                                    </td>
                                                    <td>
                                                        {$editElement->mi}
                                                    </td>
                                                    <td>
                                                        {$editElement->gv}
                                                    </td>
                                                    <td>
                                                        {$editElement->atretic}
                                                    </td>
                                                    <td>
                                                        {$editElement->empty_follicle}
                                                    </td>

                                                </tr>
                                            </tbody>

                                        </table>


                                    </div>
                                    <div class="clearfix"></div>
                                    <hr>
                                    <div class="form-group col-md-12">
                                        <table>
                                            <thead>

                                                <tr>
                                                    <th rowspan="2">
                                                        Fertilized
                                                    </th>
                                                    <th  rowspan="2">
                                                        Cleavage
                                                    </th>
                                                    <th  colspan="2">
                                                        Embryo Transfer
                                                    </th>
                                                    <th  colspan="3">
                                                        Embryo Freezing
                                                    </th>


                                                </tr>
                                                <tr>
                                                    <th>
                                                        Stage
                                                    </th>
                                                    <th>
                                                        Grade
                                                    </th>
                                                    <th>
                                                        No Of Embryos
                                                    </th>
                                                    <th>
                                                        No Of Straws
                                                    </th>
                                                    <th>
                                                        Day of Freezing
                                                    </th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>
                                                        {$editElement->fertilized_egg}
                                                    </td>
                                                    <td>
                                                        {$editElement->cleavage}
                                                    </td>
                                                    <td>
                                                        {$editElement->embryo_transfer_stage}
                                                    </td>
                                                    <td>
                                                        {$editElement->embryo_transfer_grade}
                                                    </td>
                                                    <td>
                                                        {$editElement->embryo_freezing_embryos}
                                                    </td>
                                                    <td>
                                                        {$editElement->embryo_freezing_straws}
                                                    </td>
                                                    <td>
                                                        {$editElement->embryo_freezing_day}
                                                    </td>

                                                </tr>
                                            </tbody>

                                        </table>


                                    </div>
                                </div>

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

                                <div class="col-md-12">
                                    <label class="col-md-2"  style="border-bottom:1px solid #000;">
                                        Picture
                                    </label>

                                    <div class="col-md-8">

                                        <img  src="{$hosturl}/../upload/embryologyimg/{$editElement->embryologyimg}"  width="500" height="300px"/>
                                    </div>
                                    <label class="col-md-2" style="float:right;border-bottom:1px solid #000;">
                                        Signature :
                                    </label>

                                </div>
                            </div>


                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<input type="hidden" id="embryology_report" value="1">






