Error Accessing Visit Summary via Visit History

Hi Everyone,

I am receiving an error ‘Required: visitId’ when accessing a visit through a visit history widget that has the following configuration: "combineEncounterTypes" : "false"

Click on the link for the full error: https://pastebin.com/XvmSxe3k

I configured the widget to not combine the encounter types if the visit date is the same: image

as opposed to this:

image

Here’s my config file: https://pastebin.com/pHvbkRgJ

Thank you,

John

Your paste links look empty.

Hi @dkayiwa sorry, it seems hastebin didn’t allow me to save. I updated the link and posted on pastebin.

Thank you,

John

Are you able to reproduce this here? demo.openmrs.org

@dkayiwa I added the visit history widget that does not combine the encounters and called it ‘Recent Visits - Modified’. Please see in https://demo.openmrs.org/openmrs/coreapps/clinicianfacing/patient.page?patientId=524

It’s working in the demo but not in my instance for some reason. I have the following versions:

  • 2018-03-30 20:40 Version: 2.1.3 Build 33f4e7
  • Ref App 2.9.0-SNAPSHOT

Thank you,

John

Does it work if you locally use the latest release of the reference application?

I just upgraded to the latest release of the refapp but unfortunately I still get the same error message: Please see the error in the link: https://hastebin.com/lezojedema.rb

Thank you,

John

What is the exact version of the reference application that you are referring to?

I’m using the RefApp v2.9.0. Here are all the modules I have in the system:

Name Version Author
Atlas Module 2.2 Victor Chircu
ID Generation 4.5.0 Partners In Health
EMR API Module 1.27.0 OpenMRS
Allergy UI Module 1.8.1 OpenMRS Developers
HTML Form Entry UI Framework Integration Module 1.7.0 OpenMRS
App Framework Module 2.12.0 djazayeri
Reporting REST 1.10.0 Partners In Health
Reference Metadata Module 2.8.0 OpenMRS
App UI Module 1.9.0 OpenMRS
Metadata Deploy 1.11.0 I-TECH
Reporting Compatibility 2.0.5 Michael Seaton
HTML Widgets 1.9.0 Partners In Health
Address Hierarchy [Not Started] 2.11.0 Sri Prasanna, John DeRiggi, Mark Goodrich
Registration Core Module 1.8.0 OpenMRS Developers
Attachments 2.1.0-SNAPSHOT Mekom Solutions
Form Filter Module 1.3.0 goutham
Core Apps Module 1.22.0 OpenMRS Developers
OpenHMIS Backbone Forms Module 3.0.0 OpenHMIS
Jasper Reports Module 2.0.0 Simon Kelly
Chart Search Module 2.1.0 k-joseph
Appointment Scheduling UI Module 1.7.0 openmrs
Location Based Access Control 0.1.1 OpenMRS
Open Web Apps Module 1.9.0 Saptarshi, Namrata, Sandeep
HTML Form Entry 3.8.0 Darius Jazayeri
FHIR Module 1.14.0 snkasthu
Appointment Scheduling Module 1.11.0-SNAPSHOT Tobin,Adam,Yonatan
Reporting UI Module 1.6.0 OpenMRS
Reference Demo Data Module 1.4.4 OpenMRS
OpenHMIS Inventory Module 3.0.0 OpenHMIS
Form Entry App Module 1.4.2 OpenMRS
Metadata Sharing 1.5.0 Rafal Korytkowski
Reporting 1.16.0 Partners In Health
Registration App Module 1.13.0 OpenMRS
OpenHMIS Cashier Module 4.0.0 OpenHMIS
Metadata Mapping 1.3.4 Rafal Korytkowski
Admin UI Module 1.2.5-SNAPSHOT Ujjwal Arora
Reference Application Module 2.9.0 OpenMRS Developers
OpenMRS UI Framework 3.15.0 OpenMRS
Docs and Drawing Annotation 1.1.6 Abhijit Parate
Serialization Xstream 0.2.14 luzhuangwei
Event Module 2.6.0 OpenMRS
Provider Management Module 2.10.0 Mark Goodrich
Calculation 1.2 OpenMRS developers
OpenHMIS Commons Module 4.0.0 OpenHMIS
Order Entry UI Module 1 djazayeri
UI Commons Module 2.7.0-SNAPSHOT OpenMRS
Rest Web Services OMOD 2.23.0-SNAPSHOT.e5e4c7 OpenMRS
Legacy UI Module 1.4.0 Tharunya
Data Exchange Module 1.3.2 Rafal Korytkowski
UI Library Module 2.0.6 djazayeri

Thank you,

John

Can you you list the exact steps that i need to reproduce this after downloading the standalone version of the reference application 2.9?

Since I tried the widget in the demo and it’s working, i’m assuming it’s one of the modules that I have installed that’s causing this. But to reproduce, here are the steps I’ve taken:

  1. Load all of the additional modules that’s not part of the standalone package (listed above)
  2. Create the dashboard widget to show non-combined encounters: https://pastebin.com/pHvbkRgJ
  3. Go to the patient dashboard and click one of the encounters from the new widget
  4. This is where the error happens for me.

In the demo site, I followed the steps 2-3 and it works fine.

Thank you,

John

Can you explicitly name the additional modules that one needs to load?