TIP-Global-Health / eheza-app

Apache License 2.0
3 stars 1 forks source link

Add previous pregnancy record to Obsetric History on the Progress Report [2h] #1326

Open adamhstewart opened 1 month ago

adamhstewart commented 1 month ago

Issue

Page 1 of Obstetrical History asks about term pregnancies, preterm deliveries, preterm and term stillbirths, and abortions. For any response >0, the progress report should state under Obstetric History (renamed from "Risk Factors:

Cursor_and_E-Heza_System

Tasks

anvmn commented 4 weeks ago

@LudmilaGoichman please test on Nutrition env

LudmilaGoichman commented 3 weeks ago

@anvmn

Questions/Found Issues:

  1. Should these answers be included in the report?
image image
  1. When the first page changes to 0 and the second page is RED, the answers from the second page will appear in the report.
image image image

Checked and Approved:

  1. The following options appear in the report:

Number of abortions (<20 weeks) Number of preterm stillbirths Number of term stillbirths Number of preterm deliveries

image image
  1. When Gravida 01 and Para 0000, the report is empty
image image
anvmn commented 3 weeks ago

@LudmilaGoichman

Should these answers be included in the report?

yes, we're adding new entries - all that was there, remains.

When the first page changes to 0 and the second page is RED, the answers from the second page will appear in the report.

It's an edge case. But I suppose that if answers were given, we should present them at the report.

LudmilaGoichman commented 3 weeks ago

@anvmn

When the first page changes to 0 and the second page is RED, the answers from the second page will appear in the report.

It's an edge case. But I suppose that if answers were given, we should present them at the report.

But when Gravida = 1 Para = 0000, the second page doesn't appear in Obstetric History.

adamhstewart commented 3 weeks ago

It's an edge case. But I suppose that if answers were given, we should present them at the report.

@anvmn is this result possible because the answers on the second page were filled out prior to the questions on the first page resulting in Para of 0000? If so, we can move this over to acceptance.

anvmn commented 3 weeks ago

@adamhstewart

It's an edge case. But I suppose that if answers were given, we should present them at the report.

@anvmn is this result possible because the answers on the second page were filled out prior to the questions on the first page resulting in Para of 0000? If so, we can move this over to acceptance.

Correct. What can happen is that Para is not 0000, and then second step is presented. Second step is save and then you go back and change Para to 0000. Edge case, but I think that it would be correct to should show the entries.

adamhstewart commented 3 weeks ago

@anvmn agreed ^^