Patient Data
Patient No {$statusno} Age {$age} Patient Sex {$gender}
Patient Name {$name}
{if $medicalCount > 0 }
Medical History
{foreach $medicals as $medical } {/foreach}
Disease Note Dr
{$medical->disease} {$medical->medicalnote} {$medical->username}
{/if} {if $surgicalCount > 0 }
Surgical History
{foreach $surgicals as $surgical } {/foreach}
Operation Year Surgeon Note Dr
{$surgical->operation} {$surgical->phsurgicalyear} {$surgical->phsurgicalsurgeon} {$surgical->surgicalnote} {$surgical->username}
{/if} {if $pastCount > 0 }
Past History
{foreach $pasts as $past } {/foreach}
Date Complaint Note Dr
{$past->sysdate} {$past->complaint} {$past->note} {$past->username}
{/if} {if $presentCount > 0 }
Present History
{foreach $presents as $present } {/foreach}
Date Present hx Dr
{$present->sysdate} {$present->presenthx} {$present->username}
{/if} {if $lastPresCount > 0 }
Last Prescription ( {$presDate} )
{assign var=i value=1} {foreach $lastPres as $pres } {capture assign=i}{$i+1}{/capture} {/foreach}
Group Drug Form Use Dr
{$i} {$pres->drugcat} {$pres->drugname} {$pres->drugtype} {$pres->drugdos} {$pres->username}
{/if}
{literal} {/literal}