<div class="page-content-wrapper" id="mydiv" >
    <h4  class="enfnt bold underline txtc" >الهيئة العامة للمستشفيات والمعاهد التعليمية    </h4>     
    <h4  class="enfnt bold underline txtc" > Pre-Anaesthetic Record ( Physician )  -  نموذج التخدير قبل الجراحة   </h4>     

    <hr style="border: 1px solid black;     margin: 5px 0; ">
    <div class="col-md-12">

        <table style="width: 98%;margin: 5px auto;    direction: rtl;    text-align: right;" cellpadding="2" class="noborder">
            <tr>
                <td style="width: 25%;font-weight: bold;text-align: right !important;"> اسم المريض :   </td>
                <td style="width: 25%;text-align: right !important;"> {$name}     </td>
                <td style="width: 25%;font-weight: bold;text-align: right !important;"> رقم الملف :   </td>
                <td style="width: 25%;text-align: right !important;"> {$statusNo}    </td>
            </tr>
            <tr>
                <td style="width: 25%;font-weight: bold;text-align: right !important;"> النوع  / السن     : </td>
                <td style="width: 25%; direction:ltr ;text-align: right !important;"> {$age}   / {$sex}      </td>
                <td style="width: 25%;font-weight: bold;text-align: right !important;"> القسم      : </td>
                <td style="width: 25%;text-align: right !important;">  {$deptName} </td>
            </tr>
            <tr>
                <td style="width: 25%;font-weight: bold;text-align: right !important;">  السرير   / رقم الغرفة         : </td>
                <td style="width: 25%;text-align: right !important;"> {$bedNo}   / {$roomNo}     </td>
                <td style="width: 25%;font-weight: bold;text-align: right !important;"> تاريخ دخول القسم     : </td>
                <td style="width: 25%;text-align: right !important;">   {$visitDate}   </td>
            </tr>
        </table>
    </div>

    <hr style="border: 1px solid black;  margin: 5px 0;">

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

        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">
            <tr>
                <td style="width: 30%;font-weight: bold;">  Pre-Operative Diagnosis : </td>
                <td> {$pre_diagnoses}     </td>
            </tr>
            <tr>
                <td style="width: 30%;font-weight: bold;"> Operation  : </td>
                <td>{if $operation_category == 1} Elective  {else if  $operation_category == 2} Emergency {/if} </td>
            </tr>
            <tr>
                <td style="width: 30%;font-weight: bold;">Posture : </td>
                <td> {$intra_anaesthetic.posture}     </td>
            </tr>
            <tr>
                <td style="width: 30%;font-weight: bold;"> </td>
                <td> {$intra_anaesthetic.no_title}     </td>
            </tr>
        </table>

        <hr>

        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">
            <tr>
                <td style="width: 30%;font-weight: bold;">Introduction : </td>
                <td> {$intra_anaesthetic.introduction}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Maintenance : </td>
                <td> {$intra_anaesthetic.maintenance}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Ventilation : </td>
                <td> {$intra_anaesthetic.ventilation}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Endotracheal Tube : </td>
                <td> {$intra_anaesthetic.endotracheal_tube}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Mention : </td>
                <td> {$intra_anaesthetic.mention}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Size : </td>
                <td> {$intra_anaesthetic.size}     </td>
            </tr>

        </table>

        <hr>

        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">

            <tr>
                <td style="width: 30%;font-weight: bold;"> M.Relaxants : </td>
                <td> {$intra_anaesthetic.m_relaxants}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Antidotes : </td>
                <td> {$intra_anaesthetic.antidotes}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Complications : </td>
                <td> {$intra_anaesthetic.complications}     </td>
            </tr>

            <tr>
                <td style="width: 30%;font-weight: bold;">Infusions : </td>
                <td> {$intra_anaesthetic.infusions}     </td>
            </tr>

        </table>

        <hr>

        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">

            <tr>
                <td style="width: 30%;font-weight: bold;">Remarks : </td>
                <td> {$intra_anaesthetic.remarks}     </td>
            </tr>



        </table>


        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">
            <tr>
                <td style="width: 30%; font-weight: bold;"> Signature :   </td>
                <td></td>
                <td style="width: 30%;font-weight: bold;">Date  : </td>
                <td>  {$date}</td>
            </tr>
        </table>
    </div>
</div>

{literal}
<script>
    $(".bp_mask").inputmask("999/999", {
        autoUnmask: true});
</script>
<style>

    table{
        width: 100%;
        border-spacing: 0px;
        border: none;
    }

    tr {
        line-height: 25px;
    }

    .tb1 td , .noborder {
        border: none;
    }

    .tb1{
        border-bottom: 1px solid black;
        border-right: 1px solid black;
    }

    td , th{
        border: 1px solid black;
        padding: 3px;
    }

    p3{    padding: 3px}

    .txtc{    text-align:  center !important; }

    th{    text-align:  center !important; }

    .bold { font-weight: bold;}

    .underline { text-decoration: underline;}

    .vertical{
        writing-mode: vertical-rl;
        -webkit-transform:rotate(180deg);
        -moz-transform:rotate(180deg);
        -o-transform: rotate(180deg);
        -ms-transform:rotate(180deg);
        transform: rotate(180deg);
        white-space:nowrap;
    }

    @media print {
        #patient_profile_print {
            transform: scale(.9);
        }

        .break { page-break-after: always;}


        table{
            width: 100%;
            border-spacing: 0px;
            border: none;
        }

        tr {
            line-height: 25px;
        }

        .tb1 td , .noborder {
            border: none;
        }

        .tb1{
            border-bottom: 1px solid black;
            border-right: 1px solid black;
        }

        td , th{
            border: 1px solid black;
            padding: 3px;
        }

        p3{    padding: 3px}

        .txtc{    text-align:  center !important; }

        th{    text-align:  center !important; }

        td{    text-align:  left !important; }


        .bold { font-weight: bold;}

        .underline { text-decoration: underline;}

        .vertical{
            writing-mode: vertical-rl;
            -webkit-transform:rotate(180deg);
            -moz-transform:rotate(180deg);
            -o-transform: rotate(180deg);
            -ms-transform:rotate(180deg);
            transform: rotate(180deg);
            white-space:nowrap;
        }
    }
</style>
{/literal}

<style>

    @page {ldelim}
    size: auto;
    margin-top: {$programesetting->above2}cm !important;
    margin-bottom: {$programesetting->buttom2}cm !important;
    {rdelim}

    .arbfnt {ldelim}
    font-size: {$programesetting->fontsizear2}px !important;
    {rdelim}

    .enfnt {ldelim}
    font-size: {$programesetting->fontsizeen2}px !important;
    {rdelim}

    #content, #page {
        width: 100%; 
        margin: 0; 
        float: none;
    }


    /* Unnötige Elemente ausblenden für den Druck */

    #header-widgets, nav, aside.mashsb-container, 
    .sidebar, .mashshare-top, .mashshare-bottom, 
    .content-ads, .make-comment, .author-bio, 
    .heading, .related-posts, #decomments-form-add-comment, 
    #breadcrumbs, #footer, .post-byline, .meta-single, 
    .site-title img, .post-tags, .readability 
    {
        display: none;
    }



</style>