Question Utsavi Gajjar · Feb 25, 2022 Monitoring Status of IRIS Production Hello All, I am looking for some ideas from people who have automated alerting in place for their Ensemble or IRIS productions. I want to start with basic things like, simply checking if a Production is up and running. Once this has been achived, I am looking to go deeper and implement monitoring on each interface level for things like, Queue Size, Errors and Inactivity. #InterSystems IRIS 1 3 1 412
Question Utsavi Gajjar · Jul 28, 2021 Cleaning up null elements from JSON payload Hello All, I am just wondering if there is any inbuilt function or utility available in IRIS to clean up "null" elements from JSON e.g. I want to remove "null" elements from payload below before I do any processing with it. { recipients: [ { "name":"Utsavi", "email":"utsavi@gmail.com"}, { "name":"Utsavi 1", "email":"utsavi1@gmail.com"}, null, null ], content:[null, {"title":"Test.pdf", "data":"ygwehfbnwfbhew"} ] } Thanks & Regards, #REST API #InterSystems IRIS for Health 0 10 0 722
Question Utsavi Gajjar · Jul 12, 2021 Can we Import SQL ResultSet into a class ? Hello, I am trying to work out if there are any methods available to be able import a result set returned by SQL query into a persistent class. I have to connect to some legacy SQL databases through SQL Gateway and run some queries. I need to inster the rows returned into a class to then be able to do a %JSONExport to produce a JSON object. I know I can iterate through the resultset and insert one row at a time into the class but was wondering if there is any other/direct way of importing the resultset rows into a class. Regards, Utsavi #SQL #InterSystems IRIS for Health 0 1 0 279
Question Utsavi Gajjar · Jul 6, 2021 Ens.Alert: How to invoke Ens.Alert from <catchall> in Business process Hello All, I am exploring Ens.Alert to generate alerts for Server exceptions. I noticed that in the business operation, if you have your code inside try/catch and if your catch doesn't explicitly invoke $$$systemerror then Ens.Alert is not invoked. Similarly, in the Business process if you have <catchall> then Ens.Alert is not invoked on error. How can I invoke Ens.Alert from <catchall> ? #API #Business Process (BPL) #InterSystems IRIS for Health 0 3 0 235
Question Utsavi Gajjar · Jun 23, 2021 Ens.BusinessProcessBPL: context variable is being cleared after a synchronous call to a Business Operation Hello, I have a Business Process where I am receiving a JSON payload in the "Body" property of the my request class. I defined a context variable as an object of a class that represents the JSON schema I expect to receive and load the JSON payload in that context variable. e.g. #InterSystems IRIS for Health 0 4 0 298
Question Utsavi Gajjar · Jun 10, 2021 %JSONImport: How to import JSON object with an array item that can be "anyof" 3 different schemas Hello, I am writing a POST API using IRIS. My POST API Endpoint invokes a Business Service -> Business Process -> Business Operation in an IRIS production . I am trying to import the JSON payload into a JSON enabled class and work with the JSON class in my Business Process and invoke different Business operation(s) based on the data supplied. This works fine for simpler JSON schemas. The POST API I am writing now needs to handle a complex schema. I.e. one of the Item on my JSON schema ("recipient") can be an array of "anyof" 5 different schemas. e.g. #InterSystems IRIS for Health 0 10 0 725
Discussion Utsavi Gajjar · May 13, 2021 Shout out to the Dev Community ! Hello All, Just wanted to acknowledge the fact that this community has become a great resource for help. I have had many wonderful people helping me out with my questions in last couple of weeks. Thank you to all of you :) Regards, Utsavi #Other 5 2 0 166
Question Utsavi Gajjar · May 10, 2021 How to decode an Azure Access Token in IRIS? Hello, I am trying to find out if it is possible to decode the Azure access token in IRIS. Has anyone ever tried this before? I need to decode the token to extract the "Scope" details in order to verify the scope to make sure client is permitted to do the request they have done. If you could point me to any information, that'd be great. Thank you. Utsavi #JSON #REST API #InterSystems IRIS 0 7 1 683
Question Utsavi Gajjar · Apr 15, 2021 Best practices for implementing REST Interfaces in an IRIS Production Hello Everyone, We are currently in process of implementing REST APIs using IRIS and we are also looking at using Intersystems API Manager. Our aim is to implement a Microservices Architechture where Services are small in size, bounded by contexts, autonomously developed, and independently deployable. We are following a spec first approach where we are first defining the API specs into Swagger Hub and using IRIS API Management Service to build the REST classes i.e. the Specification class, Dispatch class and Implementation Class. #Microservices #REST API #InterSystems IRIS for Health 0 8 0 523
Question Utsavi Gajjar · Apr 9, 2021 Is it possible to extend a Business process ? Hello, I am trying to figure out if we can extend a business process in IRIS. My Use Case is that I am developing RESTful Interfaces and my each REST Interface needs to go through certain processes before getting to the actual action. e.g. I have 2 REST Interfaces, GetPatient and GetEncounter. Both of these need to invoke "GetToken" Business Operation to go to the Authentication server to get an authentication token before they go ahead and hit the Business Operation to Get the data i.e. Patient or Encounter. #Business Process (BPL) #REST API #InterSystems IRIS for Health 1 1 1 204
Question Utsavi Gajjar · Jan 5, 2021 How to synchronously invoke a Business Operation from a classMethod without using a business service Hello, 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. #HealthShare 0 1 0 218
Job Utsavi Gajjar · Jan 5, 2021 #Job Opportunity 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 #Continuous Delivery #Continuous Integration #Ensemble #HealthShare #InterSystems IRIS for Health #Job Opportunity 0 0 0 408
Question Utsavi Gajjar · Dec 3, 2020 DICOM Routing to Storage production to Enable sending of images from PACS to PACS via Ensemble Hello, #Business Operation #Ensemble 0 2 0 308