Replies: 1 comment
-
@baseTwo Could you please take a look here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a problem extracting data from my patient context. When I try to perform an operation on a list of objects, e.g., Condition, I receive all objects of that type in response, not just those that meet the condition. This issue does not occur when testing the CQL on a GO engine with the exact same context. I probably misunderstand some part of the process, which might be causing this error, and I would appreciate guidance on what might be the problem.
I tried connecting to the processes by inheriting from the Base class from the tests and using the methods CreateFluentCqlToolkit().MakeLibrary(); I also tried using the CqlApiExamples project by adapting the Add3And2Example() method by adding my CQL and FHIRHelpers to the folder in various versions. Each time, the result was the same: returning the entire list of Condition instead of only those containing the appropriate ICD10 code.
`library ConditionTest version '1.0.0'
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1' called FHIRHelpers
context Patient
define public DoesPatientHasDM:
[Condition] C
where exists (
C.code.coding Cod
where Cod.code in { 'E10', 'E11', 'E12'})
`
It looks like my phrase with find the correct result was not covert to elm.
Beta Was this translation helpful? Give feedback.
All reactions