I create a class, property OPDT as %Library.DateTime,the class extends %XML.Adaptor,after run " d obj.XMLExportToString(.xml)" OPDT`s value is 2023-11-28T13:57:26,but what i need is 2023-11-28 13:57:26,so is there any solution?
I restore the “dirty” copy of the IRIS.DAT files, then apply the incremental backup as documented for Online Backup. As shown in the picture, restarting the service before mounting and rejoining the database to the mirror can restore the mirror database to the point in time of dirty data. I think the mount method used here is the default value, and I don't want it to perform mirrorcatchup. Is there any other way to recover the mirrored database to the point in time of dirty data?
I need to create a simple REST application.
I`ve created an app:.png)
Also here is a dispatcher class:
Class Lab3.helloWorld Extends%CSP.REST
{
Parameter Authentication = 0;Parameter HandleCorsRequest = 0;
XData UrlMap [ XMLNamespace = "https://www.intersystems.com/urlmap" ]
{
<Routes>
<Route Url="/hello" Method="GET" Call="Hello" />
</Routes>
}
ClassMethod Hello() As%Status
{
Do##class(%REST.Impl).%SetContentType("application/json")
If '##class(%REST.Impl).%CheckAccepts("application/json") Do##class(%REST.Impl).%ReportRESTError(..#HTTP406NOTACCEPTABLE,$$$ERROR($$$RESHey Developers,
Start watching the new video on InterSystems Developers YouTube:
⏯ Using Embedded Python as a Jupyter Notebook Server @ Global Summit 2023
Here we are again with an article related to the Mirror!
In the previous article we saw how we could configure a Mirror between two IRIS instances, one acting as an active node and the other as a passive one. This mirroring system works on the transfer of a journal file that keeps the instance that works as a passive node continuously updated, but what happens if due to some communication failure or permissions of the journal file it is not transferred correctly?
The most common is that in this situation our Mirror remains unconfigured, in such a way that the passive node does not receive th
.png)
Hey Community,
It's time to announce the winners of the InterSystems Java Contest 2023!
Thank you to all our amazing participants who submitted 13 applications 🔥
(1).jpg)
Welcome everybody!
In this short article I would like to present an example of use that surely many of you who work with IRIS as the backend for your web applications have faced on more than one occasion and it is how to send a file to your server from the frontend.
Generally the simplest way I have found to perform this task is to transform the file from the frontend to the Base64 format and make a POST call to our server attaching the Base64 obtained to a JSON message in which I indicate in a parameter the name of the file and in another the encoded data. Something similar to this:
{
InterSystems FAQ rubric
Class definitions created by users are stored in class definition classes. They can be used to obtain a list of class definitions from a program.
Note: Class definition classes refer to all classes contained in the %Dictionary package.
In the sample code below, a list of class definitions is obtained using the query Summary of the class %Dictionary.ClassDefinitionQuery.
Class ISJ.Utils
{
ClassMethod ClassInfo()
{
#dim ex As %Exception.AbstractException
try {
set currentNS=$NAMESPACE
while (1) {
read "Please specify namespaHello all,
I am trying to start java gateway and constantly getting an error in terminal:
"%RemoteService+3^%Net.Remote.Gateway.1 *%Exception.StatusException ERROR #5023: Remote Gateway Error: TCP error on port '55555', ensure there is an Object Gateway running on this port". I've checked jvm and it is running properly, telnet also is able to connect to the port.
Has anyone encountered this issue before?
I am attempting to setup my first OAuth2 client, as we are adventuring into the realm of making FHIR API calls to our EMR from HealthShare Health Connect.
I have gone through and set up the Issuer Endpoint, and Client Configuration but now I want to test it and verify that the setup is correct. When I setup the Client Configuration, it would not allow me to use Discovery as it was saying I needed a "Client secret" but was not given one. So I set it up manually, thinking I hit all the information correctly.
However, if I go through the documentation and use GetAuthorizationCodeEndpoint, I am
Hi Guys,
I have a client posting me JSNON file using a Get action and I'm using the below code to retrieve the data:
Class SX3.Production.HTTP.GetPSRequest Extends Ens.BusinessService [ ClassType = "", ProcedureBlock ]
{Parameter ADAPTER = "EnsLib.HTTP.InboundAdapter";Method OnProcessInput(pInput As %CharacterStream, Output pOutput As %CharacterStream) As %Status
{
Set pOutput=##class(%GlobalCharacterStream).%New()
Set tSC=##class(Ens.Util.JSON).ObjectToJSONStream(pInput,.tJsonPayload,"aceloqs")
set jsonString = tJsonPayload.Read($$$MaxStringLength)
s ^data=jsonString
issue
Trying to setup my first OAuth 2 client to authenticate against Epic's Interconnect instance that is hosting FHIR/Web Service API's. Epic's documentation says the JWT request has to be sent as a POST request..
Does
GetAuthorizationCodeEndpointand
GetImplicitEndpointautomatically put the request into a POST request, or do I need to format a %Net.HttpRequest to POST?
Thanks
Scott
Hi Community,
Can I please check if any one is aware of any functionality in HealthShare to verify NHS Number check digit.
We are trying to implement the NHS Number check digit validation using Modulus 11 Algorithm ( described here : NHS NUMBER (datadictionary.nhs.uk) )
I wanted to check if there is any built in option available or if anyone has implemented something similar using Object Script.
Thank you for your help.
Mary
I made a custom application metric, imported it to the USER namespace and used:
set status = ##class(SYS.Monitor.SAM.Config).Add.ApplicationClass("historymonitor.errorSensor", "USER")
to add it. When I do 'w status' it returns 1 so it is added but I still can't see the custom metric in the api/monitor/metrics endpoint. Even though I added %DB_USER in the application roles for api/monitor.
Does anyone know where the problem might be that the metrics endpoint still doesn't show my metric?
Hi Developers!
We are happy to present the bonuses page for the applications submitted to the InterSystems Java Programming Contest 2023!
Hi Community,
It's voting time! Cast your votes for the best applications in our InterSystems Java Programming Contest 2023:
(2).jpg)
How to vote? Details below.
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in November 2023:
Hi Community,
We're pleased to invite you to the upcoming webinar in Hebrew:
📅 Date & time: November 29th, 3:00 PM IDT
JSON has become the leading language in interfaces in recent years.
In this Webinar we will learn about the use of JSON Adapter and its mappings,
How to convert information from SQL to JSON in a single command,
And how can information be saved as raw JSON without saving as an object in DocDB.
Presenter:
@Keren Skubach, Senior Sales Engineer, InterSystems
Hi community,
The parquet file format is the evolution of the CSV file format. See the differences when you process data in the AWS using CSV and Parquet:

Do you like to have support to parquet files in the InterSystems IRIS?
Hi Developers!
Here are the technology bonuses for the InterSystems Java Programming Contest 2023 that will give you extra points in the voting:
- Java Gateway usage - 2
- Java Native API usage - 2
- Java PEX Interoperability - 4
- Java XEP Usage- 2
- LLM AI or LangChain usage: Chat GPT, Bard and others - 3
- InterSystems IRIS Cloud SQL Usage - 3
- Community Java libs: Hibernate and Liquibase - 2
- Questionnaire - 2
- Docker container usage - 2
- IPM Package deployment - 2
- Online Demo - 2
- Implement InterSystems Community Idea - 4
- Find a bug in InterSystems IRIS Java Offerings - 2
- New First Artic

Introduction
This article aims to explore how the FHIR-PEX system operates and was developed, leveraging the capabilities of InterSystems IRIS.
Streamlining the identification and processing of medical examinations in clinical diagnostic centers, our system aims to enhance the efficiency and accuracy of healthcare workflows. By integrating FHIR standards with InterSystems IRIS database Java-PEX, the system help healthcare professionals with validation and routing capabilities, ultimately contributing to improved decision-making and patient care.
how it works
IRIS Interoperability: Receives

Motivation
The motivation behind the InterLang project is rooted in the innovative integration of LangChain chatbot agents with the Fast Healthcare Interoperability Resources (FHIR) framework to revolutionize conversational social prescriptions in healthcare. This project aims to leverage the rich and standardized data available through FHIR, an emerging standard in healthcare data exchange, to inform and empower these advanced chatbot agents.
FHIR provides a robust structure for health data, encompassing clinical, administrative, and financial information. By tapping into this wealth of data,
Intro
In a fast-paced digital era, effective communication is crucial. This article introduces a Java-based chat project, combining the strength of IRIS database and ChatGPT intelligence. Built on Java, it goes beyond real-time messaging, leveraging IRIS and ChatGPT for an enhanced chat experience. Also, the name of the project references the cultural classic - Star Wars.
Building Application
Building our dynamic chat application involves a seamless integration of key components and technologies. Java serves as the heart that drives server-side logic and business operations. Complementing i

I am trying to replace OBX.2 value of ED to PDF
Here is what I have in the funcion wizard
..ReplaceStr(source.{OBRgrp().OBXgrp().OBX():ValueType},"ED","PDF")
Inbound Message
OBX|5|ED|PDFReport^PDFReport||PDF^Image^PDF^Base64^JVBERi0xLjMNCjEgMCBvYmoNCjw8DQovVHlwZSAvQ2F0YWxvZw0KL1BhZ2VzIDQgMCBSDQovT3V0bGluZXMgMiAwIFI
Desired Outbound Message
OBX|5|PDF|PDFReport^PDFReport||PDF^Image^PDF^Base64^JVBERi0xLjMNCjEgMCBvYmoNCjw8DQovVHlwZSAvQ2F0YWxvZw0KL1BhZ2VzIDQgMCBSDQovT3V0bGluZXMgMiAwIFI
Case description
Let’s imagine that you are a Python developer or have a well-trained team specialized in Python, but the deadline you got to analyze some data in IRIS is tight. Of course, InterSystems offers many tools for all kinds of analyses and treatments. However, in the given scenario, it is better to get the job done using the good old Pandas and leave the IRIS for another time.
For the abovementioned situation and many other cases, you might want to fetch tables from IRIS to manage data outside InterSystems’ products. However, you may also need to do things the other way around wh
.png)
Hi Developers,
Our next online Developer Roundtable will take place on November 30 at 10 am ET | 4 pm CET.📍
Tech talks:
1. Foreign Tables - by @Benjamin De Boe Manager, Analytics Product Management, InterSystems
2. Building "data products" with dbt and InterSystems IRIS - by @Thomas Dyar Product Manager, Machine Learning, InterSystems
We will have time for Q&A and open discussion.
▶ Update: watch the recording of the roundtable below:
Hey Developers,
We are super excited to invite you all to the new InterSystems online programming contest focused on Java and its derivatives!
🏆 InterSystems Java Programming Contest 🏆
Duration: November 13 - December 3, 2023
Prize pool: $14,000
.jpg)
– 41 new announcements
– 97 new questions
– 3 new discussions
✓ 245 new members joined in November
✓ 12,425 posts published all time
✓ 10,810 members joined all time
Hi Guys,
Do we need to configure something in ports so that we can use it in a production?
I've a production with 8 running services and recently added a new service with new port but unable to get it working
raising error 404.
When using an existing port that is used by current running service, my new service works fine but not when using a new port, I've added the new port to inbound rules in the firewall bit still no luck, so is there something I need to do to in Ensemble ?
Thanks

