Value_as_number in measurement #48
Replies: 0 comments 13 replies
|
hi Bert, |
|
Hi Thien, That would mean I would need a separate CSV file for every type of measurement, right? Which for some datasets (like my example dataset) would be feasible, but for others not .... Cheers, |
|
Apologies for reading between the lines and maybe not getting this right, but :) @AndrewThien on one the comments above, the "list truncated" will probably be because each value is unique, or at leat not enough of them to be above the min count threshold. @boverdui if I have understood the structure right, you have the "test type" in one column and the value in another? That would mean in the "test value" column then you could have values from multiple different types of test? If that is right @boverdui then the only current solution is to separate out by column for each measurement type, then you map as @AndrewThien has shown above, where you map all values in a column to a particular measurement. @AndrewThien for info, this is actually linked to this existing issues: Health-Informatics-UoN/carrot-mapper#874 |
|
Hi @boverdui great thanks for confirming. The way Carrot can handle it at the moment is that all results for a particular test have to be in the same column. There is a request open for the functionality you require, which is to have conditional logic between columns. |


Uh oh!
There was an error while loading. Please reload this page.
Hello,
I performed mapping and transformation for some (fake) test date to come to grips with the Carrot system.
One of my tables is lab_test. The values in the column test_value I expect to end up in the value_as_number column in the measurement output file for OMOP. However, it's what in the test_type column that ends up in value_as_number, which isn't right.
Cheers,
Bert
lab_test.csv
rules_bert.json
measurement.tsv.xlsx
All reactions