How can we create a random token within HealthConnect? any examples?
Hello Community,
I've created my FHIR patient profile and POST into FHIR endpoint in Intersystems FHIR Server.
http:localhost:52773/fhirr4/StructureDefinition
I use the profile url into my Patient resource without the meet the profile requirements.
http:localhost:52773/fhirr4/Paient
The resource is stored successfully in the FHIR Server instead of a FHIR exception.
Why the resource doesn't validate with the mentioned profile?
Is this profile validation is really a intersystems FHIR server job or the validation implementation is available now ?
It's time to announce the Winners for September! Please welcome our awesome Global Masters Heroes!
The storm of applause goes to these developers and their great contribution to DC in September:
🥇 @Sylvain Guilbaud
🥈 @Luis Angel Pérez Ramos
🥉 @Ashok Kumar
Learn more about the competition and our awesome winners below.
Hello community, I need to solve a complex but trivial issue.
Given:
Two tables "Comment" and "Post". Each one contains an "Author" field, which is essentially a user ID. In these tables, each user ID represents an author. The goal is to count all participants together and then group them by month, language, and other metrics.
The question is how to do this within the IRIS ecosystem. Is it even possible to take two tables, get distinct data from them and then combine into one cube?
When you use VS Code to edit source code, the settings model allows you to specify folder-specific values for some settings by using a settings.json file located in a .vscode sub-folder of the workspace root folder. A value set here takes precedence over one from your personal settings when you are working within that workspace root folder.
If you use an isfs-type workspace to operate directly in a namespace on a server, you first need to configure that server to support a special .vscode folder for each of its namespaces, present and future. The folder can also provide folder-specific code
Hello Community,
I have couple of question about the DynamicSQL.
1. The %ObjectSelectMode is working perfectly in the DynamicSQL for the object property in direct query. However this is not supported for class query. Is there any way to resolve this / Get the object value for class query result.
2. What is the reason behind for a stored query prepared using %PrepareClassQuery() you must use the %Get("fieldname") method.
Class Samples.DB.NewClass1 Extends%Persistent
{
Property Address As NewClass3;ClassMethod TestQuery()
{
set statement = ##class(%SQL.Statement).%New()
set statement.%ObjWe are back to %SYS once again! Since we covered managing users and resources in the last two articles, we can finally move on to roles. As you may have guessed, there are a lot of methods of managing them that you have already seen in our previous writings. However, we can still encounter key differences in this particular class.
Before we begin, bear in mind that this is another class that should not be manipulated through direct SQL access.In newer versions of IRIS, you will find a NoSQL trigger that will prevent you from doing that anyway.
InterSystems FAQ rubric
ObjectScript allows you to pass any number of arguments using arrays. Do it by adding ... after the argument name.
An example is as follows. In the example statement, the argument information is set in a global variable (a variable stored in the database) so that it can be easily checked after the method is executed.
Class TEST.ARGTEST1 Extends%RegisteredObject
{
ClassMethod NewMethod1(Arg... As %String) As %Boolean
{
kill ^a
merge ^a = Arg
}
}The result of running it in the terminal is as follows.
USER>DO##class(TEST.ARGTEST1).NewMethod1(1,2,3,4,5)
USER>ZWRITEHi All! For those of you who are users of our cloud services, you may have been introduced to Health Connect Cloud. One topic within that cloud service that can be a little tricky is understanding how GitLab and the source control workflow fit seamlessly into your integration workflow in Health Connect Cloud. I recently presented a lightboard video explaining how this works, including the slightly different workflows for building interfaces via code versus building via the Management Portal UI. If you use Health Connect Cloud, let me know if this is helpful or if you have questions!
Interested in predictive modeling? This exercise shows how IntegratedML® works, and you can get practice creating a model with sample patient data. Try it out and share what you think!
It appears to be working correctly, mirroring data etc. but the status on the Primary Cache DB is showing the wrong status for the DR DB.
re-configured Cache Mirroring BUt still have the same issue afterwards.
The GUI display remains the same regardless.
From primary Cache portal
| Mirror member | MIrror TYpe | Status | Journal Transfer | Dejournaling |
| X | Failover | Primary | N/A | N/A |
| Y | Failover | Backup | ACtive | Caught up |
| Z | Async | Down | N/A | N/A |
FRom DR Cache PORTAL
| Mirror member | MIrror TYpe | Status | Journal Transfer | Dejournaling |
| X | Failover | Primary | N/A | N/A |
Hello,
First of all; thanks for your time reading this post, and thanks for your answers and help. I am really grateful.
We have the following need: Send a DICOM Find Document to get the complete list of a patient's studies from an Outbound System, which we simulate with the tool called "dcm4che" specifically with these two commands:
1º.Initialize a DICOM database in simulator. We will use this database to run queries using DICOM C-FIND commands:
./dcmdir -c ./shared/DICOMDIR --fs-id SAMPLEDICOMS --fs-desc ./shared/dicom/descriptor ./shared/dicom
2ºStart simulated DICOM archive that uses the
MIRROR is the best solution for almost immediate replications to a Failover Server.
The related mechanics are based on Global Journaling.
Globals hold Data and Classes and Routines and more ...
If Mirroring is in place all is in sync. With minimum delays
This is of course rather useful for code changes in Classes, Routines, ....
To what extent is Embedded Python covered by Mirroring?
Or:
What is required to Synchronize EmbeddedPython like Mirroring.
With ECP we have the option to have a collection of Frontend instances
All Frontend servers typically have a common Master in the background
Concentrating data on the Master server is the primary goal.
As a side effect, this applies also to Classes, Routines, .. anything stored in Globals.
This is probably not the most efficient setup. But rather common anyhow.
Is embedded Python code also stored in Globals?
What is the recommended solution for a similar installation?
Hi everyone,
I'm attempting to compile a basic Python code on a remote server, but it appears that the compiler doesn't recognize the language.
The remote server is running a virtual machine with Oracle Linux Server 7.9 (64-bit), and it has IRIS for UNIX (Red Hat Enterprise Linux for x86-64) 2021.1 (Build 215U) [HealthConnect:3.3.0] installed.
When I try to compile a script that includes a Python ClassMethod, such as this "testpy.cls":
ClassMethod python() As%Status [ Language = python ]
{
# prova python
print("hello world")
}This error returns (Error #5486: Invalid method language
Hi,
Any examples please of connection a Delphi 11 Front end to a Cache database?
I can get it to connect but then when I try and view data it fails
4 fields in front end
SERVER = 127.0.0.1
PORT = 1972
NAMESPACE = DROP DOWN LIST (I SELECT "DEVELOP" FROM THE LIST
EDIT_CLASSNAME = Default value is Test (with maybe 3 fields just of random stuff)
procedure TFMAIN.BtnConnectClick(Sender: TObject);
var
ConnectString: string;
Success: Boolean;
Col,Row:Integer;
FieldName:array[0..10] of string;
begin
IF NAMESPACE.TEXT<='' THEN
BEGIN
SHOWMESSAGE('Please select a Namespace from the drop down
I have a BPL that checks if at least one of the incoming OBX 5 values exists in TestTable. If the value exists it gets passed to Operation A and if it doesn't exist it gets passed to Operation B. The lookup table has keys that range between 10 to 70 characters.However, the incoming message sometimes has OBX 5 values that are greater than 510 characters which causes the BPL to terminate and the message does not get sent to any operation.
Hi Community,
In this article, I listed 5 useful SQL functions with explanations and query examples 👇🏻
These 5 functions are
- COALESCE
- RANK
- DENSE_RANK
- ROW_NUMBER
- Function to Get Running Totals
So Let us start with COALESCE function
Hi All! You may be interested to hear we've just released a new podcast episode all about mirroring, featuring conversations with @Chad Severtson from InterSystems and Greg King from J2. Take a listen and chime in on the conversation here if you have thoughts!
Hi Friends ,
We have a use case to search a given word in pdf and based on the result i need to send pdf to particular outbound system.
Here we used to do with some java library help in oracle soa integrations , now we are migrating oracle soa to intersystems .
Please help me if we have any library available in objectscript cahe.
Thanks,
Prashanth
This question is about calling AWS REST APIs. Based on:
http://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html
AWS requires REST clients to call their APIs using Signature Version 4 which in case you don't know what I am talking about is a pain in the neck. Here comes the question:
Has anybody, by any chance implemented the v4 signing alg. in COS? If yes, would she or he have the kind heart to share?
Thanks,
Chris
For containers in ECS files are not editable if the file size is larger than ephemeral storage free space. For example if I have 4Gb free I can't edit 8Gb file. But if I start container with 50 Gb of ephemeral storage (24Gb free) I can edit my 8Gb file just fine. Even file attributes cannot be changed: chattr -i <file> fails if the amount of free ephemeral storage is not enough (and so db can't be mounted for writing).
This can cause iris container failure on startup if large DB is both RW and mounted on start.
Hi all,
I am trying to compile my swagger class file with swagger JSON which is a valid JSON as I created it and verified from swagger.io 2.0 spec.
But getting below error. I am not very clear with the error message. Please help me resolve the same.
ObjectScript error: <CLASS DOES NOT EXIST>removeprj+7^%occClass *SwaggerClass
> ERROR #5091: An error has occurred while removing projection SwaggerClass:Reference.
> ERROR #5030: An error occurred while compiling class 'SwaggerClass'
Hi community,
I am looking for an implementation strategy to create/update organizations in a local ISC based FHIR server. Thoase organizations do have a certain dependancy to one another. For Organization resources the "partOf" property symbolizes that. It is planned, that a Interoperability Production (supporting FHIR Server) receives a bundle which contains a batch export of all organizations of a customer (Hospital). The task is to bring those data into the FHIR server create and/or update organization.
I was looking at conditional create/update since there a two major challanges.
1) The
how to install cache on Redhat 8 in 2023?
I have run the query and got ORU^R03 message from SQL Editor and reprocessed the message, But pdf not opened and the base64 content looks truncated.
Is there a way to get full content from the message from query? Why the content is not visible in DB that I can see in Message Viewer?
Thank you so much for your time to read this,
Hi Team,
I am using ##class(%Net.Cloud.Storage.Client).SingleDownloadBlobToFile
Able to upload small files less than 100 MB, but when uploading large files like 800MB we are getting Java Memory error. java.lang.OutOfMemoryError Java heap space
I am using default JavaServer (javaServer param as ""). This happens in all three data types (File, Stream and Object)
Thanks in advance !
-
Arvind Balachandran
Hey Community!
Today we've decided to shed light on another important topic that, apparently, stupefies some of you. It's the usage of Groups and Tags. The former is required, but the latter is not.
When you're creating a post, there are two seemingly similar fields after the body area - Group and Tags.
.png)
We are trying to call a SOAP web-service from Ensemble, following the documentation here: Creating an Ensemble Web Client | Creating SOAP Services and Web Clients with Ensemble | Caché & Ensemble 2018.1.4 – 2018.1.8 (intersystems.com)
While the version of Studio on our system doesn't display exactly the same options as described when using the SOAP Wizard, it did create a set of classes that look to be covering the correct bases - a set of Request and Response classes relating to the methods presented by the web-service, as discovered via the WSDL, and an Operation class and a few (9) SOAP
Does anybody know if there is a wizard to create SOAP client/server web services for IRIS from VS Code? I would like to not use Studio anymore but for SOAP web services looks like there is no alternative in VSCode.
Thank you in advance!


