Hy Friends,
I need some help, how to calculate date and time in different columns ? .png)
Does Anyone could help me ?
Thank you
Best Regards,
Steven Henry
Hy Friends,
I need some help, how to calculate date and time in different columns ? .png)
Does Anyone could help me ?
Thank you
Best Regards,
Steven Henry
Hi Developers!
Welcome to the 14th edition of the InterSystems Ideas news!! This time, you can read about the following:
✓ Hints & Tips for the participants of the 3rd InterSystems Ideas Contest
✓ Brand new Ideas Portal landing page
✓ Recently implemented ideas
I'm scraping my way through some code that's been around for a while, and came across the use of $ZTRAP and (dear GOD) GOTO for trapping and handling errors.
In an effort to "modernize" it and make it, I don't know, less M-ish (sorry old-timers!), I'm replacing it with Try/Catch blocks.
Some questions:
And if the answer to number 3 is Yes, my deepest apologies ... I love you guys! 🤩
Hello Community!
The past two days at the InterSystems Global Summit have been nothing short of extraordinary, and I'm thrilled to share the highlights of this incredible experience with you!
From the early hours, @Anastasia Dyubaylo and me welcomed our friends from the Community at our booth
which became a bustling hub of activity.
@Guillaume Rongier, Luc Chatty, @Raj Singh, @Dmitry Maslennikov, @Olga Zavrazhnova, Lucian Rotar, @Thomas Dyar, @Irène Mykhailova
@Claudio Devecchi, @Anastasia Dyubaylo, @Irène Mykhailova, @Daniel Franco
We've implemented some notable new features and enhancements inspired by your feedback.
Here's what's new:
Hi Community,
I seek your assistance for below scenario.
Scenario-1: How to add filter or where clause while displaying data with listing fields ( I have not used Custom SQL listing to display this data).
For below table, I have created a Cube Student and I have created listing fields of the columns mentioned in the table. Also I have created the pivot and I am able to create the same table as shown below.
Hi Guys,
Not really familiar with how to secure URLs and using SSLs, but we currently looking to change our url from http:/www to https:/www so my understanding is once we get a certificate its a matter of creating a new SSL/TLS configuration and assign the certificate to it, then what how to apply it in out URL, or do we have to do this in IIS?
Thanks
.png)
What causes the ![CDATA[ in a string field?
<QueryParameters><![CDATA[showportalonly=1&leaveunprocessed=0&limit=5000]]></QueryParameters>
Hello community,
I guess this one will be easy to answer, but trial and error took me too long meanwhile, so I thought it might better to ask the experts.
I would like to get rid of %all rights for routine use at our productive environment. The things, that we have to do in routine are:
- Open productions and start / stop components
- Read messages and message logs
- Search and resend messages
- Deploy new Applications
- Edit settings and default settings
- Read database tables
All in all, it is quite equal to everything but System Administration.
I receive request xml object as
pRequest =
<getURL>
<Url1><![CDATA[https://test/cs/icdfg?&RevisionSelectionMethod=LatestReleased&allowInte…;
</getURL>
I need to send this to a stream
Set XmlStream = ##class(%Stream.GlobalCharacter).%New()
// how do I send my pRequest into XmlStream ??
Do httpRequest.EntityBody.CopyFrom(XmlStream)
Hi Developers!
This is the second post on the resources for Developers. This part is about Open Exchange
Using Open Exchange to Learn InterSystems
InterSystems Open Exchange is a applications gallery of tools, connectors, and libraries which InterSystems Developers submit to share the experience, approaches and do business. All the applications are either built with InterSystems data platforms or are intended to use for development with InterSystems data platforms.
If you are a beginner developer you can take a look at applications in Technology Example category. All the applications in this category come with open source code repositories, so you are able to run the samples and examples in a docker container with IRIS on your laptop or in the cloud IRIS sandbox. Examples:
I would dearly love to avoid manually creating a SEF or XSD file to get the X12 832 (4010) schema into IRIS, but I have been hard pressed to find either downloadable resources or commercial options. The typical recommendation, edi-dev, seems to just do tooling that will help create SEF files, but no longer sells actual SEF files.
Anybody got any good resources that might have these schema files?
Thanks for any help!
Cordially,
Jonathan
Hi Community ,
I have a csv file to read and validate the data in the file
How can i ready only 1st line from the file using Readline()
Thanks,
smythee
Is there any way to include a CSP page within a CLS?
Example: #Include file.csp
Context: I work with a legacy that most screens are built using only CLS. I'm trying to change this by separating the frontend layers to be built only with CSP and backend layers using CLS. I improvised a method that injects an iframe to render the CSP in CLS through that iframe, but I'm still not happy. I need to know if there is any way to include this CSP using some specific resource for this.
Im trying to run a local instance of the UCR/Patient Index in a container but its giving me an error.
Here is my docker compose file:
hi !
now I want to insert data to third party database directly, Link Table wizard how to insert except by sql?
s obj=##class(YBFXJC.LABINFO).%New()
;s obj.ID="1"
s obj.HISID="1"
s obj.APPYNO="1"
s obj.HOSPITALID="1"
s obj.BILGDRNAME="1"
s sc=obj.%Save()
w sc_$System.Status.GetErrorText(sc),!
there is error <CANNOT SET THIS PROPERTY>zSaveData+3^YBFXJC.TestSaveObj.1
Let's say I have an InterSystems IRIS instance with 6 Namespaces:
And the number of Foo# namespaces can increase at any time for a number of reasons. I need to ensure that they all have identical configuration globals stored in a DB called CONFIG, so I do the following in my configuration file:
[Map.%ALL]
Global_SYS=%DEFAULTDB
Global_SYS("CommonConfig")=CONFIG
Global_SYS("CommonOtherSettings")=CONFIG
Global_SourceControl=CONFIG
This will ensure that all Namespace see the exact same settings when they reference ^SYS("CommonConfig") or ^SourceControl, etc.
Now...
Hi:
We are looking again into DB size. Looking at our Ens.MessageHeaderI GSIZE is 3767107
Looking at the global i'm not sure if we have had an issue in the past so much of the data looks the same, we only have 3 values in the $zwc and although some of the data in the $c between 1 and 18630 it looks very similar as if there was an issue in the past. But if anyone has any examples of their index param this would help to know if our global is abnormal.
Data below
I'm having problems with an HL7 message that is not properly parsed by IRIS (any version, including Ensemble).
The message is a OML_O21 and is valid, in fact is similar of what is described in the document "IHE Laboratory Technical Framework, Volume 2a (LAB TF-2a) version 6.0".
This is the sample from the IHE document (paragraph 2315):
Hello everyone,
Recently, I've been working on a Business Process that processes a large JSON FHIR message containing up to 50k requests in an array within the JSON.
Currently, the code imports the JSON as a dynamic object from the original message stream, obtains an iterator from it, and processes each request one at a time in a loop.
Hi, I am trying to optimize a method, I am only occasionally receiving Internal Server Error from GUI interaction and when viewing the Application Error Log in IRISHealth this is what I see. <UNDEFINED>%0Ac+3^%sqlcq.QM.uEgYAnxQ4duxnAiaOpZgvilz1tlo.1 *sqldata15d : CSP Error .
I have no idea how to read this and pinpoint the issue.
Full details below.
| Namespace: | QM |
|---|---|
| Process: | 4624 06/15/2024 03:46:31 No: 2 |
| Error: | <UNDEFINED>%0Ac+3^%sqlcq.QM.uEgYAnxQ4duxnAiaOpZgvilz1tlo.1 *sqldata15d : CSP Error |
| Code Line: | |
| Comment: |
|
| Stacks | [Goto Bottom] |
Hi Community,
Watch the new video on InterSystems Developers YouTube:
I have a table that is already created and contains data. I need to create a unique constraint that is a combination of two fields. Is there a way to do this in a SQL statement? Also, I would lke to know how to add it in the table class.
Recently I wanted to get a list of all cached queries and their texts. Here's how to do that.
First create an SQL Procedure returning Cache Query text from a Cached Query routine name:
Class test.CQ
{
/// SELECT test.CQ_GetText()
ClassMethod GetText(routine As %String) As %String [ CodeMode = expression, SqlProc ]
{
##class(%SQLCatalog).GetCachedQueryInfo(routine)
}
}And after that you can execute this query:
SELECT Routine, test.CQ_GetText(Routine)
FROM %SQL_Manager.CachedQueryTree()And get a list of Cached Queries:
Hello,
First of all thanks for your help.
We have the following scenario: some responses include special characters as ">" and "<" which are being put inside a property defined as:
Property PACPROBLEMAS As %String(MAXLEN = "", XMLNAME = "PAC_PROBLEMAS");
So then, when we observe the LOG SOAP it shows that the Target System replies to the ESB as follows:
➡️ <PAC_PROBLEMAS>46807#278.01#OBESIDAD INFANTIL GRAVE ( Z-SCORE IMC >2,70 ) #19/09/2019##N#</PAC_PROBLEMAS>
how do I convert DateTime from yyyy-mm-dd hh:mm:ss.000 to yyyymmdd
TL;DR: My comment to Microsoft when I voted:Our team has implemented most of what we need for source management of Power BI Report files in Perforce. The missing piece? Automated creation of ".pbix" files from ".pbit" template files that can deployed to the Power BI Report Server. Let's get the manual “Power BI Desktop->File->Save As” step out of the process to make report deployment totally automated.
I'm facing a challenge in dynamically generating SQL queries based on incremental q_ids for a project I'm working on. Here's the scenario:
log_reports that contains logs of service activities, including timestamps and associated q_ids.Current Approach:
Here's the SQL query I'm currently using:
Hello Community,
I have encountered the following SQL problem trying to create a table from a SELECT statement.
I narrowed the problem down to the following example:
1. The SELECT statement alone works as expected.
SELECT m.Name, h.Status FROM EnsLib_HL7.Message m, Ens.MessageHeader h WHERE h.MessageBodyClassName='EnsLib.HL7.Message' AND h.MessageBodyID = m.ID
2. But if "CREATE TABLE ... AS" is added it fails
CREATE TABLE UKEr.Test AS SELECT m.Name, h.Status FROM EnsLib_HL7.Message m, Ens.MessageHeader h WHERE h.MessageBodyClassName='EnsLib.HL7.Message' AND h.MessageBodyID = m.ID