It would be nice if we could create alarmLimitsDraftFiO2 and alarmLimitsDraftFlow selectors which returned { lower: parametersDraftFiO2 - 2, upper: parametersDraftFiO2 + 2 } and { lower: parametersDraftFlow - 2, upper: parametersDraftFlow + 2 }, respectively, and then used them in the breadcrumbs modal. I'm not sure if we'd also need to create alarmLimitsRequestFiO2 and alarmLimitsRequestFlow selectors for the breadcrumbs modal, but we could do a similar thing there too.
As of 4dedf8d on #413 (see https://github.com/pez-globo/pufferfish-software/pull/413#issuecomment-883081048), we display the current alarm limits for FiO2 and flow rate, which fixed a previous bug described in https://github.com/pez-globo/pufferfish-software/pull/413#issuecomment-883001336.
It would be nice if we could create
alarmLimitsDraftFiO2
andalarmLimitsDraftFlow
selectors which returned{ lower: parametersDraftFiO2 - 2, upper: parametersDraftFiO2 + 2 }
and{ lower: parametersDraftFlow - 2, upper: parametersDraftFlow + 2 }
, respectively, and then used them in the breadcrumbs modal. I'm not sure if we'd also need to createalarmLimitsRequestFiO2
andalarmLimitsRequestFlow
selectors for the breadcrumbs modal, but we could do a similar thing there too.