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

IncommensurableException error #872

Closed
CzarMich opened this issue Jan 7, 2023 · 0 comments
Closed

IncommensurableException error #872

CzarMich opened this issue Jan 7, 2023 · 0 comments

Comments

@CzarMich
Copy link

CzarMich commented Jan 7, 2023

Working with a CQL that has an expression that compares values that are greater or less as seen below. But I get an error where by the server is confusing two different units ´. ie. mmol/mol and μmol/L" of which my values do not have any μmol/L units except mmol/mol.

define NDH:
exists ([Observation: Code '4548-4' from LOINC] O where O.value as Quantity >= 42 'mmol/mol' and O.value as Quantity <= 47 'mmol/mol')

Error response from server:
{
"issue": [
{
"severity": "error",
"code": "exception",
"diagnostics": "Error while evaluating the expression NDH: javax.measure.IncommensurableException: mmol/mol is not compatible with μmol/L"
}
],
"resourceType": "OperationOutcome"
}

Could this be a bug on the server?

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

2 participants