Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2298

Add includedVoided argument to EncounterService.getEncountersByVisit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      EncounterService.getEncountersByVisit should take in the 'includeVoided' argument so that in the UI the admin can remove them from a visit and this will also be used in VisitService.purgeVisit() to check if a visit has encounters associated to it before purging it to avoid breaking foreign key constraints to the visit.

        Attachments

          Activity

            People

            Assignee:
            tabdelmaguid Tarek Abdelmaguid [X] (Inactive)
            Reporter:
            wyclif Wyclif Luyima
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: