Diagnosis control by Number of Visits

diagnosis
patient-dashboard
Tags: #<Tag:0x00007f73f5945a28> #<Tag:0x00007f73f59458e8>
(Dipak Thapa) #1

The Bahmni document shows that number of diagnosis displayed on patient dashboard can be configured through number of visits. But that doesn’t seem to be working. Here’s my config

"diagnosis": {
                "translationKey": "DASHBOARD_TITLE_DIAGNOSIS_KEY",
                "type": "diagnosis",
                "showCertainty": true,
                "showOrder": true,
                "showDetailsButton": true,
                "displayOrder": 2,
                "numberOfVisits": 1,
                "dashboardConfig": {
                    "numberOfVisits": 1,
                    "title": null,
                    "groupByVisits": true
                }
            }

Also, I looked into controller, there seems to be no parameter like numberOfVisits like other controllers. Am I missing something?