Stream: implementers
Topic: strange error from HAPI FHIR server
Brian Reinhold (Jun 20 2019 at 09:03):
@James Agnew
I am getting the following error from version 4.0.0 (3.8.0 in HAPI) FHIR server doing an upload of a transaction bundle containing Observation resources. The error is
search param "value-quantity is of unexpected data type:" class org.hl7.fhir.r4.model.SampledData
I assume its coming from one of my two valueSampledData entries but I am not sure. It looks as follows:
"valueSampledData": {
"origin": {
"value": 0,
"system": "http://unitsofmeasure.org",
"code": "{beat}/min"
},
"period": 125000.0,
"factor": 1,
"dimensions": 1,
"data": "0 0 0 0 0 0 0 0 0 0 51 51 41 41 41 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40"
},
which seems okay unless I am missing something obvious...
James Agnew (Jun 20 2019 at 18:44):
Hi Brian- Note, you can just report this in one spot please. We're pretty flooded with request as it is..
Tracking ticket here: https://github.com/jamesagnew/hapi-fhir/issues/1352
Brian Reinhold (Jun 20 2019 at 19:37):
Hi Brian- Note, you can just report this in one spot please. We're pretty flooded with request as it is..
Tracking ticket here: https://github.com/jamesagnew/hapi-fhir/issues/1352
Okay, I put it here first and then after trying to find the error nessage in the source code found a similar bug in the issues. So then I thought I should probably resubmit it. Given the similarity it probably has the same fix. But what I really want to know is if I am doing something wrong on the upload end...
Last updated: Apr 12 2022 at 19:14 UTC