How to set tag quality (sub?) codes like Bad_WaitingForInitialData?

Could be, still trying to figure out how to set these status codes to tags. It looks like this is used that way in our current implementation.

Some similar post here.