← Back to team overview

dhis2-devs team mailing list archive

[Bug 1254118] Re: Validation Rules are applied only to the most recent visits

 

This is the second follow-up visit that has been created. In this case
the visit date specified in the form and on the validation rule value is
the same, which is expected. But this date comes up even for the
previous follow-up visits which, ideally should not happen.

** Attachment added: "Validation-FUVisit-2.png"
   https://bugs.launchpad.net/dhis2/+bug/1254118/+attachment/3915131/+files/Validation-FUVisit-2.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1254118

Title:
  Validation Rules are applied only to the most recent visits

Status in DHIS 2:
  New

Bug description:
  There is a program named 'Pre-ART Follow up visit' in the system. The
  user has created a validation rule that the Visit Date should be
  greater than or equal to 2013-01-01. Then he creates two follow-up
  visits with the first entry having a valid visit date while the second
  one having an invalid entry date. When the validation rule is run on
  the first follow-up visit, it gives an error saying the visit date
  does not pass the validation criteria.

  DHIS version 2.11 live.

  Please refer to the attached snapshots for more information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1254118/+subscriptions


References