TIP-Global-Health / eheza-app

Apache License 2.0
3 stars 1 forks source link

Remove RH Question from Obstetric History and add logic from ANC Labs [6h] #1314

Open adamhstewart opened 2 months ago

adamhstewart commented 2 months ago

Issue

We should determine a patient's RH Status from the ANC Labs rather than the from the obstetric history.

Pasted_Image_9_16_24__10_13_AM

Instead we will capture the information we need from here in ANC Labs (Blood Group): Pasted_Image_9_16_24__10_16_AM

Results should be displayed in Obstetric Diagnosis section of the progress report with the following logic:

Tasks

anvmn commented 1 month ago

@LudmilaGoichman please test on Nutrition env

LudmilaGoichman commented 1 month ago

Found Issue:

  1. This RH Factor Unknown result isn’t exist. If test isn't done, the unknown result won't appear in the progress report.

Results should be displayed in Obstetric Diagnosis section of the progress report with the following logic:

  • If no test results show: RH Factor Unknown
  1. In the issue description in the report states "RH Factor Negative," while the application indicates "Rhesus Negative." Is it okay?
image

Checked and Approved:

  1. RH Status is removed from the obstetric history.
image
  1. RH Factor Negative:
image image image image
image image image
image image image
image image image
  1. RH Factor Positive:
image image
image image image
image image image image
adamhstewart commented 1 month ago

@anvmn please check first point

anvmn commented 1 month ago

@adamhstewart

@anvmn please check first point

'Obstetrical diagnosis' pane shows info of diagnoses that were determined in current encounter, and the action that was taken as a result of that determination. BTW, diagnosis is derived from ANC lab - no relation to obstetric history question. So, this part is for current encounter only. For the context, Blood group and rhesus test is performed only once. Therefore, requirements which (concern info from previous encounters) can not be implemented for this section.

The changes I made are at Obstetrical alerts part which is shown only for CHW.

adamhstewart commented 1 month ago

@anvmn RH Factor Uknown should be a default Obsteric Diagnosis on any patient who has not had an RH lab result (for any reason).

anvmn commented 1 month ago

@LudmilaGoichman please retest on Nutrition env

LudmilaGoichman commented 1 month ago

@anvmn

Questions/Found Issues:

  1. The diagnosis appears twice in the CHW report.
image
  1. The diagnosis is different. Is it okay?
image image image
  1. CHW. Should the report appear after clicking on encounter?

https://github.com/user-attachments/assets/cec761fe-3df5-4ec7-970f-25f78bc61c3a

  1. Nurse. When there is the diagnosis, the report opens, but when there is no diagnosis, the report doesn't open. Is it okay?

https://github.com/user-attachments/assets/7775065b-e279-428a-958f-5944268c7062

  1. CHW. I can't click on this button.
image

Checked and Approved:

  1. RH Factor Negative:
    • Point of care:
    • Nurse
image image image image

https://github.com/user-attachments/assets/cec761fe-3df5-4ec7-970f-25f78bc61c3a

image image image
image image
image
  1. RH Factor Positive:
    • Point of care:
    • Nurse
image image
image image image
image
adamhstewart commented 1 month ago

@anvmn

  1. The diagnosis appears twice in the CHW report.

Let's consolidate these report items.

  1. The diagnosis is different. Is it okay?

Rhesus negative and RH Negative is the same thing - but (per above) in the progress report it should only be indicated once.

  1. CHW. Should the report appear after clicking on encounter?

Yes, that is by design

  1. Nurse. When there is the diagnosis, the report opens, but when there is no diagnosis, the report doesn't open. Is it okay?

It should open in every case.

  1. CHW. I can't click on this button.

Please investigate

anvmn commented 1 month ago

@adamhstewart

  1. The diagnosis appears twice in the CHW report.

Let's consolidate these report items.

Fixed at #1345

  1. The diagnosis is different. Is it okay?

Rhesus negative and RH Negative is the same thing - but (per above) in the progress report it should only be indicated once.

Fixed at #1345

  1. Nurse. When there is the diagnosis, the report opens, but when there is no diagnosis, the report doesn't open. Is it okay? It should open in every case.

Per current implementation, it does not open in any case. In given example, once there's a diagnosis, we get next steps, and once next steps are completed, we're forwarded to progress report. If no diagnosis - no next steps - no such action. If we want behaviour to change, lest address it in separate issue.

  1. CHW. I can't click on this button.

Please investigate

So, first of all Yes is always clickable. The other button is active if there's at least one completed nurse encounter. Completed means that end encounter button was pressed (and end date is set). Otherwise, we assume that first encounter is in progress (at prenatal, encounter may last more that single day).