Triggering of Ambulatory Blood Pressure Measurement Based on Patient Status: Software Architecture and Implementation