Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly support CQL to FHIR (and vice versa) type mapping #1430

Open
JPercival opened this issue Oct 29, 2024 · 0 comments
Open

Correctly support CQL to FHIR (and vice versa) type mapping #1430

JPercival opened this issue Oct 29, 2024 · 0 comments

Comments

@JPercival
Copy link
Contributor

The Using CQL with FHIR IG specifies a set of conversions between CQL and FHIR data types. Some of the FHIR types are not directly serializable themselves, so must be represented as sub-parameters (or parameter parts) of FHIR Parameters resources. The Type Mapping Example shows the expected results for all the defined types.

There's an implementation of CQL to FHIR type conversion here but it predates the above spec. It doesn't use the entire context of the CQL evaluation to produce a single, unified Parameters resource. Instead, it assumes each definition is converted one at a time.

This is currently being used in downstream code, so can't yet be migrated wholesale. We need to provide a correct implementation and then update the downstream code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant