Move tags into the database.

refs openhealthcare/opal#198