hi guys!
while WorkMgr.Queue reports a error, there are many locks, how to deal it?
hi guys!
while WorkMgr.Queue reports a error, there are many locks, how to deal it?
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in June 2024:
Hello,
I don't know why I can't get into management portal. I saw something related to permission issue of group allowed to start and stop and have already changed to root and Admin but still doesn't work.
Installation info:
I started "httpd server" and "IRIS".
Management Portal doesn't show on browser. Error Shows:
But I could get into "User" namespace from the terminal.
In VS code, I downloaded three extensions. Then
Could you please tell me, How do we create a global that can be shared by all namespaces?
Are we allowed to delete _SYSTEM user of an Intersystems IRIS, If so,how can we do that?
What is Global mirroring and its purpose?
Hi Community!
Need an introduction to Generative AI? Learning Services is excited to announce the first video in a new series about GenAI basics:
.png)
By default, all files created inside a container are stored on a writable container layer. This means that:
One of the great features in InterSystems IRIS is Monitoring InterSystems IRIS using REST API. This enables every InterSystems HealthShare instance with the ability to use a REST interface to provide statistics about the InterSystems HealthShare instance. This feature includes information about the InterSystems IRIS instance with many out of the box statistics and metrics.
You also have the ability to create application level statistics and metrics.
I use a swagger file and ##class(%REST.API).CreateApplication to create the rest api.
There is an interesting post: https://community.intersystems.com/post/download-file-rest-api-operation, but it is code, not a swagger configuration. disp.cls returns always a header content : application/json that of course fails as I am not always returning a json
I can not figure out what to put in swagger. Some examples I tried:
produces:
- application/pdf
- image/png
responses:
200:
schema:
type: file
responses:
200:
schema:
type: string
format: binary
Thank you
Visual Studio Code releases new updates every month with new features and bug fixes, and the June 2024 release is now available.
Version 1.91 includes:
We have a business process that seems have extra jobs hanging around. This is what we see in the Jobs tab:
Only the bottom one is actually associated with a process. So what are those other ones? There are no queues and I have no way of finding out why they're there.
Thanks.
Hi, I have a controller which handles accounts, and forwards to the relevant controller based on the path, example below:
XData UrlMap
{
<Routes>
<Map Prefix="/:accountId/anothercontroller" Forward="AnotherController"/>
</Routes>
}Problem is that inside AnotherController, the accountId path parameter is lost, I assume that's because the map forward simply checks if there's a match then forwards.
AnotherController:
XData UrlMap
{
<Routes>
<Route Url="/:somethingId" Method="POST" Call="CreateSomething"/>
</Routes>
}
ClassMethod CreateSomething(somethingId)
{
}Hello,
First of all thanks for your time reading this question, and thank you for your help.
🎯 We would need to create an Ensemble HealthShare Operation to read files from a FTP / SFTP server.
We have coded:
Hello Community,
I've configured a FHIR Server in FHIR Configuration "/csp/healthshare/learn1/fhir/r4 " and I enabled a JWT Authentication for this web application. I've invoked this url http://localhost:52773/csp/healthshare/learn1/fhir/r4/login with basic auth get the JWT token. Now I use the access token as a "Bearer" for GET the patient resource. But I got 401Unauthorized error. Anyway I can get the patient resource with basic auth. I tired assign with %ALL role for testing as well. Did I miss any additional configuration in "FHIR Server Configuration"
$ZTIMESTAMP returns the date and time in UTC format, so to change it to the local time zone, use the following system method:
$SYSTEM.Util.UTCtoLocalWithZTIMEZONE($ZTIMESTAMP)The above output will be in the format ddddd,sssss.fff.
ddddd: Same format as $HOROLOG dates
sssss: An integer indicating the number of seconds elapsed since midnight on the current date
fff: Variable number of digits indicating the fractional part of a second
* Similar to $HOROLOG, except that $HOROLOG does not include fractional seconds.
How can I convert
From = 2024-07-04 13:21:16.477
To = 20240704132116
Have you ever imported an XML schema from an XSD file? You might want to look at the original file again sometime later, but forgot where you put it.
Do not worry, that information is being kept as part of the import process.
The whole imported XSD schema is being kept in the ^EnsEDI.XML.Schema global. That global holds all the imported XSDs in your namespace. The first subscript is the name of the schema that you see in the portal.
To look for the source XSD file location, simply look at the following place:
^EnsEDI.XML.Schema(<schema name>,"src",1)
For example:
I need to be able to take the size of the request from a given %CSP.request
however it seems the best the docs suggest is to get the length of characters in the request (using $order and Get, Count)...
this is not good enough for what I need to do, Any suggestions?
I scanned the docs and couldn't find anything.
Trying to test a router that takes an XML input and performs a transform on it.First attempt I tried to test the transform using the XML Document Viewer via the Ensemble -> Interoperate -> XML Document Viewer menu. The transform itself is working however I can not get the output to save to a file. I've made sure permissions are set correctly on the file. It simply doesn't output anything and I'm at a loss as to why.As another method I also tried testing via Ensemble -> Test -> Business Hosts. Putting the file path/name as the source does not send any data. Again, I've made sure read
Difference between %ResultSet.SQL and %SQL.Statement
Hey Community,
Play the new video on InterSystems Developers YouTube:
⏯ Introducing InterSystems Supply Chain Orchestrator @ Global Summit 2023
Hi,
We have an HTTP business operation where the messages gets stuck and we had to recycle the operation to resume the processing. We are trying to work around this (for time being until we find the root cause) using below code which should recycle the component.
Set tSC = ##class(Ens.Director).EnableConfigItem(pConfigItemName,0,1)
Set tSC = ##class(Ens.Director).EnableConfigItem(pConfigItemName,1,1)
Hi dear Sir,
I see the DTL chain defined in IRIS, which is applicable if regarding transformation from one protocol to another, and fields/segments mapping:
I have a class with two methods
Class Foo.Bar
{
ClassMethod Helper()
{
// do something
}
ClassMethod Generated() [ CodeMode = objectgenerator ]
{
do ..Helper()
// do something else
}
}
Since the method Generated is run before the class is compiled, the call to do ..Helper() fails. Is there a way around this other than manual inlining?
Hello Community,
I'm a beginner and currently working on a project to convert CCDA files to FHIR using InterSystems IRIS. I have developed a web form to upload CCDA files, and I'm attempting to convert the uploaded CCDA files to FHIR. However, I am encountering an issue where the conversion process results in an empty entry.
Here's the Output it displays on HTML page:
Size of CCDA Stream: 74152
vR4
{"resourceType":"Bundle","type":"transaction","entry":[]}Here is my code: CCDtoFHIR.csp
How do you authenticate with a rest api? The rest api implemention allows us to add in the header Authentication: 'Basic ' + btoa(user + ':' + password) but it is not really secure as a user can inspect and with the right decoding tool see a user password
HI,
I'm migration an existing integration to InterSystems. The upstream (external) system calls a JSON web service hosted in the interface engine, which converts the JSON data received to a HL-7 messages to send to the downstream system. I'm looking for direction and example of how to do the equivalent in InterSystems, so the the upstream system only has to modify the URL of the web service they call.
I suppose in IS we'll need to create a business service that is a RESTful JSON web service? How to access the JSON data (parameters in the web service call) in the Transformation?
Thank you!
W
We're excited to continue to roll out new features to InterSystems IRIS Cloud SQL, such as the new Vector Search capability that was first released with InterSystems IRIS 2024.1. Cloud SQL is a cloud service that offers exactly that: SQL access in the cloud. That means you'll be using industry-standard driver technologies such as JDBC, ODBC, and DB-API to connect to this service and access your data. The documentation describes in proper detail how to configure the important driver-level settings, but doesn't cover specific third-party tools as - as you can imagine - there's an infinite number of them.
In this article, we'll complement that reference documentation with more detailed steps for a popular third-party data visualization tool that several of our customers use to access IRIS-based data: Microsoft Power BI.