From 1414d1d3a4b6a5f0a99edf7871637f0ae43f412b Mon Sep 17 00:00:00 2001 From: Enola Knezevic Date: Thu, 14 Nov 2024 09:55:50 +0100 Subject: [PATCH 1/2] DKTK genetic variant CQL snippet --- resources/cql/DKTK_STRAT_GENETIC_VARIANT | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 resources/cql/DKTK_STRAT_GENETIC_VARIANT diff --git a/resources/cql/DKTK_STRAT_GENETIC_VARIANT b/resources/cql/DKTK_STRAT_GENETIC_VARIANT new file mode 100644 index 0000000..308bc3e --- /dev/null +++ b/resources/cql/DKTK_STRAT_GENETIC_VARIANT @@ -0,0 +1,2 @@ +define GeneticVariantCode: +First (from [Observation: Code '69548-6' from loinc] O return O.component.where(code.coding contains Code '48018-6' from loinc).value.coding.code.first()) From d99f4a550f21b42b94a538a1145cb75a05005d64 Mon Sep 17 00:00:00 2001 From: Enola Knezevic Date: Thu, 14 Nov 2024 10:09:27 +0100 Subject: [PATCH 2/2] GeneticVariantCount DKTK stratifier --- resources/cql/DKTK_STRAT_GENETIC_VARIANT | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/cql/DKTK_STRAT_GENETIC_VARIANT b/resources/cql/DKTK_STRAT_GENETIC_VARIANT index 308bc3e..2d6b470 100644 --- a/resources/cql/DKTK_STRAT_GENETIC_VARIANT +++ b/resources/cql/DKTK_STRAT_GENETIC_VARIANT @@ -1,2 +1,4 @@ +define GeneticVariantCount: [Observation: Code '69548-6' from loinc] + define GeneticVariantCode: First (from [Observation: Code '69548-6' from loinc] O return O.component.where(code.coding contains Code '48018-6' from loinc).value.coding.code.first())