@php $reservationId = $AnalysisPackage->END_USER_LAB_ORDER_ID; $identification = $AnalysisPackage->IDENTIFICATION; $labCategoryId = $AnalysisPackage->LAB_CATEGORY_PACKAGE_ID; $questionsWithAnswers = App\Models\ENDUSERPACKAGEQUESTIONNAIREANSWERS::where('END_USER_LAB_ORDER_ID', $reservationId) ->where('IDENTIFICATION', $identification) ->where('LAB_CATEGORY_PACKAGE_ID', $labCategoryId) ->with(['question']) ->whereDoesntHave('question', function ($query) { $query->where('HIDE_FROM_REPORT', 1); }) ->get(); foreach ($questionsWithAnswers as $item) { if (!empty($item->OPTION_ID)) { $item->SELECTED_OPTIONS = $item->options()->pluck('NAME_EN'); } } $LabCategoryPackageResults = App\Models\ENDUSERLABORDERPACKAGERESULT::where('END_USER_PACKAGE_ID',$Package->ID)->with('Option','Result')->get(); $fetalFraction = null; $sex = 'Unknown'; $gender = 0; foreach ($LabCategoryPackageResults as $key => $LabCategoryPackageResult) { if($LabCategoryPackageResult->Result->CODE == 'FF' && !empty($LabCategoryPackageResult->RESULT)) { $fetalFraction = $LabCategoryPackageResult->RESULT.'%'; } if($LabCategoryPackageResult->Result->CODE == 'SC' && $LabCategoryPackageResult->OPTION_ID) { $sex = $LabCategoryPackageResult->Option->NAME_EN; if ($sex == "Male, XY") $gender = 1; if ($sex == "Female, XX") $gender = 2; } } if ($gender == 1) { $color = "#D3EAFD"; $section_color = hexToRgb($Profile->COLOR,0.2) ?? 'rgba(244, 248, 255, 1)'; $img = url('/img/boy-2.png'); } elseif($gender == 2) { $color = "#FCECF6"; $section_color = hexToRgb($Profile->COLOR,0.2) ?? 'rgba(252, 236, 246, 0.5)'; $img = url('/img/girl-2.png'); } else{ $color = "#E5E2E2"; $section_color = hexToRgb($Profile->COLOR,0.2) ?? 'rgba(128, 128, 128, 0.1)'; $img = url('/img/gender_symbol.png'); } @endphp
PATIENT CLINICAL DATA
@foreach($questionsWithAnswers->chunk(4) as $chunk)
@foreach($chunk as $questionAnswer)
{{$questionAnswer->question->NAME_EN}}: @if(!empty($questionAnswer->SELECTED_OPTIONS)) @foreach($questionAnswer->SELECTED_OPTIONS as $selectedOption) {{$selectedOption}} @if(!empty($questionAnswer->DESCRIPTION)) {{$questionAnswer->DESCRIPTION}} @endif @endforeach @else {{$questionAnswer->ANSWER}} @endif
@endforeach
@endforeach
Fetal fraction
{{$fetalFraction}}
SEX CHROMOSOME
{{$sex}}

Comment and Recommendation / الــنــصـــائــح والــــتـــوصـــيــــات

DFGT is not a diagnostic test/ Recommend to performed NIPT to eliminate Trisomy risks
فحص جنس الجنين ليس فحصاً تشخيصياً / يوصى بعمل فحص جينات الجنين الاستطلاعي للتأكد من سلامة الجنين من المتلازمات

Methodology & Disclaimer/ المنهجية وإخلاء المسؤولية

This test works by isolating the cfDNA and performing low coverage whole genome sequencing using Single Molecular Sequencing technology. The unique reads of sex chromosome are calculated and compared to an optimal reference control sample. The accuracy of the test is 99% were results are for informational use and therefore false high risk and false low risk results cannot be excluded. 1% of cases may defer due to several factors such as blood thinner and anticoagulant use, IVF pregnancy, obesity, fetal reduction, and placental genetic differences from fetus.
هـذا الفـحـص اسـتـطلاعـي وبـدقـة 99 % حـيـث يـتـم إجــراءه مـن خــلال تـقـنـيــة الـتــسـلــســل الــجــيــنــي لــدراســـة الـمــادة الــوراثــيــة الــخــاصــة بــالــجـنـيـن بــعـــد فــصــلـــهــا مــــن دم الأم وقــــد تــخــتـــلـــف الـنـتــيـــجــة بــنــسـبــة %1 مــــن الــحـــالات لــوجـــود عـــدة عــــوامـــل أهــمــهـا أدويــــة الـــســـيـــولـــة الحـمـل عــن طـــريـــق أطـــفــــال الأنـــابــيـــب، زيــــادة الــــوزن، اخــتـــزال الأجـــنـــة ، اخــتــلاف بــعــض جــيـنــات الـمـشــيــمـة عــن تــكـويــن الـجـنـيـن سـريـريـــا
@include('pdf.normal_report.components.analysis_tests.layout.comment')