You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Qualitative values are currently filtered for with the version, as the generated cql query uses "contains", which compares using equal.
SHOULD:
Qualitative values should be filtered for without the version.
The generated cql query should then use "equivalent" instead of "contains.
Examples
CQL with contains (IS)
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0'
codesystem loinc: 'http://loinc.org/'
codesystem uiccstadiumcs: 'http://dktk.dkfz.de/fhir/onco/core/CodeSystem/UiccstadiumCS'
context Patient
define Criterion:
exists (from [Observation: Code '21908-9'from loinc] O
whereO.value.as(CodeableConcept).coding contains Code 'IIA'from uiccstadiumcs)
define InInitialPopulation:
Criterion
CQL with equivalent (SHOULD)
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0'
codesystem loinc: 'http://loinc.org'
codesystem uiccstadiumcs: 'http://dktk.dkfz.de/fhir/onco/core/CodeSystem/UiccstadiumCS'
context Patient
define Criterion:
exists (from [Observation: Code '21908-9'from loinc] O
where exists (fromO.value.coding C where C ~ Code 'IIA'from uiccstadiumcs))
define InInitialPopulation:
Criterion
Example FHIR resource as json which contains value code
IS:
Qualitative values are currently filtered for with the version, as the generated cql query uses "contains", which compares using equal.
SHOULD:
Qualitative values should be filtered for without the version.
The generated cql query should then use "equivalent" instead of "contains.
Examples
CQL with contains (IS)
CQL with equivalent (SHOULD)
Example FHIR resource as json which contains value code
The text was updated successfully, but these errors were encountered: