Raj Singh · Oct 12, 2019 go to post

I agree that query, in general, doesn't fit into the pure REST architecture, and that POST/PUT should be used to create or update resources. I worked in a standards organization for many years and we had many "religious wars" regarding query and REST. There was never any clear answer. What we decided was to use GET with query parameters whenever possible, and when you needed a message body (for example to integrate with SOAP architecture), use POST.

The only truly REST way to handle query is to POST/PUT a query to make it a resource, then use GET to execute the query, then use DELETE to get rid of the query. But this is an awkward way to solve the problem, simply to stay truer to the spirit of a REST architecture.

Raj Singh · Oct 13, 2019 go to post

Yes! Storing queries that are re-used a lot is a great use of REST. I haven't implemented anything recently so no code to share with you but the client interface would be like any other REST resource. You could even POST a query that had one or more parameters that could be set when GETting the resource, so your query resource would be more extensible. For example, the resource might always query the same field name in a table, but you might pass a query string in the GET that would define what you were searching for in that field. But then you're on a slippery slope to not being RESTful anymore...

Raj Singh · Oct 29, 2019 go to post

Sorry I don't have a good answer for you using FHIR if you don't have an address for the patients.

Raj Singh · Jan 8, 2020 go to post

Thanks Scott. In case I was vague on the point, but let me say that Studio will definitely be supported.

p.s. I'm an old UltraEdit user too!

Raj Singh · Jan 8, 2020 go to post

Excellent list Rubens. In fact all of these are possible with VS Code.

I'm curious what you would do with API access to the ObjectScript AST, parser and lexer?

Raj Singh · Jul 8, 2019 go to post

Hi Colin. I assume you're trying to follow the instructions on https://download.intersystems.com/download/atelier.csp.

Under Step 2 => #3 it says you have 2 options for installing Atelier. As you've found out, the first option isn't working right now. Try the 2nd option, which starts: "II. Add one of the Atelier repositories to your Eclipse environment "

That worked for me.

Raj Singh · Jan 9, 2020 go to post

It's not safe to assume compatibility between IRIS and Caché .NET gately DLLs. They may be coincidentally compatible at the moment, but as IRIS evolves, maintaining backwards compatibility will be a lower priority than enhanced features, performance and reliability. Is there a particular reason you tried this, or just curiosity?

Raj Singh · Jan 23, 2020 go to post

Do cut and paste work in other apps? If not it's probably an OS level thing. Either way, does rebooting fix the problem?

Raj Singh · Feb 4, 2020 go to post

You can find the Python Native API wheels in dev/python in IRIS 2019.2 and above as well.

Raj Singh · Feb 5, 2020 go to post

Hi Stefan. That shouldn't happen. Could you share test code that shows the problem?

Raj Singh · Mar 6, 2020 go to post

I agree with @Eduard.Lebedyukand I'd just emphasize that in most cases the extra minute it takes to create the issue is usually worth it, except for the simplest of fixes.

Raj Singh · May 25, 2020 go to post

Hi @Renan.Lourenco. Yes VS Code is way behind Studio in features today, but Studio has a head start of many decades! We'll get there...

Raj Singh · Jun 2, 2020 go to post

@Armin Gayl we'll soon have a lot of news regarding source code management in VS Code. Of course, out of the box you can use any client-side SCM you want, with git being the obvious choice since it's built-in to the product. We're working hard on server-side SCM as well, which you will see in beta this summer.

Raj Singh · Jun 2, 2020 go to post

Thanks for the insights @Rubens.Silva9155. I'm a fan of React also, and I'm planning to try our Vue.js as well. 

Raj Singh · Jun 9, 2020 go to post

Thanks all. I was using solution #1 from @Eduard Lebedyuk -- creating a new %RegisteredObject class to hold the response -- because it gives me good control over what is happening while keeping my code easy to understand. The solution using the `%ZEN.Auxiliary.altJSONProvider` class is interesting to keep in mind, but it outputs the class name as a "_class" key , which I don't want, and relying on the old %Zen class library isn't recommended in new solutions.

The answer from @Muni Ganesh works too, but I wanted to do something more elegant than the  "brute force"  approach (but that offers complete control over the process). 

@Max Abrahams you offer an interesting solution too. When I have an opportunity I'll have to try out that SQL-centric approach.

Raj Singh · Jun 19, 2020 go to post

If you really need it, you can contact support to get the Atelier package for a local install.