Currently it seems only the defining code of a dv coded text is mapped to OMOP, while the term mapping should (conditionally?) be mapped there as well.
this is especially relevant for the problem diagnosis archetype. diagnoses should be able to be recorded as free text (dv text.value) and only mapped to a terminology code as a secondary action using term mapping (https://specifications.openehr.org/releases/RM/development/data_types.html#_requirements_2).
Currently it seems only the defining code of a dv coded text is mapped to OMOP, while the term mapping should (conditionally?) be mapped there as well.
this is especially relevant for the problem diagnosis archetype. diagnoses should be able to be recorded as free text (dv text.value) and only mapped to a terminology code as a secondary action using term mapping (https://specifications.openehr.org/releases/RM/development/data_types.html#_requirements_2).