{{ $testkit->testkit_product_name }}

Blood Test Results

@if ($testkit->name != "Healthy Habits Diagnostics") @endif
{{ $template['name'] }} @if (isset($testkit->sample_name)) {{ $testkit->sample_name }} @else {{ $testkit->name }} @endif
{{ $template['test-name'] }} {{ $testkit->testkit_product_name }}
{{ $template['testkit-id'] }} {{ strtoupper($testkit->activation_code_number) }}
Report Date {{ date('d/m/Y', strtotime($testedDate)) }}

Your Results Explained

We are pleased to enclose your test results. Our laboratory has completed and validated the analysis of your blood sample for the following reactions:
@php $temp_k = "Allergies"; @endphp @if(array_key_exists($temp_k, $stats['total']) && $stats['total'][$temp_k]) {{ $template['food'] }} {{ $temp_k }} - {{ $stats['total'][$temp_k] }} {{ $template['items'] }}
@endif @php $temp_k = "Intolerances"; @endphp @if(array_key_exists($temp_k, $stats['total']) && $stats['total'][$temp_k] ) {{ $template['food'] }} {{ $temp_k }} - {{ $stats['total'][$temp_k] }} {{ $template['items'] }} @endif

Your results report will contain: Results Summary

We have included a summary of the total indicating classes of your test to provide further context and clarity to the overall report.

The report has resulted in the following reaction indicating classes: @foreach($stats['total'] AS $catK => $catV)

{{ $template['food'] }} @if(isset($template[$catK.'-title'])) {{ $template[$catK.'-title'] }} @else {{ $catK }} @endif - {{ $catV }} {{ $template['items'] }}

@if($catK == "Allergies") Allergen-specific IgE reaction @elseif($catK == "Intolerances") Specific IgG4 reaction @endif

@php if($catK == 'Allergies') { @endphp @php } else { @endphp @php } @endphp
{{ $stats['overview'][$catK]['No Reaction']}} {{ ((int)$stats['overview'][$catK]['High'] + (int)$stats['overview'][$catK]['Medium'] + (int)$stats['overview'][$catK]['Low']) }} {{ ((int)$stats['overview'][$catK]['Medium'] + (int)$stats['overview'][$catK]['Low']) }} {{ $stats['overview'][$catK]['High'] }}
@endforeach
Yours sincerely,
Michelle Wakefield
Laboratory & Compliance Director
{{ $brand }}
{{ $template['name'] }} @if (isset($testkit->sample_name)) {{ $testkit->sample_name }} @else {{ $testkit->name }} @endif
{{ $template['test-name'] }} {{ $testkit->testkit_product_name }}
{{ $template['testkit-id'] }} {{ strtoupper($testkit->activation_code_number) }}
{{ $template['results'] }} {{ date('d/m/Y', strtotime($testedDate)) }}

{{ $template['important-title'] }}

Your results show your laboratory reaction level towards each item tested; the higher the reaction level, the higher the potential for a reaction to be present in the body.

Our results are reported in Units/mL (units per millilitres). Laboratory standards are calibrated according to the WHO reference serum 75/5021.

The identified Units/mL are assigned to the respective CAP classifications and provide a level of reaction classification:











A strong laboratory reaction does not always predict the experience of physical symptoms. It is therefore possible to have a strong reaction in testing and mild or no symptoms present in daily life




Other important information

Our tests do NOT test for coeliac disease. If you have any medical condition, are pregnant, breastfeeding or below the age of 18, we recommend that all changes to your diet are made under the supervision of a healthcare professional.

Immune suppressant medications can affect the results of the testing. Antihistamines have also been shown to affect results and we advise prior to testing to stop antihistamine use for 3-5 days before taking your sample; however, we would recommend seeking advice from a medical professional before changing any medication.

@php $shortDescriptions = []; @endphp @foreach($allergyData AS $k => $allergy)

@if($k == "Allergies") Food & Inhalant Allergy Test @elseif($k=="Intolerances") Food Intolerance Test @endif

@if($k == "Allergies")

An allergy is the body's immune system responding to what would normally be considered a harmless substance. The body perceives this substance to be a 'threat' and produces an inappropriate response.

To test for food and inhalant allergies, our laboratory looks at Immunoglobulin E (IgE) levels in your blood. Elevated levels of allergen-specific IgE can be a good indicator for the presence of an allergy.

@elseif($k=="Intolerances")

Food intolerance is difficulty digesting certain foods and experiencing a physical reaction or symptoms as a result of consumption.

Symptoms such as bloating and stomach pain usually happen a few hours after eating the food. Food intolerance reactions do not involve IgE antibodies as an immune response in the way allergies can.

To test for food intolerances our laboratory looks at Immunoglobulin 4 (IgG4) levels in your blood. IgG4 is a subclass of IgG, which is the most common form of immunoglobulin.

@endif Your Laboratory Results @foreach($allergy AS $key => $individualAllergy) @php $ind = explode('-', $key); $useKey = rtrim($ind[0]); if(!in_array($useKey,$shortDescriptions)) { $shortDescriptions[] = $useKey; } @endphp

@php $prefix_prefix = [ "Tree pollen - Allergy" => 1, "Grass pollen - Allergy" => 1, "Weed pollen - Allergy" => 1, "Pets - Allergy" => 1, "Dust - Allergy" => 1, "Insects - Allergy" => 1, "Mould - Allergy" => 1, "Mold - Allergy" => 1, "Miscellaneous Allergy - Allergy" => 0, "Miscellaneous - Intolerance" => 0 ]; $prefixes = [ 0 => "", 1 => "INHALANTS | ", 2 => "FOODS | " ]; $prefix_text = $prefixes[$prefix_prefix[$key] ?? 2]; if($key == "Poultry and Egg - Allergy"){ $key = "Egg - Allergy"; } if($key == "Milk & Cheeses - Allergy"){ $key = "Milk - Allergy"; } @endphp @if(isset($template[strtolower(str_replace(' ', '-', $ind[0]).'category')])) {{ $template[strtolower(str_replace(' ', '-', $ind[0]).'category')] }} - @if(isset($template[strtolower(trim($ind[1]))])) {{ $template[strtolower(trim($ind[1]))] }} @endif @else {{ $prefix_text }} {{ strtoupper(str_replace("-","|",$key)) }} @endif

@foreach($individualAllergy AS $singleAllergen) @php // We loop through our iteration and create a reactions array so that we can get the correct icons with the correct keys $loopIndex = 0; $reactions = []; $score = $singleAllergen['score']; @endphp @foreach($singleAllergen['points'] AS $theKey => $points) @foreach($scoring AS $sk => $sv) @php $class = (string) "noreaction"; $reaction = (string) ""; @endphp @if ($sk < $theKey || $sk==count($scoring) && number_format((int)$singleAllergen['score'])==100) @php $class = (isset($template['override_scoring_class_'.strtolower($k)])) ? $template['override_scoring_class_'.strtolower($k)] : $scoring[$theKey]['class'] @endphp @endif @if($sk==1) @if(isset($template[strtolower(str_replace(' ','-',$scoring[$theKey]['reaction'])).'-score'])) {{ $template[strtolower(str_replace(' ','-',$scoring[$theKey]['reaction'])).'-score'] }} @else @php // Set the classColor based on the reaction strength for the dots switch( $scoring[$theKey]['reaction'] ){ case "No Reaction": $classColor = "noreaction"; break; case "Low": $classColor = "low"; break; case "Medium": $classColor = "medium"; break; case "High": $classColor = "high"; break; default: $classColor = "noreaction"; } @endphp @endforeach @endforeach
{{ $template['results-table-row-1'] }} Units/mL {{ $template['results-table-row-3'] }} Class
  1.   2.   3.   4.   5.   6.
@if(isset($template[strtolower(trim($singleAllergen['allergen_name'])).'-item'])) {{ $template[strtolower(trim($singleAllergen['allergen_name'])).'-item'] }} 123 @else {{ $singleAllergen['allergen_name'] }} @endif {{ $singleAllergen['score'] }} {{ $scoring[$theKey]['reaction'] }} @endif @endif @php // Set the icon based on the class since the default color for low and medium is orange $icon = (string) ""; $classColor = (string) ""; // Set the classColor based on the reaction strength for the dots switch( $reaction ){ case "No Reaction": $icon = "results-default.svg"; break; case "Low": $icon = "results-yellow.svg"; break; case "Medium": $icon = "results-orange.svg"; break; case "High": $icon = "results-red.svg"; break; default: $icon = "results-default.svg"; } $loopIndex++; switch( $score ){ case ( $score == 0.35 ): $reactions = ["results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg"]; break; case ( $score > 0.35 && $score < 0.70 ): $reactions = ["results-yellow.svg", "results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg"]; break; case ( $score >= 0.7 && $score < 3.5 ): $reactions = ["results-yellow.svg", "results-yellow.svg", "results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg"]; break; case ( $score >= 3.5 && $score < 17.50 ): $reactions = ["results-orange.svg", "results-orange.svg", "results-orange.svg", "results-default.svg", "results-default.svg", "results-default.svg"]; break; case ( $score >= 17.5 && $score < 50 ): $reactions = ["results-orange.svg", "results-orange.svg", "results-orange.svg", "results-orange.svg", "results-default.svg", "results-default.svg"]; break; case ( $score >= 50 && $score < 100 ): $reactions = ["results-red.svg", "results-red.svg", "results-red.svg", "results-red.svg", "results-red.svg", "results-default.svg"]; break; case ( $score == 100 ): $reactions = ["results-red.svg", "results-red.svg", "results-red.svg", "results-red.svg", "results-red.svg", "results-red.svg"]; break; default: $reactions = ["results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg", "results-default.svg"]; } @endphp @endforeach
@if($key == "Miscellaneous Allergy - Allergy")

Total IgE measures the amount of IgE antibodies in the blood and is the sum of all the forms of IgE. Total IgE testing is used to help diagnose some health conditions including certain types of infections and immune disorders to provide and is an indicator of overall health.

CCD is our laboratory indicator to ensure your test has successfully been performed. CCD (Cross Carbohydrate Determinates) is used technically to interpret the presence of false positives. CCDs are similar structures that can bind with specific IgE antibodies. To medical professionals, this is used to determine if the CCD is causing a reaction rather than a specific allergen.

@endif @endforeach @endforeach
{!! $template['recommendations'] !!}
@foreach($shortDescriptions AS $description) @if(isset($template[$description]) && strlen($template[$description]) > 0)

@if(isset($template[strtolower(str_replace(' ', '-', $description)).'-category'])) {{ $template[strtolower(str_replace(' ', '-', $description)).'-category'] }} @else {{ $description }} @endif

{!! $template[$description] !!}

@endif @endforeach
{!! $template['happens-next'] !!}
{!! $template['last-page'] !!}