Versions Compared

Key

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

...

Load up the vmr as before, but this time we are interested in patient allergies , so make the code to be:

     Context GLIF_VMR::GLIFDecisionNode
     vmr.allergies

 

fbfd

Ok we can see two allergies. Unfold on the allergenCode attribute of the second of the two listed allergies in Model Explorer. Note the mandatory three properties of a CD datatype again - the code, codeSystem and codeSystemName. In this case they are '6369005' , '2.16.840.1.113883.6.96' and 'SNOMED-CT'.

 

Set up the local variable for a parent SNOMED CT concept we want to query on. ( ie this code will need to cover all penicillins in SNOMED CT). Note that in SNOMED CT , medications can be products or substances. Use an online SNOMED CT browser such as that available at http://browser.ihtsdotools.org/