I need to show specific forms for a
1- Given location
2- Given Gender (Male/Female)
3- Given Age (for example patient age > 16 )
4- Given patient ID : for example ID starts with a given character or number
5- Given patient name
I tried so many times to play around it but I could not figure out how to do this. The result that I keep getting is the disappearance of the form completely. If anybody can help me with this I will much appreciate it
My understanding is that those are attributes of a person, so you can leverage the scheme for visits, encounters etc. I am not sure if there is a single place to learn them, they are based on what you need.
For that specific use case, you should not actually be using âshow ifâ. Rather you should create a Privilege like âApplication: Enters Xyz Formâ and then assign this privilege to the appropriate roles.
The Manage Form UI lets you specify a required privilege (and this is applied before even doing the Show If test).
Hi @ssmusoke, @darius I am trying to configure an ANC Form to be displayed on the Patient Dashboard - Current Visit Actions only if the selected visit type is ANC.
So far I have tried setting the Show If configuration as follows but no luck in all these cases. Could you please help shed some light here?
Okay that sheds some light, I think we can create some child login locations for the different visit areas for example Maternity Ward and then display only Maternity and delivery forms for people logging in to the location. Would that work, you think?