TIP-Global-Health / eheza-app

Apache License 2.0
3 stars 1 forks source link

Code base - review and improvements #1266

Open anvmn opened 1 month ago

anvmn commented 1 month ago

Tasks:

anvmn commented 1 month ago

@LudmilaGoichman

Please run sanity on Nutrition env for activities listed bellow. Thing to look for:

When things look strange, compare with CHW env.

Activities list:

  1. Acute Illness:
    • Physical Exam
    • Laboratory
    • Exposure
    • Treatment Review
    • Ongoing Treatment Review (at subsequent encounters)
    • Danger signs
    • Next Steps
  1. Well Child:

    • Nutrition
    • Danger signs
    • Medication
    • Next Steps
  2. HIV:

    • Next Steps
  3. NCD:

    • Medical history
    • Next steps (initial and recurrent parts of encounters)
  4. Nutrition individual:

    • Next Steps
  5. Prenatal:

    • Treatment Review
    • Examination (initial and recurrent parts of encounters)
    • Next Steps (initial and recurrent parts of encounters)
  6. Tuberculosis:

    • Medication
    • Next Steps
LudmilaGoichman commented 1 month ago

@anvmn

Acute Illness: Physical Exam

Questions/Found Issues:

  1. In both env. In the "Respiratory" activity, "Cough" - can be saved without selecting "More than 2 weeks" / "2 weeks or less".

    image
  2. I think the word "weeks" must be written in lowercase letters

image
  1. When changing the date in nodes, errors appear. Is it okay?
Symptoms_GI_-_Akuzwe_Alphonsine_-_2024-08-05___E-Heza_System
  1. In both env. Core Exam. Why can't select 2 symptoms in the first section? Is it okay?
image
  1. In both env. In the first encounter in the Physical Exam task, there is Acute Findings activity, but in the subsequent encounter, this activity doesn't appear. Is it okay?
first encounter subsequent encounter
image image
LudmilaGoichman commented 1 month ago

@anvmn

Acute Illness: Laboratory and Danger signs

Questions:

  1. In both env. Laboratory activity: only 2 tests: Malaria and Covid (performed by a nurse). Is it okay?
image image
  1. In both env. Danger signs activity appears only in the subsequent encounter. Is it okay?

first encounter:

image image

subsequent encounter:

image image
anvmn commented 1 month ago

@LudmilaGoichman

Acute Illness: Physical Exam

  1. In both env. In the "Respiratory" activity, "Cough" - can be saved without selecting "More than 2 weeks" / "2 weeks or less".
  2. I think the word "weeks" must be written in lowercase letters

Opened separate issue for this - #1276.

  1. When changing the date in nodes, errors appear. Is it okay?

That happens because of attempt to upgrade PHP version to 8.2. We decided not to, so the error is not relevant.

  1. In both env. Core Exam. Why can't select 2 symptoms in the first section? Is it okay?
  2. In both env. In the first encounter in the Physical Exam task, there is Acute Findings activity, but in the subsequent encounter, this activity doesn't appear. Is it okay?

This is expected behaviour, implemented per customer requirements.

anvmn commented 1 month ago

@LudmilaGoichman

Acute Illness: Laboratory and Danger signs

  1. In both env. Laboratory activity: only 2 tests: Malaria and Covid (performed by a nurse). Is it okay?
  2. In both env. Danger signs activity appears only in the subsequent encounter. Is it okay?

This is expected behaviour, implemented per customer requirements.

LudmilaGoichman commented 1 month ago

@anvmn

Acute Illness:

Questions/Found Issues:

  1. In both env. This phrase appears in the Exposure activity when the following symptoms are absent in the Symptoms activity:
image
image image
image image
  1. In both env. I didn't find the Ongoing Treatment Review (at subsequent encounters) activity. The next steps activity is referral to hospital.

  2. In both env. subsequent encounters. In the Next steps there is the Health Education activity, but there is refer to the hospital. Is it okay?

image
LudmilaGoichman commented 4 weeks ago

@anvmn

Well Child:

Questions/Found Issues:

  1. Well Child. I didn't find the activity Medication
  2. Well Child. First and subsequent encounters. Z-score doesn't appear for the previous measurement. Is it okay?
image image
image image
  1. Well Child. Next Steps. Activities are different. Is it okay?
image image
  1. Well Child. Next Steps. Subsequent encounter. Why is the patient referred to the medical center? Symptoms are normal. Patient: Kuzwa Anne
image
  1. Both env. Well Child. The "Save" button in the "Next visit" action doesn't respond for a long time. In the report, the "End encounter" button is disabled (for the first time). After reloading the page, the button was enabled. And this button and the "continue" button don't respond for a long time.

https://github.com/user-attachments/assets/4f50d644-9c32-4a33-b387-ad85d2124519

  1. HIV: Next steps. First and subsequent encounters. Can't check in CHW env, there is no this encounter.
image
  1. HIV. There is no Progress Report. Is it okay?
image
anvmn commented 4 weeks ago

@LudmilaGoichman

Acute Illness:

  1. In both env. This phrase appears in the Exposure activity when the following symptoms are absent in the >Symptoms activity:
  2. In both env. subsequent encounters. In the Next steps there is the Health Education activity, but there is >refer to the hospital. Is it okay?

Per requirements.

  1. In both env. I didn't find the Ongoing Treatment Review (at subsequent encounters) activity. The next steps activity is referral to hospital.

Ongoing treatment is available at subsequent encounter, if at previous encounter medication was prescribed.

LudmilaGoichman commented 4 weeks ago

Comment https://github.com/TIP-Global-Health/eheza-app/issues/1266#issuecomment-2295163733

I checked SPV encounter:

  1. the activity Medication looks well
  2. the 2 and 5 points also happened
  3. When in the Danger signs activity, there are symptoms, they do not appear in the report. And when the cancel pop-up about Acute Illness, in the Next steps only the next visit activity. Is it okay?

first encounter:

image image

subsequent encounter (at the beginning):

image

symptoms from the Nutrition appear:

image image

Comment https://github.com/TIP-Global-Health/eheza-app/issues/1266#issuecomment-2285704794

  1. In both env. I didn't find the Ongoing Treatment Review (at subsequent encounters) activity. The next steps activity is referral to hospital.

I didn't find the Ongoing Treatment Review (at subsequent encounters). There is Treatment Review activity (as in the first encounter). is it okay?

First encounter:

image image
image image

subsequent encounter:

image image
image image
LudmilaGoichman commented 3 weeks ago

@anvmn

NCD:

Questions (in both env):

  1. Should the patient be referred to the hospital in the Next Steps activity? When there is no this test
image image
  1. HBA1C test. Should today's date be displayed on the screen?
image image
  1. Next Steps. Should the Next Visit activity appear?
image
  1. The Progress Report exists. Should this report is displayed when closing this encounter?
image
  1. In the subsequent encounter, there is no the Medical history task, but there is the Outside Care activity. Is it okay?
image
  1. Next steps. In the first and subsequent encounters, there is the medications distribution activity. Is it okay?
first encounter subsequent encounter
image image
  1. patient: Akuzwe Adeline. Next steps. In the first and in the subsequent encounters, there is Hypertension. But the medications are given only at the subsequent encounter. Is it okay?

first encounter

image image image

subsequent encounter

image image
  1. Next Steps. Should there be Health Education for HIV?
image image
  1. Next Steps. Should the patient be referred for ARV?
image image
  1. Laboratory. Why is there a point of care and lab for blood sugar testing, but only case management for other tests?
image
  1. patient Akuzwe Agnes. In the Next Steps, "diabetes" appears, but diagnosis is "Gestational Diabetes"
image image
  1. patient Akuzwe Agnes. In the Next Steps, there is no referral to the hospital, when tests are bad
image image

case management:

image image image
LudmilaGoichman commented 3 weeks ago

@anvmn

Nutrition individual:

Questions (in both env):

  1. The Progress Report exists. Should this report is displayed when closing this encounter?
image
  1. First and subsequent encounters. Z-score doesn't appear for the previous measurement. Is it okay?
image image
  1. Nutrition env. patient Akuzwe Marie. The First encounters. One Z-score doesn't appear for the current measurement.
image

Nutrition env. patient Akuzwe Anne. The Subsequent encounters. One Z-score doesn't appear for the current measurement.

image

CHW env. patient ABIJURU Joelle. The first encounters. One Z-score doesn't appear for the current measurement.

image

But in other screens both Z-score appear:

image image
LudmilaGoichman commented 3 weeks ago

@anvmn

Prenatal:

Tuberculosis:

Questions (in both env):

  1. Prenatal. In the first encounter, there is no Treatment Review activity (only the Medication activity), but it appears in the subsequent encounter. Is it okay?
the first encounter the subsequent encounter
image imageimage
  1. Prenatal. Why are there no risk factors listed in the report?
image
image image
image image
  1. Tuberculosis. There is difference in environments

the subsequent encounter:

Nutrition CHW
imageimage image
  1. Tuberculosis. There is difference in environments. In Nutrition there is report, in CHW there is no report
Nutrition CHW
image image
LudmilaGoichman commented 3 weeks ago

@anvmn All sanity tests were successfully performed, except for the questions.

anvmn commented 3 weeks ago

@LudmilaGoichman

Well Child:

Questions/Found Issues:

  1. Well Child. I didn't find the activity Medication

Well child encounter is executed by CHW. There's not Medication activity there. Well child encounter is executed by nurse is called SPV, and that's where you can find that activity.

  1. Well Child. First and subsequent encounters. Z-score doesn't appear for the previous measurement. Is it okay?

Yes, it's ok. Z-score displayed is only for current encounter.

  1. Well Child. Next Steps. Activities are different. Is it okay?

Next steps depend vaccinations status and nutrition assessment. You had green nutrition assessment, therefore some steps were skipped.

  1. Well Child. Next Steps. Subsequent encounter. Why is the patient referred to the medical center? Symptoms are normal. Patient: Kuzwa Anne

Patient is sent to HC, in case we determine that it's behind on vaccinations.

  1. Both env. Well Child. The "Save" button in the "Next visit" action doesn't respond for a long time. In the report, the "End encounter" button is disabled (for the first time). After reloading the page, the button was enabled. And this button and the "continue" button don't respond for a long time.

It takes few seconds, as we navigate to progress report page, where heavy charts needs to be drawn. As for disabled "End encounter" button, I tried to reproduce, but it worked for me so far. Do you manage to reproduce it?

  1. HIV: Next steps. First and subsequent encounters. Can't check in CHW env, there is no this encounter.

I see. Any concerns you had, that require this comparement?

  1. HIV. There is no Progress Report. Is it okay?

No progress report for HIV was developed.

anvmn commented 3 weeks ago

@LudmilaGoichman

Comment https://github.com/TIP-Global-Health/eheza-app/issues/1266#issuecomment-2295163733

I checked SPV encounter:

  1. the 2 and 5 points also happened

Answered at https://github.com/TIP-Global-Health/eheza-app/issues/1266#issuecomment-2308758977.

  1. When in the Danger signs activity, there are symptoms, they do not appear in the report. And when the cancel pop-up about Acute Illness, in the Next steps only the next visit activity. Is it okay?

If CHW activity behaves in same manner, it's ok.

I didn't find the Ongoing Treatment Review (at subsequent encounters). There is Treatment Review activity (as in the first encounter). is it okay?

No Treatment review at SPV.

anvmn commented 3 weeks ago

@LudmilaGoichman

NCD:

Questions (in both env)

For all points - if the behaviour is similar in both envs, and UI and functionality are not broken, it's ok. I read through all 12 points, and did not see any such problems. If I missed something, please let me know.

anvmn commented 3 weeks ago

@LudmilaGoichman

Nutrition individual:

Questions (in both env):

  1. The Progress Report exists. Should this report is displayed when closing this encounter?

Behaviour should be similar to CHW evn.

  1. First and subsequent encounters. Z-score doesn't appear for the previous measurement. Is it okay?

Z-score is displayed for current value only.

  1. Nutrition env. patient Akuzwe Marie. The First encounters. One Z-score doesn't appear for the current measurement.

Weight for height z-score is available for age of 0 to 5 years. Patients that do not shoe the score are 6 and 7 years old.

anvmn commented 3 weeks ago

@LudmilaGoichman

Prenatal:

Questions (in both env):

  1. Prenatal. In the first encounter, there is no Treatment Review activity (only the Medication activity), but it appears in the subsequent encounter. Is it okay?

Yes, it's per requirements.

  1. Prenatal. Why are there no risk factors listed in the report?

Here's the list of risk factors:

[ FactorNumberOfCSections 0
, FactorCSectionInPreviousDelivery
, FactorCSectionReason
, FactorPreviousDeliveryPeriod
, FactorSuccessiveAbortions
, FactorSuccessivePrematureDeliveries
, FactorStillbornPreviousDelivery
, FactorBabyDiedOnDayOfBirthPreviousDelivery
, FactorPartialPlacentaPreviousDelivery
, FactorSevereHemorrhagingPreviousDelivery
, FactorPreeclampsiaPreviousPregnancy
, FactorConvulsionsPreviousDelivery
, FactorConvulsionsAndUnconsciousPreviousDelivery
, FactorIncompleteCervixPreviousPregnancy
, FactorVerticalCSectionScar
, FactorGestationalDiabetesPreviousPregnancy
]

FactorVerticalCSectionScar is set at Obstetrical Exam. All others are from Obstetric History (Step 2).

anvmn commented 3 weeks ago

@LudmilaGoichman

Tuberculosis:

  1. Tuberculosis. There is difference in environments
  2. Tuberculosis. There is difference in environments. In Nutrition there is report, in CHW there is no report

This is correct behaviour. Tuberculosis ability to change medication, and progress report were developed after the deploy to CHW env took place. The behaviour is correct.

anvmn commented 3 weeks ago

@LudmilaGoichman

Added my answers. Please see if it all makes sense.

LudmilaGoichman commented 2 weeks ago

@anvmn Thanks for your answers. It makes sense