go to post Marc Mundt · Jul 27, 2021 You've written a pretty good description of the Production Generator included in IRIS for Health:https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.UI... This presentation may be of interest:https://learning.intersystems.com/course/view.php?id=1192
go to post Marc Mundt · Jul 19, 2021 Have a look at $SCONVERT:https://cedocs.intersystems.com/ens201513/csp/docbook/DocBook.UI.Page.cl... USER>set tIEEE=$c(0,0,220,67) // bytes representing 0000000 00000000 11011100 01000011 USER>write $SCONVERT(tIEEE,"F4") 440
go to post Marc Mundt · Jul 12, 2021 Here's a working example using <img> in a <table>. I don't think you can put an <img> inside an <item> or inside another <img>. <table orient="col"> <block width="40%"> <img src="http://localhost/logo.jpg" contentHeight="0.56in" contentWidth="2.33in" style="text-align:left"/> </block> <block width="40%"> <table orient="col"> <item field='#(..pagetitle)#'/> </table> </block> <block width="20%" style="text-align:right;"> <item field='#(..subtitle)#'/> </block> </table>
go to post Marc Mundt · Jun 23, 2021 Here is the section in the docs that explains why this is happening and why @Eduard Lebedyuk asked if that class is persistent. Business Process Execution Context The life cycle of a business process requires it to have certain state information saved to disk and restored from disk, whenever the business process suspends or resumes execution. This feature is especially important for long-running business processes, which may take days or weeks to complete. A BPL business process supports the business process life cycle with a group of variables known as the execution context. InterSystems IRIS automatically save the variables in the execution context and restores them each time the BPL business process suspends and resumes execution.
go to post Marc Mundt · Jun 14, 2021 It seems like this approach would still work with a poolsize > 1. Of course each worker job will decide on its own if it should throttle or not.
go to post Marc Mundt · Jun 10, 2021 There's no option for %DisplayFormatted to split the results into multiple parts automatically. You would need to write a custom method to do your CSV output with the logic you need. I can post some sample code that outputs CSV if that would be helpful. 8 hours for 16 million records at ~140 bytes/record seems really slow. I just did a test on a slow Windows VM and for a simple "SELECT *" for 16 million records @ 150 bytes/record, %DisplayFormatted took about 18 minutes to output the 2.4 GB CSV. I suggest you contact the WRC to help look at where the bottleneck is.
go to post Marc Mundt · Jun 9, 2021 In your assign action, there is a leading space in the property name: <assign value='source.AttendingClinicians.GetAt(st).Code' property=' npicode' action='set' />
go to post Marc Mundt · May 24, 2021 %XML.Reader and %XML.Document won't automatically update the original stream. You need to use %XML.Writer to output the %XML.Document into a stream. set writer=##class(%XML.Writer).%New() set outStream=##class(%Stream.GlobalCharacter).%New() set tSC=writer.OutputToStream(.outStream) set tSC=writer.Document(document) write "Stream:[",outStream.Read(3000000),"]",!
go to post Marc Mundt · May 24, 2021 The HL7 organization offers training:http://www.hl7.org/training/index.cfm And there are other organizations that offer HL7 classes as well:https://www.pathlms.com/hl7/courses/8159I haven't taken these courses myself so I can't say if these are good or not.
go to post Marc Mundt · May 20, 2021 File Specs for services support wildcards, but not the complex time stamp specifications that are used for outputting filenames from an operation. File SpecFilename or wildcard file specification for file(s) to retrieve. For the wildcard specification, use the convention that is appropriate for the operating system on the local InterSystems IRIS Interoperability machine. https://docs.intersystems.com/irisforhealthlatest/csp/docbook/Doc.View.c...
go to post Marc Mundt · May 20, 2021 Have a look at the Record Mapper -- you can create a spec for your target flat file format, and then map to that as the target format in your DTL.
go to post Marc Mundt · May 10, 2021 Since you mention Clinical Viewer I assume you're talking about HealthShare and not about TrakCare. HealthShare includes documentation on customizing the Clinical Viewer here: https://docs.intersystems.com/hs20211/csp/docbook/Doc.View.cls?KEY=HECUI Note that you'll need to be a HealthShare customer to access this documentation.
go to post Marc Mundt · May 5, 2021 I'm not aware of third-party widgets for ZEN Reports -- maybe someone else knows more. Something else you could explore is generating SVG code to draw the graphic and output the SVG directly into an xsl-fo element using Zen Reports' <write>.
go to post Marc Mundt · Apr 26, 2021 You can definitely do the OAuth requests using basic HTTP calls. Doing it in OnInit won't work because the token you receive has an expiration time. You'll need to:- For every message your Operation receives you'll need to check if the cached token's expiration time has passed (or if there's no cached token).- If you need a new token, do your POST call to get a new token and cache it.
go to post Marc Mundt · Apr 15, 2021 You need to instantiate that class as an object and then you can call methods on the object:https://docs.intersystems.com/irisforhealthlatest/csp/docbook/Doc.View.c...
go to post Marc Mundt · Mar 31, 2021 If you're working with an Ensemble SQL operation, then pResultSet is an EnsLib.SQL.GatewayResultSet object. Have a look at the HasDataStream and GetDataStream methods.