Question Ben Webb · Aug 15, 2022 How to execute a class method of a process periodically? Hi all, I have a requirement to periodically poll a URL to fetch some XML data based on a list of query data, lets say every hour, and map what's returned to HL7 then send downstream, I mostly have everything contained within a business process and DTL but I'm lacking a way of invoking the process every X minutes, The client has a prefence for as much as possible to be done via out of the box components in the standard HL7 model of "Service --> Process/Rule/DTL --> Operation" within the Web UI, #Business Rules #Business Service #HealthShare 0 5 1 542
Question Ben Webb · Dec 2, 2021 Is this approach to renaming an output file bad practice, and if so, why? Hi all, I'm trying to output a XML file, mapped from a ORU_R01 2.3 HL7 message, with a file name based of fields in the source HL7 message in the following format, source.{PIDgrpgrp(1).PIDgrp.PID:PatientIDInternalID(1).ID}_"-"_source.{PIDgrpgrp(1).PIDgrp.PV1grp.PV1:VisitNumber.ID}_"-"_source.{PIDgrpgrp(1).ORCgrp(1).OBR:ObservationDateTime.timeofanevent}To give something like RXR0000000-000000123-20211125105415.xml as the output filename, #ObjectScript #XML #Ensemble #HealthShare 0 1 0 359
Question Ben Webb · Nov 29, 2021 Invalid Oref when trying to extract Base64 Encoded PDF from HL7 Field Hi all, I'm using a snippet I found from Scott Roth to extract, decode, and save a PDF from a HL7 message and save it to a specified file path, but I'm running issues with the following error:My approach was to a create a utility function accessible from a DTL like this: #ObjectScript #Ensemble #HealthShare #InterSystems IRIS 0 7 0 734
Question Ben Webb · Oct 28, 2021 Can anyone tell me how to get the DocType from looking at a HL7 message body? Hi all, Just wondering if there's a quick way to get the DocType, without knowing it in advance, from a message body by building a string from the VersionID, MessageType, and TriggerEvent fields? (Similar to how it might be done dynamically in Rhapsody)Can this then be used to set the DocType for a source message?If this is not the best practice what is a suitable alternative approach?Thanks for your help,Ben #HL7 #Ensemble #HealthShare #InterSystems IRIS #InterSystems IRIS for Health 1 6 0 801
Question Ben Webb · Oct 26, 2021 DTL Editor: How to get DocType at runtime? Hi all, I'm fairly new to this engine so I was wondering what the best approach for creating a dynamic mapper to downgrade from one HL7 version to another (e.g 2.4 to 2.3) with the DTL Editor, It seems like something that would be quite commonly needed but I haven't found a method that works yet, #HealthShare 0 6 0 547