Question Scott Roth · Jun 29, 2018 Adding TLS to ZAUTHENTICATE I wrote a ZAUTHENTICATE.mac a couple of months back, and found recently that it is creating coredumps on almost a nightly basis. I think I have figured out this problem to be not clearing out my MsgSearch after I am doing 2 of them within the code.1. Get User Attibutes from AD2. Get User Groups From ADSo while I am trying to cleanup the code I thought it would be a good time to add a Certificate and TLS to the mix since I should of been using that all along. However I keep running into issues #LDAP #Object Data Model #Security #SSL #Caché 1 14 0 501
Question Scott Roth · Jun 14, 2018 Single Row SQL.Snapshot I have several stored procedures that when I execute them they will only return a single snapshot. In my BP I have been setting this to a Snapshot variable then looping using a WHILE through the snapshot variable just to get that single value. Since it is only a single row, is there an easier way where I don't have to do a WHILE loop to pull the values out of that row? Can I call First Row or something like that to get me just the row into the Snapshot variable? #Business Operation #Business Process (BPL) #Object Data Model #SQL #Ensemble 0 1 0 444
Question Scott Roth · Jun 7, 2018 JDBC Authentication to AD to access exteral database Without installing Kerberos has anyone Authenticated a SQL JDBC connection? Currently we are using local SQL Accounts to sign onto External SQL Databases, but we are being told that we need to switch to Service accounts that live on a Active Directory Domain. I wrote with a little help a ZAUTHENICATE to do the Authentication for Ensemble, can I use something like that to connect to an External SQL Database using a Service Account on a Active Directory Domain?ThanksScott #Authentication #JDBC #Object Data Model #SQL #Ensemble 0 3 0 510
Question Scott Roth · May 29, 2018 request.GetValueAt Syntax to subfields I have a vendor that is sending me an Abbreviation in FT1:16.4.2 that I need to look up against a table to find the correct ID for. FT1|1|||20180523161501|20180523161503|CG|1906551^Lipid Profile|||1||||||^^^ LAB&06CL|||Z00.00||00410^Knerr^Joel||721410||30100001^Lipid Profile| But in my Business Process when I refer to request.GetValueAt("FT1:16.4.2") its not recognizing that this field contains information. Is my syntax wrong? #Business Process (BPL) #HL7 #Object Data Model #Ensemble 0 5 0 814
Question Scott Roth · May 10, 2018 2015.2.2 .json format Is it possible to produce a .json format using Ensemble 2015.2.2? Not sure what the trigger will be as of yet, but we have our local Department of Health trying to develop a reporting piece using .json. Not sure how this will work with our Ensemble instance not being in the DMZ to send outside our network, but I thought I would ask anyway to see if it is possible.ThanksScott Roth #JSON #Object Data Model #SOAP #Ensemble 0 2 0 340
Question Scott Roth · Apr 6, 2018 Delegated Sign On Bypass Is there a way to make the system users like _SYSTEM and ensadm bypass the Delegated sign-on and not cause it to fill up the Audit trail with "Programmer mode login failure"?? I figured I still had to leave password login enabled for the background users to run. How would I script if username = "_SYSTEM" then don't do the Delegated sign on? Here is my ZAUTHENTICATE #Object Data Model #Security #Caché 0 3 0 368
Question Scott Roth · Apr 6, 2018 EnableConfigItem() scripting We have scripted a process where we can run EnableConfigItem from the cron in AIX so we can run multiple scripts at a time vs the scheduler in Ensemble that is single threaded. For the most part this works fine, until that service/operation has an error on it then it seems that everything else that is called after that instance halts.Is there something that is stopping EnsConfigItem() from running once something has error'd?Can something be forced like it does if we try to enable/disable in the gui and it times out?this is the single command line we are calling #Caché 0 3 0 519
Question Scott Roth · Apr 6, 2018 EnsLib.SQL.OutboundAdapter and StayConnected Setting Has anyone use any other setting then -1 on the Stay Connected setting on a SQL.OutboundAdapter? I am having issues with a particular database and wonder if it would be beneficial since I only connect once a day to read the data from the Adapter to create an HL7 message.ThanksScott Roth #Ensemble #Business Operation #JDBC #SQL 0 3 0 611
Question Scott Roth · Mar 13, 2018 DICOM to HL7 We have a case where a vendor can send us more information in the DICOM message rather than in the HL7 result message. In theory it should be possible to take a DICOM and convert it to HL7, stupid question is has anyone done it before? Does anyone have any good examples of a DTL they did to show me how to setup the message structures and translation?ThanksScott RothThe Ohio State University Wexner Medical CenterScott.Roth@osumc.edu #Data Model #Ensemble #DTL #HL7 0 2 0 1.1K
Question Scott Roth · Mar 9, 2018 Incrementing Session ID through BPL I have several BPL's that act like SQL Server Integration Services (SSIS) where they are transferring data. When I do this they are all being written under 1 session id, is it possible to make the BPL create multiple session ID's as it is cycling through a Snapshot, so it is easier to read in the trace?ThanksScott Roth #Business Process (BPL) #Object Data Model #SQL #Ensemble 0 6 0 921
Question Scott Roth · Feb 23, 2018 Pulling information from Credentials using Cache Object Script Is there a way to pull a user name and password from the Credentials list that is kept in Ensemble? Right now I have a LDAP user that I have hard coded into my ZAUTHENTICATE, which I would like to get away from. I am not to familiar with settings Global, or calling them at least.ThanksScott #Databases #Globals #LDAP #Object Data Model #Security #Ensemble 1 12 0 2.2K
Question Scott Roth · Feb 16, 2018 User Role Lookup from ZAUTHENTICATE I am working on an ZAUTHENTICATE.mac to move us from local cache users to Delegated Authentication against LDAP. I have created a user role within my instance of Ensemble that matches the AD Group that I will be assigning everyone in my group to. Is there a way to query the list of available Roles within Ensemble, and if one of my AD groups matches that role, set the role for that user? How would I compare the AD Group against the Role listing? Thanks Scott #Access control #Authentication #LDAP #Object Data Model #Ensemble 0 10 0 663
Question Scott Roth · Feb 12, 2018 Setting Authentication Roles from LDAP Group I am working through trying to use ZAUTHENTICATE.mac and LDAP.mac to do Delegated sign on into Ensemble. In reading over the samples and the documentation, I am not clearly finding on how to set the Appropriate Role from the LDAP group I return. Can someone help explain this part to me? If I have a user sign on, and I return a "Group" from the Authentication, how do I get that to transform into the Role I need for Ensemble. Thanks Scott Roth #Access control #LDAP #Object Data Model #Security #Ensemble 0 1 0 547
Question Scott Roth · Feb 9, 2018 Mix case function Does anyone have a function they built to change a name from all lower case, or all upper case to mix case?ThanksScott Roth #Code Snippet #ObjectScript #Caché 0 6 0 911
Question Scott Roth · Jan 30, 2018 EnsLib_HL7.Message retaining data after purge As I was going though and trying to figure out why our CACHE.dat has increased in size over the past 18 days, I found that EnsLib_HL7.Message is still retaining messages dating back to 2014 even though we have our purge set to 10 days. Has anyone else experienced this? Thanks Scott Roth The Ohio State University Wexner Medical Center #HL7 #Performance #System Administration #Caché #Ensemble 0 1 0 351
Question Scott Roth · Jan 30, 2018 Managing and Monitoring CACHE.dat We have noticed in the course of the last 18 days our CACHE.dat has grown by 20 GB. Is there a way we can break down the data in CACHE.dat to see what could be growing in size?Let me state it another way.....Is there a way to see what space an Operation/Service/Process is taking up within a certain Production?ThanksScott RothThe Ohio State University Wexner Medical Center #Caché #Databases #System Administration #Ensemble 0 3 0 1.5K
Question Scott Roth · Jan 25, 2018 List of Business Services Is there a way to get the list of Business Services from a command line call? We are trying to see if there is a way we can automate bring down our Inbound Business Services during a fail over. Thanks Scott Roth The Ohio State University Wexner Medical Center #Business Service #Ensemble 1 12 0 807
Question Scott Roth · Jan 24, 2018 Creating a AlphaNumeric Sub ID Counter (OBX.4) Is it possible to have a, b, c, d, e, and f as a counter instead of the counter being numeric? See below...Epic would like us to set OBX.4 using a alpha numeric combination. #DTL #HL7 #ObjectScript #Ensemble 0 3 0 336
Question Scott Roth · Jan 18, 2018 Using StartsWith with a data lookup table I have an interface that does not send me specific ID's, so I am scanning the AIL3.2 (Text) field for certain characters. The Routing rule is getting pretty big with all the OR statements. Is there a way that I can define what I am searching for in the data lookup table, and not have to scan the whole field that it does by default? Is there a way that I can simplify this? #Ensemble #Business Rules #HL7 0 3 0 836
Question Scott Roth · Jan 12, 2018 Persistent Value not being specified for Query What happens if you don't declare a Persistent value when you call ExecuteQuery()? What does Ensemble set as the key value for your query? I have a query that I've executed on SQL Server, and I get 15 rows, but because this is my second time querying the data Ensemble thinks it exists. The Method in question is SelectProviderClarityAudit. If I call this query multiple times it is not returning the same number of results each time in Ensemble. #Business Operation #ObjectScript #ODBC #Ensemble 0 3 0 461