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

Add the VisitType to the VisitContextModel class

    XMLWordPrintable

Details

    • Improvement
    • Status: Approved
    • Should
    • Resolution: Fixed
    • None
    • None
    • None
    • Low

    Description

      The VisitContextModel is a very simple view of a visit, suitable for use in an app contextModel.
      For now, it doesn't include the Visit Type of the specific visit.

      Add the VisitType to the model in a way that is consistent to the JSON REST representation of objects, so it can be used in pages.
      See https://talk.openmrs.org/t/how-to-conditionally-display-forms/4197/4

      Resources:
      https://github.com/openmrs/openmrs-module-coreapps/blob/master/api/src/main/java/org/openmrs/module/coreapps/contextmodel/VisitContextModel.java

      Gliffy Diagrams

        Attachments

          Activity

            People

              dkayiwa Daniel Kayiwa
              mksrom Romain Buisson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: