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

Encounter.getConditions and Encounter.removeCondition to handle voided conditions

    XMLWordPrintable

Details

    Description

      1. Description

      Encounter.getConditions() being the only such "get all" getter should filter out voided conditions by default. A boolean parameter should be introduced on a new getter to allow including voided conditions if desired.

      Encounter.removeCondition(Condition) should not remove the condition but instead leave it in and void it appropriately. Very much like things are done for the encounter's providers.

      2. References
      3. Dev Notes
      4. Acceptance Criteria

      We need to expand the test code base to properly reflect that those methods behave as expected.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                luis.oliveira luis Oliveira
                mksd Dimitri R
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: