@include('pdf.normal_report.components.result_header', ['CategoryPackages' => $Package,'profile'=>$Profile,'templateReportName'=>$templateReportName ?? null])
{{-- Addendum / Amended revisions print before the result they correct, newest
first, each on its own page. --}}
@foreach(($Revisions ?? collect()) as $Revision)
{{ $templateReportName ?? $Package->getTemplateReportName() }} - {{ \App\Models\ENDUSERLABORDERPACKAGETEMPLATE::revisionLabel($Revision->REVISION_TYPE) }}
{!! $Revision->RESULT ?? '' !!}
@if(!empty($Revision->CRITICAL_COMMENT))
@endif
{{-- Each revision, and the original that follows them, starts a new page. --}}
@endforeach
{!! $LabCategoryPackageResults->RESULT??'' !!}
@if(!empty($Package->RESULT_COMMENT))
{!! $Package->RESULT_COMMENT !!}
@endif
@if($opinions->count())
@foreach($opinions as $opinion)
Second Opinion ({{$opinion->Doctor->USERNAME}})
:{{$opinion->OPINION_TEXT}}
@endforeach
@endif
@if(!empty($LabCategoryPackageResults->CRITICAL_COMMENT))
@endif
End of Report
Critical Comment
{{ $Revision->CRITICAL_COMMENT }}