Question Scott Roth · Jul 20, 2017 SQL Inbound Adapter - Not returning all the records it should from a View in Micrsoft SQL Server I am currently working on a issue with WRC on one of my Inbound SQL Adapters not returning all the records it should be. If I looked at the count of the records in Ensemble and compare it to that of a Microsoft SQL View, Ensemble seems to be off by a few records here and there. I am using a full dynamic select statement in my settings of the adapter. SELECT Text, PhysicianLastName, PhysicianFirstName, PhysicianAddress1, PhysicianAddress2, PhysicianCity, #Business Service #JDBC #ObjectScript #SQL #Ensemble 0 5 0 798
Question Scott Roth · Jun 19, 2017 Date Filtering Functionality I have come across several cases where I need to set a Date filter to send only send any admit/scheduled date past a certain point. We have a couple different date comparison functions but none looking at the true date. Most of them are date + 15 or etc. Does anyone have a good date function they have written to say if x > 20170102 ?ThanksScott #Ensemble #Business Rules #DTL #HL7 #ObjectScript 0 14 0 2.3K
Question Scott Roth · Jun 9, 2017 Invoking EnsLib.FTP.OutboundAdpter from Object Script I have a case where I am creating a PDF file from an Encoded String, and I need to transfer this file over to another server. I was wondering since this is PDF file if I could just invoke the FTP.OutboundAdapter within my Object script that is creating the PDF from the encoded string. Is this possible? Does anyone have an examples of using EnsLib.FTP.OutboundAdpater within their Object Script?ThanksScott RothIntegration - InterfacesThe Ohio State University Wexner Medical Center #FTP #Object Data Model #ObjectScript #Ensemble 0 5 0 618
Question Scott Roth · May 2, 2017 Inbound Email Adapter Confguration Does anyone have a good example of setting up an Inbound Email Adapter Service to retrieve an email? I am thinking of sending this email to a BPL to retrieve the Attachment that is in the email. Would that be the correct method to do that? Thanks Scott Roth The Ohio State University Wexner Medical Center #Business Service #Ensemble 0 1 0 629
Question Scott Roth · Apr 25, 2017 uu-encoded? We have a vendor that can only send us a uu-encoded PDF. Is there a way to decrypt it in Ensemble? Thanks Scott Roth The Ohio State University Wexner Medical Center #ObjectScript #Ensemble 0 3 0 496
Question Scott Roth · Apr 19, 2017 Difference between %Stream.FileCharacter and %FileBinaryStream Awhile back we had someone write some code to Log messages like we did in eGate but with Ensemble. #Object Data Model #Caché 0 2 0 1.4K
Question Scott Roth · Apr 11, 2017 Invalid Status Code Structure Error With help from others here I had developed some code to take a Base64 PDF within a OBX.5 and save it locally to the file structure on the server.I had to make a change to the code to return me a String so I can pass the Path back into Ensemble to use it in the message. When I made this change I am getting " ERROR #5034: Invalid status code structure ("/ensemble/data/transfer/AncillaryPDF/TMSAUDIO/Apr-11-1/980512729TMSAUDIO1046784936436537800.pdf")"Here is the code... #DTL #Object Data Model #ObjectScript #Ensemble 0 3 0 1.2K
Question Scott Roth · Mar 31, 2017 Troubleshooting Disconnects One of our Departments are claiming that we are loosing HL7 messages that are sent from their Vendor's system to Ensemble.I know interfaces 101 if we have no record of the message then we never received it, however they are insisting they are sending it.I asked them to provide the ACK's if they sent the messages but Ensemble had no corresponding Message Control ID (MSH.10) .Currently I have the following settings... #Business Service #Ensemble 0 2 0 1.8K
Question Scott Roth · Jan 9, 2017 Automatting Data Lookup Table Import Is there a way to have a Data Lookup table be automatically updated via a script or cache code? We have a file that is being created by our EMR, and we need to import it into Ensemble to update it. Just trying to see if we can automate this process. Thanks Scott Roth Ohio State University Wexner Medical Center #Data Import and Export #ObjectScript #Ensemble 0 5 0 1.6K
Question Scott Roth · Dec 8, 2016 Storing a PDF in a Stream and Seaching for Values within that Stream Using the following... //Get PDF stream object previously saved Set pdfStreamContainer = ##Class(Ens.StreamContainer).%OpenId(context.StreamContainerID) Try { Set pdfStreamObj = pdfStreamContainer.StreamGet() } Catch { $$$TRACE("Error opening stream object ID = "_context.StreamContainerID) Quit } Would it be possible to search the pdfStreamObj for certain values like a Medical Record, or Patient Name? Thanks Scott #Object Data Model #ObjectScript #Ensemble 0 1 0 1.1K
Question Scott Roth · Dec 5, 2016 Using %Net.SSH.Session to do scp Does anyone have a good example of using %Net.SSH.Session to do a scp copy of a file from one server to another? #Callout #Object Data Model #ObjectScript #Ensemble 0 6 0 1.1K
Question Scott Roth · Dec 2, 2016 Connecting to FHIR services via Ensemble Can you connect to FHIR through ensemble or do you have to have HealthShare to connect to FHIR services? #Business Operation #FHIR #Ensemble 0 10 0 1.7K
Question Scott Roth · Nov 23, 2016 Text File Fixed Format I have a standard text file that is coming out of a system new line delimited. Each document will have the same field structure each time. #Business Service #DTL #HL7 #ObjectScript #Ensemble 0 7 0 1.1K
Question Scott Roth · Nov 22, 2016 Cache Syntax - Directory Exists I am trying to write some code to check to see if a directory exists before creating a new directory. When I do the following I am not getting a response, but the directory exists.. do ##class(%File).DirectoryExists("/ensemble/") am I missing something? #ObjectScript #Ensemble 0 5 0 952
Question Scott Roth · Nov 18, 2016 URL Link Download of Document We have a couple of systems that send us a URL link to a PDF instead of base 64 encoding it in the HL7 message. Has anyone ever tired to take that URL, and retrieve the file off of the server to save it off somewhere? #Ensemble #DTL #HL7 #ObjectScript 2 3 0 1.4K
Question Scott Roth · Nov 18, 2016 Decode Base64 into a file I am trying to come up with a way to decode the Base64 we receive in an HL7 message into a PDF file and save it in a directory on our AIX machine. I thought I had the following working at one time but I am having issues. Has anyone done this before? #DTL #HL7 #Object Data Model #ObjectScript #Ensemble 1 5 1 4.3K
Question Scott Roth · Oct 6, 2016 SOAP Client Web Service Exception Handling maybe I am not looking in the correct spots, but how should one handle an Exception from a SOAP web service within the Business Process Language? For example I am sending a request to a Web Service to try to get information, but the response I am getting is an Exception like "Patient Not Found".Is there a function I can call to check the response similar to what I do to check a SQL Snapshot to see if it is valued?ThanksScott Roth #Business Operation #Business Process (BPL) #Ensemble 0 2 0 741
Question Scott Roth · May 26, 2016 Microsoft SQL Image Column to JPG file using Ensemble Has anyone tried to extract a Microsoft SQL Image Column into a JPG file using Ensemble? We currently have a Microsoft SQL Integration Services job that exports a SQL Image column into a JPG and then resizes it. I would like to get this job off of Microsoft so the rest of our team can support it and wondered if we could do it in Cache Object Script using Ensemble.ThanksScott RothThe Ohio State University Wexner Medical Center #Ensemble 0 1 0 350
Question Scott Roth · May 9, 2016 Production Monitor At the Global Summit several folks had mention that they developed their own production monitor. I am looking to create a monitor similar to eGate that we only display those Services/Processes/Operations that are in trouble, and those Errors that are showing up in the Event Log. Does anyone have any examples of this? Thanks Scott Roth The Ohio State University Wexner Medical Center #Management Portal #Monitoring #ObjectScript #Studio #Ensemble 0 3 1 648
Article Scott Roth · Apr 21, 2016 1m read Managed Alert Configuration During the Unconfernce and Sessions during the Global Summit several folks had questions and wanted to see how Ohio State setup our Managed Alerts. Attached is an export I did along with Documentation I had given to our group here at OSU for Managed Alerts. #Ensemble #Global Summit 2016 #HealthShare 4 2 0 688