Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the strict validation of openEHR terminology codes be relaxed by configuration? #1252

Open
ppazos opened this issue Feb 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ppazos
Copy link
Contributor

ppazos commented Feb 22, 2024

Background

While testing EHRBASE with different templates from different languages, EHRBASE does the validation, for instances, of the COMPOSITION.category value (not the code, the string value), and if that doesn't correspond to the language of the COMPOSITION, the POST /composition gives a hard error.

In practical terms, all text values of openEHR codes are redundant, the code is what is important, since it defines the meaning. Then having a strict rule there might be counterproductive, for instance it can return some kind of warning instead of a hard error.

On the other hand, what is the behavior for languages that are not yet in the openEHR terminologies? Like German or French? Does EHRBASE falls back to English? In that case, isn't that the same as relaxing this validation rule?

Current supported languages are ES, EN, JA and PT https://github.com/openEHR/specifications-TERM/tree/master/computable/XML

Enhancement

Relax the validation of the values of the openEHR coded data points. (terminology_id=openehr), do not require to be exact as the value in the translated terminology.

Discussion

No response

Further information

No response

@ppazos ppazos added the enhancement New feature or request label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant