jaymendez / project-lifeline

3 stars 2 forks source link

Feature request: display respiration rate from a primary and secondary device #10

Closed mrnivlac closed 4 years ago

mrnivlac commented 4 years ago

Primary device uses the observation code: 76171-8 Secondary device (RxBox) uses the observation code: 76270-8

Expected behaviour:

  1. Read the latest observations for the patient
  2. Find the primary RR observation by filtering by code
  3. Check if the primary RR observation is not null and not old. 3.a. If so, then display it as the value for RR on the telemetry card. 3.b. If not, then find the secondary RR observation by filtering by code. 3.b.i. Check if the secondary RR observation is not null and not old. If so, then display it as the value for RR on the telemetry card. If not, then show the "no data" message
jaymendez commented 4 years ago

Added on #12