Skip to content

Create a Vitals Scan

POST
/businesses/{businessId}/vitals/scans

Create a new vitals scan for a patient with optional pre-filled input data.

businessId
required

The ID of the Business.

string
object
vitalsLinkId
required

The ID of the Vitals Link to create the scan under.

string
patientId
required

The ID of the Patient this scan is for.

string
inputData

Pre-filled patient health profile data for the scan. Only present when provided during scan creation.

object
gender

Patient gender.

string
Allowed values: male female other
countryCode

ISO 3166-1 alpha-2 country code.

string
>= 2 characters <= 2 characters
age

Patient age in years.

number
>= 16 <= 120
dob

Date of birth in YYYY-MM-DD format.

string
/^\d{4}-\d{2}-\d{2}$/
race

Patient race/ethnicity.

string
height

Patient height in cm.

number
>= 100 <= 250
weight

Patient weight in kg.

number
>= 30 <= 200
waistCircumference

Waist circumference in cm.

number
>= 50 <= 150
smokingStatus

Patient smoking status.

string
Allowed values: never former current
diabetesStatus

Patient diabetes status.

string
Allowed values: none preDiabetes diabetes
hypertensionTreatment

Hypertension treatment status.

string
Allowed values: notNeeded no yes
activityLevel

Patient physical activity level.

string
Allowed values: inactive exercise10Mins exercise20to60Mins exercise1to3Hours exerciseOver3Hours
chronicMedicationStatus

Chronic medication status.

string
Allowed values: none oneOrTwoDiseases threeOrMoreDiseases
cholesterol

Total cholesterol level.

number
cholesterolHdl

HDL cholesterol level.

number
cholesterolLdl

LDL cholesterol level.

number
familyDiabetesHistory

Family history of diabetes.

string
Allowed values: none noneFirstDegree firstDegree
parentalHypertensionHistory

Parental history of hypertension.

string
Allowed values: none one both
historyOfHighGlucose

Whether patient has history of high glucose.

boolean
historyOfHypertension

Whether patient has history of hypertension.

boolean
vegetableFruitDiet

Whether patient eats vegetables and fruit daily.

boolean
fastingGlucose

Fasting glucose level.

number
triglyceride

Triglyceride level.

number

Vitals Scan created

object
data
object
id
required

Unique identifier across the platform.

string format: uuid
createdAt
required

Time when the resource was created (ISO 8601 format).

string format: date-time
updatedAt
required

Time when the resource was last updated (ISO 8601 format).

string format: date-time
patientId

Unique identifier across the platform.

string format: uuid
vitalsLinkId

The ID of the vitals link used for this scan.

string
status
required

The status of the vitals scan.

string
Allowed values: PENDING STARTED SUCCEEDED FAILED ABORTED
results

The results of a Vitals Scan. Only present when status is SUCCEEDED.

object
metrics

Metric values from the scan. Only metrics listed in includedMetrics will be present.

object
heartRate

Heart rate in beats per minute (BPM).

number
nullable
heartRateVariability

Heart rate variability in milliseconds (ms).

number
nullable
breathingRate

Breathing rate in breaths per minute (b/min).

number
nullable
stressIndex

Stress index value.

number
nullable
parasympatheticActivity

Parasympathetic activity percentage (%).

number
nullable
cardiacWorkload

Cardiac workload in mmHg/s.

number
nullable
bloodPressureDiastolic

Diastolic blood pressure in mmHg.

number
nullable
bloodPressureSystolic

Systolic blood pressure in mmHg.

number
nullable
bmiClassification

Body Mass Index (BMI) in kg/m².

number
nullable
wellnessScore

Overall wellness score.

number
nullable
vascularAge

Vascular age in years.

number
nullable
atheroscleroticCvdRisk

Atherosclerotic cardiovascular disease risk percentage (%).

number
nullable
cardiovascularEventRisk

Cardiovascular event risk percentage (%).

number
nullable
cardiovascularRiskScore

Cardiovascular risk score.

number
nullable
hypertensionRisk

Hypertension risk value.

number
nullable
diabetesRisk

Diabetes risk percentage (%).

number
nullable
fattyLiverDiseaseRisk

Fatty liver disease (NAFLD) risk value.

number
nullable
waistToHeightRatio

Waist-to-height ratio (WHtR).

number
nullable
bodyFatPercentage

Body fat percentage (%).

number
nullable
bodyRoundnessIndex

Body roundness index (BRI).

number
nullable
aBodyShapeIndex

A Body Shape Index (ABSI).

number
nullable
conicityIndex

Conicity index (CI).

number
nullable
basalMetabolicRate

Basal metabolic rate in kcal/day.

number
nullable
totalDailyEnergyExpenditure

Total daily energy expenditure (TDEE) in kcal/day.

number
nullable
includedMetrics
required

The metrics included in this scan.

Array<string>
Allowed values: A_BODY_SHAPE_INDEX ATHEROSCLEROTIC_CVD_RISK BASAL_METABOLIC_RATE BLOOD_PRESSURE BLOOD_PRESSURE_DIASTOLIC BLOOD_PRESSURE_SYSTOLIC BMI_CLASSIFICATION BODY_FAT_PERCENTAGE BODY_ROUNDNESS_INDEX BREATHING_RATE CARDIAC_WORKLOAD CARDIOVASCULAR_EVENT_RISK CARDIOVASCULAR_RISK_SCORE CONICITY_INDEX DIABETES_RISK FATTY_LIVER_DISEASE_RISK HEART_RATE HEART_RATE_VARIABILITY HYPERTENSION_RISK PARASYMPATHETIC_ACTIVITY STRESS_INDEX TOTAL_DAILY_ENERGY_EXPENDITURE VASCULAR_AGE WAIST_TO_HEIGHT_RATIO WELLNESS_SCORE
startedAt

When the scan was started.

string format: date-time
nullable
inputData

Pre-filled patient health profile data for the scan. Only present when provided during scan creation.

object
gender

Patient gender.

string
Allowed values: male female other
countryCode

ISO 3166-1 alpha-2 country code.

string
>= 2 characters <= 2 characters
age

Patient age in years.

number
>= 16 <= 120
dob

Date of birth in YYYY-MM-DD format.

string
/^\d{4}-\d{2}-\d{2}$/
race

Patient race/ethnicity.

string
height

Patient height in cm.

number
>= 100 <= 250
weight

Patient weight in kg.

number
>= 30 <= 200
waistCircumference

Waist circumference in cm.

number
>= 50 <= 150
smokingStatus

Patient smoking status.

string
Allowed values: never former current
diabetesStatus

Patient diabetes status.

string
Allowed values: none preDiabetes diabetes
hypertensionTreatment

Hypertension treatment status.

string
Allowed values: notNeeded no yes
activityLevel

Patient physical activity level.

string
Allowed values: inactive exercise10Mins exercise20to60Mins exercise1to3Hours exerciseOver3Hours
chronicMedicationStatus

Chronic medication status.

string
Allowed values: none oneOrTwoDiseases threeOrMoreDiseases
cholesterol

Total cholesterol level.

number
cholesterolHdl

HDL cholesterol level.

number
cholesterolLdl

LDL cholesterol level.

number
familyDiabetesHistory

Family history of diabetes.

string
Allowed values: none noneFirstDegree firstDegree
parentalHypertensionHistory

Parental history of hypertension.

string
Allowed values: none one both
historyOfHighGlucose

Whether patient has history of high glucose.

boolean
historyOfHypertension

Whether patient has history of hypertension.

boolean
vegetableFruitDiet

Whether patient eats vegetables and fruit daily.

boolean
fastingGlucose

Fasting glucose level.

number
triglyceride

Triglyceride level.

number

Bad request (link expired, disabled, max scans reached, or insufficient credits)

Unauthorized

Vitals link or patient not found