question

Jim Montgomery avatar image
0 Likes"
Jim Montgomery asked Matthew Gillespie commented

How can I use 4 location “Selection Prioritys” ?

At my locations, I would like to use 4 Selection Priorities in the Configurable Entrance Criteria, but the default editable parameters limit me to 3. Could you please advise me on how the FlexScript should be edited to accomplish this?

Here are my desired 4 priorities:

Selection Priority 1. Patient is assigned label value “PCI” = 1 ….. getlabel(patient, "PCI") == 1

Selection Priority 2. Patient is assigned label value “a_EMS_Pt” = 1…. getlabel(patient, "a_EMS_Pt") == 1

Selection Priority 3. Patient with the highest value of label “a_Rm_Priority” …. getlabel(patient, "a_Rm_Priority"

Selection Priority 4. Patient who has been waiting the longest…. time() - get(stats_lastmovetime(patient))

Here are the existing 3 priorities:

Selection Priority 1. Patient is assigned label value “a_EMS_Pt” = 1…. getlabel(patient, "a_EMS_Pt") == 1

Selection Priority 2. Patient with the highest value of label “a_Rm_Priority” …. getlabel(patient, "a_Rm_Priority"

Selection Priority 3. Patient who has been waiting the longest…. time() - get(stats_lastmovetime(patient))

….And attached below is the existing FlexScript:

flex-script-from-bed-location-entrance-criteria.pdf

@lou.keller

FlexSim HC 5.1.0
entrance criteriaconfigurable entrance criterialocation entrance criteria
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Matthew Gillespie commented

Your first two aren't priorities, they're criteria. You can add these two conditions to the Criteria section by ANDing (&&) them with the ASSIGNED_HERE condition.


· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.