-
Notifications
You must be signed in to change notification settings - Fork 24
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
$extract returns error for decimal values #481
Comments
Observation.value[x] can't be decimal. facepalm nevermind |
No. My point stands. From the SDC-Specification: "If a questionnaire item has the questionnaire-unit extension, the Observation.value SHOULD be a valueQuantity rather than integer or decimal and the units should be taken from the extension value." Since the item does have a unit-Extension, the decimal value SHOULD be extracted into Observation.valueQuantity.value where no datatype mismatch occurs. |
$extract-Operation error on observation based extraction for decimal types:
HAPI-0389: Failed to call access method: java.lang.Error: Not the right type for Observation.value[x]: decimal
Questionnaire and Response attached.
Questionnaire-NumericExtract.json
QR.json
the following item causes the issues:
(tested on HAPI FHIR 7.2.0)
The text was updated successfully, but these errors were encountered: