{if $programesetting->visitsform != 1} {else}
{/if}
اسم المريضة

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

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

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

    {/if}
    {else}
    {if $allvisit} {else}

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

    {/if}
    {/if}
    تم الدخول
    {if $allvisitentered} {/if}
    {else}
    {if $smarty.session.role_id eq 3 || $smarty.session.role_id eq 1 || $smarty.session.role_id eq 12 || $smarty.session.role_id eq 5 || $smarty.session.role_id neq 0} {/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}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$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}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$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}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$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}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$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}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$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}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$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}
    • {if $value->for_department eq 12} {/if}
      {$value->statusno}
      {$value->detectionType}
    • {else}
    • {if $value->for_department eq 12} {/if}
      {$value->statusno}
      {$value->detectionType}
    • {/if} {/if} {capture assign=i}{$i+1}{/capture} {/foreach}
    {else}

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

    {/if}
    {/if} {/if}
    {/if} {if $smarty.session.role_id eq 3 || $smarty.session.role_id eq 1} {/if}