Consent ist not translated correctly.
Instead of using the "termCodeFhirPath": "provision.provision.code"
it alway creates Consent as:
exists [Consent: Code '2.16.840.1.113883.3.1937.777.24.5.3.8' from consent]
library Retrieve version '1.0.0'
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0'
codesystem consent: 'urn:oid:2.16.840.1.113883.3.1937.777.24.5.3'
context Patient
define InInitialPopulation:
exists [Consent: Code '2.16.840.1.113883.3.1937.777.24.5.3.8' from consent]
Instead CQL should contain:
C.provision.provision.code.coding contains Code '2.16.840.1.113883.3.1937.777.24.5.3.8'' from consent
Test bundle which schould return exactly one patient if query male
Consent ist not translated correctly. Instead of using the "termCodeFhirPath": "provision.provision.code" it alway creates Consent as: exists [Consent: Code '2.16.840.1.113883.3.1937.777.24.5.3.8' from consent]
Input SQ:
Current CQL:
Instead CQL should contain:
Test bundle which schould return exactly one patient if query male