Rechercher

Annonce
· Juin 18

Get Certified as a Development Professional

Do you have at least two years' experience developing with InterSystems IRIS® data platform and basic knowledge of InterSystems ObjectScript?

👨‍🎓Validate your expertise with the new InterSystems IRIS Development Professional certification exam, our first professional-level exam!

Badge: InterSystems Certified. InterSystems IRIS Development Professional  


What does the exam cover?

Best practices in:

  • Architecture
  • Development lifecycle
  • Data retrieval
  • Code

Why get certified?

  • 👏 Get formal recognition of your skills and experience.
  • 🚀 Boost your confidence...and your career!

As one InterSystems-certified customer says:

...certification is a solid guarantee that you have both the breadth and the depth needed to operate efficiently in these technologies.

Discussion (0)2
Connectez-vous ou inscrivez-vous pour continuer
Article
· Juin 18 5m de lecture

Définir et obtenir, et pas de souci avec JSON

Le bon vieux temps

La classe %Library.DynamicObject existe dans IRIS depuis bien avant que IRIS ne devienne IRIS. Si vous l'utilisez depuis l'époque de Cache, vous souhaiterez peut-être vous familiariser avec certaines de ses modifications.

Dans Cache 2018, la méthode %Get n'avait qu'un seul argument. Il s'agissait de la clé permettant de récupérer les données dans le JSON. Ainsi, si votre objet JSON s'appelait myObj, cela ressemblerait à ceci:

Discussion (0)2
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juin 18

Databases inside a Namespace

Hi,

I want to write a program to:

- list all defined namespaces

- for each namespace, the databases making up the namespace

Python would be ideal but ObjectScript is OK.

Would someone know how to do this?

Thanks

4 Comments
Discussion (4)3
Connectez-vous ou inscrivez-vous pour continuer
InterSystems officiel
· Juin 17

IRIS 2025.1 日本語ドキュメント公開 & ランチャーからの参照方法

このたび InterSystems IRIS 2025.1 の日本語ドキュメントが完成しました。以下のURLでご参照いただけます。

<--break->IRIS for Windows では、ランチャーの [ドキュメント] をクリックしたときに、好きな日本語ドキュメントを表示させることができます。

ランチャーのドキュメントリンク先は、デフォルトでは英語ドキュメントに飛ぶようになっています。ご希望の日本語ドキュメントを表示させるには、IRISサーバがIISを利用している場合は、IRISサーバ上で以下の(1)(2)を実行し、HTTPリダイレクト機能をインストール&リダイレクトを設定する必要があります。

(1) IIS HTTPリダイレクト機能追加 (まだの場合)

IRISサーバ上のIISに、リダイレクト機能を追加します。
[Windows の機能の有効化または無効化]→[インターネット インフォメーション サービス]→[World Wide Web サービス]→[HTTP 共通機能]→[HTTP リダイレクト]→[OK]

(2) 日本語ドキュメントへのリダイレクト設定

IRISサーバ上でコマンドプロンプトを管理者モードで起動し、以下3行を実行してください。これにより、希望の日本語オンラインドキュメントへのリダイレクトが設定されます。

注意
※2行目の /path は /<インスタンス名>/csp/docbook になります。以下の例では、インスタンス名=IRIS です。また、 /physicalPath は任意のフォルダで構いませんが、フォルダが存在している必要があります。
※3行目の /destination は、表示したいドキュメントの docbookj までを指定します。以下の例では、IRIS for Health にリンクしています。

cd C:\windows\system32\inetsrv
appcmd add app /site.name:"Default Web Site" /path:/iris/csp/docbook /physicalPath:c:\inetpub\docbook
appcmd set config "Default Web Site/iris/csp/docbook" /section:httpRedirect /enabled:true /destination:https://docs.intersystems.com/irisforhealth20251/csp/docbookj

IRISサーバが Apache を利用している場合は、こちら の手順をご覧ください。

 

なお、過去バージョンを含めた、日本語ドキュメント一覧は こちら からご確認いただけます。
ぜひ日本語ドキュメントをご活用いただき、IRIS 製品をより便利にお使いください。

Discussion (0)0
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juin 17

Concatenation Issue

I am trying to add a value to my concatenation string and the value is not being inserted in the right place. I am adding onto this code from another developer and cannot seem to get it to work. The only code I have added is underlined in bold red.

This is how the translated HL7 message looks:

OBX|1|CE|CDX^History||Specimen 1 Clinical History: CLINICAL HISTORY\.br\\.br\Specimen 2 Clinical History: CLINICAL HISTORY 2\.br\Specimen 1 Suspected Clinical Diagnosis\.br\Specimen 3 Clinical History: HISTORY 3\.br\Specimen 2 Suspected Clinical Diagnosis

This is how it should look:

OBX|1|CE|CDX^History||Specimen 1 Clinical History: CLINICAL HISTORY\.br\Specimen 1 Suspected Clinical Diagnosis\.br\Specimen 2 Clinical History: CLINICAL HISTORY 2\.br\Specimen 2 Suspected Clinical Diagnosis\.br\Specimen 3 Clinical History: HISTORY 3\.br\Specimen 3 Suspected Clinical Diagnosis

<if condition='..In(tProcedure,"LAB6734")' >
<annotation> ***** Is a LAB6734 DERMATOPATHOLOGY REQUEST ***** </annotation>
<true>
<assign value='..MakeLoop("Data",15)' property='vLoop' action='set' />
<assign value='1' property='vCtr' action='set' />
<assign value='""' property='vOBX3values' action='set' />

<foreach property='vLoop()' key='vKey1' >
<assign value='vOBX3values_"SPEC"_vCtr_"HX,SPEC"_vCtr_"HXC,SPEC"_vCtr_"DX,"' property='vOBX3values' action='set' />
<assign value='vCtr+1' property='vCtr' action='set' />
</foreach>
<assign value='$Piece(vOBX3values,",",1,*-1)' property='vOBX3values' action='set' />
<assign value='""' property='vSpecComments' action='set' />
<assign value='""' property='vOBX3Dx' action='set' />

<foreach property='source.{ORCgrp.OBX()}' key='k2' >
<assign value='source.{ORCgrp.OBX(k2):3.1}' property='vOBX3s1' action='set' />
<if condition='..Contains(source.{ORCgrp.OBX(k2):3.1},"CLINDX")'>
<true>
<assign value='source.{ORCgrp.OBX(k2):3.2}' property='vOBX3Dx' action='set' />
</true>

</if>
<if condition='vOBX3s1 = "347"' >
<true>
<assign value='""' property='vOBX3s2' action='set' />
</true>
<false>
<assign value='source.{ORCgrp.OBX(k2):3.2}' property='vOBX3s2' action='set' />
</false>
</if>
<assign value='source.{ORCgrp.OBX(k2):5()}' property='vOBX5' action='set' />
<if condition='..In(source.{ORCgrp.OBX(k2):3.1},vOBX3values)' >
<true>
<assign value='vSpecComments_vOBX3s2_" "_vOBX5_"\.br\"_vOBX3Dx_"\.br\"' property='vSpecComments' action='set' />
</true>
</if>
</foreach>
<assign value='$Piece(vSpecComments,"\.br\",1,*-1)' property='vSpecComments' action='set' />
<assign value='"1"' property='target.{OBX(1):1}' action='set' />
<assign value='"CE"' property='target.{OBX(1):2}' action='set' />
<assign value='"CDX^History"' property='target.{OBX(1):3}' action='set' />
<assign value='$Replace(vSpecComments,"~",";  ")' property='target.{OBX(1):5}' action='set' />
</true>

Discussion (0)2
Connectez-vous ou inscrivez-vous pour continuer