# The cancer template that kills form builder

**URL:** <https://discourse.openehr.org/t/the-cancer-template-that-kills-form-builder/17306>\
**Category:** Tool Support\
**Created:** [16 September 2026 15:23 UTC](https://discourse.openehr.org/t/the-cancer-template-that-kills-form-builder/17306 "2026-09-16T15:23:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik.sundvall](https://discourse.openehr.org/user_avatar/discourse.openehr.org/erik.sundvall/32/1961_2.png) [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Post date:** [16 September 2026 15:23 UTC](https://discourse.openehr.org/t/the-cancer-template-that-kills-form-builder/17306/1 "2026-09-16T15:23:54Z")

</div>

Does anybody have a good way (linter or AI skill perhaps) of finding strange errors in templates? OR could it be form builder that is stricter than Archetype Designer?

The attached template is made in Archetype Designer and can be used to create a form and saved but when we try to open the form again in EHR studio it we get the error screen shown below.

The template was exported as OPT from [CKM-mirror-via-modellbibliotek/Prostate MDT conference conclusion.t.json at pre-prostatectomy-mdt-conference · regionstockholm/CKM-mirror-via-modellbibliotek · GitHub](https://github.com/regionstockholm/CKM-mirror-via-modellbibliotek/blob/pre-prostatectomy-mdt-conference/Prostate%20MDT%20conference%20conclusion.t.json))

The console error says something about the ISM (instruction state machine) and we do use an action where all transitions have been set to 0..0 so that was my prime suspect (despite the end user error saying something about deleted template) - BUT exactly the same construct works fine in for forms based on another template ([source](https://github.com/regionstockholm/CKM-mirror-via-modellbibliotek/blob/multidiciplinery-tumor-meetings/local/Diagnostic_MDT_Lung_cancer.t.json) and [release including OPT](https://github.com/regionstockholm/CKM-mirror-via-modellbibliotek/releases/tag/Diagnostic_MDT_Lung_cancer.1.0.1))

[Prostate MDT conference conclusion.opt](https://discourse.openehr.org/uploads/short-url/5v57IgU1ShIL0DRGtHc1yqbjSUa.opt) (467.3 KB)

 ![image](https://discourse.openehr.org/uploads/default/original/2X/9/9bbd31c3fd9d490614c452d49ba1f9d9669eea65.png)

---

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [17 September 2026 06:08 UTC](https://discourse.openehr.org/t/the-cancer-template-that-kills-form-builder/17306/2 "2026-09-17T06:08:51Z")

</div>

Which “transition” has been set to 0..0? The 1..1 ism\_transition of the ACTION class, or the 0..1 transition of the ISM\_TRANSITION class?
