Can any one tell me the difference between %KillExtent and %DeleteExtent with example
Hi Community,
It's time for the new batch of #KeyQuestions from the previous month.

Here are the Key Questions of May chosen by InterSystems Experts within all Communities:
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in May 2024:
For some time I have been planning to do some type of proof of concept with the Workflow functionality, which, like so many other functionalities present in IRIS, tends to go quite unnoticed by our clients (and for which I say mea culpa). That's why I decided a few days ago to develop an example of how to configure and exploit this functionality by connecting it with a user interface developed in Angular.
To avoid a very long article and make it more accessible, I am going to divide it into 3.
i want to update some values in tsysparameters table through powershell. how to write the script.
Hi Community,
Watch this video to learn how to use HL7® FHIR® Shorthand (a domain-specific, human-readable language for defining profiles, extensions, and other FHIR artifacts) to more efficiently create a FHIR Implementation Guide:
Finally and with a little delay, we conclude this series of articles about our Workflow Engine by showing an example of the connection that we could make from a mobile application.
In the previous article we showed the example that we were going to discuss, an application that allows detailed control of a chronic pathology such as hypertension for both the patient and their associated doctor.
Hi
I have a question about terminal, when I run a class from it that contains an error I get a report of error as I would expect, and then an apparently random three letter code is appended to the namespace name in the prompt, as shown below.
GMMHTIE>do ##class(temp.Nothing).What()
w !, tParisAnswer
^
<UNDEFINED>zWhat+23^temp.Nothing.1 *tParisAnswer
GMMHTIE 2d1>
Then, when I try to enter a command I get an error
GMMHTIE 2d1>do ##class(temp.Nothing).What()
DO ##class(temp.Nothing).What()
^
<COMMAND>^temp.Nothing.1
GMMHTIE 2d1>
Whilst the terminal is in this state, it is apparently unusable,
In a customer project I was asked how you can keep track of database changes: Who changed what at which date and time. Goal was to track insert, update and delete for both SQL and object access.
This is the table that I created to keep the Change Log:
/// Changelog, keep track of changes to any table
Class ChangeLog.DB.ChangeLog Extends (%Persistent, %JSON.Adaptor)
{
/// Action
Property Action As %String(%JSONFIELDNAME = "action", DISPLAYLIST = ",Create,Update,Delete", MAXLEN = 1, VALUELIST = ",0,1,2");
/// Classname of the %Persistent class
Property ClassName As %String(%JSONFIELDNAME =Background
In InterSystems IRIS versions >=2021.2 we can use the accompanying irispython binary to directly write python code on top of our IRIS instances. This lets us use python packages, call methods, make SQL queries, and do nearly anything in Objectscript but pythonic.
For example, below I check if a namespace is present:
#!/usr/irissys/bin/irispython
import iris
# call arbitrary class methods
result = iris.cls('%SYS.Namespace').Exists('USER')
if result == 1:
print(f"Namespace USER is present")
But, what if my method in IRIS has special parameters such as
OutputandByRefparameters?
Hi Developers,
We'd like to highlight some key information about the Tech Exchange zone at Global Summit 2024. This year, you can see and add every demo, roundtable, or discussion to your schedule, ensuring you don't miss a thing!
Here's what to explore at Tech Exchange:
- Request a 1-on-1 meeting with InterSystems product experts and developers
- Startup Showcase
- Partner Pavilion
- Developer Community booth
- Learning Services booth
- FHIR booth
- Supply Chain booth
- UX booth
- Vector Search, GenAI discussion table. Available for spontaneous connections with others interested in this topic
- more than 40 tech demos!
Learning opportunities in Tech Exchange room:
I receive a time stamp as = 1988-08-18 00:00:00.000
I need this to be converted as - 1988-08-18T00:00:00+01:00
Hello Everyone,
The Certification Team of InterSystems Learning Services is developing an InterSystems ObjectScript Specialist certification exam, and we are reaching out to our community for feedback that will help us evaluate and establish the contents of this exam. Please note that this is one of two exams being developed to replace our InterSystems IRIS Core Solutions Developer exam. You can find more details about our InterSystems IRIS Developer Professional exam here.
How do I provide my input? Complete our Job Task Analysis (JTA) survey!
Hi ,
I receive xml as incoming request , I convert that into HL7 in my business process class as below
Set tSC = $CLASSMETHOD("myDTL","Transform", .pRequest,.dtlRes)
then , I am sending the dtlRes which is a HL7 message to a router "TEST_ROUTER"
in the router , I am checking for HL7.{MSH:9.2} , where I am getting below error :
Terminating BP TEST_ROUTER # due to error: ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zevaluateRuleDefinition+15^TEST.SampleRule.1 *HL7,EnsLib.MsgRouter.RoutingEngine -- logged as '-' number - @' set tTempVars("test")=(pContext.HL7.GetValueAt("MSH:9.2"))'
below is my
Pandas is not just a popular software library. It is a cornerstone in the Python data analysis landscape. Renowned for its simplicity and power, it offers a variety of data structures and functions that are instrumental in transforming the complexity of data preparation and analysis into a more manageable form. It is particularly relevant in such specialized environments as ObjectScript for Key Performance Indicators (KPIs) and reporting, especially within the framework of the InterSystems IRIS platform, a leading data management and analysis solution.
In the realm of data handling and
Note: this was originally posted on June 5, 2024 but presented as being posted on May 9, 2024 so this re-post fixes the date.
Recent updates to the Intersystems Language Server introduce many significant enhancements aimed at improving developer experience and productivity. I'll talk about some of the key ones here, while the complete list, including numerous bug fixes, can be found in the Language Server's CHANGELOG.
Detailed descriptions for syntax errors
In the past, all syntax errors were reported simply as "Syntax error." Now, the syntax error reported in VS Code's PROBLEMS pane has the
Hy Friends,
I have a question, how to change multiple rows into 1 row
.png)
This data already in the right order, but I need to change the Diagnose into 1 column with this order 1,2,3,4
So it should be Acute...,Fever..., Dyspepsia, Dengue fever
Does anyone could help me ?
Thank You
Best Regards,
Steven Henry
Hi Guys,
This is more of a Javascript question but just in case would have an idea.
basically I'm calling the below JavaScript function from a classMethod to add Options to an html <Select> tag (Dropdown) and after adding all options I would like to set a specific value or index to be selected, its working and actually the required option is selected but not showing as selected in the dropdown box.
For testing purposes I've set option 4 to be selected by default as example and it's not showing as selected in required dropdown (green)
.png)
but if I click on the dropdown box option 4 is selected,
After upgrading we had 2 major problems with the new version:
- Resending messages adds blank lines.
Because we have many HL7 processes, we regulary have to resend messages if there is an outage of a server we connect with.
- IIS recycling causes webgateway connection problems, after change from PWS to IIS.
At unexpected times a connection can no longer be made.
The strange thing is that it does not occur with every recycle of the application pool.
Setting the password again in csp.ini usually works, but not always, which is of course a major problem.
I was wondering if there is a server component
If you want to get the initial and last day of a month, I have a ClassMethod to you (version 2, fixed an error found by Eduard):
ClassMethod GetMonthPeriods(InitialYear As%Integer, EndYear As%Integer) As%Status
{
set sc = $$$OKset result = []
For CurrentYear = InitialYear:1:EndYear {
For CurrentMonth = 1:1:12 {
set item = {}
If CurrentMonth < 10 {
Set CurrentMonthStr = "0"_CurrentMonth
} Else {
Set CurrentMonthStr = ""_CurrentMonth
}
Set item.StartDate = CurrentYear_"-Hello IRIS Community,
InterSystems Certification is developing a certification exam for InterSystems IRIS SQL specialists, and if you match the exam candidate description given below, we would like you to beta test the exam. The exam will be available for beta testing on June 9 - 12, 2024 at InterSystems Global Summit 2024, but only for Summit registrants (visit this page to learn more about Certification at GS24). Beta testing will open for all other interested beta testers on June 24, 2024. However, interested beta testers should sign up now by emailing certification@intersystems.com (please let us know if you will be beta testing at Global Summit or in our online proctored environment). The beta testing must be completed by August 2, 2024.
I am trying to work with the FHIR Object Model where I convert an incoming HL7v2 to SDA then FHIR. From here I would like to be able to process the FHIR Object by deserializing it to a Bundle object using the following code my problem is I keep on getting an error which is not explaining much about what is wrong with what I am doing any help will be appreciated thanks.
Property FHIRAdapter As HS.JSON.AdaptorFHIR;
Method OnRequest(pRequest As HS.Message.FHIR.Request, Output pResponse As HS.Message.FHIR.Response) As %Status
{
set pmReqFHIRobj=##class(HS.FHIR.Model.Resource.Bundle).
Hey Community,
Watch this video to get an overview of how UC Davis Health uses HealthShare and Smart on FHIR to integrate genomics results into medical records as interactive discrete result pages:
Dear All ,
Good Day ,
I want to learn the Trackcare Technical Track , is anyone have helping material? Please share with me .
Regards ,
Zulqarnain
ISC Developers, I 👑 you.
Looking to get started with generative AI? Try two brand-new learning paths. In Getting Started with Generative AI (2h 45m), learn the basics of interacting with GenAI. Then, try Developing Generative AI Applications (2h) to start developing your own GenAI application. Plus, earn badges for completing each path!
Hi Community,
My old code:
Hi,
We are developing a .NET6 application using Iris database. We would like to use ORM for easier code maintenance.
I saw a doc about Entity Framework: https://docs.intersystems.com/iris20231/csp/docbook/DocBook.UI.Page.cls?KEY=BNET_eframe, but even it's newest Iris version, the Entity Framework is very old .NET Framework (2013) and not supported by Microsoft anymore. Are there any plans to support Entity Framework Core?
Hi guys,
How can call a clientMethod, Method or classMethod from a html component?
I've this hyperlink acting as a button in a zen page and onclick I've tried the below which is actually executing the function but failing to call the classMethod line, and is there a way to just call clientMethod instead of javascript ?
<td><a id="btnLast" data-role="button" onclick="getWOs();" href="MyOrders.WO.cls">Last </a></td>
ClassMethod retGetWO(wo)
{
Set (WO,Note,Desc,out)=""
if MtcId'=""
{
&SQL(Select Wo into :WO From Purchace.Order Where id=:wo)
}
I WO'="" s %session.Data("WO")=WO}
function getWOs()
{
va
Hi All,
I am working on SQL based KPI in IRIS BI. I want to remove below highlighted search text box in "auto" filter type.
We cannot use other type like only dropdown etc. Is there a way we can do this ?
One way I can see is writing own control instead of using default control but I am not aware how to do this. I didn't find any sample code for this.
Is there any sample code available for writing custom control which I can refer.
Please assist
.png)


