I was following the Node.js: installation and connection test for use with Caché and was wondering how to populate a subscript with a value calculated by a built-in COS function eg. $HOROLOG without having to write wrappers for every built-in function or use temporary global storage. Any ideas?
Hi
We have a vendor that has supplied a cert in .der format, instead of the usual pem or cer formats
is there a way to convert to CER or PEM?
Kind regards,
Stephen
(PS the interface is HL7 v2 over TLS/SSL)
During programmatic classes compilation performed by the code like this:
set status=$system.OBJ.Load(updaterFile,"cruk-d",,.resList)
strange messages appear in console log, e.g.
05/06/18-15:54:12:424 (308512) 0 oops: was expecting crc 0x21e96e85,5a4c8b2c for rtn (Update.Import.1) rbufnum-15523 ... 05/06/18-16:17:45:305 (4224) 0 oops: was expecting crc 0x21e96e85,5a4c8b2c for rtn (Update.Import.1) rbufnum-15523 05/06/18-16:22:30:485 (4224) 0 oops: was expecting crc 0x21e96e85,5a4c8b2c for rtn (Update.Import.1) rbufnum-15523...(repeated 3 times)
If you have ever issued the command ccontrol help to discover what ccontrol is capable of, perhaps you noticed this section:
Syntax:
ccontrol default
Description:
Display the name of the default Cache instance,
if one has been designated.
Hi, Community!
I'm pleased to share the news of Developer Community April 2018 release.
We improved Performance, Tags, and UI.
See the details below.
1. Performance improvements
We fixed a lot of performance issues and the site became more responsive on main, groups and tags pages.
2. Tags descriptions
All the tags have descriptions nows so it is easier to understand what the tag relates to. E.g. Caché, ObjectScript, Beginner.
3. Special tags
The following post concludes the series with a list of all databases seen in the example for the fully flexible architecture.

Hi Community!
Join us at the FHIR event of the year in the US: the HL7 FHIR Dev Days 2018!
A unique chance to meet 400 colleagues and discuss all topics relating to your field.
InterSystems is proud to be the Host Sponsorof HL7 FHIR Dev Days for its first U.S. edition, Boston, June 19 – 21st! We support the HL7 FHIR standard as it is critical for rapid innovation. FHIR can be used as an accelerant to bring all the information that matters for a patent into a unified health record.

I need to create a document with a root like this:
<?xml version="1.0" encoding="UTF-8"?> <RCMR_IN200002FI01 xmlns="urn:hl7-org:v3" ITSVersion="XML_1.0"> ... </RCMR_IN200002FI01>
However, the CreateDocument in %XML.Document only allows namespace as an additional argument.
I did override this method, but trying to do something like
Do document.SetAttribute("ITSVersion",,"XML_1.0") only results an empty document with the <?xml> declation only.
-Pasi-
Question:
My journal files are growing rapidly - what could be the cause? How can I minimize the phenomena?
Is there anything native in Ensemble that will support converting HL7 to PDF?
I see there are numerous examples in .Net and Java for this capability.
Dave
Hi
We are trying to create a new operation wich gets a XML message and send it's contents in an email.
We've used the SOAP Wizard to generate the Proxy Classes but now we are a bit lost...
What we are trying to achieve is to Create appointments in a Outlook Calendar and send emails.
Any insights, news, alternatives or experience about sequence pattern querying like with Oracle's MATCH_RECOGNIZE, more declarative, less simple direct COS way? Both obvious solutions (shadowing data to oracle cloud or implementing MATCH_RECOGNIZE compiler in COS from scratch) seem big overkill. Do Intersystems have plans to adopt this "2007 ANSI standard proposal" and "SQL:2016 standard"
Hi community.
I want to create a custom list inheriting %ListOfDatatypes in order to implement some methods like Map, Filter, ForEach, but I have some questions.
Just to mention, I have already read the topic about DeclarativeCOS.
When I define a property like following, caché uses %Collection.ListOfDT or %Collection.ListOfObj, as it's shown in the documentation
I have a lookup table and record batch Table I would like to do a count on the records stored in that batch by counting the number of records in that batch that have a certain key on the responseKey column. This column keys are stored in the look up table for comparison. So I would like to do a join sql pivot that will use my keys stored in the lookup as columns and count as values
so far I have managed to do this but this is not efficient I would like to fire that sql once not on every count
I need to know what options exist to execute methods on the failover members of a mirror system from the primary.
Hello all,
I'm attempting to create a pop-up box with "Yes" and "No" for the buttons. I currently have a JavaScript confirm box but it has "OK" and "Cancel" as the response buttons. I have read that JQuery is a way to do, but is there a possibility of doing this with CSP instead of JQuery?
Thanks
Hello ! I am still trying to get the sample email working on my computer. I am getting the below error. I have tried a number of things and researching it on the net. I am not sure what I am doing wrong.
Below is a sample class that I have been testing.
Class email.test Extends %Persistent
{
// set myval= ##class(Package.Class).Method(Args)
// set myval= ##class(email.test).XSendSimpleMessage("")
ClassMethod SendSimpleMessage(server As %Net.SMTP) As %List
{
Set server=##class(%Net.SMTP).%New()
Set server.smtpserver="Smtp.aol.com"
//HotPOP SMTP server uses the default port (25)
Hi Everyone!
Enjoy a new video on InterSystems Developers YouTube Channel:
Hi WRC,
In a terminal session it is possible to ZLOAD a MAC or INT program and ZP to display it.
Please advise - Is there a similar way of doing this for a CLS?
Best,
Wil
Currently, we are receiving an alert that states, "Write Daemon still on pass 31". It's been that way for a few hours.
I was wondering if it is possible to identify what the WD has left to work on so that we can see how we can reduce this and possibly identify if there are issues with the way something is written.
Thanks in advance for any insight.
Hi,
I'm trying to export a global with this library %Library.Global with this call:
Do ##class(%Library.Global).Export(pstrNamespace, pstrGlobalName, pstrOutputPath,,,"-d")
When I call this method $ZERROR is setted to "<NOTOPEN>OpenDev+15^%Wprim"
Can someone tell me where is the problem on this?
Thanks a lot
Hi,
Is it possible to call a REST service from a business operation in Cache? Does anyone have a sample for me to take a look at.
Note:
I am new to Cache, just started learning:)
What is the best way to pass a list(collection) of integers from one BPL to another BPL?
Here is what I have now, but this doesn't seem to be working. In the CALL to the other BPL I am trying to pass the EOBList. Not sure what I am doing wrong.
Hi everybody,
I like to know how Ican determine the same colors of Series Detail of a graph that applies to all widjets. I created a theme based on a specific widjet and apply to others, but didin´t change the colors of the graph.
Thanks.
Jaqueline Krieger
Sometimes, we need to copy part of the properties of an object into a different one.
The simplest thing would be to do the following:
Set obj1.FirstName = obj2.FirstName
Set obj1.SecondName = obj2.SecondName
What happens if the object contains a large number of properties? or we just want to extract an important group of data, and complement the information in another object?
Having the following classes:
Hi Community
I've just started developing for a new client and noticed that the View Raw Contents link isn't displayed when inspecting HL7 message contents in the Management Portal. Is the link missing due to:
1) a configuration setting?
2) a security setting?
3) a difference between installation on Unix Vs Windows?
And is there a way to turn it on?
I've trawled through the doco but haven't been able to find anything on this.
Thanks in advance for any help you can give
Duncan
I am trying to create a list of id's which are of type integer. I have created a class like below and then I am trying to call the class from a BPL to first initialize the list. In the BPL, I have an assign action that is using set and a context variable setup to hold the list data. The property is using the class I have created, ##class(MSI.IN835.EOBList).%New(). I keep getting an error back saying the method does not exist. Why does it not like the %new method? I am new to cache object script, so if their is a better way to do this, I am open to that as well.
Hi, Community!
This post is a digest of the Developer Community postings in April 2018.
Most viewed
Class vs Routine in ObjectScript. What Do You Use And Why? 286
Drawing boxes 240
How to resume inner $order loop from given point? 187
DNI functions 138
How to set space in numbers 132
MUMPS database - Cache migration 117
Why can I not 'Assign' request directly to a context variable ? 11
Hi ,
Does anyone know how to dynamically set a variable, for example
set Counter = 1
set x_Counter ="test" in Cache Object script. I tried with EXECUTE XECUTE ("set x"_Counter "="_DIAGS_""), but it does not work.
Thanks
A function iterates global ^data(a,b,c) with $order using 3 nested for-loops. At certain point, for example with a=10, b=20, c=30, the function exits and later has to resume the iteration from the same point. What could be easiest way for it? My solution looks too ugly.

