Comments (1)
The most important hint here is "Cannot convert System.Nullable1[Hl7.Fhir.Model.ObservationStatus] to Hl7.Fhir.Model.Code
1[Hl7.Fhir.Model.ObservationStatus]".
During compilation, we convert from the actual .NET type encountered in the datasource to the CQL type that the engine uses, and vice versa. For example: there would be a conversion of the FHIR FhirDateTime to the CQL DateTime type. Both are .NET POCO's, but since the engine can handle different datamodels, it needs a mapping from the model in use (here: FHIR) to the internal CQL model (the set of CQL types: string, code, datetime etc).
This task is done by a model-specific converter factory, in this case the FhirTypeConverter.cs in Cql.Firely. The function "ConvertCodeTypes" auto-generates converters for each of the defines .NET enums to "CqlCode". However, here we are looking for a conversion from an enum to a CqlConcept - which is not yet defined.
from firely-cql-sdk.
Related Issues (20)
- Performance with FhriDateTime and strings
- Generate C# output files on the fly HOT 2
- Introduce architecture/design testing
- Introduce PackageCLI argument for specifying a fixed datetime used in output library resource json files
- Bump to .net8.0 and C#12 HOT 3
- Use dependency injection (part 1 - introduce the host builder and load arguments with IOptions)
- Use dependency injection (part 2 - register services with hosting framework) HOT 1
- Error when converting FhirDateTime to CqlDateTime
- Incorrectly calculating age when one of the dates is leap day
- Handling late-bound types - incorrect CQL or we need some more magic? HOT 3
- Incorrect translation of binding name in QICore model? HOT 2
- References to codesystems defined elsewhere are not yet supported HOT 1
- FHIRHelpers hack - how far do we go? HOT 2
- Query results are demoted to singles too aggressively HOT 3
- How to handle type matching cases HOT 3
- A `let` cannot refer to an alias of a let that comes before it in the same scope HOT 1
- Extension.value is a DataType, and using it will raise errors. HOT 1
- Java CQL->ELM compiler seems to use FHIR types or bindings that do not exist. HOT 2
- Cleanup - DirectedGraph HOT 3
- Time zone offsets are rendered as DateTimeOffsets incorrectly in some cases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firely-cql-sdk.