Visit Control

Purpose

It displays the visit information of a patient along with start date, end date and the type of the visit. The active/current visit is marked with an asterisk (*).

Note

  • Clicking on a particular visit will navigate to Visit Dashboard displaying the information for that visit.
  • On clicking the title "Visits" in the below sample screenshot, a pop up showing all the visits of a patient will appear.
  • An example use case is viewing the latest 8 visits of a patient.


Screenshot

Visit Control

Configuration

Sample Config

Add to clinical/dashboard.json for it to appear on the patient dashboard
"visits": {
            "translationKey": "DASHBOARD_TITLE_VISITS_KEY",
            "type": "visits",
            "displayOrder": 17,
            "dashboardConfig": {
                 "maximumNoOfVisits": 8
                }
         }

Key Field Table

KeyInfoMandatory

type

Indicates the type of the display control.

type should be "visits".

Y

maximumNoOfVisits

Specifies the maximum number of visits for which to display data

  • If it is empty, then by default all the visits for the patient are displayed.
N

dashboardConfig

Indicates that all the configurations mentioned under this are for the patient dashboard

Y

displayOrder

The order in which the display control will be displayed

N

translationKey

Internationalizes the display control

Y

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)