diff --git a/__pycache__/context.cpython-312.pyc b/__pycache__/context.cpython-312.pyc index ded6eec..d043cb4 100644 Binary files a/__pycache__/context.cpython-312.pyc and b/__pycache__/context.cpython-312.pyc differ diff --git a/context.py b/context.py index 67f396f..c1737d0 100644 --- a/context.py +++ b/context.py @@ -23,21 +23,9 @@ page_2_context = { page_3_context = { "patient_name": "Keirstyn Moran", - "age": "34", - "height": "5'4\"", - "weight": "123lbs", - "focus": "Endurance", - "fat_mass": "27.6lbs", - "fat_percentage": "22.4%", - "lean_mass": "95.4lbs", - "lean_percentage": "77.6%", - "body_fat_percent": "22.4%", - "age_range": "20-39", - "gender": "F", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "4", +} + +page_4_context = { "body_composition_chart": image_to_base64( "/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/page_1_body_composition.png" ), @@ -46,13 +34,17 @@ page_3_context = { ), } -page_4_context = { - "patient_name": "Keirstyn Moran", -} page_5_context = { - "patient_name": "Keirstyn Moran", + "metabolism_chart": "", + "fuel_source_chart": "", + "resting_calories": 1540, + "neat_calories": 310, + "weight_loss_calories": 1725, + "weight_loss_rate": "1lb/week", + "total_calories": 3575, } + page_6_context = { "patient_name": "Keirstyn Moran", "age": "34", @@ -77,39 +69,22 @@ page_6_context = { "protein_percentage": "28%", "carbs_percentage": "36%", "fats_percentage": "36%", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", "page_number": "6", } page_7_context = { - "patient_name": "Keirstyn Moran", - "age": "34", - "height": "5'4\"", - "weight": "123lbs", - "focus": "Endurance", - "fvc_value": "4.24L → 112.0%", - "fev1_value": "3.26L → 103.3%", - "fev1_fvc_ratio": "76.89% → 91.8%", "indication": "No Respiratory Capacity Limitation", - "peak_vt_value": "2.38L/Breath which occurs at 172bpm (Zone 3)", - "peak_vt_percentage": "73% of FEV1", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "7", - "respiratory_graph": image_to_base64( + "peak_vt": 3.2, + "peak_vt_bpm": 198, + "peak_vt_zone": 3, + "fev1_percentage": 85, + "lung_analysis_chart": "", + "respiratory_analysis_chart": image_to_base64( "/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/respiratory.png" ), } page_8_context = { - "patient_name": "Keirstyn Moran", - "age": "34", - "height": "5'4\"", - "weight": "123lbs", - "focus": "Endurance", "vo2_max_value": "49.5", "vo2_max_percentile": "100th percentile", "age_range": "30-39", @@ -164,35 +139,15 @@ page_8_context = { "zone3_breath_range": "Ideal Range: 25-30 breaths", "zone4_breath_range": "Ideal Range: 30-35 breaths", "zone5_breath_range": "Ideal Range: 40+ breaths", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "8", } page_9_context = { - "patient_name": "Keirstyn Moran", - "age": "34", - "height": "5'4\"", - "weight": "123lbs", - "focus": "Endurance", "fuel_utilization_chart": image_to_base64( "/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/fuel_utilization_chart.png" ), - "client_name": "Keirstyn Moran", - "assessment_date": "July 29 2025", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "9", } page_10_context = { - "patient_name": "Keirstyn Moran", - "age": "34", - "height": "5'4\"", - "weight": "123lbs", - "focus": "Endurance", "vo2_pulse_drop_bpm": "180 bpm", "vo2_pulse_drop_zone": "Zone 4", "vo2_pulse_chart": image_to_base64( @@ -203,18 +158,9 @@ page_10_context = { "vo2_breath_chart": image_to_base64( "/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/vo2_breath_chart.png" ), - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "10", } page_11_context = { - "patient_name": "Keirstyn Moran", - "age": "34", - "height": "5'4\"", - "weight": "123lbs", - "focus": "Endurance", "fat_max_optimal": "*Optimal 10-12Kcals/minute", "fat_max_value": "3.8Kcals/min", "fat_max_heart_rate": "49% of Max Heart Rate", @@ -243,18 +189,10 @@ page_11_context = { "hr_good": "62-65bpm", "hr_excellent": "55-61bpm", "hr_athlete": "44-54bpm", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "11", } page_12_context = { - "patient_name": "Keirstyn Moran", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "12", + } page_13_context = { @@ -369,11 +307,9 @@ page_17_context = { } page_18_context = { - "patient_name": "Keirstyn Moran", - "contact_email": "info@ishplabs.com", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": "18", + "body_fat_percentage_chart": image_to_base64( + "/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/body_fat_percentage_chart.png" + ), } page_19_context = { @@ -388,18 +324,18 @@ context_list = [ page_1_context, page_2_context, page_3_context, - # page_4_context, - # page_5_context, - # page_6_context, - # page_7_context, - # page_8_context, - # page_9_context, - # page_10_context, - # page_11_context, - # page_12_context, - # page_13_context, - # page_14_context, - # page_15_context, + page_4_context, + page_5_context, + page_6_context, + page_7_context, + page_8_context, + page_9_context, + page_10_context, + page_11_context, + page_12_context, + page_13_context, + page_14_context, + page_15_context, page_16_context, page_17_context, page_18_context, diff --git a/extracted_images/page_1_image_1.png b/extracted_images/page_1_image_1.png deleted file mode 100644 index ec15f53..0000000 Binary files a/extracted_images/page_1_image_1.png and /dev/null differ diff --git a/extracted_images/page_1_image_2.png b/extracted_images/page_1_image_2.png deleted file mode 100644 index 47c12b7..0000000 Binary files a/extracted_images/page_1_image_2.png and /dev/null differ diff --git a/extracted_images/page_1_image_3.png b/extracted_images/page_1_image_3.png deleted file mode 100644 index 44091bf..0000000 Binary files a/extracted_images/page_1_image_3.png and /dev/null differ diff --git a/extracted_table.csv b/extracted_table.csv deleted file mode 100644 index bc86ee9..0000000 --- a/extracted_table.csv +++ /dev/null @@ -1,12 +0,0 @@ -Parameters,Best,LLN,Pred.,%Pred.,ZScore,PRE#1,PRE#2,PRE#3 -FVC,4.24,3.03,3.79,112.0,0.95,4.24,4.17,4.15 -FEV1,3.26,2.53,3.16,103.3,0.28,3.26,3.21,3.14 -FEV1/FVC%,76.89,72.47,83.78,91.8,-1.05,76.9,77.0,75.7 -PEF,684,222,384,178.7,-,444,438,684 -FEF2575,2.74,2.15,3.42,80.2,-0.84,2.74,2.68,2.48 -FEF25,6.08,,,0.0,-,6.08,6.0,5.53 -FEF50,3.06,,,0.0,-,3.06,3.1,2.77 -FEF75,1.06,0.71,1.41,75.1,-0.72,1.06,1.12,0.94 -PEFTime,79,,,49,-,79,40,39 -EVol,78.0,,,77.0,-,78.0,77.0,197.0 -FEV6,4.22,3.03,3.79,111.4,-,4.22,4.17,4.13 \ No newline at end of file diff --git a/graphs/body_fat_percentage_chart.png b/graphs/body_fat_percentage_chart.png new file mode 100644 index 0000000..7e24de3 Binary files /dev/null and b/graphs/body_fat_percentage_chart.png differ diff --git a/graphs/fat_metabolism_chart.png b/graphs/fat_metabolism_chart.png new file mode 100644 index 0000000..7ac5805 Binary files /dev/null and b/graphs/fat_metabolism_chart.png differ diff --git a/graphs/fuel_utilization_chart.png b/graphs/fuel_utilization_chart.png new file mode 100644 index 0000000..bd3074a Binary files /dev/null and b/graphs/fuel_utilization_chart.png differ diff --git a/graphs/recovery_chart.png b/graphs/recovery_chart.png new file mode 100644 index 0000000..935747f Binary files /dev/null and b/graphs/recovery_chart.png differ diff --git a/graphs/vo2_breath_chart.png b/graphs/vo2_breath_chart.png new file mode 100644 index 0000000..75fefa9 Binary files /dev/null and b/graphs/vo2_breath_chart.png differ diff --git a/graphs/vo2_pulse_chart.png b/graphs/vo2_pulse_chart.png new file mode 100644 index 0000000..7cd009d Binary files /dev/null and b/graphs/vo2_pulse_chart.png differ diff --git a/main.py b/main.py index 90e0fec..06c36be 100644 --- a/main.py +++ b/main.py @@ -7,9 +7,45 @@ env = Environment(loader=FileSystemLoader("report_gen")) html_pages = [] +header_context = { + "patient_name": "Keirstyn Moran", + "age": 34, + "height": "5'4\"", + "weight": "123lbs", + "focus": "Endurance", +} + +footer_context = [{ + "contact_email": "info@ishplabs.com ", + "website": "www.ishplabs.com", + "social": "@ishplabs", + "page_number": i + 1, +} for i in range(len(context_list))] + + +header_html = env.get_template("header.html").render(header_context) +footer_html_list = [env.get_template("footer.html").render(context) for context in footer_context] + for i, context in enumerate(context_list): - template = env.get_template(f"page_{i + 1}.html") - html_pages.append(template.render(context)) + template = env.get_template(f"page_{i + 1}.html").render(context) + + if (i + 1) > 2: + full_html = f""" +
+
+ {header_html} +
+
+ {template} +
+
+ {footer_html_list[i]} +
+
+ """ + html_pages.append(full_html) + else: + html_pages.append(template) # Combine with page breaks final_html = "
".join(html_pages) @@ -28,15 +64,26 @@ html_doc = f""" }} .page-break {{ page-break-after: always; }} .page {{ - height: 100%; + height: 100vh; + min-height: 100vh; + display: flex; + flex-direction: column; + }} + .page main {{ + flex: 1; + overflow: hidden; + }} + /* Reset margins and padding everywhere */ + * {{ + margin: 0; + padding: 0; + box-sizing: border-box; + }} + /* Prevent images from being too large */ + img {{ + max-height: 200px; + object-fit: contain; }} - /* Reset margins and padding everywhere */ - * {{ - margin: 0; - padding: 0; - box-sizing: border-box; - }} - diff --git a/multi_page_report.pdf b/multi_page_report.pdf index 895c674..fa73b85 100644 Binary files a/multi_page_report.pdf and b/multi_page_report.pdf differ diff --git a/playright.py b/playright.py deleted file mode 100644 index 3e947f6..0000000 --- a/playright.py +++ /dev/null @@ -1,24 +0,0 @@ - -from playwright.sync_api import sync_playwright - -def html_to_pdf(html_path, pdf_path): - with sync_playwright() as p: - browser = p.chromium.launch() - page = browser.new_page() - - # Load local HTML file - page.goto(f"file://{html_path}") - - # Export to PDF with A4 size - page.pdf( - path=pdf_path, - format="A4", # <-- built-in A4 support - margin={"top": "20mm", "bottom": "20mm", "left": "15mm", "right": "15mm"}, - print_background=True # include Tailwind background colors/images - ) - - browser.close() - - -# Example usage -html_to_pdf("table_of_contents.html", "report.pdf") \ No newline at end of file diff --git a/report_gen/footer.html b/report_gen/footer.html new file mode 100644 index 0000000..8753bd9 --- /dev/null +++ b/report_gen/footer.html @@ -0,0 +1,12 @@ +
+
+
+ contact: {{ contact_email }} + website: {{ website }} + social: {{ social }} +
+
+ {{ page_number }} +
+
+
\ No newline at end of file diff --git a/report_gen/header.html b/report_gen/header.html new file mode 100644 index 0000000..4d2d21a --- /dev/null +++ b/report_gen/header.html @@ -0,0 +1,14 @@ + +
+
+
ISHP
+
+
+
+ Name: {{ patient_name }} + Age: {{ age }} + Height: {{ height }} + Weight: {{ weight }} + Focus: {{ focus }} +
+
\ No newline at end of file diff --git a/report_gen/page_1.html b/report_gen/page_1.html index 1b816e8..ffd43fb 100644 --- a/report_gen/page_1.html +++ b/report_gen/page_1.html @@ -38,8 +38,3 @@ - diff --git a/report_gen/page_10.html b/report_gen/page_10.html index b06f204..ca638eb 100644 --- a/report_gen/page_10.html +++ b/report_gen/page_10.html @@ -1,18 +1,4 @@
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
@@ -26,7 +12,7 @@
- VO2 Pulse Chart
@@ -42,24 +28,11 @@
- VO2 Breath Chart
- -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('9') }} -
-
-
diff --git a/report_gen/page_11.html b/report_gen/page_11.html index 42a8212..8675d28 100644 --- a/report_gen/page_11.html +++ b/report_gen/page_11.html @@ -1,59 +1,43 @@
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
-
-

+
+

Fat Metabolism

-
-

Fat Max

-

+

+

Fat Max

+

{{ fat_max_optimal | default('*Optimal 10-12Kcals/minute') }}

-

+

{{ fat_max_value | default('3.8Kcals/min') }}

-

+

{{ fat_max_heart_rate | default('49% of Max Heart Rate') }}

-

+

{{ fat_max_bpm | default('97 bpm') }}

-
-

+
+

Carbs and Fat Crossover

-

+

{{ crossover_bpm | default('100bpm') }}

-

+

{{ crossover_heart_rate | default('51% of Max Heart Rate') }}

@@ -63,7 +47,7 @@
-

+

{{ fat_metabolism_note | default('100bpm at a speed of 4.0mph and incline of 2%') }}

@@ -71,7 +55,7 @@
Fat Metabolism Chart @@ -80,48 +64,48 @@
-
-

+
+

Recovery

-
-

+
+

Cardiac Recovery

-

+

{{ cardiac_recovery_time | default('(1 minute)') }}

-

+

{{ cardiac_recovery_percentage | default('33%') }}

-
-

+
+

Metabolic (CO2) Recovery

-

+

{{ metabolic_recovery_time | default('(2 minute)') }}

-

+

{{ metabolic_recovery_percentage | default('65%') }}

-
-

+
+

Breath Frequency Recovery

-

+

{{ breath_recovery_time | default('(2.5 minute)') }}

-

+

{{ breath_recovery_percentage | default('76%') }}

@@ -130,7 +114,7 @@
Recovery Chart @@ -138,59 +122,59 @@
-
-

+
+

Resting Heart Rate - {{ resting_heart_rate | default('53bpm') }}

- +
@@ -199,42 +183,42 @@ @@ -244,22 +228,4 @@ - -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') - }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('10') }} -
-
-
diff --git a/report_gen/page_12.html b/report_gen/page_12.html index e342e5c..1546b03 100644 --- a/report_gen/page_12.html +++ b/report_gen/page_12.html @@ -1,3 +1,76 @@ -
- This is page 12 +
+ +
+

Local Muscle Activity

+

Muscle Oxygenation Assessment

+

+ SMO2 testing (Skeletal Muscle Oxygen Saturation) is an analysis of how effectively oxygen is being used at a particular muscle. It helps determine limitations on if the muscle is effectively using oxygen when exercising. +

+
+ + +
+

Indications - Right Leg

+ +
+ +
+ Right Leg SMO2 Chart +
+ + +
+
+
Surplus
+
Supply > Demand at a heart rate and speed of:
+
n/a
+
+ +
+
Supply Threshold
+
Demand outstrips supply at a heart rate of:
+
154bpm @ 5.0mph
+
+ +
+
Recovery
+
"Optimal >100%"
+
n/a
+
+
+
+
+ + +
+

Indications - Left Leg

+ +
+ +
+ Left Leg SMO2 Chart +
+ + +
+
+
Surplus
+
Supply > Demand at a heart rate and speed of:
+
n/a
+
+ +
+
Supply Threshold
+
Demand outstrips supply at a heart rate of:
+
165 bpm @ 5.5mph
+
+ +
+
Recovery
+
"Optimal >100%"
+
n/a
+
+
+
+
\ No newline at end of file diff --git a/report_gen/page_13.html b/report_gen/page_13.html index 5ae16f5..8c44c13 100644 --- a/report_gen/page_13.html +++ b/report_gen/page_13.html @@ -1,19 +1,5 @@
-
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
-
@@ -227,16 +213,4 @@
-
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('12') }} -
-
-
diff --git a/report_gen/page_14.html b/report_gen/page_14.html index 5d8431b..04e18e7 100644 --- a/report_gen/page_14.html +++ b/report_gen/page_14.html @@ -1,18 +1,4 @@
- -
-
-
ISHP
-
-
-
- Name: Keirstyn Moran - Age: 34 - Height: 5'4" - Weight: 123lbs - Focus: Endurance -
-
@@ -159,18 +145,4 @@
- - -
-
-
- CONTACT: info@sportandhighperformance.com - WEBSITE: www.sportandhighperformance.com - SOCIAL: @sportandhighperformance -
-
- 13 -
-
-
diff --git a/report_gen/page_15.html b/report_gen/page_15.html index 381ae8d..2184aee 100644 --- a/report_gen/page_15.html +++ b/report_gen/page_15.html @@ -1,18 +1,4 @@
- -
-
-
ISHP
-
-
-
- Name: Keirstyn Moran - Age: 34 - Height: 5'4" - Weight: 123lbs - Focus: Endurance -
-
@@ -81,17 +67,4 @@
- -
-
-
- CONTACT: info@ishplabs.com - WEBSITE: www.ishplabs.com - SOCIAL: @ishplabs -
-
- 14 -
-
-
diff --git a/report_gen/page_16.html b/report_gen/page_16.html index 1dfa8c6..4337b0b 100644 --- a/report_gen/page_16.html +++ b/report_gen/page_16.html @@ -1,84 +1,57 @@
- -
-
-
ISHP
-
-
-
- Name: Keirstyn Moran - Age: 34 - Height: 5'4" - Weight: 123lbs - Focus: Endurance -
-
-
+
-

Glossary

+

Glossary

-
-

Body Fat Percentage:

-

The percentage of your overall body weight that is composed of fat cells. Body fat percentage can be reduced by either losing weight from fat mass, while maintaining lean mass, or maintaining fat mass while increasing lean mass.

+
+

Body Fat Percentage:

+

The percentage of your overall body weight that is composed of fat cells. Body fat percentage can be reduced by either losing weight from fat mass, while maintaining lean mass, or maintaining fat mass while increasing lean mass.

-
-

Metabolic Rate:

-

Metabolic Rate measures the number of calories your body burns for basic functions and movement, based on factors like weight, age, gender, and height. A higher metabolic rate helps prevent weight gain and supports weight loss by ensuring you burn enough calories. Tracking metabolic rate is key for managing weight and preventing conditions linked to metabolic dysfunction. Positive influences include resistance exercise, proper sleep, and adequate protein, while negative factors include extreme dieting, yo-yo dieting, and excessive cardio. Improving it involves resistance training and optimal nutrition.

+
+

Metabolic Rate:

+

Metabolic Rate measures the number of calories your body burns for basic functions and movement, based on factors like weight, age, gender, and height. A higher metabolic rate helps prevent weight gain and supports weight loss by ensuring you burn enough calories. Tracking metabolic rate is key for managing weight and preventing conditions linked to metabolic dysfunction. Positive influences include resistance exercise, proper sleep, and adequate protein, while negative factors include extreme dieting, yo-yo dieting, and excessive cardio. Improving it involves resistance training and optimal nutrition.

-
-

Fuel Source:

-

Fat-burning efficiency measures your cells' ability to use fat as fuel, reflecting mitochondrial and cellular health. It indicates how well your body balances fat and carbohydrate usage to support energy needs, assessed by analyzing oxygen and carbon dioxide in your breath. High fat-burning efficiency suggests strong metabolic and mitochondrial function, linked to better weight management and longevity.

-

To improve fat-burning efficiency, focus on Zone 2 endurance training and potentially intermittent fasting to enhance oxygen absorption and cellular function. Zone 5 interval training will also help improve fat burning mitochondrial density and capillarization. Factors that reduce fat burning ability include diets high in processed foods, alcohol, and large meals before bed. Conditions related to metabolic stress also hinder fat burning abilities.

+
+

Fuel Source:

+

Fat-burning efficiency measures your cells' ability to use fat as fuel, reflecting mitochondrial and cellular health. It indicates how well your body balances fat and carbohydrate usage to support energy needs, assessed by analyzing oxygen and carbon dioxide in your breath. High fat-burning efficiency suggests strong metabolic and mitochondrial function, linked to better weight management and longevity.

+

To improve fat-burning efficiency, focus on Zone 2 endurance training and potentially intermittent fasting to enhance oxygen absorption and cellular function. Zone 5 interval training will also help improve fat burning mitochondrial density and capillarization. Factors that reduce fat burning ability include diets high in processed foods, alcohol, and large meals before bed. Conditions related to metabolic stress also hinder fat burning abilities.

-
-

NEAT (Non-Exercise Activity Thermogenesis)

-

refers to the energy expended for all activities that are not deliberate exercise or structured physical activity. This includes daily movements such as walking, fidgeting, standing, cleaning, typing, and even simple tasks like cooking or shopping. NEAT contributes significantly to the total caloric expenditure and plays a key role in maintaining body weight and overall energy balance. It varies widely among individuals, depending on lifestyle, occupation, and habits.

+
+

NEAT (Non-Exercise Activity Thermogenesis)

+

refers to the energy expended for all activities that are not deliberate exercise or structured physical activity. This includes daily movements such as walking, fidgeting, standing, cleaning, typing, and even simple tasks like cooking or shopping. NEAT contributes significantly to the total caloric expenditure and plays a key role in maintaining body weight and overall energy balance. It varies widely among individuals, depending on lifestyle, occupation, and habits.

-
-

Spirometry:

-

Spirometry is a diagnostic device used to provide objective measurements of lung volumes and capacities. Lung function is crucial for oxygen delivery during physical activity, and comparing spirometry results to expected values can highlight any potential limitations to performance.

-

"From a Performance standpoint, it is essential in making informed training recommendations related to respiratory health to optimize endurance performance and metabolic health."

+
+

Spirometry:

+

Spirometry is a diagnostic device used to provide objective measurements of lung volumes and capacities. Lung function is crucial for oxygen delivery during physical activity, and comparing spirometry results to expected values can highlight any potential limitations to performance.

+

"From a Performance standpoint, it is essential in making informed training recommendations related to respiratory health to optimize endurance performance and metabolic health."

-
    +
    • FEV1: Forced Expiratory Volume - the total amount of air expelled in the first second.
    • FVC: Forced Vital Capacity - the maximum amount of air exhaled in one breath after a maximum inhalation
    • FEV1/FVC: Calculated ratio used in the diagnosis of obstructive & restrictive lung disease.
    -

    By comparing these measurements to expected values based on age, gender, height and ethnicity, healthcare professionals can diagnose a range of lung conditions such as asthma, COPD, restrictive lung diseases, and more.

    +

    By comparing these measurements to expected values based on age, gender, height and ethnicity, healthcare professionals can diagnose a range of lung conditions such as asthma, COPD, restrictive lung diseases, and more.

-
-

VO2 max:

-

VO2 Max, or maximal oxygen consumption serves as a valuable indicator of overall fitness, cardiovascular health, and endurance capacity. VO2 max reflects the efficiency of your heart lung system in pumping oxygen-rich blood to working muscles. A higher VO2 max indicates a stronger cardiovascular system, which is associated with a reduced risk of heart disease and other cardiovascular issues.

-

Understanding and training to increase your VO2 max can contribute to enhanced physical performance, longevity and well-being.

+
+

VO2 max:

+

VO2 Max, or maximal oxygen consumption serves as a valuable indicator of overall fitness, cardiovascular health, and endurance capacity. VO2 max reflects the efficiency of your heart lung system in pumping oxygen-rich blood to working muscles. A higher VO2 max indicates a stronger cardiovascular system, which is associated with a reduced risk of heart disease and other cardiovascular issues.

+

Understanding and training to increase your VO2 max can contribute to enhanced physical performance, longevity and well-being.

- -
-
-
- CONTACT: info@ishplabs.com - WEBSITE: www.ishplabs.com - SOCIAL: @ishplabs -
-
- 15 -
-
-
diff --git a/report_gen/page_17.html b/report_gen/page_17.html index f2644c4..638646d 100644 --- a/report_gen/page_17.html +++ b/report_gen/page_17.html @@ -1,51 +1,29 @@
-
-
-
ISHP
-
-
-
- Name: Keirstyn Moran - Age: 34 - Height: 5'4" - Weight: 123lbs - Focus: Endurance -
-
-
-

Glossary

+
+

Glossary

-
+

Peak VT:

-

+

Peak Volume of air moved throughout the test.

-

- Respiratory Capability Limitations that can be found - include: +

+ Respiratory Capability Limitations that can be found include:

-
    +
    • - Endurance: Normal capacity, but cannot - maintain their VT over time. + Endurance: Normal capacity, but cannot maintain their VT over time.
    • - Strength/Power: Normal capacity, but - peak VT is not 75-85% of their FEV1 despite FEV1 being - normal + Strength/Power: Normal capacity, but peak VT is not 75-85% of their FEV1 despite FEV1 being normal
    • - Coordination (Hyper/Hypo-Ventilation): - Normal capacity, but uses low volumes +/- high BFs at - lower intensities. A breathing coordination limitation - can also be identified by the loss of volume at higher - intensities, which are then recovered upon recovery/stop - of activity. + Coordination (Hyper/Hypo-Ventilation): Normal capacity, but uses low volumes +/- high BFs at lower intensities. A breathing coordination limitation can also be identified by the loss of volume at higher intensities, which are then recovered upon recovery/stop of activity.
@@ -54,12 +32,7 @@

VO2 Pulse:

- VO2 Pulse refers to the relationship between oxygen - consumption (VO2) and heart rate (HR) during exercise. This - measure gives insight into how efficiently the body is using - oxygen in relation to the heart's output. A higher VO2 Pulse - suggests that an individual is able to deliver oxygen more - efficiently to the muscles with each heartbeat. + VO2 Pulse refers to the relationship between oxygen consumption (VO2) and heart rate (HR) during exercise. This measure gives insight into how efficiently the body is using oxygen in relation to the heart's output. A higher VO2 Pulse suggests that an individual is able to deliver oxygen more efficiently to the muscles with each heartbeat.

@@ -67,37 +40,18 @@

VO2 Breath:

- VO2 Breath refers to the amount of oxygen consumed per - breath during exercise, which indicates how effectively the - body delivers oxygen to the bloodstream through the lungs - with each breath. A more efficient VO2 Breath means the body - requires less effort to obtain the same amount of oxygen, - indicating better respiratory efficiency and oxygen - utilization. + VO2 Breath refers to the amount of oxygen consumed per breath during exercise, which indicates how effectively the body delivers oxygen to the bloodstream through the lungs with each breath. A more efficient VO2 Breath means the body requires less effort to obtain the same amount of oxygen, indicating better respiratory efficiency and oxygen utilization.

Carb & Fat Crossover:

-

- The point during exercise at which the body shifts its - predominant fuel source from fats to carbohydrates. This - transition typically occurs as exercise intensity increases, - and marks the transition from Zone 2 into Zone 3. As - exercise intensity increases, the body starts to rely more - on carbohydrates because they provide faster energy. +

+ The point during exercise at which the body shifts its predominant fuel source from fats to carbohydrates. This transition typically occurs as exercise intensity increases, and marks the transition from Zone 2 into Zone 3. As exercise intensity increases, the body starts to rely more on carbohydrates because they provide faster energy.

- Endurance training (e.g., long, steady-state cardio within - Zones 1 & 2) increases the body's ability to burn fat - efficiently at higher intensities, shifting the crossover - point to a faster speed, or higher heart rate/intensity. - Because fat stores are much larger and can provide a steady - stream of energy for prolonged periods, a higher CHO/FAT - crossover can help delay fatigue, which is especially - beneficial in longer-duration events, where carbohydrate - depletion can lead to a significant drop in performance. + Endurance training (e.g., long, steady-state cardio within Zones 1 & 2) increases the body's ability to burn fat efficiently at higher intensities, shifting the crossover point to a faster speed, or higher heart rate/intensity. Because fat stores are much larger and can provide a steady stream of energy for prolonged periods, a higher CHO/FAT crossover can help delay fatigue, which is especially beneficial in longer-duration events, where carbohydrate depletion can lead to a significant drop in performance.

@@ -105,29 +59,18 @@

Cardiovascular Recovery:

- The percentage your heart rate drops within the first minute - of the inactive recovery phase in relation to the lowest - heart rate recorded prior to the start of the test. + The percentage your heart rate drops within the first minute of the inactive recovery phase in relation to the lowest heart rate recorded prior to the start of the test.

Metabolic (CO2) Recovery:

-

- The percentage that your VCO2 levels (amount of CO2 you are - exhaling) drop within the first 1.5 minutes of the inactive - recovery phase in relation to the lowest VCO2 recorded prior - to the start of the test. +

+ The percentage that your VCO2 levels (amount of CO2 you are exhaling) drop within the first 1.5 minutes of the inactive recovery phase in relation to the lowest VCO2 recorded prior to the start of the test.

- refers to the rate at which the body clears carbon dioxide - (CO2) after exercise, reflecting the efficiency of the - cardiovascular and respiratory systems in returning CO2 - levels to baseline. A faster VCO2 recovery indicates - effective management of metabolic byproducts, signaling a - healthier metabolic system and lower risk of metabolic - disorders. + refers to the rate at which the body clears carbon dioxide (CO2) after exercise, reflecting the efficiency of the cardiovascular and respiratory systems in returning CO2 levels to baseline. A faster VCO2 recovery indicates effective management of metabolic byproducts, signaling a healthier metabolic system and lower risk of metabolic disorders.

@@ -135,31 +78,11 @@

Breath Frequency Recovery:

- Refers to the speed at which the body returns to a normal - breathing rate after physical exertion. Faster breath - frequency recovery indicates a well-conditioned - cardiovascular and respiratory system, allowing the body to - efficiently regulate oxygen and CO2 levels. It supports - better endurance, faster recovery between intervals, and the - ability to sustain higher performance during repeated - efforts or prolonged activity. Additionally, a quick return - to baseline signals that the autonomic nervous system is - functioning well, reducing stress on the body and promoting - more efficient recovery. This also reflects a healthier - metabolic system, better management of metabolic byproducts - like CO2, and a lower risk of chronic conditions. + Refers to the speed at which the body returns to a normal breathing rate after physical exertion. Faster breath frequency recovery indicates a well-conditioned cardiovascular and respiratory system, allowing the body to efficiently regulate oxygen and CO2 levels. It supports better endurance, faster recovery between intervals, and the ability to sustain higher performance during repeated efforts or prolonged activity. Additionally, a quick return to baseline signals that the autonomic nervous system is functioning well, reducing stress on the body and promoting more efficient recovery. This also reflects a healthier metabolic system, better management of metabolic byproducts like CO2, and a lower risk of chronic conditions.

-
-
CONTACT: info@ishplabs.com
-
WEBSITE: www.ishplabs.com
-
SOCIAL: @ishplabs
-
17
-
diff --git a/report_gen/page_18.html b/report_gen/page_18.html index a71c529..410985d 100644 --- a/report_gen/page_18.html +++ b/report_gen/page_18.html @@ -1,18 +1,4 @@
-
-
-
ISHP
-
-
-
- Name: Keirstyn Moran - Age: 34 - Height: 5'4" - Weight: 123lbs - Focus: Endurance -
-
-

Glossary

@@ -38,199 +24,13 @@

- -
-

- Body Fat Percent Master Chart -

- - -
-
-
Age (M)
-
- -
- 20-39 -
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
- -
- 40-59 -
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
- -
- 60-79 -
-
-
-
-
-
-
-
-
-
-
-
-
- - -
-
-
-
0%
-
5%
-
10%
-
15%
-
20%
-
25%
-
30%
-
35%
-
40%
-
45%
-
50%
-
-
-
- - -
-
-
Age (F)
-
- -
- 20-39 -
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
- -
- 40-59 -
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
- -
- 60-79 -
-
-
-
-
-
-
-
-
-
-
-
-
- - -
-
-
-
0%
-
5%
-
10%
-
15%
-
20%
-
25%
-
30%
-
35%
-
40%
-
45%
-
50%
-
-
-
+
+

Body Fat Percent Master Chart

+ Body Fat Percentage
- - -
-
CONTACT: info@ishplabs.com
-
WEBSITE: www.ishplabs.com
-
SOCIAL: @ishplabs
-
18
-
diff --git a/report_gen/page_19.html b/report_gen/page_19.html index 666cd4b..3aa8fa0 100644 --- a/report_gen/page_19.html +++ b/report_gen/page_19.html @@ -1,75 +1,59 @@
- -
-
-
ISHP
-
-
-
- Name: Keirstyn Moran - Age: 34 - Height: 5'4" - Weight: 123lbs - Focus: Endurance -
-
-
-

Glossary

+
+

Glossary

-
-

+
+

Resting Heart Rate

-
+

Age (F) Poor Below Average Average Above Average Good Excellent Athlete
{{ hr_age_range | default('26-35') }} {{ hr_poor | default('82bpm +') }} {{ hr_below_avg | default('75-81bpm') }} {{ hr_average | default('71-74bpm') }} {{ hr_above_avg | default('66-70bpm') }} {{ hr_good | default('62-65bpm') }} {{ hr_excellent | default('55-61bpm') }} {{ hr_athlete | default('44-54bpm') }}
@@ -78,169 +62,169 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -249,49 +233,49 @@ -
+
Age (M) Poor Below Average Average Above Average Good Excellent Athlete
18-25 + 85bpm + + 76-84bpm + 74-78bpm + 70-73bpm + 66-69bpm + 61-65bpm + 60-60bpm
26-35 + 83bpm + + 77-82bpm + 73-76bpm + 69-72bpm + 65-68bpm + 60-64bpm + 55-59bpm
36-45 + 85bpm + + 79-84bpm + 74-78bpm + 70-73bpm + 65-69bpm + 60-64bpm + 55-59bpm
46-55 + 84bpm + + 76-83bpm + 73-77bpm + 70-72bpm + 66-69bpm + 61-65bpm + 56-60bpm
56-65 + 85bpm + + 78-84bpm + 74-77bpm + 70-73bpm + 65-69bpm + 60-64bpm + 50-59bpm
65+ + 84bpm + + 77-83bpm + 73-76bpm + 70-73bpm + 65-69bpm + 60-64bpm + 55-59bpm
@@ -300,169 +284,169 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -472,50 +456,50 @@ -
-

+
+

VO2 Master Chart

-
+

Age (F) Poor Below Average Average Above Average Good Excellent Athlete
18-25 + 81bpm + + 74-81bpm + 73-78bpm + 66-69bpm + 62-65bpm + 56-61bpm + 50-55bpm
26-35 + 82bpm + + 75-81bpm + 71-74bpm + 66-70bpm + 62-65bpm + 55-61bpm + 54-54bpm
36-45 + 83bpm + + 76-82bpm + 71-75bpm + 67-70bpm + 63-66bpm + 57-62bpm + 47-56bpm
46-55 + 84bpm + + 77-83bpm + 72-76bpm + 68-71bpm + 64-67bpm + 58-63bpm + 49-57bpm
56-65 + 82bpm + + 76-81bpm + 72-75bpm + 68-71bpm + 62-67bpm + 57-61bpm + 51-56bpm
65+ + 80bpm + + 74-79bpm + 70-73bpm + 66-69bpm + 62-65bpm + 56-61bpm + 52-55bpm
@@ -524,126 +508,126 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -652,44 +636,44 @@ -
+
Age (M) Very Poor Poor Fair Good Excellent Superior
20-29 + 29.0-38.1 + 38.1-44.9 + 44.9-50.2 + 50.2-61.8 + 57.1-66.3 + 66.3+
30-39 + 27.2-34.1 + 34.1-39.6 + 39.6-45.2 + 45.2-51.6 + 51.6-59.8 + 59.8+
40-49 + 24.2-30.5 + 30.5-35.7 + 35.7-40.3 + 40.3-46.7 + 46.7-55.6 + 55.6+
50-59 + 20.9-26.1 + 26.1-30.7 + 30.7-35.1 + 35.1-41.2 + 41.2-50.7 + 50.7+
60-69 + 17.4-22.4 + 22.4-26.6 + 26.6-30.5 + 30.5-36.1 + 36.1-43.0 + 43.0+
@@ -698,126 +682,126 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -827,13 +811,4 @@ - -
-
CONTACT: info@ishplabs.com
-
WEBSITE: www.ishplabs.com
-
SOCIAL: @ishplabs
-
19
-
\ No newline at end of file diff --git a/report_gen/page_3.html b/report_gen/page_3.html index da7cb70..76ef036 100644 --- a/report_gen/page_3.html +++ b/report_gen/page_3.html @@ -1,67 +1,157 @@
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
- -
+
-

Nutrition Guidelines

+

Overview

- -

Ultrasound & Body Composition Assessment

-

Designed to track and optimize exercise and diet. Its proven technology can accurately measure tissue structure and body composition.

- - -
-

Body Composition

- - -
-
- Body Composition Chart - - + +
+ +
+
+
+

Metabolic

+ +
Age (F) Very Poor Poor Fair Good Excellent Superior
20-29 + 21.7-28.6 + 28.6-34.6 + 34.6-40.6 + 40.6-46.5 + 46.5-56.0 + 56.0+
30-39 + 19.0-24.1 + 24.1-28.2 + 28.2-32.2 + 32.2-35.7 + 35.7-45.8 + 45.8+
40-49 + 17.0-21.3 + 21.3-24.9 + 24.9-28.7 + 28.7-34.0 + 34.0-41.7 + 41.7+
50-59 + 16.0-19.1 + 19.1-24.4 + 21.8-27.6 + 25.2-28.6 + 28.6-35.9 + 35.9+
60-69 + 13.4-16.5 + 16.5-18.9 + 18.9-21.2 + 21.2-24.6 + 24.6-29.4 + 29.4+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Resting Metabolic RateActive Metabolic Rate
Fat/Carbohydrate RatioMetabolic Efficiency Low Intensity
MetabolismMetabolic Efficiency High Intensity
Breathing Frequency
Breath Volume
Heart Rate
- -
- - -
- Body Fat Percentage Chart + +
+
+
+

Respiratory

- + + + + + + + + + + + + + +
Lung Function
Lung Capacity
Lung Capability
Breathing Frequency Zones
-
- -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} + + +
+ +
+
+
+

Cardiovascular

+
+ + + + + + + + + + + + + + +
Active Metabolic Rate
Aerobic Health (VO2 Max)
Training Zones
Metabolic Efficiency (VO2 Pulse)
-
- {{ page_number | default('4') }} + + +
+
+
+

Strength

+
+ + + + + + + + + + + + + + + + + +
Strength - High Intensity
CO2/O2 (RER)
Heart Rate
Breath Frequency
Muscle Efficiency
+ + +
+ +
+
+
+

Recovery

+
+ + + + + + + + + + + + + + + + + +
Active Metabolic Rate
+
+ Heart Rate + 44 +
+
Metabolic (CO2)
Muscle Oxygen
Breath Frequency
+
+ + +
+
diff --git a/report_gen/page_4.html b/report_gen/page_4.html index 285fde5..7ea8430 100644 --- a/report_gen/page_4.html +++ b/report_gen/page_4.html @@ -1,147 +1,40 @@
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
-
-

Overview

+

Nutrition Guidelines

- -
- -
-
-
-

Metabolic

-
- -
- -
Resting Metabolic Rate
-
Active Metabolic Rate
+ +

Ultrasound & Body Composition Assessment

+

Designed to track and optimize exercise and diet. Its proven technology can accurately measure tissue structure and body composition.

+ + +
+

Body Composition

+ + +
+
+ Body Composition Chart - -
Fat/Carbohydrate Ratio
-
Metabolic Efficiency Low Intensity
- - -
Metabolism
-
Metabolic Efficiency High Intensity
- - -
Breathing Frequency
-
- - -
Breath Volume
-
- - -
Heart Rate
-
+
- -
-
-
-

Respiratory

+ +
+ + +
+ Body Fat Percentage Chart
-
-
Lung Function
-
Lung Capacity
-
Lung Capability
-
Breathing Frequency Zones
-
+
- - -
- -
-
-
-

Cardiovascular

-
- -
-
Active Metabolic Rate
-
Aerobic Health (VO2 Max)
-
Training Zones
-
Metabolic Efficiency (VO2 Pulse)
-
-
- - -
-
-
-

Strength

-
- -
-
Strength - High Intensity
-
CO2/O2 (RER)
-
Heart Rate
-
Breath Frequency
-
Muscle Efficiency
-
-
-
- - -
- -
-
-
-

Recovery

-
- -
-
Active Metabolic Rate
-
- Heart Rate - 44 -
-
Metabolic (CO2)
-
Muscle Oxygen
-
Breath Frequency
-
-
- - -
-
- -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('3') }} -
-
-
diff --git a/report_gen/page_5.html b/report_gen/page_5.html index 8bdef7b..9de4ad3 100644 --- a/report_gen/page_5.html +++ b/report_gen/page_5.html @@ -1,175 +1,97 @@ -
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
+
+ - -
- -

Nutrition Guidelines

- - -

Resting Metabolic Rate Assessment

-

The resting metabolic rate assessment determines the number of calories that you burn at rest, and metabolic health. It is also an indicator of overall health and well-being.

+ +
+ +

Nutrition Guidelines

- -
-
-

Slow vs Fast Metabolism

- - -
- -
- -
- {{ resting_calories | default('1386kCals') }} + +

+ Resting Metabolic Rate Assessment +

+

+ The resting metabolic rate assessment determines the number of + calories that you burn at rest, and metabolic health. It is also an + indicator of overall health and well-being. +

+ + +
+
+ Slow vs Fast Metabolism Chart
- -
-
- - -
- Very Slow - Slow - Average - Fast - Very Fast -
- - -
-
-
-
-
-
-
-
- -
-

Fuel Source

- - -
-
- -
-
-
Fats
-
{{ fat_percentage | default('33%') }}
-
+ +
+
+ Fuel Source Chart
- -
-
-
Carbs
-
{{ carb_percentage | default('67%') }}
-
-
-
- - -
-
-
Optimal
- -
-
- - -
- 0 - 25 - 50 - 75 - 100 -
- - -
-
-
-
-
-
-
-
- -
-

Caloric Intake

- - -
- -
-
{{ resting_calories | default('1386kCals') }}
-
-
Resting
-
Metabolic
+ +
+

+ Caloric Intake +

+ + +
+ +
+
+ {{ resting_calories }}kCals +
+
+
Resting
+
Metabolic
+
+
+ + +
+
+ + +
+
+ {{ neat_calories }}kCals +
+
NEAT
+
+ + +
-
+ + +
+
+ {{ weight_loss_calories }}kCals +
+
+
to lose {{ weight_loss_rate }}lbs
+
per week
+
+
+ + +
=
+ + +
+
+ ~{{ total_calories }}kCals +
+
-
- - -
+
- - -
-
{{ neat_calories | default('762kCals') }}
-
NEAT
-
- - -
-
- - -
-
{{ weight_loss_calories | default('423kCals') }}
-
-
to lose {{ weight_loss_rate | default('1.1lbs') }}
-
per week
-
-
- - -
=
- - -
-
{{ total_calories | default('~1725kCals') }}
-
-
-
- - -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('5') }} -
-
-
diff --git a/report_gen/page_6.html b/report_gen/page_6.html index 13265fd..c15046d 100644 --- a/report_gen/page_6.html +++ b/report_gen/page_6.html @@ -1,20 +1,6 @@
-
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
- - +

Weekly Meal Plan Breakdown

@@ -24,9 +10,9 @@

Caloric Deficit Example

-
+
-
+
Monday
{{ deficit_calories | default('1725KCals') }}
@@ -38,7 +24,7 @@
-
+
Tuesday
{{ deficit_calories | default('1725KCals') }}
@@ -50,7 +36,7 @@
-
+
Wednesday
{{ deficit_calories | default('1725KCals') }}
@@ -62,7 +48,7 @@
-
+
Thursday
{{ deficit_calories | default('1725KCals') }}
@@ -74,7 +60,7 @@
-
+
Friday
{{ deficit_calories | default('1725KCals') }}
@@ -86,7 +72,7 @@
-
+
Saturday
{{ deficit_calories | default('1725KCals') }}
@@ -98,7 +84,7 @@
-
+
Sunday
{{ deficit_calories | default('1725KCals') }}
@@ -118,7 +104,7 @@
-
+
Monday
{{ refeed_weekday_calories | default('1615KCals') }}
@@ -130,7 +116,7 @@
-
+
Tuesday
{{ refeed_weekday_calories | default('1615KCals') }}
@@ -142,7 +128,7 @@
-
+
Wednesday
{{ refeed_weekday_calories | default('1615KCals') }}
@@ -154,7 +140,7 @@
-
+
Thursday
{{ refeed_weekday_calories | default('1615KCals') }}
@@ -166,7 +152,7 @@
-
+
Friday
{{ refeed_weekday_calories | default('1615KCals') }}
@@ -178,7 +164,7 @@
-
+
Saturday
{{ refeed_weekend_calories | default('2000KCals') }}
@@ -190,7 +176,7 @@
-
+
Sunday
{{ refeed_weekend_calories | default('2000KCals') }}
@@ -230,17 +216,4 @@
- -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('6') }} -
-
-
diff --git a/report_gen/page_7.html b/report_gen/page_7.html index 511097d..9b951cd 100644 --- a/report_gen/page_7.html +++ b/report_gen/page_7.html @@ -1,180 +1,38 @@ -
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
- - -
- -

Lung Analysis

+
+ +

Lung Analysis

+ + +
+

Spirometry Assessment

+

+ Spirometry is a diagnostic device that assesses how well a person breathes and how their lungs are functioning. Lung function + is crucial for oxygen delivery during physical activity. Comparing results to expected/normal values can highlight potential limitations + that would require additional lung training to improve overall physical activity. +

- -

Spirometry Assessment

-

Spirometry is a diagnostic device that assesses how well a person breathes and how their lungs are functioning. Lung function is crucial for oxygen delivery during physical activity. Comparing results to expected/normal values can highlight potential limitations that would require additional lung training to improve overall physical activity.

- - -
- -
-
-
Lung Volume
-
LLN
-
-
- -
-
-
-
-
-
-
- -
-
Predicted
- -
- -
- -5 - -4 - -3 - -2 - -1 - 0 - 1 - 2 - 3 -
-
-
-
FVC
-
{{ fvc_value | default('4.24L → 112.0%') }}
-
of predicted
-
-
- - -
-
-
Lung Power
-
-
- -
-
-
-
-
-
-
- -
- -
- -
- -5 - -4 - -3 - -2 - -1 - 0 - 1 - 2 - 3 -
-
-
-
FEV1
-
{{ fev1_value | default('3.26L → 103.3%') }}
-
of predicted
-
-
- - -
-
-
Power/Volume
-
-
- -
-
-
-
-
-
-
- -
- -5 - -4 - -3 - -2 - -1 - 0 - 1 - 2 - 3 -
-
-
-
FEV1/FVC
-
{{ fev1_fvc_ratio | default('76.89% → 91.8%') }}
-
of predicted
-
-
-
- - -
-

Indications

-

{{ indication | default('No Respiratory Capacity Limitation') }}

-
- - -
-

Respiratory

- - -
- Respiratory Analysis Chart -
- - -
-

Peak VT

-

{{ peak_vt_value | default('2.38L/Breath which occurs at 172bpm (Zone 3)') }}

-

{{ peak_vt_percentage | default('73% of FEV1') }}

-
+ + Lung Volume Analysis Chart + + +
+

Indications

+

{{ indication }}

- - -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('7') }} -
+ + +
+

Respiratory

+ + + Respiratory Analysis Chart + + +
+

Peak VT

+

{{ peak_vt }} L/Breath which occurs at {{ peak_vt_bpm }} bpm (Zone {{ peak_vt_zone }})

+

{{ fev1_percentage }}% of FEV1

diff --git a/report_gen/page_8.html b/report_gen/page_8.html index 858098b..8aeadc9 100644 --- a/report_gen/page_8.html +++ b/report_gen/page_8.html @@ -1,18 +1,4 @@
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
@@ -209,17 +195,4 @@
- -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('8') }} -
-
-
diff --git a/report_gen/page_9.html b/report_gen/page_9.html index 945f128..12850de 100644 --- a/report_gen/page_9.html +++ b/report_gen/page_9.html @@ -1,24 +1,10 @@
- -
-
-
ISHP
-
-
-
- Name: {{ patient_name | default('Keirstyn Moran') }} - Age: {{ age | default('34') }} - Height: {{ height | default('5\'4"') }} - Weight: {{ weight | default('123lbs') }} - Focus: {{ focus | default('Endurance') }} -
-
-
+
- Fuel Utilization Report - Institute of Science, Health and Performance
@@ -32,17 +18,4 @@
- -
-
-
- CONTACT: {{ contact_email | default('info@ishplabs.com') }} - WEBSITE: {{ website | default('www.ishplabs.com') }} - SOCIAL: {{ social | default('@ishplabs') }} -
-
- {{ page_number | default('9') }} -
-
-
diff --git a/report_generation.zip b/report_generation.zip deleted file mode 100644 index f42d4e9..0000000 Binary files a/report_generation.zip and /dev/null differ diff --git a/tailwindconfig.js b/tailwindconfig.js deleted file mode 100644 index e69de29..0000000 diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index bb8a28a..0000000 --- a/templates/base.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - -
- -
- -
-
ISHP
-
- - -
- - - -
- - -
- -
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -
- -
-

BIO-PERFORMX

-

Endurance

-
- - -
-

John Doe

-

Moran

-
- - -
-

July 29, 2025

-
-
-
- - \ No newline at end of file diff --git a/truth_report.html b/truth_report.html deleted file mode 100644 index bdac150..0000000 --- a/truth_report.html +++ /dev/null @@ -1,157 +0,0 @@ - - - Truth Report - - - -
-
- -
-

- TABLE OF CONTENTS -

-
-
- -
-
- 5 -
-
-

- Fuel Utilizationd -

-
-
- -
- -
-
- 3 -
-
-

- Lung Analysis -

-
-

- Pulse Oximetry Assessment -

-

- Spirometry Assessment -

-
-
-
- - -
-
- 4 -
-
-

- Cardio Metrics -

-
-

- Active Metabolic Rate Assessment -

-
-
-
-
-
- 4 -
- -
-

Nutrition Guidelines

-

Ultrasound & Body Composition Assessment

-

Resting Metabolic Rate Assessment

-
-
- -
-
- 5 -
-
-

- Fuel Utilization -

-
- -
-
-
- - -
-
- 9 -
-
-

- Local Muscle Activity -

-
- -
-
-
- - -
-
- 10 -
-
-

- Training Recommendations -

-
- -
-
-
- - -
-
- 12 -
-
-

- Next Steps -

-
- -
-
-
- - -
-
- 13 -
-
-

- Glossary -

-
- -
-
-
-
-

-

- - - \ No newline at end of file diff --git a/truth_report.pdf b/truth_report.pdf deleted file mode 100644 index 18510a3..0000000 Binary files a/truth_report.pdf and /dev/null differ