検索

お知らせ
· 2024年9月26日

Technological Bonuses Results for Developer Tools Contest 2024

Hi Developers!

We are happy to present the bonuses page for the applications submitted to the DevTools Contest 2024!

Project

Vector Search

Embedded Python

WSGI Web Apps

InterSystems Interoperability

IRIS BI

VSCode Plugin

FHIR Tools

Docker

IPM

Online Demo

Community Idea Implementation

Find a bug

Code quality

First Article on DC

Second Article on DC

Video on YouTube

YouTube Short

First Time Contribution

Total Bonus

Nominal 3 3 2 3 3 3 3 2 2 2 4 2 1 2 1 3 1 3 43
Code-Scanner               2 2 2     1 2 1 3     13
DX Jetpack for VS Code           3       2       2   3     10
ks-iris-lib       3       2 2       1         3 11
iris-ccd-devtools               2           2   3   3 10
db-management-tool               2   2       2 1 3 1   11
sql-embeddings 3 3           2 2 2     1 2   3     18
pxw-lib-sql               2         1         3 6
Irisheimer                           2     1   3
IRIS-Test-Data-Generator   3           2 2         2       3 12
iris-DataViz   3           2 2       1 2   3     13
IPM in VS Code           3       2 4     2 1 3     15
IRIS-Log-Monitor               2 2                 3 7
IOP REST Client Framework   3   3       2 2   4         3   3 20
iris-api-interface-generator   3 2 3       2                     10
iterm   3 2         2 2         2         11
iris-dev-codeinspector               2 2         2       3 9
IRIS-API-Template       3       2 2         2       3 12

Please apply with your comments for new implementations and corrections to be made here in the comments or in Discord.

15 Comments
ディスカッション (15)3
続けるにはログインするか新規登録を行ってください
質問
· 2024年9月26日

HTTP request with Cookies

Hi Guys,

I've created a webservice where a third party web application that can communicate with Ensemble via webservices to post and get data in from of JSON, first call is a post call to login with user/password and Ensemble responds with success or failure than the following get calls, but I've been advised that I also need to return a Cookie to control the exchange and the session for a specific user, I'm not familiar with Cookie so any suggestions, how can I create a an authentication cookie and do i need to add it to my next Get calls ?       

 

Thanks

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年9月26日

Navigate XML Bundle resource

Hi everyone,

I'm struggling with the extraction of information from the following XML:


<Bundle xmlns="http://hl7.org/fhir">
  <id value="b35061d2-7bf1-11ef-a57c-005056b65e2f"/>
  <type value="transaction-response"/>
  <timestamp value="2024-09-26T10:10:43Z"/>
  <entry>
    <resource>
      <Observation>
        <id value="2005"/>
        <meta>
          <versionId value="1"/>
          <lastUpdated value="2024-09-26T10:10:43Z"/>
        </meta>
        <status value="final"/>
        <code>
          <coding>
            <system value="urn:oid:2.16.840.1.113883.6.1"/>
            <code value="1-8"/>
            <display value="Acyclovir [Susceptibility]"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/5978971"/>
        </subject>
        <effectiveDateTime value="2024-09-09T13:20:24Z"/>
        <valueCodeableConcept id="5670">
          <coding>
            <system value="urn:oid:2.16.840.1.113883.6.103"/>
            <code value="612.5"/>
            <display value="Prova"/>
          </coding>
        </valueCodeableConcept>
        <interpretation>
          <coding>
            <code value="Media"/>
          </coding>
        </interpretation>
        <bodySite>
          <coding>
            <system value="urn:oid:2.16.840.1.113883.12.163"/>
            <code value="LA"/>
            <display value="Braccio sinistro"/>
          </coding>
        </bodySite>
      </Observation>
    </resource>
    <response>
      <status value="201"/>
      <location value="https://fser-test.regione.veneto.it/PROXYFHIR/r4/Observation/2005"/>
      <etag value="W/&quot;1&quot;"/>
      <lastModified value="2024-09-26T10:10:43Z"/>
    </response>
  </entry>
  <entry>
    <resource>
      <Observation>
        <id value="2006"/>
        <meta>
          <versionId value="1"/>
          <lastUpdated value="2024-09-26T10:10:43Z"/>
        </meta>
        <status value="final"/>
        <code>
          <coding>
            <system value="urn:oid:2.16.840.1.113883.6.1"/>
            <code value="1-8"/>
            <display value="Acyclovir [Susceptibility]"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/5978971"/>
        </subject>
        <effectiveDateTime value="2024-09-09T13:20:24Z"/>
        <valueCodeableConcept id="5670">
          <coding>
            <system value="urn:oid:2.16.840.1.113883.6.103"/>
            <code value="612.5"/>
            <display value="Prova"/>
          </coding>
        </valueCodeableConcept>
        <interpretation>
          <coding>
            <code value="Media"/>
          </coding>
        </interpretation>
        <bodySite>
          <coding>
            <system value="urn:oid:2.16.840.1.113883.12.163"/>
            <code value="LA"/>
            <display value="Braccio sinistro"/>
          </coding>
        </bodySite>
      </Observation>
    </resource>
    <response>
      <status value="201"/>
      <location value="https://fser-test.regione.veneto.it/PROXYFHIR/r4/Observation/2006"/>
      <etag value="W/&quot;1&quot;"/>
      <lastModified value="2024-09-26T10:10:43Z"/>
    </response>
  </entry>
</Bundle>

I'm doing:

set Bundle = ##class(A2Lib.FHIR.v400.Bundle).%New()
do reader.Correlate("Bundle","A2Lib.FHIR.v400.Bundle")
do reader.Next(.Bundle,.st)
        
for e=1:1:Bundle.entry.Count(){
            set locationValue = Bundle.entry.GetAt(e).response.location.value
... ...

But locationValue remain empty.

 

Can someone help me about what I'm doing wrong? 

Thank you
 

2 Comments
ディスカッション (2)2
続けるにはログインするか新規登録を行ってください
記事
· 2024年9月25日 1m read

第三十三章 使用派生密钥令牌进行加密和签名 - 使用 DerivedKeyToken _进行加密(一)

第三十三章 使用派生密钥令牌进行加密和签名 - 使用

进行加密(一)

  1. 如果加密了任何安全标头元素,请将它们添加到 WS-Security 标头元素中。为此,请调用 Web 客户端或 Web 服务的SecurityOut 属性的 AddSecurityElement() 方法。在这种情况下,需要两个参数:

a. 安全标头元素(而不是从中生成的的 %XML.Security.EncryptedData)。

b. 引用列表实例。第二个参数指定将第一个参数指定的项目放在何处。如果参数是 AB,则 IRIS 确保 AB 之后。指定此项以便收件人首先处理引用列表,然后再处理依赖于它的加密安全标头元素。

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年9月25日

VSCode debugging doesn't work with version 2024.2

Hello,

I'm trying to debug objectscript ClassMethods in VSCode, but nothing happens when clicking the Debug button over the ClassMethod.

This was working with previous versions - tested with IRIS 2020.

This is the server configuration:


"intersystems.servers": {

        "iris": {

            "webServer": {

                "scheme": "http",

                "host": "localhost",

                "port": 80

            },

            "username": "superuser"

        }

    },

Editing and compiling ObjectScript is working:

 

I checked the vscode devtools and saw an error every time I click debug:

 

Any help will be appreciated, 

Thanks.

1 Comment
ディスカッション (1)2
続けるにはログインするか新規登録を行ってください