Hello – curious if there is a way to access the OS from a cloverleaf xlate. Purpose is to help determine if the server is prod or dev for double checking the MSH.11 field. Thanks in advance.
This topic was modified 1 year, 7 months ago by JD.
This topic was modified 1 year, 7 months ago by JD.
Something that would probably use less system resources is to make use of the newer versions’ global variables which should be accessible from an xlate proc.
Was going to add we do something similar that Robert mentioned where we have a master site and within there use a global variable to delclare Test or Prod, see attached screen shot.
I am a bit confused as to why and make this hard? The global variable, already provided, HciSite will suffice. If $::HciSite eq “sitename”. That is unless you have a lot of test sites.
We have a separate Tst and Prd Cloverleaf cluster where Tst and Prd have the same sites. (Tst has some extra sites, like ‘dev’). So based on the site name you can’t determine whether it’s Tst or Prd.
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands