fix: fixes to allergy card in patient summary (#6863)