Chris Moesel

Results 34 issues of Chris Moesel

Hello! We have an ANTLR4-based TypeScript project that currently uses the antlr4 4.8 javascript runtime. We're looking to update it to either the 4.9 JavaScript runtime or make the move...

Consider this set of libraries (removed most content for brevity): ``` library A version '1' include B version '1' include X version '1' ``` ``` library B version '1' include...

question
cql

I've discovered inconsistent translation behavior in CQL-to-ELM when a function that returns a list of `Any` is involved in a `union`. In short: If you have CQL that only does...

bug

Given the following CQL: ``` library Example version '1.0.0' using FHIR version '4.0.1' valueset "Opioid Pain Medications": 'https://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.34' define MyRetrieve: [MedicationRequest: "Opioid Pain Medications"] ``` the CQL-to-ELM Translator 2.3.0 produces...

bug

The CQL team has recently updated the CQL tests, including fixing some that expected the wrong answers ([link](https://github.com/cqframework/clinical_quality_language/pull/1346)). Our engine is actually passing a few of the tests with wrong...

Asserting that something was _not done_ can be challenging in FHIR. It's relatively easy to say that a specific thing (with a specific code) wasn't done, but harder to say...

Currently, the [DataProvider](https://github.com/cqframework/cql-execution/blob/487797e67d473dffc3966cd3f73ad1fb96e4ddd1/src/types/cql-patient.interfaces.ts) (a.k.a. `PatientSource`) API provides two functions: ```ts export interface DataProvider { currentPatient(): PatientObject | undefined | Promise; nextPatient(): PatientObject | undefined | Promise; } ``` The `PatientObject`,...

Currently, the [TerminologyProvider](https://github.com/cqframework/cql-execution/blob/487797e67d473dffc3966cd3f73ad1fb96e4ddd1/src/types/cql-code-service.interfaces.ts#L26-L32) (a.k.a. `CodeService`) API in cql-execution is quite simple: ```ts export interface TerminologyProvider { findValueSetsByOid: (oid: string) => ValueSet[] | Promise; findValueSet: (oid: string, version?: string) => ValueSet...

See: https://cql.hl7.org/09-b-cqlreference.html#implies

There are a number of `Retrieve` properties listed in [chapter 4, section 11.1](https://cql.hl7.org/04-logicalspecification.html#retrieve) that don't seem to be supported by the CQL-to-ELM translator yet (nor are their CQL constructs well...