Skip to contents

Clean SpO2 values based on several rules.

Usage

clean_spo2(spo2)

Arguments

spo2

Peripheral oxygen saturation (%)

Value

spo2 (%)

Details

Rules include cleaning on impossible values and on common mistakes or switch-ups when entering data in the EHR. Remove Spo2<50 and convert 50-70 to 70%.