Nova postagem

Pesquisar

Pergunta
· 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
Discussão (5)3
Entre ou crie uma conta para continuar
Anúncio
· jan 15, 2024

Developer Meetup in Boston, January 24

Hi Developers,
We will be hosting the first in-person meetup in 2024 in Boston on January 24. Join us to explore the latest trends, tools, and features for innovating with health data.

RSVP here

Presentations:

"Integrate third-party Clinical Decision Support services into the EHR with CDS Hooks" - by Frank Pandolfe, Clinical Product Manager, InterSystems.
"Connecting GenAi into Clinical Workflows" - by Nicholai Mitchko, Manager, Solution Partner Sales Engineering, InterSystems

 

Delicious food, beverages, and networking opportunities will be provided as always.

⏱ Day and Time: January 24, 5:30 p.m. to 7:30 p.m.
📍CIC Venture Café in Cambridge, Massachusetts

Discussão (0)1
Entre ou crie uma conta para continuar
Artigo
· jan 15, 2024 2min de leitura

视频合集 | InterSystems IRIS医疗版互联互通套件产品用例

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· jan 13, 2024

ZMIRROR - Illegal Value

I am trying to work on a ZMIRROR that will execute a shell script to failover our VIP at the hardware level when NotifyBecomePrimary occurs.

 

ZMIRROR ; Custom logic for specific mirroring events
 q
 ;
NotifyBecomePrimary() PUBLIC {
 #;This procedure is called as a notification when this system becomes Primary.
 #;It does not return any value.
 #; invoke the command to select this host for running the crontab
 try {
	Set cmd = "/usr/local/sbin/failover-intengtest-vip_SR"
	d $ZF(-100,"/SHELL /LOGCMD /STDOUT=/archive/logs/failover-intengtest-vip.log""",cmd)
    }
 catch e {
     d ##class(%SYS.System).WriteToConsoleLog("NotifyBecomePrimary^ZMIRROR error: "_e.AsSystemError(),,1)
     }
 q
}

I verified the $ZF syntax by creating a smaller script and executing it via terminal. However when ZMIRROR is executed when I am attempting to failover I am getting the following in messages.log

01/13/24-14:47:47:812 (4104771) 1 [Utility.Event] NotifyBecomePrimary^ZMIRROR error: <ILLEGAL VALUE>NotifyBecomePrimary+3^ZMIRROR

Can anyone see what the Illegal Value might be?
 

4 Comments
Discussão (4)3
Entre ou crie uma conta para continuar
Pergunta
· jan 13, 2024

Accessing EnsLib.HL7.Message Header properties within a DTL

Within a DTL is it possible to access and update the Message Header properties of an EnsLib.HL7.Message?

Currently we have multiple EMR Services for each environment sending to 1 Business Process to Normalize the data, then it is sent to another Business Process to route the data. 

Since the SourceConfigName changes with every send to a Business Process, I am looking for a way to maintain the SourceConfigName of the SessionID so I know how to direct the message. Whether I pull the SourceConfigName into a field not being used in the HL7 Message, or I set another Header or Body property to the Original SourceConfigName that I can use in the routing process.

Thanks

Scott

7 Comments
Discussão (7)3
Entre ou crie uma conta para continuar