Hi Everyone,
Please welcome the new Global Summit 2019 video on InterSystems Developers YouTube Channel:
⏯ Using IoT in InterSystems IRIS for Health
Hi Everyone,
Please welcome the new Global Summit 2019 video on InterSystems Developers YouTube Channel:
⏯ Using IoT in InterSystems IRIS for Health
Hi All,
I have a ZEN report, which gives a PDF output, i want to generate this report programmatically, save to a location in the disk. Here is my method so far
ClassMethod GenerateReport(ReportID, ReportClass, P1, P2, P3, P4, P5, P6, P7, P8, P9, PUser, PUserID, PUserProfileID, mode = 2, ByRef outputfile = "") As %Status { set filename="" set ZenClassName=$piece(ReportClass,".cls") set oRpt=$classmethod(ZenClassName,"%New") set oRpt.RUID=##class(websys.Report).GetRUID(P1,P2,P3,P4,P5,P6,P7,P8,P9,PUser,PUserID,"",PUserProfileID) set FileExt=.

For unknown reason, my Studio "Find" button is greyed out even when Studio is restarted.
The simple answer is: a custom widget. A portlet can exist by itself on a DeepSee dashboard, it can be used along side standard DeepSee widgets, or along side other portlets. The rendering of the custom widget is completely user defined. This means you can embed a web page, create a form to perform any sort of action needed based on the data on your dashboard, use third party charting libraries, or simply display data from outside of a DeepSee cube.
Im usually pretty good at ComplexMaps and implemented a couple, but I have one that is stumping me on how I can implement it. My problem is I have no real "leading data" to key off of and need something else...
It goes a little bit like this:
D123456 THING1 THING2 THING3 THING4
D789101 THING1 THING2 THING3 THING4
T THINGX THINGZ
In looking at the above, I need two record maps, one for the "D" rows (repeating) , and one for the "T" row, which is basically the trailer.
Hello guys,
Is it possible to map a package as read only?
I know it is possible to mount the source database as read only and map the package in the target namespace. But I would like to make the mapping read only so that the package would be "read only" only in the target namespace.
This would avoid someone to forget to set the database read only again if a modification in the package is needed.
Thanks in advance.
Jonas Zanon
Our current file repository was on a linux server, but it has been having issues. For this reason, we are moving the data to SharePoint online, since we already pay for the service. It seems there is not an option to ftp/sftp files to/from the SharePoint Online server from our RedHat server (Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2015.2.3 (Build 855_0_17370))
How would I send and receive From the RedHat server to the SPO Server?
I'd love full example code, but any help pointing me in the right direction would be much appreciated.
Hi everyone,
I am currently sending an HTTP POST request to an
Here the request URL: http://10.41.11.210:57772/csp/healthshare/dce/POSTServiceClass.cls?rpyT…
From the documentation I have read (https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=EHTTP_inbound) I get that the form variables are written into the request body in case of a POST. I have also implemented the OnInint() is this way to enable the form variables parsing:
Method OnInit() As %Status { Set .
Hi all...
I am testing this project:
https://intersystems-community.github.io/webterminal/
Is there any way to be able to record a log of what is done on this terminal?
Does anyone use this in production?
I need to ran a task on a specified days (once a month but a different day each month).
How can I do that in Task Manager?
Hi Community,
The new video from Global Summit 2019 is already on InterSystems Developers YouTube:
⏯ The Value of Developing with Containers
If you work with anything other than English, you would earlier or later encounter the characters from the title or just plain ??????????.
Encodings are usually known, but sometimes you just get gibberish and need to make sense of it.
In this cases $zcvt is your friend, the three argument form specifically.
But there are a lot of options. So here's an utility script to check how the text would look like in different encodings:
Zn "%SYS"
Set Text = "ÍàØâàÞæØâë"
Set Ref = ##class(Config.NLS.Locales).OpenCurrent(.Sc)
Write "Locale name: ",Ref.Name, !
Do Ref.Hot on the heels of the QEWD-JSdb announcement, QEWD-baseline provides a ready-to-run baseline environment for developing REST APIs.
The QEWD-baseline repository (https://github.com/robtweed/qewd-baseline) includes a fully-detailed tutorial on how to build RESY APIs using QEWD and the QEWD-JSdb database (running of course on IRIS).
ObjectScript has at least three ways of handling errors (status codes, exceptions, SQLCODE, etc.). Most of the system code uses statuses but exceptions are easier to handle for a number of reasons. Working with legacy code you spend some time translating between the different techniques. I use these snippets a lot for reference. Hopefully they're useful to others as well.
///Status from SQLCODE: set st = $$$ERROR($$$SQLError, SQLCODE, $g(%msg)) //embedded SQL set st = $$$ERROR($$$SQLError, rs.%SQLCODE, $g(rs.%Message)) //dynamic SQL ///Exception from SQLCODE: throw ##class(%Exception.
A demo in traditional style COS
This was written based on a previous trial in .XLS
It is far from being perfect. Rather a challenge for
improvement in all directions (code, interface, ...)
So anyone feel invited to make it better.
USER>d ^SUDOKU5
;; Welcome to this SUDOKU demo !
;; you may solve your SUDOKU easier or create your own
;; under each box entry you find a list
;; of allowed values for this box
;; fill in numbers 1..9 as you need
;; to clear a box enter any character or blank
;; to stop enter . or , for the solver enter ?
;; navigate between boxes by cursor keys <>^v
;;
go:.png)
Is it possible to save HL7 messages to a csv file? Record Mapper appears to allow a service to import a csv and convert to HL7, but can you reverse that and save to a csv?
Hi Community,
This week we have two new videos from Global Summit 2019. Please welcome:
1. An ML Toolkit for InterSystems IRIS: Co-Innovation in Healthcare
This is a basic JavaScript Vue.js example how you can use REST calls using plain HTML.
Good day,
We upload images into the database with this code :
<td align="right">FileName</td>
<td><input type=file size=200 name=FileStream></td>
</tr>
s FileName = ##class(%File).GetFilename(FullFilename)
s ItemImage.FileName = FileName
s ItemImage.fileSize = %request.MimeData("FileStream",1).Size
d ItemImage.Image.CopyFrom(%request.MimeData("FileStream",1))
The need is now to be able to copy a document (example as attached in an email) and paste to be saved into the ItemImage.Image
%GlobalBinaryStream
Has anyone done something like this ?
Thanks
André
Hi,
I've heard from two different sources the SMP (or parts of it) and for sure the DTL front end (in studio? via SMP?) have been rewritten to be more modern. But on a latest IRIS Community download everything looks the same to me. Am I missing something or is this Marketting Spin?
Hopefully I won't get banned for this post aswell......
Olá pessoal,
Compartilho material de um curso desenvolvido por mim, espero que possa ajudar a comunidade.
English:
Hi folks,
I share material from a course developed by me, I hope it can help the community. The material is in Portuguese.
Link: https://www.linkedin.com/posts/cristianojs_material-te%C3%B3rico-activity-6608421528906285056-sr8E
I am generating the DDL from a modeling tool - ERStudio. But the DDL has 2 issues right now.
DROP TABLE schema_name.<Table_Name> CASCADE CONSTRAINTS; The Constraints is not supported but works with the statement - DROP TABLE Study_Definition.EVENT_STORE CASCADE;
Second if there is no object to drop, it throws an error, so is there a check like in sql server If_Exists that we can use in CacheDB?
For simplicity sake let's say that we talk about active production.
I need to know if the business host is added to the production or not.
Currently I have:
do ##class(Ens.Director).IsItemEnabled("HostName", .sc)
set defined = $$$ISOK(sc)Which looks like a workaround.
Hello,
I've got a table with many attributes and data. There is 10 000 000 registrations approximatly.
I need to make a research on this table with filters, paging, and order.
You can see an example of my SQL request :
SELECT * FROM ( SELECT TOP ALL * FROM ANCV_Data.Titre WHERE etatTitre = 'Emis' ORDER BY numRemise desc) v WHERE %vid BETWEEN 1 AND 25
Cause there are many data on my table, my SQL req is too long if I don't have index on my attributes BUT there are many associations possible...
Are they any solutions ?
Regards,
I have the following class:
Class temp.test7 [ Owner = {PHOENIXDBUSER} ] { ClassMethod GetTenAssets() As %Status [ ReturnResultsets, SqlProc ] { s sc=$$$OK s sql="SELECT TOP 10 * FROM Data_Assets.Asset" s sqlStatement=##class(%SQL.Statement).%New() s sc=sqlStatement.%Prepare(sql) if $$$ISOK(sc) { s result=sqlStatement.%Execute() d %sqlcontext.AddResultSet(result) s %sqlcontext.%SQLCODE=result.%SQLCODE s %sqlcontext.%ROWCOUNT=result.%ROWCOUNT s %sqlcontext.%Message=result.%Message } else { s %sqlcontext.%SQLCODE=-460,%sqlcontext.%Message=##class(%SYSTEM.Status).
Hi Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in November 2019:
| New Videos | |||
| № | Video | Views | Watch Time (hours) |
| 1 | 130 | 17,6 | |
| 2 | 112 | 4,3 | |
| 3 | API Management | 99 | 16,6 |
| 4 | 83 | 9,7 | |
| 5 | InterSystems IRIS and Intel Optane Memory | 77 | 9,6 |
| 6 | AI Robotization (Python, R, Interoperability) for InterSystems IRIS | 74 | 7,8 |
| 7 | Rapid Intelligent Application Development | 63 | 4,2 |
| 8 | Multi-Inheritance in a Multi-Model Environment | 56 | 2,3 |
| 9 | Showcase: InterSystems IRIS Directions | 32 | 4,0 |
| 10 | Message Persistence & Tracing | 29 | 0,9 |
Hi Community,
New session recording from Global Summit 2019 is available on InterSystems Developers YouTube Channel:
⏯ The Data Management and Analytics Landscape
Want to see how IRIS can be used in a radically-new way, as a JavaScript-based Multi-model database?
Take a look at QEWD-JSdb: https://github.com/robtweed/qewd-jsdb
Full instructions on how to try it out on the AWS IRIS Community Edition are included in the repository.
Hi,
What is the best practice when adding FHIR extension to Patient resource? To not to lose it when updating Patient base class etc.
Krystian
I am writing an API that sends over a very large JSON object.
The code I'm using to get the data is actually used in our production system today for the use of writing a report.
However when I call the code using the API (using SoapUI) I am getting 'Error getting response; java.net.SocketTimeoutException: Read timed out'
The web applications settings have a session timeout setting at 15 minutes, but this is timing out within just a few minutes, so I know it's not hitting this mark.
Has anyone experienced this issue with APIs?