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:

http://rad-one.hccentral.com:8042/ohif/viewer?url=../studies/

bc3544c4-d76cb752-b15f8823-c661354a-37a6b95a

/ohif-dicom-json