{if $patientdata.statuesid == 4 || $patientdata.statuesid == 3}{/if} {if $patientdata.statuesid != 1} {if $patientdata.mirragefromdate } {if $patientdata.statuesid == 4} {else} {if $patientdata.statuesid == 4} {/if} {if $patientdata.statuesid == 1 || $patientdata.statuesid == 4 || $patientdata.statuesid == 3} {if $patient_doctor == 1} {/if} {if $hospitalView == 1} {else} {/if} {/if} {if $patientdata.statuesid != 1 && $patientdata.statuesid != 4 && $patientdata.statuesid != 3} {if $patient_doctor == 1} {/if} {if $hospitalView == 1} {else} {/if} {/if}
{if !empty($patientdata.wifetype)}{$patientdata.wifetype} {/if}/ {$patientdata.wifename} {if $new_dateofbirth_calc != ''} {$new_dateofbirth_calc} سنة {/if} {if !empty($patientdata.wifejob)}{$patientdata.wifejob}{/if} {$patientdata.address} رقم {if $programesetting->programview == 1 } المريضة {else} المريض {/if} : {$patientdata.statusno}
{$wifeStatus} منذ       {else} {$wifeStatus} منذ         {/if} {if $mirragemonths == 0} {$mirrageyears}  سنة {elseif $mirrageyears==0 } {if $mirragemonths==1}{$mirragemonths} شهر {else}{$mirragemonths} شهور {/if} {else } {$mirragemonths} : {$mirrageyears}  سنة {/if} {$wifeStatus} منذ       {else} {$wifeStatus} منذ : {/if} {/if} الذكور: {$patientdata.boyson} الإناث: {$patientdata.girlson} BMI : {$exmination->bmi} الطبيب المعالج : {$patient_doctor_name} تعديل بيانات {if $programesetting->programview == 1 } المريضة {else} المريض {/if} تقرير خروج تعديل بيانات {if $programesetting->programview == 1 } المريضة {else} المريض {/if}
{if !empty($patientdata.husbandtype)}{$patientdata.husbandtype} {/if}/ {$patientdata.husdandname} {if $patientdata.statuesid != 3 }{if $new_dateofbirth_husband != '' } {$new_dateofbirth_husband} سنة {/if} {/if} {if !empty($patientdata.husbandjob)}{$patientdata.husbandjob} {/if}الطبيب المعالج : {$patient_doctor_name} تعديل بيانات {if $programesetting->programview == 1 } المريضة {else} المريض {/if} تقرير خروج تعديل بيانات {if $programesetting->programview == 1 } المريضة {else} المريض {/if}
{if $phmenstrualcount > 0} {if $idData == "yes"} {if !empty($phregualrity) && ($phregualrity->id eq 1 || $phregualrity->id eq 2) } {if $phregualrity} {/if} {if $myphmenstrual->phlMP}{/if} {else} {if $myphmenstrual->menarche} {/if} {if $myphmenstrual->duration} {/if} {if $myphmenstrual->length} {/if} {if $phregualrity}{/if} {if $phamount} {/if} {if $phdysmenorrhoea}{/if} {if $myphmenstrual->phlMP} {/if} {/if} {else} {/if}
Menstrual H {$phregualrity->name} : {$myphmenstrual->phlMP} {$myphmenstrual->menarche} {$myphmenstrual->duration} {$myphmenstrual->length} {$phregualrity->name}{$phamount->name}{$phdysmenorrhoea->name} : {$myphmenstrual->phlMP}
{/if} {if $myallcontractcount > 0} {if $idData1 == "yes"} {if $phcontracttype->name} {/if} {if $myallcontract->contduration} {/if} {if $myallcontract->contstopped} {/if} {if $myallcontract->contranote} {/if} {else} {/if}
Contraception H {$phcontracttype->name} {$myallcontract->contduration} Y {$myallcontract->contstopped} Y {$myallcontract->contranote}
{/if} {if $programesetting->programview == 1} {if $myallobsteric > 0}
Obstetric H {$myallobsteric} {$pcounter} {$svdcounter} {$cscounter} {$abcounter} {$Ectopiccounter} {$vmodelcounter}
{else}
Obstetric H 0 0 0 0 0 0 0
{/if} {else if $showExam == 1 && $programesetting->programview != 1 }
Examination {$exmination->bP} mmHg {$exmination->bp2} mmHg {$exmination->pulse} /min {$exmination->rgb} mg/dl {$exmination->weight} KG {$exmination->height} M
{/if} {if $allpastmedicalWcount > 0} {assign var=i value=1}
Past Medical H ( Wife ) {foreach $allpastmedicalW as $myallpastmedical} {$myallpastmedical.name},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if} {if $allpastmedicalHcount > 0} {assign var=i value=1}
Past Medical H ( Husband ) {foreach $allpastmedicalH as $myallpastmedical} {$myallpastmedical.name},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if} {if $allpastsurgicalWcount > 0}
Past Surgical H ( Wife ) {assign var=i value=1} {foreach $allpastsurgicalW as $myallpastsurgical} {$myallpastsurgical.name},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if} {if $allpastsurgicalHcount > 0}
Past Surgical H ( Husband ) {assign var=i value=1} {foreach $allpastsurgicalH as $myallpastsurgical} {$myallpastsurgical.name},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if} {if $allphpastgynecologicalcount > 0}
Past Gynecological H {assign var=i value=1} {foreach $allphpastgynecological as $myallphpastgynecological} {$myallphpastgynecological.name},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if} {if $allphpastartcount > 0}
ART External {assign var=i value=1} {foreach $allphpastart as $myallphpastart} {$myallphpastart.name},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if} {if $internalphpastartcount> 0}
ART INTERNAL {assign var=i value=1} {foreach $internalphpastart as $myallphpastart} {$myallphpastart.monitordate} : {$myallphpastart.place},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if} {if $allphfamilycount > 0}
Family H {assign var=i value=1} {foreach $allphfamily as $myallphfamily} {$myallphfamily.name},  {capture assign=i}{$i+1}{/capture} {/foreach}
{/if}
{if $btype == 1 || $hbtype == 1 || $risk == 1 || $notes == 1 }
{if $risk == 1 }
Risks
{/if} {if $notes == 1 }
Notes :
{/if}
{if $btype == 1 }
: فصيله الدم
{/if} {if $hbtype == 1 }
: فصيله الزوج
{/if}
{/if}
{if $programesetting->previous_marriage == 1 && ($prevMarCount > 0 || $prevMarHCount > 0 ) }
{if $prevMarHCount > 0 } {foreach $hus_previous_marriages as $hus_previous_marriage } {/foreach} {/if} {if $prevMarCount > 0 } {foreach $previous_marriages as $previous_marriage } {/foreach} {/if}
زواج سابق للزوج
زواج سابق للزوجة
{/if}