# AD support for multilingual editing of templated value sets
**Category:** [Archetype Designer](https://discourse.openehr.org/c/archetype-designer/30)
**Created:** 2024-09-27 08:07 UTC
**Views:** 135
**Replies:** 7
**URL:** https://discourse.openehr.org/t/ad-support-for-multilingual-editing-of-templated-value-sets/5752
---
## Post #1 by @siljelb
As per [Multilingual templates and templated value sets - Specifications - openEHR](https://discourse.openehr.org/t/multilingual-templates-and-templated-value-sets/4118/13), it is actually possible to support multilingual value sets in the OPT format. This is an important functionality to us, and very likely also for others operating in a multilingual environment. Currently AD only supports monolingual templated value sets, as opposed to archetyped value sets which can be translated. Could this feature be enabled also for templated value sets?
---
## Post #2 by @borut.fabjan
Hi Silje,
It's a bit of a grey zone, but it could be supported in .opt as follows;
```
History
@ internal @
Any event
@ internal @
Tree
@ internal @
*DV_CODED_Internal (en)
Ena
Dve
Tri
*DV_CODED_Templated (en)
*aTest (en)
*aTest (en)
localterm_one
localterm_two
localterm_three
```
How does it sound to put local term(s) into term definition for each language? It looks good to me ;)
---
## Post #3 by @siljelb
Yep, it could be whatever is in this box, right?

So for this example, it'd be something like
```xml
...
...
SNOMED-CT
182678001
...
Hyposensitivation to allergens
...
Hyposensitivering for allergener
```
(because do we really need the `terminology_id::code` syntax in ``when the applicable `terminology_id` for the relevant element is defined further up?)
---
## Post #4 by @borut.fabjan
Correct.
```
...
Hyposensitivering for allergener
...
```
.. and yes, we need the **terminology_id::code**_syntax.
It makes every item quite unique ;)
---
## Post #5 by @siljelb
I can live with that.
But what do you think about this? :grin:
```
Hyposensitivation to allergens
A procedure involving exposing the individual to an allergen in a controlled environment, to reduce the body's sensitivity to the allergen.
```
---
## Post #6 by @borut.fabjan
Adding description? Easy ;)
@ian.mcnicoll you're good with proposed solution for multi-language support in .opt for valuesets?
---
## Post #7 by @ian.mcnicoll
Looks good to me. I approve prepending the terminologyId. @sebastian.garde might have some thoughts here as well
---
## Post #8 by @yampeku
I think at some time a few years ago we ended up adding brackets to the codes (e.g. [SNOMED-CT::182678001]) in order to be able to distinguish them from URI ones (e.g. http://snomed.info/id/182678001)
Second ones were needed for supporting ECL valuesets (e.g. http://snomed.info/ecl/%3c404684003:%3c%3c47429007=%3c%3c79654002 ) but I would assume it will also help when dealing with FHIR terminology service links (e.g. http://snomed.info/sct?fhir_vs=ecl/<<19829001 minus <<301867009 )
---
**Canonical:** https://discourse.openehr.org/t/ad-support-for-multilingual-editing-of-templated-value-sets/5752
**Original content:** https://discourse.openehr.org/t/ad-support-for-multilingual-editing-of-templated-value-sets/5752