<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to make a staff is linked to a specific work area in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-a-staff-is-linked-to-a-specific-work-area/m-p/13547215#M52656</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;He realizado un sistema donde los pacientes llegan y un médico disponible lo escolta y le brinda atención. Para hacer esto he utilizado el set "Escort then process". El problema es que se busca que cada médico tenga asignado un consultorio, por lo tanto, se espera que el médico lleve al paciente al consultorio donde fue asignado, evitando un problema como el que se muestra en la imagen donde el médico "invade" el consultorio de otro médico.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1676302361882.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515303i21B43391C493AC22/image-size/large?v=v2&amp;amp;px=999" role="button" title="1676302361882.png" alt="1676302361882.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Esta es la lógica del patient flow&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1676302404973.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515304i6F7257DE9FD4C0DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1676302404973.png" alt="1676302404973.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Alguna idea u orientación para lograr asignar un consultorio al médico y que el realice sus procesos en este. Muchas gracias de antemano.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Adjunto el archivo de prueba&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64168-modelo-pregunta.fsm" target="_blank"&gt;modelo pregunta.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 13 Feb 2023 15:35:36 GMT</pubDate>
    <dc:creator>ALibreros</dc:creator>
    <dc:date>2023-02-13T15:35:36Z</dc:date>
    <item>
      <title>How to make a staff is linked to a specific work area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-a-staff-is-linked-to-a-specific-work-area/m-p/13547215#M52656</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;He realizado un sistema donde los pacientes llegan y un médico disponible lo escolta y le brinda atención. Para hacer esto he utilizado el set "Escort then process". El problema es que se busca que cada médico tenga asignado un consultorio, por lo tanto, se espera que el médico lleve al paciente al consultorio donde fue asignado, evitando un problema como el que se muestra en la imagen donde el médico "invade" el consultorio de otro médico.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1676302361882.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515303i21B43391C493AC22/image-size/large?v=v2&amp;amp;px=999" role="button" title="1676302361882.png" alt="1676302361882.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Esta es la lógica del patient flow&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1676302404973.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515304i6F7257DE9FD4C0DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1676302404973.png" alt="1676302404973.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Alguna idea u orientación para lograr asignar un consultorio al médico y que el realice sus procesos en este. Muchas gracias de antemano.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Adjunto el archivo de prueba&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64168-modelo-pregunta.fsm" target="_blank"&gt;modelo pregunta.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Feb 2023 15:35:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-a-staff-is-linked-to-a-specific-work-area/m-p/13547215#M52656</guid>
      <dc:creator>ALibreros</dc:creator>
      <dc:date>2023-02-13T15:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a staff is linked to a specific work area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-a-staff-is-linked-to-a-specific-work-area/m-p/13547216#M52657</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;There are a few different ways you can do this, here are some ideas:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Create a link between the room and staff&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; If you create a link between the staff and their assigned room, you can reference that when acquiring the staff. For example, here's your model with each staff linked to their Exam Table through a center port connection.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64175-modelo-pregunta-1.fsm" target="_blank"&gt;modelo-pregunta_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Since they're linked with a center port connection, then instead of acquiring any member of Medicos I can acquire the staff linked to the Exam Table I just acquired using code like this:&lt;/P&gt;&lt;PRE&gt;patient.Locations[1].centerObjects[1]&lt;/PRE&gt;&lt;P&gt;You can do a similar thing with pointer labels. Here's your model with a Staff label on each Exam Table that points at the assigned doctor.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64186-modelo-pregunta-labels.fsm" target="_blank"&gt;modelo-pregunta_labels.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then you acquire the doctor using code like:&lt;/P&gt;&lt;PRE&gt;patient.Locations[1].Staff&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;2. List out pairs in the By Case pickoption&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the Staff Resource click the dropdown next to the Staff field and choose Staff by Case. Then you can fill it out with the pairs you want, like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1676317435831.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515302i2BAE0DC5D17D69D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1676317435831.png" alt="1676317435831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64187-modelo-pregunta-bycase.fsm" target="_blank"&gt;modelo-pregunta_ByCase.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Acquire the Staff with the same group rank as the room&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: "&gt;Since you have two groups, the Camillas and the Medicos, that both have 3 objects in them in the same order we can just find out the index of the Exam Table we've acquired and then ask for the doctor with that same index.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: "&gt;Group("Medicos")[Group("Camillas").indexOf(patient.Locations[1])]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: "&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64176-modelo-pregunta-byrank.fsm" target="_blank"&gt;modelo-pregunta_ByRank.fsm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Feb 2023 18:47:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-a-staff-is-linked-to-a-specific-work-area/m-p/13547216#M52657</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2023-02-13T18:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a staff is linked to a specific work area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-a-staff-is-linked-to-a-specific-work-area/m-p/13547217#M52658</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;It works perfect. Thanks&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Feb 2023 19:27:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-a-staff-is-linked-to-a-specific-work-area/m-p/13547217#M52658</guid>
      <dc:creator>ALibreros</dc:creator>
      <dc:date>2023-02-13T19:27:53Z</dc:date>
    </item>
  </channel>
</rss>

