Visit reason displaying 'Useless loop' instead of intended text
Hi all,
We have just upgraded our OpenVPMS to the latest 1.9.3 (from 1.8) and we noticed a strange behaviour with one Visit Reason display. We added a new visit reason called 'Follow up' in the past and it had been in use for the past few years but since the upgrade, any 'Follow up' reason is now displaying as 'Useless loop'.
I checked by logging in as administrator and looked under Adminstration>Lookups>Visit Reason and found our entry of 'Follow up' is still present but despite I tried to edit it to any other words, it was still being displayed as 'Useless loop' under all the patient entries.
So far it appeared there is the only one Visit Reason that is misbehaving. Other reasons that we have added in the past are still seemed to be displaying properly!
Please help!
Re: Visit reason displaying 'Useless loop' instead of ...
Its not clear where you are seeing this. Can you post a screenshot, with personal details removed?
It sounds as though you have a default Visit Reason with a Name set to Useless Loop.
To find it, go to Administration -> Lookups, set Type to Visit Reason, and Search to Useless Loop and click Find.
If this doesn't turn anything up, then you may be seeing the suburb 'Useless Loop' (postcode 6537), although its not clear why this would be the case, unless you have customised archetypes.
Re: Visit reason displaying 'Useless loop' instead of ...
Hi Tim,
Thanks for your reply!
I've checked and we don't have a 'Useless loop' within Visit Reason at all (our default Visit Reason is 'Checkup').
I can see 'Useless loop' under Suburb (postcode 6537) indeed but I don't understand why this is coming up as a Visit Reason. I don't think I've changed archetypes since our initial installation by our implementer. It was working fine before the upgrade to 1.9.3
I've included screenshot to show our Visit Reason 'Follow up' being active. I deactivated the Suburb 'Useless loop', then I tried editing the Visit Reason again to 'Follow up' which would come up on the screen but as soon as I pressed 'OK', the Visit Reason display reverted back to 'Useless loop'.
Would you be able to suggest a fix to this?
Kind regards,
Anthony
Kind regards,
Anthony (ActiVet)
Re: Visit reason displaying 'Useless loop' instead of ...
1. Make sure there is only one Visit Reason (active or inactive), that is marked Default
2. Make sure you can only select Visit Reason and Visit Reason (VeNom) lookups in the Reason field when editing a patient Visit. If you can select other types, then it means the Visit archetype has been changed, and not correctly.
Re: Visit reason displaying 'Useless loop' instead of ...
1. I've checked and there is only one Visit Reason marked as Default (both active and inactive shown)
2. Currently our Visit Reason (VeNom) list is empty. I also checked that we can only select Visit Reason items in the appointment Reason field and no other things (like Suburb etc)
Kind regards,
Anthony (ActiVet)
Re: Visit reason displaying 'Useless loop' instead of ...
Can you:
1. go to Administration -> Archetypes
2. enter act.patientClinicalEvent in the Search field
3. click Find
4. Export the archetype
5. Add the resulting act.patientClinicalEvent.adl as a file attachment
Re: Visit reason displaying 'Useless loop' instead of ...
Hi Tim,
Please find requested file as attached. Thank you!
Kind regards,
Anthony (ActiVet)
Re: Visit reason displaying 'Useless loop' instead of ...
That archetype looks OK.
You may need to get your implementer to look over installation, to ensure it was upgraded correctly.
Re: Visit reason displaying 'Useless loop' instead of ...
- There was definitely no 'Useless loop' under Visit Reasons search - both active or inactive
- Yes. Tomcat was stopped during the web application installation and editing of default.stylesheet, then restarted after the upgrade
It was very odd indeed. I ran the archload during the upgrade and everything went fine with no error message etc
Just tried to reboot Windows again, and guess what, it is all working again!!
Sorry about the trouble Tim!
Kind regards,
Anthony (ActiVet)