You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've encountered an issue where calculated expressions in a questionnaire are not consistently updating. Specifically, I have two questions related to a pregnancy registration form: one for the Last Menstrual Period (LMP) date and another for the Expected Date of Delivery (EDD). The expected behavior is that when the LMP date is updated, the EDD should also update accordingly. However, after the first two updates to the LMP date, the EDD stops updating, regardless of the subsequent updates.
Component
This looks like an issue with the datacapture module in android-fhir
To Reproduce
Steps to reproduce the behavior:
Open the pregnancy registration form in the application. (I will attach the questionnaire snippet under question)
Fill in the "Last Monthly Period (LMP) date" with a specific date (e.g., today's date).
Verify that the "Expected date of delivery (EDD)" updates correctly based on the calculated expression (LMP + 280 days).
Update the "Last Monthly Period (LMP) date" two more times with different dates.
Observe that the "Expected date of delivery (EDD)" does not update after each LMP update.
Expected behavior
The EDD should dynamically update each time the LMP date is modified.
Screenshots
recording-emulator.mp4
Smartphone (please complete the following information):
Device: Pixel-7 emulator
Android version: 13
Additional context
This is the Questionnaire snippet under question
Describe the bug
I've encountered an issue where calculated expressions in a questionnaire are not consistently updating. Specifically, I have two questions related to a pregnancy registration form: one for the Last Menstrual Period (LMP) date and another for the Expected Date of Delivery (EDD). The expected behavior is that when the LMP date is updated, the EDD should also update accordingly. However, after the first two updates to the LMP date, the EDD stops updating, regardless of the subsequent updates.
Component
This looks like an issue with the
datacapture
module in android-fhirTo Reproduce
Steps to reproduce the behavior:
Expected behavior
The EDD should dynamically update each time the LMP date is modified.
Screenshots
recording-emulator.mp4
Smartphone (please complete the following information):
Additional context
This is the Questionnaire snippet under question
Would you like to work on the issue?
Yes, I would like to work on this issue, I will appreciate any guidance on this as well.
The text was updated successfully, but these errors were encountered: