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

Patient record should only be updated when using the Patient tag

    XMLWordPrintable

    Details

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

      Description

      Currently, whenever a form is submitted, the method is Context.getPersonService().savePerson(patient); Therefore, the underlying save handler updates the patient date changed whenever a form is submitted.

      A new submission action property, patientUpdateRequired, should be created; this will be a boolean that can be used to determine if the save should be saved or not. The Patient tag submission handler method should set this flag to true.

      Also, note that one of the unit tests that should have been testing this behavior was incorrect and always passing.

        Attachments

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: