TIP-Global-Health / eheza-app

Apache License 2.0
3 stars 1 forks source link

ANC Logic - ANC Progress Report Update [12h] #154

Closed jeanette-pelizzon closed 2 years ago

jeanette-pelizzon commented 2 years ago

Issue

The issues that the app diagnosis need to populate on the progress report in the appropriate section. The different diagnoses, the wording that should appear on the progress report, and the section that it should appear on can be found on Logic Master on the ANC Progress Report tab. The wording follows a template of Diagnosis + Complications (if any) + Action Taken + Date.

E-Heza will have to populate the medication prescribed, the complications (for Hep B and Syhilis), and the date the action was taken.

Here is an example of the progress report with sample diagnoses filled in:

__Anetnatal Progress Report

To Do:

jeanette-pelizzon commented 2 years ago

@leowea only Syphilis diagnosis go in Medical History. Can we move this to the Medical Diagnosis section to consolidate the report?

leowea commented 2 years ago

Sure!

Wendy Leonard, MD, AAHIVS

Executive Director

TIP Global Health (formerly The Ihangane Project)

@.*** | +1 831 234 6053 www.tipglobalhealth.or http://www.tipglobalhealth.org/g

*Hope lies in dreams, in imagination, & in the courage of those who dare to make dreams into reality. *- Jonas Salk

On Mon, Feb 14, 2022 at 9:42 AM jeanette-pelizzon @.***> wrote:

@leowea https://github.com/leowea only Syphilis diagnosis go in Medical History. Can we move this to the Medical Diagnosis section to consolidate the report?

— Reply to this email directly, view it on GitHub https://github.com/TIP-Global-Health/eheza-app/issues/154#issuecomment-1039369745, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMAHYVQP2FYUX4TURLXIPTU3E5INANCNFSM5N3TZ56Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

jeanette-pelizzon commented 2 years ago

Dating - should go newest to oldest

anvmn commented 2 years ago

@jeanette-pelizzon

After reviewing the requirements, here's a summary:

We have ~ 30 different diagnoses. Some are straightforward - have single option for treatement. Others are more complex - different sympoms trigger different treatment. When it comes to progeress report, we need to present both the symptoms and the treatment (Anemia with severe complications, Syphilis), so it's more time consuming. If we stick to implementing the requirements exactly as stated at Logic Master, I'd say it's 8 - 10 hours task.

However, there are questions that may make things more complex, and time consuming:

  1. [diagnosis] referred to hospital on XX/XX/XXXX:

When we send to hospital, nurse may select 'No' answer, and then a reason why referral was not done:

Selection_599

There're no requirements for this case. Does it mean that we do not present anything? Alternatively, what should be presented?

  1. Hypertension treated with Methyldopa on XX /XX/XXXX, Syphilis with X complication treated with X medication on XX/XX/XXXX

Though there's no option to say that treatment was not prescribed, nurse can leave Diagnosis + Medicine activity incompleted. What do we do in this case?

  1. [diagnosis] treat with medicine(s) on XX /XX/XXXX: When we prescribe medication, nurse can select 'No' answer, and then select a reason why medication was not prescribed:

Selection_600

What do we do in this case?

  1. Malaria treated with Coartem on XX/XX/XXXX OR Malaria treated with Quinine Sulphate on XX/XX/XX:

There're other 2 possibilities for treatment:

Selection_601

I suppose that if reffered to hopital, we do same as other diagnoses that refer to hospital, but what do we do for the 'written protocols' option?

jeanette-pelizzon commented 2 years ago

1) We should still present something as the patient has been diagnosed with something and they will need to see that in future visits. I suggest this format:

2) I feel like in those cases maybe we should make a check box or something that says the medicine was not given. Either way the progress report should then read:

3) In this case I suggest:

4) Agree on the hospital situation. I would say for the GI one:

@anvmn

anvmn commented 2 years ago

@jeanette-pelizzon

I feel like in those cases maybe we should make a check box or something that says the medicine was not given.

Well, this does not solve it, because nurse can leave Diagnosis + Medicine activity incomplete anyway. I suggest something more general, like 'No treatement recorded' message.

anvmn commented 2 years ago

@jeanette-pelizzon given these additional requirements, please set time estimation to 12h.

jeanette-pelizzon commented 2 years ago

@jeanette-pelizzon

I feel like in those cases maybe we should make a check box or something that says the medicine was not given.

Well, this does not solve it, because nurse can leave Diagnosis + Medicine activity incomplete anyway. I suggest something more general, like 'No treatement recorded' message.

It should follow the other medications format though. So adding in a question about "did the you prescribe the medication to the patient?" yes/no -- no with the options?

Next Steps Template

anvmn commented 2 years ago

@jeanette-pelizzon This is not going to work. It's not standard medication. Malaria for example have 2 options which are not medication at all.

This is complex enough by itself, so If not treatement option is needed, we can add it as another checkbox. This is not simple development, but possible.

Adding a reason will break the design completly, and will require several days to redesign and redevelop.

jeanette-pelizzon commented 2 years ago

Ah okay, I didn't realize the complexity. I will defer to you on what you think is best here then.

adamhstewart commented 2 years ago

@anvmn @jeanette-pelizzon I'm not certain of the status here.

anvmn commented 2 years ago

@adamhstewart deployed to Nutritition env

balagan73 commented 2 years ago

https://nutrition-ihangane.pantheonsite.io/

QA Review

Found issues and questions:

  1. When setting Abnormal Vaginal discharge with Yes to vaginal itching and urethral discharge (candidiasis+gonorrhea), medical distribution cannot be completed. Selecting yes for either Ceftriaxone or Azithromycin and clicking save on Medical distribution doesn't add the checkmark icon, and doesn't move this item to the Completed tab. Clkicking Save on the already completed Health education doesn't move focus to the next icon (Medical distribution).

2-save-not-working 4-next-steps

  1. CHW Activity section is missing from Progress report. Is there a way to display it?

Checked and approved:

  1. Syphilis treatment is moved under Medical diagnosis. 8-syphilis

  2. Risk factors. 5-risk-factors

  3. Medical, Obbstretrical diagnosis, Patient progress. 6-medical-obstretrical-patient-progress

  4. Lab results: 4-lab-results

  5. Photos display. 7-photos

anvmn commented 2 years ago

@balagan73

CHW Activity section is missing from Progress report. Is there a way to display it?

There's a dedicated issue for this, and it's still being developend (by @Diama1). See https://github.com/TIP-Global-Health/eheza-app/pull/119.

anvmn commented 2 years ago

@balagan73

Please retest point 1

balagan73 commented 2 years ago

https://nutrition-ihangane.pantheonsite.io/

QA Review

Found issues and questions:

  1. I have reproduced the same situation: Candidiasis + Gonorrhea. Now after filling both forms and then clicking save in either subactivity under Next steps opens the Progress report (all other activities are finished), but cannot end encounter. Medical distribution still has no checkmark.

Medication: 15-medication Progress report: 16-cannot-end-encounter

jeanette-pelizzon commented 2 years ago

Interesting. Passing back to @anvmn to take a look at.

anvmn commented 2 years ago

@balagan73

I have reproduced the same situation: Candidiasis + Gonorrhea. Now after filling both forms and then clicking save in either subactivity under Next steps opens the Progress report (all other activities are finished), but cannot end encounter.

By definition, if all sub activites at Next steps are completed, we present progress report. This however does not mean that encounter can be ended. For that, we have 2 usecases:

  1. Emergency referral diagnosis was identified - all that is needed is to complete Next steps.
  2. Emergency referral diagnosis was NOT identified - all activies need to be completed, besides Photos.

Medical distribution still has no checkmark.

Fixed at 5d9c8e9

anvmn commented 2 years ago

@balagan73 please test the fix on nutrition env

balagan73 commented 2 years ago

https://nutrition-ihangane.pantheonsite.io/

QA Review

Found issues and questions:

As far as I remember, Fundal height was validated before. Now I can enter any value. The patient where this is happening, had several encounters. image

Checked and approved:

  1. Encounter can be ended when Candidiasis + Gonorrhea is diagnosed. 1-can-end-now
anvmn commented 2 years ago

@balagan73

As far as I remember, Fundal height was validated before. Now I can enter any value. The patient where this is happening, had several encounters.

There never was validation there. Almost all inputs do not get validated. Rare exception is few fields on Create / Edit patient form.

//cc @jeanette-pelizzon

balagan73 commented 2 years ago

@anvmn @jeanette-pelizzon This is what I meant by validation. I remember many times I had to try and guess the acceptable fundal height for a given EGA. I also recall there was some validation working for Fetal heart rate, when @adamhstewart first showed me how this app works, he forgot that a fetus's heart rate should be around double, and he had to changed that data. image

anvmn commented 2 years ago

@balagan73 Fundal height depends on EGA. If EGA is set properly, APP calculates the ranges, and views the alert. I tested this on nutrition env and it works well:

Peek 2022-07-21 09-15

If you can reproduce, please mention patient name so I can take a look at it (and of course, make no other changes to that patient).

jeanette-pelizzon commented 2 years ago

Moved to acceptance but @balagan73 please see Anatoly's comment above. If there is still an issue please assign to the correct person and update project board.