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

DeleteEncounterController should only void items from encounter matching the form schema. If all obs voided, then its OK to void the encounter.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HTML Form Entry 1.8.0
    • Labels:
      None
    • Complexity:
      Medium

      Description

      right now DeleteEncounterController automatically voids the whole encounter. What should happen is that this method should void all obs associated with the form schema first, and then if all obs have been removed, then void the encounter.

      It might be correct behavior also, that if you click 'delete', and there are other obs in the encounter, that the form_id of the encounter is set to null, thus removing the association between the encounter and the form.

        Attachments

          Activity

            People

            • Assignee:
              dthomas Dave Thomas [X] (Inactive)
              Reporter:
              dthomas Dave Thomas [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: