Skip to content

Commit

Permalink
Bugfix: the CQL extension should prevent the sorting of null objects
Browse files Browse the repository at this point in the history
  • Loading branch information
MLambarki committed Feb 22, 2024
1 parent 69217ab commit d4bcd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/cql/DKTK_STRAT_AGE_STRATIFIER
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
define PrimaryDiagnosis:
First(
from [Condition] C
where C.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-related').empty()
where C.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-related').empty() and C.onset is not null
sort by date from onset asc)

define AgeClass:
Expand Down

0 comments on commit d4bcd13

Please sign in to comment.