What causes the ![CDATA[ in a string field?
<QueryParameters><![CDATA[showportalonly=1&leaveunprocessed=0&limit=5000]]></QueryParameters>
What causes the ![CDATA[ in a string field?
<QueryParameters><![CDATA[showportalonly=1&leaveunprocessed=0&limit=5000]]></QueryParameters>
Hello community,
I guess this one will be easy to answer, but trial and error took me too long meanwhile, so I thought it might better to ask the experts.
I would like to get rid of %all rights for routine use at our productive environment. The things, that we have to do in routine are:
- Open productions and start / stop components
- Read messages and message logs
- Search and resend messages
- Deploy new Applications
- Edit settings and default settings
- Read database tables
All in all, it is quite equal to everything but System Administration.
I tried to configure this by assigning combinations of
I receive request xml object as
pRequest =
<getURL>
<Url1><![CDATA[https://test/cs/icdfg?&RevisionSelectionMethod=LatestReleased&allowInte…;
</getURL>
I need to send this to a stream
Set XmlStream = ##class(%Stream.GlobalCharacter).%New()
// how do I send my pRequest into XmlStream ??
Do httpRequest.EntityBody.CopyFrom(XmlStream)
Hi Developers!
This is the second post on the resources for Developers. This part is about Open Exchange
Using Open Exchange to Learn InterSystems
InterSystems Open Exchange is a applications gallery of tools, connectors, and libraries which InterSystems Developers submit to share the experience, approaches and do business. All the applications are either built with InterSystems data platforms or are intended to use for development with InterSystems data platforms.
If you are a beginner developer you can take a look at applications in Technology Example category. All the applications in this category come with open source code repositories, so you are able to run the samples and examples in a docker container with IRIS on your laptop or in the cloud IRIS sandbox. Examples:
I would dearly love to avoid manually creating a SEF or XSD file to get the X12 832 (4010) schema into IRIS, but I have been hard pressed to find either downloadable resources or commercial options. The typical recommendation, edi-dev, seems to just do tooling that will help create SEF files, but no longer sells actual SEF files.
Anybody got any good resources that might have these schema files?
Thanks for any help!
Cordially,
Jonathan
Hi Community ,
I have a csv file to read and validate the data in the file
How can i ready only 1st line from the file using Readline()
Thanks,
smythee
Is there any way to include a CSP page within a CLS?
Example: #Include file.csp
Context: I work with a legacy that most screens are built using only CLS. I'm trying to change this by separating the frontend layers to be built only with CSP and backend layers using CLS. I improvised a method that injects an iframe to render the CSP in CLS through that iframe, but I'm still not happy. I need to know if there is any way to include this CSP using some specific resource for this.
Im trying to run a local instance of the UCR/Patient Index in a container but its giving me an error.
Here is my docker compose file:
version: "3.2"
services:
iris:
image: container.intersystems.com/intersystems/healthshare_unifiedcarerecord_insight_patientindex:2023.2
platform: linux/amd64
command: --key /dur/key/iris.key
ports:
# 1972 is the superserver default port
- "9091:1972"
# 52773 is the webserver/management portal port
- "9092:52773"
# 52773 is the JDBC Gateway port
- "9093:52773"
volumes:
- ./data:/durhi !
now I want to insert data to third party database directly, Link Table wizard how to insert except by sql?
s obj=##class(YBFXJC.LABINFO).%New()
;s obj.ID="1"
s obj.HISID="1"
s obj.APPYNO="1"
s obj.HOSPITALID="1"
s obj.BILGDRNAME="1"
s sc=obj.%Save()
w sc_$System.Status.GetErrorText(sc),!
there is error <CANNOT SET THIS PROPERTY>zSaveData+3^YBFXJC.TestSaveObj.1
Let's say I have an InterSystems IRIS instance with 6 Namespaces:
And the number of Foo# namespaces can increase at any time for a number of reasons. I need to ensure that they all have identical configuration globals stored in a DB called CONFIG, so I do the following in my configuration file:
[Map.%ALL]
Global_SYS=%DEFAULTDB
Global_SYS("CommonConfig")=CONFIG
Global_SYS("CommonOtherSettings")=CONFIG
Global_SourceControl=CONFIG
This will ensure that all Namespace see the exact same settings when they reference ^SYS("CommonConfig") or ^SourceControl, etc.
Now.
Hi:
We are looking again into DB size. Looking at our Ens.MessageHeaderI GSIZE is 3767107
Looking at the global i'm not sure if we have had an issue in the past so much of the data looks the same, we only have 3 values in the $zwc and although some of the data in the $c between 1 and 18630 it looks very similar as if there was an issue in the past. But if anyone has any examples of their index param this would help to know if our global is abnormal.
Data below
^EnsLib.H.MessageI("Extent",18631) = $zwc(152,8000)/*$bit(1..64000)*/^EnsLib.H.MessageI("Extent",20750) = $zwc(152,8000)/*$bit(1..6400I'm having problems with an HL7 message that is not properly parsed by IRIS (any version, including Ensemble).
The message is a OML_O21 and is valid, in fact is similar of what is described in the document "IHE Laboratory Technical Framework, Volume 2a (LAB TF-2a) version 6.0".
This is the sample from the IHE document (paragraph 2315):
MSH|^~\&|OF|Chemistry|AM|Automation|200309060825||OML^O21^OML_O21|msgOF101|T|2.5|123||||USA||EN
PID|1||12345^5^M10^Memphis_Hosp^PI||EVERYMAN^ADAM^^JR^^^L|19800101|M 2320
PV1|1|O|Ward|||||||||||||||12345Hello everyone,
Recently, I've been working on a Business Process that processes a large JSON FHIR message containing up to 50k requests in an array within the JSON.
Currently, the code imports the JSON as a dynamic object from the original message stream, obtains an iterator from it, and processes each request one at a time in a loop.
The performance meets the requirements, even with much larger requests than the one exposed above.
Hi, I am trying to optimize a method, I am only occasionally receiving Internal Server Error from GUI interaction and when viewing the Application Error Log in IRISHealth this is what I see. <UNDEFINED>%0Ac+3^%sqlcq.QM.uEgYAnxQ4duxnAiaOpZgvilz1tlo.1 *sqldata15d : CSP Error .
I have no idea how to read this and pinpoint the issue.
Full details below.
| Namespace: | QM |
|---|---|
| Process: | 4624 06/15/2024 03:46:31 No: 2 |
| Error: | <UNDEFINED>%0Ac+3^%sqlcq.QM.uEgYAnxQ4duxnAiaOpZgvilz1tlo.1 *sqldata15d : CSP Error |
| Code Line: | |
| Comment: |
|
| Stacks | [Goto Bottom] |
| Expression | Va |
|---|
Hi Community,
Watch the new video on InterSystems Developers YouTube:
I have a table that is already created and contains data. I need to create a unique constraint that is a combination of two fields. Is there a way to do this in a SQL statement? Also, I would lke to know how to add it in the table class.
Recently I wanted to get a list of all cached queries and their texts. Here's how to do that.
First create an SQL Procedure returning Cache Query text from a Cached Query routine name:
Class test.CQ
{
/// SELECT test.CQ_GetText()
ClassMethod GetText(routine As %String) As %String [ CodeMode = expression, SqlProc ]
{
##class(%SQLCatalog).GetCachedQueryInfo(routine)
}
}And after that you can execute this query:
SELECT Routine, test.CQ_GetText(Routine)
FROM %SQL_Manager.CachedQueryTree()And get a list of Cached Queries:
.png)
Hello,
First of all thanks for your help.
We have the following scenario: some responses include special characters as ">" and "<" which are being put inside a property defined as:
Property PACPROBLEMAS As %String(MAXLEN = "", XMLNAME = "PAC_PROBLEMAS");
So then, when we observe the LOG SOAP it shows that the Target System replies to the ESB as follows:
➡️ <PAC_PROBLEMAS>46807#278.01#OBESIDAD INFANTIL GRAVE ( Z-SCORE IMC >2,70 ) #19/09/2019##N#</PAC_PROBLEMAS>
However when we observe the Visual Trace, the message being replied from the Operation to the Process has a CDATA section as you
how do I convert DateTime from yyyy-mm-dd hh:mm:ss.000 to yyyymmdd
TL;DR: My comment to Microsoft when I voted:Our team has implemented most of what we need for source management of Power BI Report files in Perforce. The missing piece? Automated creation of ".pbix" files from ".pbit" template files that can deployed to the Power BI Report Server. Let's get the manual “Power BI Desktop->File->Save As” step out of the process to make report deployment totally automated.
Our team has implemented change management for some critical Power BI Reports used by other teams at InterSystems.
I'm facing a challenge in dynamically generating SQL queries based on incremental q_ids for a project I'm working on. Here's the scenario:
log_reports that contains logs of service activities, including timestamps and associated q_ids.Current Approach:
Here's the SQL query I'm currently using:
SELECTHello Community,
I have encountered the following SQL problem trying to create a table from a SELECT statement.
I narrowed the problem down to the following example:
1. The SELECT statement alone works as expected.
SELECT m.Name, h.Status FROM EnsLib_HL7.Message m, Ens.MessageHeader h WHERE h.MessageBodyClassName='EnsLib.HL7.Message' AND h.MessageBodyID = m.ID
2. But if "CREATE TABLE ... AS" is added it fails
CREATE TABLE UKEr.Test AS SELECT m.Name, h.Status FROM EnsLib_HL7.Message m, Ens.MessageHeader h WHERE h.MessageBodyClassName='EnsLib.HL7.Message' AND h.MessageBodyID = m.ID
with the
We have an operation that sends a Rest request to an external endpoint. The request includes the secret, which shows up in the Message Viewer. While access to the Production is restricted to only those who need it, we have been asked to remove it from the Message Traces. Is there a way to hide certain information on the Message Viewer ?
Thanks for reading
ISCAgent is automatically installed with Cache, runs as a service and can be configured to
start with the system. This is fine – but the complication comes when this is on VCS clusters with
Mirroring on. When installing a Single Instance of Cache in a Cluster, point number 2. Says “Create
a link from /usr/local/etc/cachesys to the shared disk. This forces the Caché registry and all
supporting files to be stored on the shared disk resource you have configured as part of the
service group.”
So on the second passive node – this statement makes ISCAgent startup with the system, nor manually
starting it
Dear Community,
Is there any way to search , select and abort a specific set of messages from a large queue in Healthshare business operation?
Thank you for your help
Hi,
I will try to explain my problem. I have a Main ZenPage on one server that has 2 buttons: each button will launch a different ZenPage on a separate server in an iFrame. All 3 servers have the same user.
Currently, the user logs in to the Main ZenPage, but when they click either button to launch the other ZenPage on the separate server they get the login screen again to login to that server.
Is there anyway I can pass the credentials from the Main ZenPage to the child ZenPages, so that the user doesn't have to login again? Thanks.
Hey Community,
Watch this video to learn how the InterSystems AppServices team migrated a data lake powering a suite of marketing reports off of Microsoft SQL Server to InterSystems IRIS, leading to such benefits as lower maintenance, better performance, and a better overall development fit:
⏯ Migrating Our Data Lake from MS SQL Server to InterSystems IRIS @ Global Summit 2023
Hello community,
Just wanted to share..
While requested to access some service I was told to authenticate my request using OAuth 1.0 (revision A) with HMAC-SHA256 as a signing method. And knowing little to none about it. I started by testing it first in Postman, and all worked just fine. BUT with Object Script, well.. a big smile goes here! :) as I had some issues and no one to suggest..
In the end the most helpful thing to do was to refer the docs here : https://oauth.net/core/1.0a/ while the signature method in it is for HMAC-SHA1 and RSA-SHA1 it is valid for HMAC-SHA256 as well.
lets
Hi Developers!
Recently I was asked, “How can a beginner in InterSystems technologies learn from InterSystems Developers community content to improve his developer skills”?
This is a really good question. It has several answers so I decided to write the post with the hope it could be useful for developers.
So! How to learn Intersystems Data Platforms(IRIS, IRIS for Health) from InterSystems Developers community content if you are a beginner?
Hi Community!
It's that time of year again—the time of the Global Summit! All the Developer Ecosystem teams, in general, and the Developer Community team, in particular, are doing their best to bring even more new, interesting people into our midst!
We had this beautiful booth ready on Sunday to welcome everyone when the Summit officially started:
.png)
As you can see, we have quite a selection of goodies waiting to be claimed by our existing and new members 😉 So if you're attending the Global Summit, don't hesitate to come by and get a pin, a T-Shirt, a sticker or something else - we're always happy