First BPMN Temporal Constraints Element - Min/Max Duration
Borut Jures
openEHR.org Form Builder | Migrating legacy EHR data to openEHR.org | Medical Workflows | Clinical Pathways
#BPMN doesn't support a simple way of modeling and managing temporal constraints needed by #clinicalpathways and #clinicaldecisionsupport.
Process designers can model them using standard BPMN but it requires a lot of work and the resulting diagrams are overcrowded with technical details. Higher level elements help with keeping the #clinicalguidelines diagrams manageable.?
Below is an example of a single time constrained task for taking a blood sample. The protocol requires that the results are available in a maximum of 5 minutes.
1. We model this using a collapsed sub-process element for which we specify a simple temporal constraint (indicated by a stopwatch icon - ??):
2. Inside the collapsed sub-process element we model a simple task for taking the blood sample. We attach a boundary event that will be triggered in case the task takes more than 5 minutes:
3. There is nothing more to do! When this process is deployed to a?standard BPMN engine?like #camunda it will execute as described.?
The beauty is in what you don’t see. Ask somebody who knows BPMN what it would take for them to model maximum duration constraint without the presented?temporal constraints BPMN element.
Or just look at how this would be implemented using only?basic BPMN elements:
Video of creating and deploying a simple duration constraint task (I cannot upload it to LinkedIn):
I wish to thank Francesca Zerbato for her research related to temporal patterns in BPMN. Thanks also to her thesis advisor Carlo Combi .
https://twitter.com/MedicalFlows
openEHR.org Form Builder | Migrating legacy EHR data to openEHR.org | Medical Workflows | Clinical Pathways
2 年I added a video of creating and deploying a simple duration constraint task (I cannot upload it to LinkedIn): https://medicalflows.com/bpmn/temporal#demo
openEHR.org Form Builder | Migrating legacy EHR data to openEHR.org | Medical Workflows | Clinical Pathways
2 年I added how this would be implemented using only?basic BPMN elements (see the last diagram).