Is there a way to lookUp the latest EncounterRole?

Hello folks am using such


Is there a way to lookUp this value to another form `

<lookup expression="fn.latestEncounter('240b26f9-dd88-4172-823d-4a8bfeb7841f')"/>;

` cc @dkayiwa @mozzy @sharif

Why are using EncounterRole UUID as latestEncounter ?. You could simply fetch EncounterRole separately.

yes however seems there is no impplementation for us

hey Morning @sharif any further way ahead on this?