All time
InterSystems Developer Community is a community of 25,012 amazing developers
We're a place where InterSystems IRIS programmers learn and share, stay up-to-date, grow together and have fun!

Hi Folks,

I created a persistent class as below

Class myclass.DataBase Extends %Persistent
{

Property ID As %String;

Property Skill As list Of myclass.SerialTablelist;
}

and Created another Serial class as

Class myclass.SerialTablelist Extends %SerialObject
{

Property PSkill As %String;

Property OSkill As %String;
}

Now I will save the id as below

do rs.Prepare("Insert into myclass.DataBase(ID)VALUES(?)")
do rs.Execute(ID)
0 12
1 544

Hi!

Does anyone have a cleaner approach than this for looping through grouped NTE segments in order to set the segment ID in an ORM? I am aiming to avoid the NTE segments that may follow the PID segment and find the NTE's that follow the OBR segment. By using the below If statement in the While loop, I'm finding NTE's that have comments in the fourth field (PID NTE's tend not to have these in the messaging I'm seeing, I'm awaiting confirmation on this), as well as finding my newly inserted NTE segment using $FIND to locate the colon (I've concatenated some values).

0 3
0 553

I've just installed Visual Studio Code, installed the InterSystems ObjectScript Extension Pack as documented here, connected it to a local InterSystems IRIS instance, and created a workspace associated with one of that instance's namespaces. However, after doing this, I don't see the ObjectScript button on the left toolbar when opening the workspace.

0 5
0 551
Question
· May 21, 2020
PDF to Dicom

I have an upcoming project where we are being asked to take a PDF result and send it to a PACS system as a DICOM encapsulated PDF. I am wondering if anyone has done this and if so can you share your experience?

Thanks,

1 1
0 555

Hi -

I'm wondering if anyone has coded up a means to create an extension for a %Persistent class from a base class to a sub-class without making a ton of assumptions about the Global structure. I'm trying to create a new "extension" record that would have the same ID as the Base Class

Class BaseRecord Extends %Persistent

and

Class SubRecord Extends BaseRecord

where I would have an instance of a "BaseRecord" and I want to turn it into a "SubRecord" instance and have all of the existing references to the BaseRecord survive.

0 7
0 549
Question
· Jun 21, 2016
Atelier - newbie troubles

I have just imported our Ensemble project (not a really big one, like two man-years) into my MacBook Air Ensemble 2016.3 instance to test many things (document model, etc.), Atelier among the others.

The "Production view" is not here, and I miss it.

The opening of Diagram Editor for BP is pretty hidden. I would even like having a switch, which would default to the Diagram Editor.

Anytime I click on the Open Diagram Editor, it waits for a while, ten produces an error and only then I can see the diagram.

1 2
0 554

I've been working for some days in the connectivity between NodeJS client applications and IRIS as server using web sockets.

You can get all the information in relation to the web socket connections using IRIS as a client or as a server from this URL: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

3 2
0 515

Hi Developers,

We're super excited to share with you the new awesome functionality of the Online Analytics Dashboard for every Community member 🔥

From now on, you can see your own detailed statistics for the current week, month, and all time, including:

  • number of views, likes, comments, followers
  • timeline graphics of views, likes, actions with your posts, comments
  • a table containing info about views, comments, and likes for your every post

      11 1
      0 535
      Question
      · Jan 18, 2022
      FHIR Bulk Data and ndjson

      Hi all,

      I am testing asynchronous Bulk Data retrieve with a large EHR vendor. When I retrieve the bulk data, they are returning ndjson (CONTENT-TYPE of "application/fhir+ndjson; charset=utf-8"). If I attempt to process that content using JSON functions - I get

      ERROR #5035: General exception Name 'Parsing error' Code '3' Data ''

      For example, the following generates the error

      s objArray={}.%FromJSON(quickStreamOut)

      The error makes sense in that ndjson is not a valid json format (I assume at least).

      0 1
      0 554

      Object Synchronization is a feature that has been around for a while, since Caché days, but I wanted to explore a bit more how it works. I've always thought that database automatic synchronization is complex by nature but, for some particular scenarios shouldn't be so hard. So I considered a very simple use case (OK, perhaps the typical one, I'm not discovering anything... but if it's common and it works, it's good wink ).

      6 1
      2 535
      Question
      · Mar 4, 2017
      Calculated Fields
      1. How can I create a calculated field to give the previous date. For example, I need to create a pivot table that shows total payments posted for the prior day.

      2. How to create a calculated field to show average daily collections divided by the number of the days passed in a month. So, for today, it would be the average daily collections divided by 4days.

      Thanks!

      0 3
      0 552

      Hi, Community!

      We have a new release here!

      What has been introduced:

      1. Better notifications

      With this release I hope you will turn on back the email notifications because every new notification today in the beginning of itself will tell first, why did you get it describing the exact reason you got this particular notification. And if you don't want this type of notification to be delivered anymore click unsubscribe link in the notification and it will lead to the settings of this very type to alter.

      1 6
      0 435

      Artificial intelligence is not limited only to generating images through text with instructions or creating narratives with simple directions.

      You can also make variations of a picture or include a special background to an already existing one.

      Additionally, you can obtain the transcription of audio regardless of its language and the speed of the speaker.

      So, let's analyze how the file management works.

      9 2
      1 514

      Hey Community,

      Enjoy watching the new video on InterSystems Developers YouTube:

      Let InterSystems IRIS Do the Work: Git Source Control & Linting ObjectScript Across Editors @ Global Summit 2022

      https://www.youtube.com/embed/Fh0uyC9owyE
      [This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

      1 1
      1 534

      I've installed the latest version of IRIS using Minimal settings as I'm just looking for some basic IDE without connecting to anything.

      After install, I see all the files in the Intersystems folder, however there is no "IR" in the system tray. I don't see any executables to launch either. System restart did not populate the system tray either.

      Is there any other way to launch Studio?

      0 9
      0 545
      Question
      · Jun 10, 2020
      View Application Error Log

      Hi Community,

      Is it possible to track Application Errors from a specific namespace?

      With the new API, I know we have the endpoint /alerts.

      But the endpoint /alerts, as described in the documentation:

      The /alerts endpoint fetches the most recent alerts from the alerts.log file and returns them in JSON format.

      I want to create push notifications for Application errors in specifics Namespaces, and I don't know how to extract that information from there.

      0 3
      0 551