initial commit

This commit is contained in:
Andrew Charlwood
2026-05-12 16:40:03 +01:00
commit 647d1bfa7f
38 changed files with 2715 additions and 0 deletions
@@ -0,0 +1,20 @@
/*
Clinical coding cluster lookup
==============================
Purpose:
List SNOMED codes attached to maintained clinical coding clusters.
Use maintained clusters where possible instead of free-text matching on
SNOMED descriptions.
*/
SET CLUSTER_ID = 'DEPR_COD';
SELECT DISTINCT
ccs."Cluster_ID",
ccs."SNOMEDCode",
ccs."SNOMEDDescription"
FROM DATA_HUB.PHM."ClinicalCodingClusterSnomedCodes" ccs
WHERE ccs."Cluster_ID" = $CLUSTER_ID
ORDER BY ccs."SNOMEDDescription", ccs."SNOMEDCode";