Definition
The MKB Mapping — Ethnicity model provides a standardized reference for ethnicity codes, mapping local codes to SNOMED CT concepts. Can be joined to the patient table to identify patient demographics relating to ethnicity.
Constraints and Notes
Section titled “Constraints and Notes”-
Soft deletion: Whenis_deletedis true, data fields may be nullified in upstream transformations and should be excluded from most analytical queries. Primary keys and foreign keys are preserved so deleted linked records can be identified.are preserved so deleted linked records can be identified.
Examples
Section titled “Examples”Active ethnicity codes
Section titled “Active ethnicity codes”SELECT code_id, snomed_concept_id, snomed_description, transform_datetimeFROM explorer_open_safely.mkb_mapping_ethnicityORDER BY snomed_descriptionFind specific ethnicity type
Section titled “Find specific ethnicity type”SELECT code_id, snomed_concept_id, snomed_description, transform_datetimeFROM explorer_open_safely.mkb_mapping_ethnicityWHERE snomed_description LIKE '%Asian%'ORDER BY snomed_descriptionHistorical ethnicity codes
Section titled “Historical ethnicity codes”SELECT code_id, snomed_concept_id, snomed_description, snomed_description_id, transform_datetimeFROM explorer_open_safely.mkb_mapping_ethnicityWHEREORDER BY transform_datetime DESC