Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-721

Retroactively adding a state to a patient program before the current enrollment date should update the PatientProgram enrollment Date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HTML Form Entry 3.10.0
    • Labels:
      None

      Description

      https://github.com/openmrs/openmrs-module-htmlformentry/blob/761a3b1c1d57be0fdd158092f8c7cf2d9ab5b1b7/api-tests/src/test/java/org/openmrs/module/htmlformentry/WorkflowStateTagTest.java#L394-L452

       This also occurs in this unit test: https://github.com/openmrs/openmrs-module-htmlformentry/blob/761a3b1c1d57be0fdd158092f8c7cf2d9ab5b1b7/api-tests/src/test/java/org/openmrs/module/htmlformentry/WorkflowStateTagTest.java#L547-L594

       

      Shows a use case where a patient is enrolled in a program and then retroactively placed in another state in that program workflow. The program enrollment date remains the original date from when the first enrollment occurs, rather than being extended to include the added states startDate.

       

        Gliffy Diagrams

          Attachments

          1. image (3).png
            image (3).png
            38 kB
          2. image (2).png
            image (2).png
            36 kB

            Activity

              People

              Assignee:
              long27km Ken Long
              Reporter:
              long27km Ken Long
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: