Exclusive Resource Lock element for BPMN
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 exclusive resource constraints. 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 diagrams manageable.?
This pattern was mentioned by? Natalia Iglesias de Amunategui , Jose M. Juarez , Manuel Campos in their?#openEHR?Task Planning analysis:?https://jmir.org/2022/9/e29927/?
1.?We model this using a collapsed sub-process element for which we specify a resource action (indicated by a tag icon - ???):
2. Properties for locking a resource:
3.?Properties for un-locking a resource:
4.?Resources are simple to use with all the complexity abstracted away. The collapsed sub-process element for the resource action (indicated by a tag icon - ???) contain the following elements (but don't worry - you don't have to create them yourself):
5.?Detailed audit log is kept. For the above process, you see that the resource is locked by the FirstLockActivity while the SecondLockActivity unsuccessfully tried to acquire a lock of the same resource:
Example: Exclusive Resource for Catheter Lock Therapy (CLT)
Use of resources is relevant in infection CPs as catheters are a main cause of infection in hospitalized patients, requiring both catheter lock therapy (CLT) and systemic therapy (ST) applied repeatedly and alternatively but not simultaneously through the existing catheter, which must therefore be used in exclusive mode by the executing task.