URL of OHIF/Orthanc from accession_number

Greetings gentlemen,

I’m trying to integrate a RIS with Orthanc/OHIF and the RIS vendor asked if it’s possible to provide a link to the OHIF viewer call using by the accession_number.

And, how the URL shown below is constructed, specifically the UUID part: