Hi Community,
The new video from Global Summit 2019 is already on InterSystems Developers YouTube:
⏯ AI and Machine Learning Roundtable
Hi Community,
The new video from Global Summit 2019 is already on InterSystems Developers YouTube:
⏯ AI and Machine Learning Roundtable
Last time we launched an IRIS application in the Google Cloud using its GKE service.
And, although creating a cluster manually (or through gcloud) is easy, the modern Infrastructure-as-Code (IaC) approach advises that the description of the Kubernetes cluster should be stored in the repository as code as well. How to write this code is determined by the tool that’s used for IaC.
In the case of Google Cloud, there are several options, among them Deployment Manager and Terraform. Opinions are divided as to which is better: if you want to learn more, read this Reddit thread Opinions on Terraform vs. Deployment Manager? and the Medium article Comparing GCP Deployment Manager and Terraform.
Ready to build an HL7 production all by yourself?
Try the new Building Your First HL7 Production with InterSystems IRIS for Health learning path from InterSystems Online Learning.
These videos, online courses, and hands-on exercises get you building, optimizing, and troubleshooting productions with InterSystems IRIS for Health. See for yourself!
What if you could serialize/deserialize objects in whatever format: JSON, XML, CSV,...; attending different criteria: export/import some properties and not others, transform values in this or that way before exporting/importing,...; and all of this without having to change the class definition? Wouldn't that be great??
Well, perhaps it's a goal too ambitious to reach 100% but, exploring this idea, I've developed a bunch of classes that I thought it was good to share. If you want to test, change, modify or improve the code, or just take a look at it, you can do it here. There you'll find a more detailed explanation (see Readme.md)
We need to get service's both source and target names. We have checked that we could obtain them in the service:
set ^sourceName = ..#SERVICENAME
However we would like to get it directly from the BPL. We have tried:
Set SourceConfigName = ..%PrimaryRequestHeader.SourceConfigName
$$$LOGINFO("SourceConfigName "_SourceConfigName)
And the compiler outputs:
ERROR: Procesos.HistoriaClinica.ConsultaDatosHCEPaciente.Thread1.cls(S161+247) : MPP5376 : Method or Property '%PrimaryRequestHeader' does not exist in this class.
How could we access to %PrimaryRequestHeader property inside Ens.BusinessProcess
Loading your IRIS Data to your Google Cloud Big Query Data Warehouse and keeping it current can be a hassle with bulky Commercial Third Party Off The Shelf ETL platforms, but made dead simple using the iris2bq utility.
Let's say IRIS is contributing to workload for a Hospital system, routing DICOM images, ingesting HL7 messages, posting FHIR resources, or pushing CCDA's to next provider in a transition of care. Natively, IRIS persists these objects in various stages of the pipeline via the nature of the business processes and anything you included along the way. Lets send that up to Google Big Query to augment and compliment the rest of our Data Warehouse data and ETL (Extract Transform Load) or ELT (Extract Load Transform) to our hearts desire.
A reference architecture diagram may be worth a thousand words, but 3 bullet points may work out a little bit better:
.avro to keep the schema along the data: this will avoid to specify/create the BigQuery table schema beforehands..avro into the respective BigQuery tables you specify.
I am new to Intersystems cache COS scripts (cache is a client system). ThoughCOS scripts basically appear to be straight forward, I am having issues with the logon credentials. From what I have found in the documentation, the first 2 lines of the script contain the U/P. When running the script, the username is picked up correctly but the password is not. Granted, having U/P in a script is not ideal but will suffice as a matter of learning if I can figure out the formatting/syntax required. Any help on this would be appreciated.
Kevin McGinn
Hi Developers!
It's just a statement to let you know who is working for you this year as Developer Community Moderators. Here is our noble team!
English Community:
Spanish Community:
Moderators! thanks for your hard work to make this place busy and helpful!
Developers! You can meet in person all the moderators on InterSystems Global Summit 2020 in Seattle this year and on regional events.
Stay tuned!
when ever I pull the xml file from business services and its failed in business process and I am getting the below error. ERROR <Ens>ErrPreviouslyCrashedMessage: Message '117' crashed previously.
While I can query the HL7 message class EnsLib.HL7.Message (EnsLib_HL7.Message for SQL) to my heart's content in the SQL Shell or the Management Portal's SQL page, I can't seem to SELECT anything other than ID/%Id from an ADO/ODBC client. Properties such as TimeCreated, Name, MessageTypeCategory, etc. all seem to prevent the query from ever completing EXCEPT when I provide the ID as part of the WHERE criteria.
This works fine in the Management Portal and Shell:
SELECT head.ID As HeadId, body.ID As BodyId, body.Name as BodyName
FROM Ens.MessageHeader head
INNER JOIN EnsLib_HL7.Message body
ONWhere can i get the latest odbc providers from SQL Server 2012/2016?
I see some posts on line to an ftp site out there but I am unsuccessful at getting access to it. I have a version loaded on my server but get errors when querying cache'.
"[Cache ODBC][State : 22005][Native Code 22005]"
Any help would be appreciated.
the one we have might be version 2014.01.05851 64 bit (would that make sense?)
InterSystems and Intel recently conducted a series of benchmarks combining InterSystems IRIS with 2nd Generation Intel® Xeon® Scalable Processors, also known as “Cascade Lake”, and Intel® Optane™ DC Persistent Memory (DCPMM). The goals of these benchmarks are to demonstrate the performance and scalability capabilities of InterSystems IRIS with Intel’s latest server technologies in various workload settings and server configurations. Along with various benchmark results, three different use-cases of Intel DCPMM with InterSystems IRIS are provided in this report.
Hi Developers!
Here are the release notes of changes we made to InterSystems Open Exchange since the previous release in December 2019. What's new?
See the details below.
I want to send requests from custom BP with timeout and be able to understand that timeout event happened.
I thought that I need to implement OnTimeout method in my process (in either caller or callee), however it seems like OnTimeout is never called.
Let's say we have this parent process:
Class Timeout.Parent Extends Ens.BusinessProcess [ ClassType = persistent ]
{
Method OnRequest(pRequest As Ens.StringContainer, Output pResponse As Ens.StringContainer) As %Status {
set sc = ..SendRequestSync("Timeout.Child", pRequest, .pResponse, 5)
if ($$$ISOK(sc) && ('$isObject(pResponse))) {Hi,
I would like to know if it is possible to use windows command line , instead of Intersystems Terminal , to connect to Caché and do objectscript commands or SQL requests as a client.
Thank you for your help
I have a simple python script to pull table information from cache 2018.1.2 which is on a windows 10 machine. I get no results though the same query in the management portal works correctly:
import os
import sys
import intersys.pythonbind3 as ipyb
import numpy as np
# Connect to the Cache' database
url = "localhost[1972]:%SYS"
user = "xxxx"
password = "zzzzz"
accessKey = (url, user, password)
def main(accessKey):
tbList = []
# Get the connection and database handles
conn = ipyb.connection()
conn.connect_now(accessKey[0],accessKey[1],accessKey[2], None)
database =
Hello,
I am wondering if it is possible to access properties of a class from within a routine that has been called. See the below example:
Class TestClass Extends %RegisteredObject
{
Property Data As %ListOfDataTypes;
Method Query(parameter As %String)
{
d runTag^ExampleRoutine(parameter)
q
}
}
And then I have a routine:
ExampleRoutine
runTag(parameter)
;I want to add some information to the Data property in the class here.
q
Let's say I start with a date range of '1-5-2019' to '5-25-2019' that occurs on one row. I'd like to ultimately have this show as 5 rows in Crystal Reports as shown below
Result
1-5-2019 1-31-2019
2-1-2019 2-28-2019
3-1-2019 3-31-2019
4-1-2019 4-30-2019
5-1-2019 5-25-2019
I found a result that worked in T-SQL, but I'm not sure how to translate it to Cache SQL. The T-SQL code is
select dateadd(d,N.number,d.begindate) adate, data
from data d
join Numbers N ON number between 0 and datediff(d, begindate, enddate)
This code fetches a row for every day between the begin date and end date.
In T-SQL, I can create a recursive CTE to create a subquery or a view that will hold a whole lot of numbers. Is there a way to do this in Cache SQL? I'd like the numbers from 0 to 10000 if possible.
Thanks!
Hi all!
I'd like to share the code we used in a hands-on session in the last InterSystems Iberia Summit (Spain) about developing a simple Angular app using InterSystems IRIS as backend.
_anim_preview.jpg)
Hi Community,
On 8-9 June 2020 InterSystems UK & Ireland will be hosting the annual events for its customers, offering both technical and strategic insight content on the different ways to achieve successful digital innovation:
➡️ InterSystems UKI Developer MeetUp
➡️ InterSystems UKI Innovation Day
InterSystems is committed to your success, and to ensure we make the best use of your valuable time, we would like to understand more about the technology drivers and challenges your business is facing now, and how you are preparing beyond 2020.
With your help, we can ensure that the conference agenda features topics relevant to your business, with information that will maximize your IT investment and partnership with InterSystems.
The survey will only take an estimated 3 minutes to complete. Thank you in advance for your feedback!
SAVE THE DATE
Keep your eyes peeled for an official event invitation in coming weeks, but you can save the date and register your interest here.
Hi Developers!
In February we introduced into Developers Community:
See the details below.
Hi,
Do you have any experience in server side pagination with IRIS using Angular on the client side?
Any idea on a typical SQL request on the server side?
Thanks!
Blaise
Hi Developers!
This is the digest of new solutions and applications submitted to InterSystems OpenExchange in February 2020!
Sudoku game implementation in Excel using InterSystems IRIS as a server
RESTForms2 by Henry Hamon Pereira
RESTForms2 is a framework to create the REST API for InterSystems IRIS persistent objects automatically
FirstLook-Globals by Evgeny Shvarov
Firstlook example of InterSystems Globals
IRIS Interoperability Message Viewer by Henrique Gonçalves Dias
A new approach for the Interoperability Message Viewer
The iKnow Natural Language Processing technology was originally developed in Belgium and then acquired by InterSystems in 2010. In February 2020, InterSystems published the technology to open source, expanding the possible use cases for it beyond embedded use from the InterSystems IRIS Data Platform. iKnow is open to community contributions to enhance the engine, language models and interfaces for use in-text exploration, information extraction, and machine learning use cases.
Hello I am looking to take a message that is coming from a radiology service, depict whether there were abnormal findings. Then create a message that can be sent to a printer and mailed for patient follow up. Has anyone done anything with printing a created message from Ensemble before? I have created dynamic emails, but never printed anything.
Thanks!
Joe
Dear Community,
We're pleased to invite you to "ConferencIA", a conference about data and AI, which will take place on February 20 in Madrid, Spain!
At the event, both InterSystems experts and external thought leaders will share success stories and real projects, where AI is already a reality.
Hi,
I created a BS with a SQL Inbound Adapter.
Query = "SELECT rowid, fname ,lname,datesent
FROM labs
WHERE datesent IS NOT NULL"
DeleteQuery = " update labs set datesent = Getdate() where rowid = ?"
KeyFieldName = "rowid"
i am getting the following errors.
"NOT assuming network disconnect error based on: Gateway failed: DropStatement."
"Skipping previously errored row '235'"
"Assuming network disconnect error based on: SQLState: (HY000) NativeError: [0] Message: [Microsoft][SQL Server Native Client 11.0]Connection is busy with results for another command"
Why
Do you have any clue how to create a list of messages in studio ?
Example :
I can define one message that is called DoctorInfoMsg such as
set DoctorInfoMsg= ##class(PKGNotification.InDoctorInfo).%New()
Where PKGNotification.InDoctorInfo is composed of
Property UserName As %String;
Property ListOfPatients As list Of %String;
How to define a list of PKGNotification.InDoctorInfo messages ?
How to get UserName of the first message?
This error is sometimes seen while viewing a listing in InterSystems IRIS Business Intelligence:
ERROR #5540: SQLCODE: -99 Message: User <USERNAME> is not privileged for the operation (4)
As the error suggests, this is due to a permission error. To figure out which permissions are missing/needed, we can take a look at the SQL query that is generated. We will use a query from SAMPLES as an example.
SELECT TOP 1000 %ID, DateOfSale, Outlet->City, %EXTERNAL(Channel) AS Channel, Product->Name AS Product, UnitsSold, AmountOfSale AS Revenue, (Discount * 100) || '%' AS Discount, Comment FROM HoleFoods.