Code
Allergen
Result
@if($Profile->ID == 78) Normal Range @else Class @endif
@php $LabCategoryPackageResults = App\Models\ENDUSERLABORDERPACKAGERESULT::where('END_USER_PACKAGE_ID', $Package->ID)->with('Option', 'Result'); $shouldSort = App\Models\ENDUSERLABORDERPACKAGERESULT::where('END_USER_PACKAGE_ID', $Package->ID)->whereNotNull('END_USER_LAB_ORDER_PACKAGE_RESULT.SORT')->exists(); if ($shouldSort) $LabCategoryPackageResults = $LabCategoryPackageResults->orderBy('END_USER_LAB_ORDER_PACKAGE_RESULT.SORT', 'ASC'); $LabCategoryPackageResults = $LabCategoryPackageResults->get(); @endphp @foreach($LabCategoryPackageResults as $key => $LabCategoryPackageResult) @if($key != 0 && $key % 17 == 0)
@include('pdf.normal_report.components.result_header', [ 'CategoryPackages' => $AnalysisPackage, 'IsAnalysis' => true ])
Code
Allergen
Result
@if($Profile->ID == 78) Normal Range @else Class @endif
@endif @if(($LabCategoryPackageResult->RESULT == 0 || !empty($LabCategoryPackageResult->RESULT)) && !empty($LabCategoryPackageResult->OPTION_ID))
{{ $LabCategoryPackageResult->Result->CODE }}
{{ $LabCategoryPackageResult->Result->NAME_EN }}
@php $color = "#5D6481"; switch ($LabCategoryPackageResult->Option->NAME_EN) { case 'Negative': $color = "#1FAC2D"; break; case 'High': $color = "#E9473A"; break; case 'Low': $color = "#FEC107"; break; case 'Moderate': $color = "#FF8C00"; break; } @endphp
{{ $LabCategoryPackageResult->RESULT }}
{{ $LabCategoryPackageResult->REFERENCE_RANGE_TEXT ?? $LabCategoryPackageResult->RESULT_UNIT }}
@endif @endforeach
@include('pdf.normal_report.components.result_header', [ 'CategoryPackages' => $AnalysisPackage, 'IsAnalysis' => true ]) @if($Profile->ID == 46)
IU/ML
Class
Result
< 0.35
0
not or hardly present
0.35 - 0.69
1
low threshold
0.70 - 3.49
2
slight increases
3.50 - 17.49
3
significantly increased
17.50 - 49.99
4
high
50.00 - 100
5
very high
> 100
6
extremely high
@else
kU/L
Class
Result
< 0.35
0
Class 0: negative, no clinical significance
0.35 - 0.69
1
Class 1 - 2: low allergen-specific IgE concentration, of partial clinical
0.70 - 3.49
2
significance
3.50 - 17.49
3
Class 3 - 4: moderate allergen-specific IgE concentration, often
17.50 - 49.99
4
accompanied by clinical symptoms
50.00 - 99.99
5
Class 5 - 6: high allergen-specific IgE concentration, clinical symptoms in most cases
> 100
6
* IgE: < 100
0-2
total IgE < 100 kU/L: seldom clinically relevant
* IgE: > 100
3-6
total IgE > 100 kU/L: often clinically relevant
Note: A negative result for total IgE does not preclude positive results for allergen-specific IgE.

@include('pdf.normal_report.components.analysis_tests.layout.comment') @endif