# ISM_TRANSITION **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2006-10-31 14:08 UTC **Views:** 4 **Replies:** 2 **URL:** https://discourse.openehr.org/t/ism-transition/12177 --- ## Post #1 by @Mattias_Forss1 Hi, I started wondering about different representations of ISM_TRANSITIONs of the ism_transition attribute in the ACTION archetypes. I found that the below example: ISM_TRANSITION matches { current_state matches { CODED_TEXT matches { code matches {[openehr::524]} } } careflow_step matches { CODED_TEXT matches { code matches {[local::at0001]} -- Planned } } } ISM_TRANSITION matches { current_state matches { CODED_TEXT matches { code matches {[openehr::524]} } } careflow_step matches { CODED_TEXT matches { code matches {[local::at0004]} -- Requested } } } could be compressed into this: ISM_TRANSITION matches { current_state matches { CODED_TEXT matches { code matches {[openehr::524]} } } careflow_step matches { CODED_TEXT matches { code matches {[local::at0001, -- Planned at0004]} -- Requested } } } The examples have the same semantic meaning. However, at data entry the second example would mean that a choice must be made concerning the careflow_step, i.e. either at0001 or at0004. Should the archetype editors support both examples? The first example is the only one I've seen in archetypes... Regards, Mattias --- ## Post #2 by @Mattias_Forss1 Hi again, I should probably also mention that we need some document that provides recommendations about how archetypes should be created when there are more than one way to do it like the example below. Otherwise there is a risk that there are too many archetypes with different representations that essentially mean the same thing. The rules that Thomas talked about in this thread [http://www.openehr.org/advice/implementers-priv/msg00311.html](http://www.openehr.org/advice/implementers-priv/msg00311.html) , i.e. ``` - if there is a plug-in C_DOMAIN_TYPE type available, always use it to represent constraints for the corresponding RM type - if there is a syntax equivalent for this type, then use it - otherwise use generic ADL ``` Should also be documented somewhere. Regards, Mattias 2006/10/31, Mattias Forss <[mattias.forss@gmail.com](mailto:mattias.forss@gmail.com)>: --- ## Post #3 by @system Mattias Forss wrote: > Hi again, > > I should probably also mention that we need some document that > provides recommendations about how archetypes should be created when > there are more than one way to do it like the example below\. Otherwise > there is a risk that there are too many archetypes with different > representations that essentially mean the same thing\. > > The rules that Thomas talked about in this thread > http://www.openehr.org/advice/implementers-priv/msg00311.html , i\.e\. > > \- if there is a plug\-in C\_DOMAIN\_TYPE type available, always use it to > > represent constraints for the corresponding RM type > \- if there is a syntax equivalent for this type, then use it > \- otherwise use generic ADL Yes, such rules would certainly help\. They can be even implemented in the software\. For example the editor should be able to recognize different ways of representing the same archetype and "compress" it with the best approach\. Cheers, Rong --- **Canonical:** https://discourse.openehr.org/t/ism-transition/12177 **Original content:** https://discourse.openehr.org/t/ism-transition/12177