# Template Designer: Error exporting OPT that contains the ACTION.procedure archetype **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2015-07-23 06:09 UTC **Views:** 2 **Replies:** 2 **URL:** https://discourse.openehr.org/t/template-designer-error-exporting-opt-that-contains-the-action-procedure-archetype/15375 --- ## Post #1 by @pablo Hi, I need to create an OPT that contains the ACTION.procedure archetype, but when exporting the OPT I get this error: Failed to export operational template. openEHR-EHR-ACTION.procedure.v1.adl ERROR - line 1: parse error [last token = V_IDENTIFIER] line 1: In 'archetype' clause; expecting archetype id (model_issuer-ref_model_class.concept.version) [last token = V_IDENTIFIER] (Parse failed) (ADL_INTERFACE.parse_archetype) When I include the archetype in my COMPOSITION template, I can see all the nodes there, so I don't know what's wrong with parsing the ADL, because is parsed to show the tree inside the template. One thing: the ADL exported from the CKM has an uid in the archetype clause, it seems that is giving the TD a hard time: archetype (adl_version=1.4; **uid=82e79f18-76b9-4b5c-a930-1115eecbc4b7**) openEHR-EHR-ACTION.procedure.v1 --- ## Post #2 by @system Hi Pablo, What is the version of TD that you are using? There is a new beta in development that may fix this issue. Ian --- ## Post #3 by @pablo Hi Ian, my TD is 2.6.1214Beta. AFAIK there isn't a newer release publicly available. --- **Canonical:** https://discourse.openehr.org/t/template-designer-error-exporting-opt-that-contains-the-action-procedure-archetype/15375 **Original content:** https://discourse.openehr.org/t/template-designer-error-exporting-opt-that-contains-the-action-procedure-archetype/15375