Versions Compared

Key

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

...

This example will demonstrate how we can store a boolean value of True or False in a patient state for use later on in the GLIF flowchart.

First we will need some test data, in this case we ill will use a xml format. Save the following at GLIF_TutorialSix.xml

...

Note we have a date of birth and a pulse rate available.

Now open the GLIF Editor and go File, New if necessary to clear the workspace.Make sure you save anything you had there before  that you want to use again (or you can open a new instance of the GLIFEditor - ie have two running at once - this can be handy when looking to cut and past GELLO code for example).

Put in an initial patient state linked to an action then link that to another patient state. Put an action linked to the second patient state. Name them 'Start', 'Consider tachycardia', 'tachycardic?' and 'tachycardia in the elderly'. Make the initial patient state the first step.

Image Added

 

You can add some didactics to the action boxes, something like 'Tachycardia can represent significant illness' for the first, and 'Tachycardia in the elderly be the result of uncontrolled atrial fibrillation' for the second.

Ok, let's edit the 'tachycardic?' patient state.