Definition
This Sensitive SNOMED Code model provides the SNOMED CT codes that are considered sensitive. This includes data related to areas such as gender, assisted fertilisation, sexually transmitted diseases, and other information deemed confidential.
Information
Section titled “Information”This model is created by identifying the codes defined as sensitive from within a refset or the SCR dataset. The model includes concept IDs and code IDs, which will assist with joining to other models.
Schema updates for data maintenance
Section titled “Schema updates for data maintenance”- The
is_deletedcolumn has been added to indicate whether a clinical code has been marked as deleted
Benefit
Section titled “Benefit”- The
is_deletedcolumn enables more effective data maintenance by allowing customers to identify and manage deleted clinical codes
Examples
Section titled “Examples”Selecting a concept ID
Section titled “Selecting a concept ID”SELECT *FROM hive.explorer_open_safely.sensitive_snomed_codeWHERE concept_id = 2007581000006106 -- example codeFinding concept IDs with more than one code ID
Section titled “Finding concept IDs with more than one code ID”SELECT concept_idFROM hive.explorer_open_safely.sensitive_snomed_codeGROUP BY concept_idHAVING count(code_id) > 1Finding the terms of the example code
Section titled “Finding the terms of the example code”SELECT ssc.concept_id, cc.fully_specified_name, ssc.code_id, cc.termFROM hive.explorer_open_safely.sensitive_snomed_code AS sscINNER JOIN hive.explorer_open_safely.codeable_concept AS ccON ssc.code_id = cc.code_idWHERE ssc.concept_id = 2007581000006106 -- example code
