Enable "Add ANC Visit" Button Based on Delivery Status and Manage "ANC Periods"Field

XMLWordPrintable

    • Type: Story
    • Resolution: Done
    • Priority: Low
    • 2.0
    • Affects Version/s: None
    • None
    • FLW Sprint 10, FLW Sprint 12

      Implement functionality for adding ANC visits up to the 8th ANC under "ANC Period", with the "Add ANC Visit" button enabled only till the "Has Women Delivered" status is marked as "No." If the "Has Women Delivered" is "Yes," the system should move to the Delivery Outcome section. Each ANC visit must have a 28-day gap, and the ANC visits should be added only up to the 8th ANC, provided the delivery status is still "No." The "ANC Period" should display only upcoming ANC visits.

      The "ANC Date" field should be null and not have a default date.

      Acceptance Criteria:

             1.ANC Button Visibility:

        • Enable the "Add ANC" button on the ANC card regardless of the EDD (Estimated Due Date), and ensure it remains enabled even if the EDD is passed.
        • The button should not be disabled until the 8th ANC visit has been added{}
          2.Edit Option for 4th ANC Period:
          • Provide an edit option for the 4th ANC period under the condition that the woman has delivered.
          • If the woman has not delivered, the edit option should be available for ANC Date and Has Woman Delivered fields only.

      3.ANC Date Field:

        • The ANC date field should be kept null initially and should not have a default date pre-filled.

      4.Add ANC Visits Up to 8th ANC:

        • ANC visits should be allowed starting from the 4th ANC visit, provided the "Has Women Delivered" status is still "No."
        • Each ANC visit should have a 28-day gap from the previous ANC visit.
        • The system should automatically calculate the 28-day gap between ANC visits and prevent adding any visit without this required gap.

      5.Upcoming ANC Only in ANC Period:

        • The "ANC Period" section should display only upcoming ANC visits.
        • Past ANC visits should not be shown in the "ANC Period" Dropdown.
        • Only the ANC visits that are scheduled in the future (up to the 8th ANC) should be visible.

        1. FLW-103.docx
          178 kB
          Manisha Dilip Shinde [X]

              Assignee:
              Shreshtha Bhandari [X] (Inactive)
              Reporter:
              Shreshtha Bhandari [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: