I am trying to display the patient's sugar, oxygen and sugar level

It's time for you to learn:

  • to store incoming tags and values into global variables for debugging before making assumptions about them
  • the Companion's Do It feature to inspect global variables
  • how to use dictionaries and JSON text to marshal multi-part data