how to display forms in dashboard based on encoutner diagnosis

Tags: #<Tag:0x00007fa3ed999308>

If the patient diagnosis adhd, then i want to display adhd html form in dash board current view.!

@gokulakannan you might want to explore using encounter types for patients registered in a particular program specific to your implemetation and make use of the EncounterType to call up something

like this patient.person.gender==‘F’ && hasMemberWithProperty (encounterTypes, ‘uuid’, ‘c6f26a9a-5a8c-493a-a5a7-57bd2c81628d’)

I have used it in my implementation and it works perfectly.

I hope this helps!

1 Like