Health-Informatics-UoN / Carrot-Mapper

Carrot: Convenient And Reusable Rapid Omop Transformer.
https://carrot4omop.ac.uk
MIT License
12 stars 3 forks source link

Automated Mapping of field to concept_id #632

Open erummas opened 5 months ago

erummas commented 5 months ago

Currently the mapper only supports automated field value mapping but not field mappings

Suggestion :

Presently we are required to provide csv_file_name , field_name and code for field value mapping. I'd recommend we use this to map field instead of field values.

In order to map field values we could make use of the 'value' column and use a key word such as 'map_all_values' to suggest it's a field value mapping. csv_file_name | field_name | code | value abc.csv | condition | icd10 | map_all_values