You know the drill. Shortest solution wins.
Print a size ascending range of Diamonds using the numbers 1 to 9, ranging from size 1 to size N, each diamond separated by a blank line.
You know the drill. Shortest solution wins.
Print a size ascending range of Diamonds using the numbers 1 to 9, ranging from size 1 to size N, each diamond separated by a blank line.
We released a new version of ZPM (Package Manager)
New in ZPM 0.2.10 release:
1) FileCopy
Added some improvements to already existing tag FileCopy
Example of module.xml
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
<Document name="test-binary.ZPM">
<Module>
<Name>test-binary</Name>
<Version>0.0.1</Version>
<Packaging>module</Packaging>
<SourcesRoot>src</SourcesRoot>
<FileCopy Name="lib" Target="${libdir}my-lib"/> <!-- Copies content of lib folder to target -->
<FileCopy Name="somefile.DataGrip is a multi-engine database environment targeting the specific needs of professional SQL developers, DataGrip makes working with databases an enjoyable and productive experience.
To work with InterSystems IRIS from DataGrip you'll need to add InterSystems JDBC driver first (once per DataGrip) and after that add all your InterSystems IRIS connections.
Part 1: Add InterSystems IRIS JDBC Driver
1. Go To File → DataSources
2. Go to + → Driver
.png)
3. Set Driver properties:
com.intersystems.jdbc.We've our Cache running on Windows 2012 Server, but I've a Macbook Pro. Earlier I was using Miscrosoft Remote Desktop 8, to remote into our Windows server & everything worked.
Since version 8 is discontinued, I installed Microsoft Remote Desktop 10.5, which works for everything except starting Terminal.
I get error 'NTI Connection Error'
(287) Error writing to Pipe
Reason: (998) Invalid Access to Memory Location.
If I do remote desktop from Windows machine (using same credentials), it works.
Earlier I'd kept both version 8 & 10, to work around this, but with recent MacOS update to 11.
One of the leading benefits of ObjectScript is the speed and efficiency it allows for an experienced developer. Let's look at an example of how you can benefit from ObjectScript today.
Suppose you have a class that stores the names of your users. We'll call the class Data.User, and give it a string property Name Next, we will need a method to create a new user or update an existing one.
This is a remote position for a US Citizen who has significant MUMPS background AND has experience at a deep level with Java, and AWS Services.
The location is in Kirkland Washington, however, obviously during the COVID we will be doing remote work. Our hope is some is willing to relocated to the Seattle Region after we open up again.
Essential skill sets are: competent if not excellent in MUMPS. Cache Knowledge of a deep level. Knowledge of Java and variants, AWS - specific to hybrid cloud services - perferablly (blue sky here): Certification as a AWS Architect - Professional.
Given a complex method flagged with [ SqlProc ] so it is available as an SQL stored procedure, what's the best way to report a non-system error detected in that method - say, for example, an error %Status - so that the SQL query calling it fails descriptively? Is it best to create and throw an exception, or are there special % variables involved (like in a trigger)? I haven't been able to find an answer in the documentation.
Thanks in advance!
Has anyone used the ##class(HS.JSON.Path).%Evaluate() classmethod interrogate JSON and return a specific object value? I need to extract the MessageHeader.destination.endpoint value from a FHIR bundle and can't seem to get that XPath-like method to work.
Hey Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in December 2020:
Hey Developers,
This post is a compilation of Top Authors, Top Experts and Top Opinion Makers of the InterSystems Developer Community in 2020. And it is a good guide "Who to Follow" in 2021.
We're glad to present these people who have contributed a lot to our community in 2020.
Let's take a closer look at the DC Wall of Fame 2020 and greet everyone with big applause! 👏🏼
the report generates statics for each ward and i want to divide specific ward 5c into two wards, the first 12 beds are for 5c - pediatric and the last 12 beds are for 5c-adults.
the report takes input from the user by selecting the wards so if the user chooses 5c, the report should show 2 wards.
the report declare cursor at the begining so how can i divide the ward.
Executive Overview
In most organizations, events drive action. In financial services, for example, a stock dipping below a threshold price may trigger a sell order. In manufacturing, production may start when an order is received. In healthcare, an unusual increase in the number of patients registering in an emergency room could signal the start of a disease outbreak, calling for action on the part of medical staff and public health officials.
In all of these cases, a business process is started, stopped, or modified based on an event or series of events.
In 2020 we implemented HealthConnect as our HL7 interface engine. Having completed this, we are currently evaluating whether it would be beneficial to migrate our managed file transfers from our current MFT software, MOVEit to HealthConnect. I am interested in hearing from any InterSystems customers who have previously used MOVEit and currently using HealthConnect for file transfer managment. Any feedback would be appreciated.
Hi, I am creating a zen page which has a table pane, and loads data, using the onCreateResultSet. I have two controls which allows the user to add a date and type.
I want to add them as parameters into my sql query and update the tablepane. Can you advice on how I can do that?
{
// i can get the values from my controls here
var par1 = zenPage.
Hi,
The question is about queries on the System->SQL page. I have a class with a few columns on a global and the test output looks as expected, below. This works as expected as well returning a single row: select * from Utils.RoutineAuditReport where counter=4. However, other columns give an odd error like " Field 'AG' not found in the applicable tables^ SELECT * FROM Utils . RoutineAuditReport WHERE UserR = "AG". As you can see below, both the UserR column and the AG entry in it do exist. What could be the problem?
Thanks in advance,
Anna
.png)
Hi Community,
We're pleased to invite you to the online meetup with the winners of the InterSystems Analytics Contest!
Date & Time: Monday, January 4, 2021 – 10:00 EDT
What awaits you at this virtual Meetup?
Greetings fellow Developers.
Has anyone used Mini Spine Services + PDS to verify NHS Numbers..?
Thank you.
I have a text control :
{
zenPage.getComponentbyId('clinic').getValue() // this doesnt work
%clinic.%GetValue(); // Tried this as well but getting errors
}
Can I get some advice on this? Apologies if this is a simple question. Just learning and developing using zen pages
I am hoping I explain this correctly.
We are using a query expire edge, to pass an API request to one of our vendor systems.
There is no feed into the gateway from an external system, and it is only used to query the external system with member data.
However, it is our understanding that the member needs to be registered on the edge.
Wondering if there is a way to export from the registry the bare demographic info in SDA to import to the new edge?
If anyone has done this and can point me to the right direction (documentation ect...) it would be greatly appreciated.
Thanks,
Ed
I have a operations that is writing 6 values to a table
I need to create a routing rule to evaluate a field in an hl7 ORU message , see if it exists in the account column of the table. If it does then allow the message to pass.
This table is not a lookup table. How can I get a function to evaluate a field to this table?
I am new to zen pages, and trying to see how to get the value of a control.
Below is what I have
<option value="1" text="1" />
<option value="2" text="2" />
</combobox>
ClientMethod Fetch() [ Language = javascript ]
{
// how can I get the value of the controls here? can I do something like document.getElementById()?
}
Hi, I'm new in this place.
I would like to know how can I use Intersystems Caché in Linux Mint with the best performance?
My computer is not so good and I need a light version from this.
Hi all! 2nd time poster and still kind of a newbie. I Googled and searched the posts but did not find anything quite like my question. I have an XML to HL7 2.6 MFN_M16 translation. I created an XML schema and I am using it inside a DTL to translate data to HL7. The XML is rather simple EXCEPT one element as data separated by pipes. This only happens when one item has multiple PAR Locations. To make a valid HL7 message these multiple PAR Locations each need their own IVT segment.
The documentation says that the MDX extended function %TIMERANGE returns a member.
.png)
However it seems like it produces a set of time members from the description ("a range of members"). Perhaps behind the scenes it is making a calculated member? I am able to plug the return "value" from %TIMERANGE into the SUM function, which takes a set as an argument, and I get a correct answer. So SUM((%TIMERANGE(...)) works, however COUNT(%TIMERANGE(...)) does not work and returns a cryptic error:
.png)
Should we be able to use %TIMERANGE as a set argument to any mdx function that takes a set argument?
In the MDX Query Tool I can't seem to get the NOW relative syntax to work correctly. If I just use ".&[NOW]" it works, but something like ".&[NOW-1]" or ".&[NOW-1d]" (for dates extracted using DayMonthYear) it throws an error.
So this works:
.png)
But if I change .&[NOW] to .&[NOW-1] I get this cryptic error message.
.png)
Also, can you use member functions off of NOW? For example can you do something like: [TransactionDateFilter].[H1].[Date].&[NOW].PREVMEMBER ???
5,289
674
412
404Hello,
I am trying to find out if it is possible to invoke a Business Operation from a class method without using a Business Service.
I have the following code but was wondering if it can be done without using a Service.
d service.SendRequestSync("targetBusinessOperation",request,.response)
I tried creating an instance of Ens.BusinessOperation and then call SendRequestSync but that didn't seem to work.
Any better ideas anyone?
Thanks in advance.
Utsavi
We are looking to hire a DevOps engineer with expertise in Intersystems Technologies like Ensemble and/or IRIS as essential.
Main responsibility of the Role will be to implement Version Control and automated CI/CD pipeline for code build and deployment via tools and automation scripts for the current Intersystems platforms within the organisation.
If interested please email your resume to utsavi.gajjar@mater.org.au
I have an SQL text index defined like this
Index TextIndex On (Text) As %iFind.Index.Basic(IGNOREPUNCTUATION = 1, INDEXOPTION = 0, LANGUAGE = "en", LOWER = 1);If I run a query like this:
SELECT
Text
FROM Post
WHERE %ID %FIND search_index("TextIndex",'ABC')I get 20 results with posts containing the term ABC.
But each post can contain the term ABC several times.
Is there a way to get a total count of ABC term?
Is there a way to get a count of ABC term in each Post?
Hi Community,
The Mockable.io (https://www.mockable.io/) is an online service to deploy REST API or SOAP services in seconds. This is useful to test the consumption of an API or SOAP service in your production or objectscript class without having to implement a real service, including https option.
It's very simple procedure, see: