Hi All
I was just trying to edit visits.
And I noticed that visits edit visit link is not working.I tried both qa-ref app instance as well as demo-openmrs instance to make sure it was not broken because of current changes.
Any idea ?
Hi All
I was just trying to edit visits.
And I noticed that visits edit visit link is not working.I tried both qa-ref app instance as well as demo-openmrs instance to make sure it was not broken because of current changes.
Any idea ?
It is true ,i have tried https://qa-refapp.openmrs.org/openmrs/htmlformentryui/htmlform/editHtmlFormWithStandardUi.page?patientId=111&encounterId=1260& without much success.
Let me see if trying redeployment of demo server will work and get back.
Hi @ayesh
We have also encountered this issue with the Ref app, did you create a ticket for this or I open one?
We have had some early findings: This issue turns up if there is only one VisitType
: Looks like its a metadata issue! It disappears if there is more than one VisitType
in the system. See:
Iām not sure if this was by design or itās just a bug?
cc: @mogoodrich, @ruhanga, @dkayiwa, @mksd
Looks like by editing a Visit, we only wanna change the VisitType
. Itās the only editable attribute available for a visit? If so, then this was by design!!!
cc: @mogoodrich
In the PIH EMR we only have a single visit type, so Iāve never actually seen this functionality before. It does look like it was by design though as @samuel34 saysā¦ assumedly an implementation that did have multiple visit types needed a way to change visit type and so added this functionality.
To make sense out of this, we need to hide the āEdit Visitā link when an edit visit operation isnāt supported(When there is only one VisitType
on the System)
@samuel34 I think this already happensā¦ in the PIH EMR context we do not see the āEdit Visitā link.
@mogoodrich Iām worried itās not as for the RefApp, I can see the void āEdit Visitā link from the demo server: https://demo.openmrs.org/openmrs/coreapps/patientdashboard/patientDashboard.page?patientId=070f0120-0283-4858-885d-a20d967729cf&visitId=19192911-88d2-49f1-af5e-5ee5be62c77c