Oh oh. Lots of uncertainties here in the Forum. Make sure you read the Book of OHDSI, it’s all in there, that’s why we have it.
365980008 is indeed a typical SNOMED code (they call it conceptID to confuse us), not an OMOP Concept ID. It exists in the SNOMED and Nebraska Lexicon vocabularies. You need to use the one that is a standard concept, and that is the SNOMED one. It has a nice hierarchy that you can traverse through CONCEPT_ANCESTOR or CONCEPT_RELATIONSHIP (using the “Isa” and “Subsumes” relationship IDs). All good.
However, if you are ETLing you may want to watch the new Smoking hierarchy coming up.