...
nci_merge: Merged SCUI current version NCI atoms
Code Block select a.id clusterId, distinct a.id conceptId from concepts a, concepts_atoms b, atoms c where a.terminology = :terminology and a.id = b.concepts_id and b.atoms_id = c.id and c.terminology='NCI' group by a.id having count(distinct c.conceptId)>1
nci_sub_split: Split SCUI current version NCI (or sub-source) atoms
Code Block TBD: select a.id clusterId, distinct a.id conceptId from concepts a, concepts_atoms b, atoms c where a.terminology = :terminology and a.id = b.concepts_id and b.atoms_id = c.id and c.terminology in (select terminology from root_terminologies where family = 'NCI' and terminology != 'NCI') group by a.id having count(distinct c.conceptId)>1
sct_sepfnpt: SNOMED concept clusters where the FN and PT terms are separated
Code Block -- WhatATOM putTerminology as clusterId/conceptId= SNOMEDCT_US? SELECTBecause DISTINCTonly project-terminology concepts are visible c.id conceptId, a.id, a.termType, a.conceptId, c1through UI... SELECT DISTINCT c.id conceptId1, a1c1.id, a1.termType, a1.conceptId conceptId2 FROM concepts c, concepts_atoms ca, atoms a, concepts c1, concepts_atoms ca1, atoms a1 WHERE c.terminology = :terminology AND c1.terminology = :terminology AND a.terminology = 'SNOMEDCT_US' AND c1a1.terminology = 'SNOMEDCT_US' AND c.id = ca.concepts_id AND ca.atoms_id = a.id AND c1.id = ca1.concepts_id AND ca1.atoms_id = a1.id AND a.termType = 'FN' AND a1.termType = 'PT' AND a.conceptId = a1.conceptId AND c.id != c1.id;
cdsty_coc: Find concepts with Clinical Drug STY and any other STY
Code Block SELECT DISTINCT c.id conceptId FROM concepts c, concepts_semantic_type_components cs WHERE c.terminology = :terminology AND c.id = cs.concepts_id AND cs.concepts_id IN (SELECT cs.concepts_id FROM concepts c, concepts_semantic_type_components cs, semantic_type_components s WHERE c.terminology = :terminology AND c.id = cs.concepts_id AND cs.semanticTypes_id = s.id AND s.semanticType = 'Clinical Drug') GROUP BY cs.concepts_id HAVING COUNT(cs.concepts_id) > 1
multsty:concepts with more than 3 STYs|
Code Block SELECT DISTINCT cs.concepts_id conceptId FROM concepts c, concepts_semantic_type_components cs, semantic_type_components s WHERE c.terminology = :terminology AND c.id = cs.concepts_id AND cs.semanticTypes_id = s.id GROUP BY c.id HAVING COUNT(c.id) > 3
styisa:One STY is an ancestor of another in the STY isa hierarchy
Code Block SemanticType relationships?
sfo_lfo: Short form in one concept, long form in another
Code Block ShortForm/LongForm of what object?
deleted_cui: CUIs that are going away - will need bequeathal rel
Code Block unpublishable NCIMTH concepts?
...