Great. I wrote an e-mail earlier that did not get to the mailing list. Content was:
There is one more "missing link" in my understanding: Given that there is an ACTIVITY in INITIAL state and the user want to cancel the ACTIVITY; then it should be possible to do a transition from INITIAL directly to CANCELLED state. One reason to do this is if the patient dies. This transition is not defined in the state machine - as far as I can see. First I thought that the right way to do this was to remove the ACTIVITY. But after some thinking I was not satisfied with this solution. I think it would be correct if the ACTIVITY was terminated in CANCELLED state. Do I misunderstand something or should this also be a possible transition? With regards, Bj?rn N?ss Product owner DIPS ASA Telephone +47 75 59 24 55 Mobile +47 93 43 29 10 Fra: openEHR-technical [mailto:openehr-technical-bounces at lists.openehr.org] P? vegne av Thomas Beale Sendt: 11. september 2013 18:06 Til: openehr-technical at lists.openehr.org Emne: Re: State transitions - ACTIVITY/ACTION On 10/09/2013 09:38, Bj?rn N?ss wrote: Hi all. We are discussing some details with the INSTRUCTION STATE MACINE. I will go directly to my two questions: 1 The state machine define transition from all not-terminated states to a terminated state. Except from POSTPONED state. There is no defined transition from POSTPONED to CANCELLED. The question is how we should model the scenario where the ACTIVITY is in POSTPONED and the user want to CANCEL the ACTIVITY in one step? Is there a missing transition in the specification or did we misunderstood something? yes, this should be added in. 2 There is a time_out transition from all not-terminated step to EXPIRED. Except from Scheduled. There is no time_out transition defined from SCHEDULED to EXPIRED Given the scenario is SCHEDULED and the time for start of the ACTIVTY is passed. Should there be a transition named time_out from SCHEDULED to EXPIRED. When this transition occurs then system should be notified in some way. Is there a missing transition named time_out from SCHEDULED or do we misunderstood something? we should also add this in. - thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130912/6ce7b384/attachment.html>