Is there a way to lookUp the latest EncounterRole?

Hello folks am using such

<encounterProviderAndRole
         encounterRole="240b26f9-dd88-4172-823d-4a8bfeb7841f"
        providerRoles="c110f9bc-c65f-44a2-a028-2af7e8fff534,da13814f-f560-46df-8bb2-219e146c2811"/>

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

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

` cc @dkayiwa @mozzy @sharif

1 Like

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?