From 1e44afe15a4f625be83df7661c3b8311b2033caf Mon Sep 17 00:00:00 2001
From: "p.delpy@dkfz-heidelberg.de"
Date: Thu, 21 Nov 2024 15:46:34 +0100
Subject: [PATCH] fix: dktk stratifier for molecular marker
---
resources/cql/DKTK_STRAT_GENETIC_VARIANT | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/cql/DKTK_STRAT_GENETIC_VARIANT b/resources/cql/DKTK_STRAT_GENETIC_VARIANT
index 1021262..594fa34 100644
--- a/resources/cql/DKTK_STRAT_GENETIC_VARIANT
+++ b/resources/cql/DKTK_STRAT_GENETIC_VARIANT
@@ -2,4 +2,4 @@ define GeneticVariantCount:
if InInitialPopulation then [Observation: Code '69548-6' from loinc] else {} as List
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())
+observation.component.where(code.coding contains Code '48018-6' from loinc).value.coding.code.first()