Closed makampf closed 3 years ago
That's strange.
I just did a re-run of the complete pipeline (REDCap export, ODM2FHIR mapping and validation), but the problem you mention did not occur at my site.
How does the coding of the units in your generated bundle.json
look like?
It should be something like:
"valueQuantity": {
"value": 84,
"unit": "kilogram",
"system": "http://unitsofmeasure.org",
"code": "kg"
}
It seems like your fhirgateway
is expecting the units code
instead of its unit
-value (=name)
Ok, Thank you! Currently I am not able to produce bundle.json files due to issue https://github.com/num-codex/odm2fhir/issues/17 but I will try later. Meanwhile I will check FHIR-Gateway for a possible bug.
Ok we actually had a bug in FHIR-GW. Thanks anyway.
Describe the bug FHIR-GW logs tell that UCUM units (exported with odm2fhir) are not valid (but in RedCap they actually are) (Compare: https://ucum.nlm.nih.gov/ucum-lhc/demo.html)
Reproduce Export from RedCap with package v0.3.0
Error Log Logs from FHIR-Gateway:
RedCap