Skip to content

Commit

Permalink
Merge pull request #116 from samply/bugfix/fixNullSortException
Browse files Browse the repository at this point in the history
Bugfix: the CQL extension should prevent the sorting of null objects
  • Loading branch information
enola-dkfz authored Feb 22, 2024
2 parents 69217ab + d4bcd13 commit e8d7e17
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 e8d7e17

Please sign in to comment.