HeartLab
Measurements

Custom Calculations

Create, validate, and enable custom measurement calculations for your organisation.

Custom Calculations

HeartLab allows organisations to create custom calculations using existing study measurements and manually entered values. Custom calculations can help standardise reporting workflows, automate derived measurements, and reduce the need for manual calculations.

This guide explains how to configure, validate, and use custom calculations within HeartLab.

Applies to

  • Users with the Measurement: Calculations permission (typically Administrators)

Configure a Custom Calculation

Step 1: Open Calculation Settings

  1. Navigate to Settings > Measurements > Calculations.
  2. Select Create Calculation.

Step 2: Configure the Calculation

  1. Enter a calculation name.
  2. Enter the calculation formula.
  3. Click the + icon to add one or more input variables.
  4. For each input variable, configure:
    • Measurement name
    • Measurement unit
    • Whether the value should be entered manually or pulled from study data
  5. If the variable is manually entered, define both a label and a unit.
  6. If the variable uses study measurements, define the measurement label used for matching.
  7. Define the output label and output unit.

Step 3: Validate the Calculation

  1. Use Try it out to test the calculation with sample values.
  2. Confirm that the returned result matches the expected output.
Each calculation displays a validation status indicator:
  • Green tick — The calculation is valid and ready for use
  • Red cross — The calculation contains an error that must be resolved
Only valid calculations can be enabled for use.
Before enabling a calculation, verify that:
  • The formula returns the expected result
  • Input variables are mapped correctly
  • Measurement labels match the intended study measurements

Use a Custom Calculation

Step 1: Open the Calculation Tool

  1. Navigate to the target study.
  2. Select the Calculator icon.

Step 2: Apply the Calculation

  1. Select the required custom calculation.
  2. Select the measurements to be used in the calculation, or enter manual values where required.
  3. Capture any missing measurements using the Ruler tool.
  4. Ensure the correct clip and frame are selected when capturing missing measurements.
  5. Review the calculated result.
  6. Click Save.

The calculated value is saved alongside the other study measurements.

MFR
Manufacturer
HeartLab Limited 305 / 150 Karangahape Road Auckland 1010 New Zealand
UK REP
UK Responsible Person
Casus UKRP Ltd 107-111 Fleet Street London EC4A 2AB United Kingdom
AUS
Australian Sponsor
Emergo Australia Level 20 Tower II Darling Park 201 Sussex Street Sydney NSW 2000 Australia
MD Applies to HeartLab v7.2 and above Effective 0000-00-00 eIFU version 0.0.0 UDI-DI 09421907090023