查找

Question
· Jan 19, 2024

FHIR payload to FHIR message class

I have this response, which is a FHIR location resource in a bundle. I would like to load the entry(0).resource into a context property defined as HS.FHIR.DTL.vR4.Model.Resource.Location so I can use it as a source in a DTL.  Any help would be greatly appreciated.  Thanks. 

{"entry":[{"fullUrl":"https://dev-api.hosp.org/idkl/fhir/r4/v1/Location/ATH-1375-PRV-a-1375.De...","resource":{"extension":[{"url":"https://api.hosp.org/idkl/extensions/StructureDefinition/is-messaging-en...","valueBoolean":true}],"id":"ATH-1375-PRV-a-1375.Department-2","identifier":[{"system":"urn:asc:idkl:ATH:1375:location:department-id","value":"2"},{"system":"urn:asc:idkl:clt:1375:location:base-id","value":"2"},{"system":"urn:asc:idkl:clt:1375:sourceid","value":"a-1375.Department-2"},{"system":"urn:asc:idkl:clt:1375:location:id","value":"a-1375.Department-2"}],"managingOrganization":{"identifier":{"system":"urn:asc:idkl:clt:instance:id","value":"1375"},"reference":"Organization/SYM-DEV-ATH-1375-PRV","type":"Organization"},"meta":{"lastUpdated":"2024-01-17T02:19:09.889639+00:00","source":"ATH-1375-PRV","tag":[{"code":"UNMASTERED","display":"Unmastered Location"},{"code":"HC-Reltio-API","system":"https://api.hosp.org/idkl/value-sets/data-sources"},{"code":"IDKL-EHR-API","display":"IDKL from EHR's API"}],"versionId":"MTcwNTQ1Nzk0OTg4OTYzOTAwMA"},"partOf":{"identifier":{"system":"urn:asc:idkl:rlt:ahnat:location:id","value":"07vMu2k"},"reference":"Location/RLT-DEV-07vMu2k","type":"Location"},"resourceType":"Location"},"search":{"mode":"match"}}],"link":[{"relation":"search","url":"https://dev-api.hosp.org/idkl/fhir/r4/v1/Location?identifier=urn%3Aasc%3..."},{"relation":"first","url":"https://dev-api.hosp.org/idkl/fhir/r4/v1/Location?identifier=urn%3Aasc%3..."},{"relation":"self","url":"https://dev-api.hosp.org/idkl/fhir/r4/v1/Location?identifier=urn%3Aasc%3..."}],"resourceType":"Bundle","total":1,"type":"searchset"}

4 Comments
Discussion (4)4
Log in or sign up to continue
Article
· Jan 18, 2024 3m read

CPU のマイクロアーキテクチャファミリと命令セットの判定方法

はじめに

InterSystems は、最新の CPU 命令セット拡張機能を活用するために、IRIS を最適化したいと考えています。製品のパフォーマンスに対しては素晴らしいことですが、CPU が新しい IRIS ビルドにサポートされるかを知るにはどうすればよいでしょうか。ここでは、CPU のマイクロアーキテクチャファミリと CPU の特定の命令セット拡張機能を知る方法について説明します。

Discussion (0)1
Log in or sign up to continue
Question
· Jan 18, 2024

VSCode Deleting or Renaming Files

In VSCode using the InterSystems extensions, I now have an almost working environment where routines can be created or modified on disk and these are pushed to the developer's IRIS instance.

One issue I'm finding whilst testing is that if I rename or delete a routine from disk, the change isn't pushed to IRIS and I can't work out how to make this happen.

This means that a developer can have renamed or deleted a file on disk, but can still call functions within the renamed/deleted routine within the IRIS instance and not experience any NOROUTINE errors. The developer might well spot the mistake, but that relies on developer brilliance. I'd much prefer to reflect the rename/deletion within IRIS. Otherwise, the first time a developer will see any NOROUTINE errors is after a new build is made from the contents of the repo.

I'm wondering if there is a setting I can change to make VSCode send renames/deletions via the atelier APIs.

Discussion (0)3
Log in or sign up to continue
Question
· Jan 17, 2024

How to export a project via Visual Studio Code?

Hi everyone, 

Does anyone know how to export projects via VSC? 

I opened the project through the "InterSystems Tools" plugin (command is "Edit Code in Project") and I can correctly work on it.

However, when I try using the "ObjectScript" plugin to export the project (right click on the project -> "Export Project Contents")

This message appears and it is not possible to export the project:

I've tried also to open a new window, then a folder and finally the project, but nothing changes. 

This is an example of my workspace: 


Anyone knows how to do it? 

Thank you! 

3 Comments
Discussion (3)3
Log in or sign up to continue
Question
· Jan 16, 2024

VSCode "Go To Definition" Does Nothing

When using VS Code to develop with Object Script, the Server Credentials prompt for connecting to the IRIS instance is happy accept a blank for UnknownUser. See screen shot:

From here VS Code happily connects to the IRIS instance using unauthenticated access. But the standard VS Code "Go To Definition" appears to do nothing. Whilst looking through the documentation I found that in the Language Server extension, there is a setting to output verbose trace details. With verbose output switched on, trying the "go to definition" of some code, the output shows this:

"[Warn  - 12:16:39 PM] Cannot make required REST request because the configured server connection has a username but no password."

Has anyone encountered this before? There is a bit of inconsistency between the Server Manager extension being happy to communicate with IRIS using unauthenticated access, but then the Language Server extension struggles. I'm happy to just instruct all users to have a username and password, but I'm wondering if there is a fix or something I can configure to make unauthenticated access.

5 Comments
Discussion (5)3
Log in or sign up to continue