Plants that contain berberine include European barberry, goldenseal, goldthread, Oregon grape
—
When I lived in the woods many decades ago in the Pacific Northwest, in the early spring Oregon grape would put out its new tender leaves and I would eat a few as a blood thinner. [ After the spring, the leaves harden to the consistency of shoe leather. ]
Many parts are edible.