Hello,
i have a problem with uploading my template. Here is the error. Do you know if there is a way to include multiple coded text fields as external codes?
in archetype designer I would like to include several coded text fields with different local variables. Unfortunately it does not work, only as free text. But I need the assignment 1 = …, 2 = …
@borut.fabjan - This happens when in a template, you have two value sets with local terms from a local “terminology”. If they have overlapping values, CKM currently generates this error.
Essentially, the OPT generator used by CKM makes the assumption that the “terminologies” such as local_terms1 and local_terms2 are value sets from the same code system - thus the same value with a different text is currently not permitted.
We are currently investigating whether it is reasonable to relax this constraint (and what the consequences are) and will keep you posted. In the meantime using unique codes, e.g. prefixed with the terminology name or a short version of it would circumvent the problem.
After some SEC discussion, we have implemented the same behaviour in the OPT generator used by CKM as well, so this is now possible as far as CKM is concerned.
To import a template, you need to export it as a Template Fileset, then import the .zip file. This contains the component archetypes, not just the template itself