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

You shouldn't be allowed to add an encounter to a visit if the encounter's datetime is not within the date range of the visit

    Details

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

      Description

      Probably this should be checked in VisitValidator, and also in EncounterValidator. And make sure that DWREncounterService.addEncounterToVisit uses EncounterValidator.

      You shouldn't be able to add an encounter to a visit where it wouldn't fit.

      You also shouldn't be able to edit a visit, making its encounters not fit.

        Attachments

          Activity

            People

            • Assignee:
              dkayiwa Daniel Kayiwa
              Reporter:
              darius Darius Jazayeri
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: