Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1913

Core Apps Program Status widget doesn't handle existing patient programs with retired states

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for Work
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      When displaying the program state information for a particular patient, we get a NPE/stack trace when trying to render a patient program that contains a state that has since been retired.

      When we fetch the program, we only fetch the non-retired workflows and states, so we get a NPE when we attempt to match a retired state to the "known" states and workflows.

      We should fix this, so that the widget can properly display retired states... though we will need to figure out exactly how we want this to work.

      In the meantime, we should make sure that a retired state doesn't cause a stack trace... for now, we can just ignore any states that can't be mapped to known, non-retired states.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated: