validatePressure

fun validatePressure(systolic: Int, diastolic: Int): Boolean

Validate user pressure. Can be used for outer validation without setting in profile.

Return

true when systolic pressure in 60, 180 and diastolic pressure in 40, 100

Parameters

systolic

user systolic pressure

diastolic

user diastolic pressure