 
 --TODO: Add concept_class_id to the concept and concept_class tables (functions)
 --TODO: Add vocabulary_id to the concept and vocabulary tables (functions)
---TODO: CHeck how good the answers and hierarchy are
-
---TODO: Check for the answers if there are some that should be made non-standard and be excluded from 'Has answer' relationship
 
 --0 Temp code (to be removed)
 /*

WHERE encoding_id NOT IN (19 /*ICD10*/, 87 /*ICD9 or ICD9CM?*/, 240 /*OPCS4*/)
;

--7: Turn some answers to Non-Standard ones
--TODO: Deduplication of answers

--8: Building hierarchy for questions
--Hierarchy between Classification concepts

    OR es.value IS NOT NULL
    OR (ehi.code_id IS NOT NULL AND ehi.selectable != 0)
    OR (ehs.code_id IS NOT NULL AND ehs.selectable != 0))
;