This problem about multilingual templated value sets is again rearing its ugly head at us, and it’s likely we’ll get more and more of it in the coming months and years. I’m sure this is an issue also for others operating in a multilingual environment, such as Wales, Luxembourg, Catalonia or Switzerland? (@mar.perezcolman @vanessap @tarabonet @amanda.herbrand ?)
I’ve tested making multilingual templated value sets in ADL2 templates in Archetype Designer, and it doesn’t seem to work there either. For non-coded text value sets it seems to work exactly like in ADL1.4, and for coded text value sets I can’t even save the template. Error message when trying to save: (@borut.fabjan)
Error
Could not parse archetype local/openEHR-EHR-COMPOSITION.t_test_adl2.v1.adls.
Reason RuntimeException: com.nedap.archie.adlparser.ADLParseException:
Error: syntax error at 216:71: [@1481,7050:7050='}',<8>,216:71]. msg: mismatched input '}' expecting {'-', '+', '|', DATE_CONSTRAINT_PATTERN, TIME_CONSTRAINT_PATTERN, DATE_TIME_CONSTRAINT_PATTERN, DURATION_CONSTRAINT_PATTERN, '[', SYM_USE_NODE, SYM_USE_ARCHETYPE, SYM_ALLOW_ARCHETYPE, SYM_AFTER, SYM_BEFORE, ISO8601_DATE, ISO8601_TIME, ISO8601_DATE_TIME, ISO8601_DURATION, SYM_TRUE, SYM_FALSE, ALPHA_UC_ID, INTEGER, REAL, STRING}
In any case, we’re going to need a way to handle this problem relatively soon. Are the only possibilities either adopting a FHIR terminology server, or adding ADL2 template functionality to DIPS? Neither seem to be anywhere on the horizon from my point of view (maybe @bna or @kjejor can reassure me?)