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.
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.
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?
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?
I have a text control : <text id="clinic" label="Type Clinic Code ">. I want to retrieve the value of this control in my zen method. But I keep getting errors.
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:
But if I change .&[NOW] to .&[NOW-1] I get this cryptic error message.
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.
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.
Under the previous python binding method (Cache) it was possible to pass in parameters, execute a class query, and fetch the result sets. I have been unable to find a way to do this via PYODBC or the Native API (perhaps I am just missing something).
My work around is to create a SQLquery string and execute it through a cursor. I would much prefer to simply execute the debugged and more secure class queries that already exist and and have been precompiled.
I'm trying to post some form data from a form I made in React to the backend of cache fetching a REST-service. Receiving and processing a JSON-object is no problem but how can I handle Form Data?
The frontend is sending the form as form data and also includes one or more files.
What is the easiest way to process this data in my REST.Broker- class?
In earlier cache version, I can see full data values in SQL management portal.
But IRIS restricted the view only to 100 chars.
"If the data in a field is longer than 100 characters, the first 100 characters of the data are displayed followed by an ellipsis (...) indicating additional data." - From Documentation.
Is there a way to change this behavior ? I would like to see all the values in the particular SQL field.
Packed Pretty.xml installs routine ZPretty in any namespace. calling $$Do^ZPretty(input,[filler],[newline])returns a wrapped JSON string. filler is the optional string for the indent, default = " " newline is optional, default = $C(13,10) input accepts: JSON_String, JSON_Stream, %DynamicAbstractObject