Question Aaron Vail · Aug 9, 2022 X12 852 schema wanted Anyone have a X12 schema for 852 types concerning supply chain? #InterSystems IRIS 0 3 0 231
Question Aaron Vail · Aug 19, 2021 SQL return Operation counts grouped by date? I'm wanting to write a query in SQL that will return a row with a count for each day for a given month or year for a specific operation or configname. The following is a start but I'm not finding what I want in the documentation to parse out the TimeLogged field of the table. Nay help is appreciated. SELECT count(TimeLogged), ConfigNameFROM Ens_Util.Logwhere TimeLogged like '2021-07%'and ConfigName = 'operation_Name'group by TimeLogged #SQL #InterSystems IRIS 0 2 0 181
Question Aaron Vail · Jul 12, 2021 SQL list all unique GT1.3 values in suspended messages I'm close with this but I'm not sure how to grab JUST the GT1.3 data. I know I can do a substring but finding the 3rd | is a tad tricky. I've not been this deep in SQL for 15 years. SELECT SUBSTRING(hm.RawContent, (CHARINDEX('GT1',hm.RawContent)), 50) as NameDescFROM Ens.MessageHeader as em, EnsLib_HL7.Message as hmwhere em.Status = 'Suspended'and em.MessageBodyId = hm.id I expect it should flow like this... SELECT UNIQUE SUBSTRING(RawContent, (FIND 3RD PIPE),(FIND 4TH PIPE) as NameDesc .... #SQL #InterSystems IRIS 0 1 0 241
Question Aaron Vail · Feb 17, 2021 Can't I just get total number of messages easily? I have vendors asking for verification that messages for locations are coming through to them. I can get generic ADT_A01 type of numbers in Activity. I'd really like to get some good SQL queries that can give me a count of MSH.4s (for example) for a day for X Operation. I'm not sure which table to look at for that information. #SQL #InterSystems IRIS 0 1 0 249
Question Aaron Vail · Oct 16, 2019 How can I view changes by users to a service, process, or operation? As a normal IRIS user how can I view who's made changes to a process? There are over 10 people on my current team and it would be amazing to be able to click on a process or rule and see who created it or who made the most recent changes. I'm not seeing anything in the documentation. Journaling doesn't seem to capture that information either. #InterSystems IRIS 0 1 0 177
Question Aaron Vail · Oct 14, 2019 Error importing file for CSV Wizard I'm trying to create a new Record Map but I keep getting a ZEN Exception error. I actually go this to work the very first time I did it and have a record map. But I need to do more. I'm working on my local machine so I can grab a CSV (or txt in this case as it's pipe delimited) from the local directory. I pick the file I want to use but when I click OK i get a popup and the following error: #CSV #InterSystems IRIS 0 1 0 354
Question Aaron Vail · Oct 9, 2019 Help with ERROR #5002: ObjectScript error: <PROPERTY DOES NOT EXIST>...Source,Ens.StreamContainer I'm trying to convert a CSV inbound to an HL7 MFN^M16 outbound. I know I'm using book information as the CSV but I don't think that matters. Please let me know if that's incorrect. My service is reading the file in just fine and when I don't have a DLT transformer the raw message passes through to outbound file folder just fine. However, when I include a basic DLT that simply copies a couple of fields over I get the "Ens.StreamContainer" error. Everything also seems to be good in the Record Mapper. #InterSystems IRIS 0 4 0 3.5K
Question Aaron Vail · Oct 8, 2019 New to IRIS. How do I read in a CSV file? I'm trying to read in a CSV file and map to MFN^M16. The first problem I'm having is getting the Service to read the file without causing errors (see below). I'm using #CSV #InterSystems IRIS 0 1 0 479