{if $programesetting->system_type == 2} {else} {/if}
اسم {if $programesetting->system_type == 2} الحالة {else} المريضة {/if}

يرجى إختيار مريضة اولاً

{if $showBtn1 == 1 } {/if} {if $showBtn2 == 1 } {/if}
زيارات اليوم
{if $programesetting->entryorder == 1 }
{if $allvisit} {assign var=i value=1} {foreach $allvisit as $key=>$value} {if $value->view == 1}
  • {else}
  • {/if} {$i} {$value->detectionType} {$value->statusno} {$value->patientName}
  • {capture assign=i}{$i+1}{/capture} {/foreach}
    {else}

    لا توجد زيارات بعد

    {/if}
    {else} {if $smarty.session.role_id eq 3 || $smarty.session.role_id eq 1}
    {if $allvisit} الكل عياده النساء عياده الذكوره معمل الاشعه معمل الاجنه معمل التحاليل عمليات اليوم
      {assign var=i value=1}{assign var=link_is value='index.php?'} {foreach $allvisit as $key=>$value} {if $value->for_department eq 3} {capture assign=link_is}patients.php?ac=edit&{/capture} {else} {capture assign=link_is}patients.php?ac=edit&{/capture} {/if} {if $value->for_department eq 4} {if $value->view == 1}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 5} {if $value->view == 1}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 8} {if $value->view == 1}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 11} {if $value->view == 1}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 12} {if $value->view == 1}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 13} {if $value->view == 1}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}>
      {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {/if} {capture assign=i}{$i+1}{/capture} {/foreach}
    {else}

    لا توجد زيارات بعد

    {/if}
    {else}
    {if $allvisit_for} {if $smarty.session.role_id eq 4} عياده النسا عمليات اليوم
    {/if}
      {assign var=i value=1}{assign var=link_is value='index.php?'} {foreach $allvisit_for as $key=>$value} {if $value->for_department eq 12} {capture assign=link_is}invsdept.Php?ac=index&patientid={/capture} {elseif $value->for_department eq 5} {capture assign=link_is}raysdept.php?ac=index&patientid={/capture} {elseif $value->for_department eq 8} {capture assign=link_is}and_visits.php?ac=index&patientid={/capture} {elseif $value->for_department eq 4} {capture assign=link_is}patienthistory.php?ac=show&patientid={/capture} {elseif $value->for_department eq 13} {capture assign=link_is}patienthistory.php?ac=show&patientid={/capture} {elseif $value->for_department eq 11} {capture assign=link_is}patienthistory.php?ac=show&patientid={/capture} {elseif $value->for_department eq 2} {capture assign=link_is}receipt.php?ac=show&patientid={/capture} {/if} {if $value->for_department eq 13} {if $value->view == 1} {else} {/if} {else} {if $value->view == 1}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}> {if $value->for_department eq 12} {/if}
      {$value->statusno}
      {$value->detectionType}
    • {else}
    • customer_add == 1} style="background-color: #f1f16d;" {/if}> {if $value->for_department eq 12} {/if}
      {$value->statusno}
      {$value->detectionType}
    • {/if} {/if} {capture assign=i}{$i+1}{/capture} {/foreach}
    {else}

    لا توجد زيارات بعد

    {/if}
    {/if} {/if}