Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will use GELLO in the Sync Node to retrieve the state from the patient states to then write logic as to the preconditions needed to proceed furtherpreceding patient and use some simple logic as to proceeding further.

Turn off Run, click on on Allow Modifications as usual, then right click the Sync Node, Edit properties then Edit GELLO.

Use this:

   Context GLIF_VMR::GLIFDecisionNode
Let a: Boolean = GLIFNodes.patient_state_by_name('tachycardia?')
Let b: Boolean = GLIFNodes.patient_state_by_name('Aged over 75 yrs?')
   a and b

This will check if both the patient states are suitable as preconditions then to 'open the gate' and proceed down this path.

Here it is running with the test data. Clicking on the patient state green arrow confirms the True Boolean states.

 

Image Added

That's the end of this tutorial.