I'm experimenting with different ways of pathing through a clinic without needing to split tokens and create many multiple, but very similar, flows. I'm trying to do as much within the GUI rather than the coding side.
The attached model (FilterByMultipleAcquireHC.fsm) has three parts;
1) Creates a patient with a token label of which route they're on (1 or 2), and initially directs them using a 'decide' - the simple solution
2) After a common wait, next sends them to a chair, but instead of using different groups, the chairs are all one group, but the acquire is filtered by a label attached to them which matches the token label.
3) [Where I have the problem] I want to repeat the same for acquiring a staff escort to exit, but as well as a linked member of staff (ie one with a matching label), also being able to draw from another pool of unallocated staff - shown in the model as 'OmniTech'.
I can't seem to get the syntax right in the 'filter by' of the Staff Resource to include multiple OR conditions for staff member, eg carrying a grouping of '3' OR (Routelabel).
How do you include multiple filter statements in this box?
I've also toyed with some kind of 'contains' function and having both 1 and 2 in an OmniTech variable string, but again, don't know how to query into it.
I can see a fallback way of using the max wait timer into a separate loop to acquire from the wider pool, but for my learning and the more complex scenario I had in mind, wondered how to get multiple filters into that 'filter by' box.
Thank you