title: Is there a function in Javascript to generate UUID/GUID from integer or Long datatype. How to generate UUID/GUID from int or Long datatype?
body: <p>I am upgrading mirth connect 2.2.1 to 3.7.0. In the latest version messageid is generated as long datatype where as in old version it is generated as GUID. Our SQL tables have unique-identifier columns to accept the messageid. So now I need to convert Long datatype to UUID/GUID in javascript. Every message has the unique messageid so for a single message the GUID generated should be same. How to convert it?</p>