Display allergies in red text

What would be the easiest way to display the contents of the Allergies section in red text?

Hi I’m not sure that you came across bahmni or openmrs since bahmni doesn’t have allergy module.

the way I did to modify allergy in bahmni is to change “class” in person attribute(in adminUI) to allergy to java.string type (not concept type) after this, what ever you type in this field will always show up in dashboard all the time.

then if you want to change color of this, you can modify html at /opt/bahmni-web/etc/bahmniapps/clinical/displaycontrols/patientContext/views/patientContext.html

1 Like

Thanks, the path you provided help me locate the html I needed to change.

1 Like