Uploaded image for project: 'EMR API'
  1. EMR API
  2. EA-163

Add condition to bypass saveVisit() for the existing visit.

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 1.31.0
    • None
    • Low

    Description

      1. Description

      EmrEncounterServiceImpl.save(EncounterTransaction) saves over and over again unnecessarily visits that are already persisted in the first place.

      2. Dev Notes

      The following call should only happen for new visits that have not been persisted yet: https://github.com/openmrs/openmrs-module-emrapi/blob/5b319dc22b05c67c9a76aa3bb471737c5acf5308/api/src/main/java/org/openmrs/module/emrapi/encounter/EmrEncounterServiceImpl.java#L143

      Gliffy Diagrams

        Attachments

          Activity

            People

              binduak Himabindu Akkinepalli
              binduak Himabindu Akkinepalli
              Dimitri R Dimitri R
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: