Hello, I need help in health insight. I am trying to generate reports on deep see but i am not able to pull in the patient ids as these are our requirements for the project. Can anyone help me in unlocking this feature. Can anyone help me with link to correct documentation on how to access the edge gateways of multiple facilities to access the clinical data on sql explorer.
When using the JSON_OBJECT() function in Caché SQL on a %String property that contains JSON syntax, it converts the %String into a JSON object instead of escaping it as a string literal. How can I prevent this? (without ridiculous hacks like "add a space to the beginning of the value" as we don't always know which properties will contain these values and I certainly don't want to have to check for nulls and add/remove a space every single place this value is used in the application)
I don't want these strings automatically marshalled into JSON objects.
Hi Community!
New session recording from Global Summit 2018 is available on InterSystems Developers YouTube Channel:
Hi everyone! My name is Bruno Soares and I work with HealthShare. I have one question and would be very grateful if someone help me. Can somebody tell me where HealthShare parameters weight came from? Thank you all.
I've created a CCDA schema with from an xsd ad now am trying to reference the CCDA elements in a custom class (process). What is the syntax for referencing my CCDA elements?
I've tried the following
Method OnRequest(pRequest As EnsLib.EDI.XML.Document, Output pResponse As Ens.Response) As %Status
{
// constructing PDQ Request
set tPDQRequest = ##class(HS.Message.PatientSearchRequest).%New()
$$$LOGINFO("Starting Process")
set tPDQRequest.Title=pRequest.GetValueAt("/title")
$$$LOGINFO("Title: "_tPDQRequest.Title)
set tPDQRequest.LastName=pRequest.
Hi Community!
I'm pleased to share the announcement that InterSystems IRIS Data Platform is available on Amazon Web Services marketplace!
Hi,
I'm having the following error when returning a large dataset from a REST API.
"errors":[ {
"code":5002,
"domain":"%ObjectErrors",
"error":"ERROR #5002: Cache error: <STORE>%0NmGk1+5^xxxxxx",
"id":"CacheError",
"params":["<STORE>%0NmGk1+5^xxxxxxxxxxxxxxxxxxxx"
]
}
],
"summary":"ERROR #5002: Cache error: <STORE>%0NmGk1+5^xxxxxxxxxxx"My understanding is that this error is related to the amount of memory available.
Please see my method implementation below.
As part of a BPL I am building I need to foreach over a some repeating elements and look for a certain value, if said value is present I need to forward the message to another operation.
I can't seem to get the if statement inside the foreach loop to work and I think I am doing something wrong?
The error message I am getting:
ERROR <Ens>ErrException: <UNDEFINED>zS2+2^GWH.Messages.Eobs.AKISegmentCheck.Thread1.1 *k1 -- logged as '-' number - @' Set k1=request.GetNextIndex("PIDgrpgrp("_(1)_").ORCgrp()",k1,.tSCTrans)'
Can anyone explain that error to me?
Cheers
Hi Community!
We're pleased to welcome @Sean Connelly as our new Moderator in Developer Community Team!

Let's greet Sean with big applause and take a closer look at his bio!
Can we plugin a different UI or anyone has a suggestion to a more appealing UI in Deepsee that can be plugged in easily
Hi Community!
It's started! Home sale of the year!
This weekend, November 23-25, is a Black Friday Deals weekend on InterSystems Global Masters Advocate Hub!

Everybody has a testing environment.
Some people are lucky enough to have a totally separate environment to run production in.
-- Unknown
.
In this series of articles, I'd like to present and discuss several possible approaches toward software development with InterSystems technologies and GitLab. I will cover such topics as:
- Git 101
- Git flow (development process)
- GitLab installation
- GitLab WorkFlow
- GitLab CI/CD
- CI/CD with containers
This first part deals with the cornerstone of modern software development - Git version control system and various Git flows.
Hi
Is this a bug? We came across it on an older version of Cache but I've also just tried it in version "Cache for Windows (x86-64) 2017.2.2 (Build 865U)" and got the same result.
Create a Class like so:
Class My.Email Extends %Persistent
{
Property AddSeq As %Integer(MAXVAL = 32767, MINVAL = -32768) [ Required ];
Property EffBegDat As User.SQLdatetime;
Property EffEndDat As User.
Greetings,
How can I extract/return the workstation id in M. In other words, I csession in to MUMPS and I want to extract the workstation to use.
Thanks in advance for everyone's help...
I am quite new to Studio and I have been a Microsoft guy for a very long time and spoilt because of the short cuts provided and the flexibility of the IDE. Any tips and tricks for me to make my life easy while using the studio?
For each instance of an XML-enabled class I want to control whether a property is projected as an empty element or not projected at all. With string properties, I can set the value as $c(0) for an empty element, or an empty string for no projection. But it looks like this isn't consistent for properties with type %Boolean or %Integer. With booleans $c(0) gets projected as "false". With integers $c(0) stays as a zero-width space in the XML output (which gives me a SAX parser error if I try to read it).
Is there a way to do this that works for all datatype properties?
Hi,
I need to route a message synchronously to multiple targets using a routing rule.
In IRIS I built a general routing rule set, made up of a couple of rules. For one Rule in particular, and based on a common condition, I want to send the incoming message to 2 different targets. (no transformation is used)
I can select, in the single SEND action, multiple target names, or, I can create consecutive SEND actions, one after the other, each sending to their specific target.
Hi Developers!
New video from Global Summit 2018 is available now on InterSystems Developers YouTube:
Modernize Traditional Applications
Hey Developers!
We're pleased to introduce Scott Roth as a new Developer Community Moderator!

Let's greet Scott with big applause and take a closer look at his bio!
Class A Extends %Persistent
{
Property Doctor1 As %Library.String;
Property Doctor2 As %Library.String;
Property Doctor3 As %Library.String;
}
I know my solution is wrong, but if i want to access A.Doctor1, can I get a way like
s count=1
s DoctorName="Doctor"_""_count
s A.DoctorName="doctor1"
Hello ,
I want the datagrid to reflect values based on the value i select in the Combobox. How to pass value from the combobox to the
altJSONSQLProvider parameter and reload the datagrid ?
My combobox defines below method on change.
onchange="zenPage.rowSelected(zenThis.getValue());"
<altJSONSQLProvider id="PatchClassJsonId" OnGetSQL="GetSQL" >
<parameter paramName="1" value="C"/>
</altJSONSQLProvider>
<dataGrid
,......
</dataGrid>
Method GetSQL(ByRef pParm As %String, ByRef pSQL As %String, pCriteria As %ZEN.proxyObject, ByRef pPagingInfo As %String) As %Status
{
Set pParm=
Hello all,
I have created a simple Datagrid and using jsonSQLProvider with a SQL statement as the datasource. Please see below.
<jsonSQLProvider id="json" OnSubmitContent="SubmitContent"
sql="SELECT PatchClassName,Environment,ModuleName,ModuleClass,TargetConfig,BusinessRule,MessageSchemaCategory FROM ProjectInventory.
Hi,
I need to create a role that is able to monitor the production, but isn't allowed to shut down the production or individual services.
Is there a particular resource that is allowed to do this, so I can remove it?
Any help is appreciated.
Joost
Just got the new beta version of Docker, with depreciation warning of AUFS. It's so bad news when InterSystems does not support used by default storage driver overlay2. Recently I thought to play with Google Kubernetes Engine, and realized that I can't work with InterSystems products there due to incompatibility with Storage Driver. Maybe it's already time to think about support?

I created a connector of type "Services" having for name of class "EnsLib.File.PassthroughService". In the parameters, the value "FileSpec " was "*" and the "FilePath " pointed to my directory " .... Documents "; whereas "TargetConfigNames" was empty.
Much to my surprise, as soon as I activated this connector, all the files were deleted.
These are not in the dushbin of Windows. -
Do you know a way to get back them? Are they in the system of the ESB?
I know that programs can undelete files. I have already used this type of programs.
Thank you in advance.
Sorry for my poor English.
Working on a proyect with :
Cache Object Script, Jquery and Bootstrap :
I have a big problem to do pagination with parameter, to query filter and registry limitation, but i find a solution using session and global:
Set FilterDate = %request.Get("df")
If (FilterDate=""){
Set FilterDate = $Get(^NSSession(%session.SessionId,"FilterDate"))
}
If (FilterDate'=""){
Set ^NSSession(%session.Hi All,
I am converting UTF-8 encoded error files to ANSI files and for that I had written below piece of code. But I am not able to get ANSI encoded files.
Code Snippets:
Set tReadStatus = ""
Set eol = 0
Set (tRecord1,tRecord) = ""
Set stream=##class(%Stream.FileCharacter).%New()
Set sc=stream.LinkToFile(tErrorFileName)
Do stream.TranslateTableSet("cp1252")
Set tNewStream = ##class(%Stream.FileCharacter).%New()
Set tNewStream.Filename="D:\Bhupi\Test6.txt"
Do tNewStream.TranslateTableSet("cp1252")
While ('stream.AtEndGet())
{
Set tRecord=stream.ReadLine(,.tReadStatus,.
Hi,
I'm using InterSystem Cache v2015.2.5 and I'm implementing a REST API and returning JSON.
Following the documentation I see examples like this
Set obj = {"destinations": ["London","Madrid","Tokyo"]}
Write obj.%ToJSON()
However, I have a compilation error
ERROR #1054: Invalid expression : '{"destinations":'
Is there something that needs to be enabled on Studio to allow this syntax?
Thank you,
Rui
Hi,
How Can I get sentiment analysis (positive or negative attribute) from a source or entity from iKnow REST API?
I created a custom class for a process that does some basic manipulation to an HL7 message. I'd like to be able to write some debugging to the process event log. How would I do that?
I've tried ##class(Ens.Util.Trace).WriteTrace("system","HOSP.IHE.PDQProcess","MessageHeaderHandler","Discarding input message")
but I get a runtime error when I try that. I know this is pretty basic stuff, but any help would be appreciated.

