Show/Hide Controls of Allergy Symptoms in Patient Observations

Hello,

I have created a new “allergy” concept under the History and Examination tab. I would like to add the symptoms to take it one step further. Where:

If the physician clicks “yes,” this patients does have an allergy, a list of allergy symptoms appear where they can choose multiple symptoms that patient may have. If the physician chooses “no”, this patient doesn’t have allergies, then nothing appears.

Any insight on how to do this would be great! Thanks!

Use a little script.

  1. Using Forms 2 (Form Builder) - https://bahmni.atlassian.net/wiki/spaces/BAH/pages/237437004/Form+Conditions+Form+Events
  2. Using Forms 1 (conceptSetUI) - https://bahmni.atlassian.net/wiki/spaces/BAH/pages/37945565/formConditions.js