查找

问题
· 八月 23, 2024

Returning a Response from a Business Process that is not the same Message Type Request

I thought I knew how to return a Response from a Business Process back to the Source Config Name, but I guess not. 

I am working on a Proof of Concept, that the Request Message Class would determine a "Route" within a Business Process to make a FHIR call (search, read) to our External FHIR repository, and return back the HS.FHIR.DTL.vR4.Model.Resource.xxxxxxx as a Response to the Source Config Name.

I have the FHIR part working, however now that I have the data in the form of HS.FHIR.DTL.vR4.Model.Resource.xxxxxxx, I am struggling to understand how I could send it back to the Original Source Config. In theory this sounds ok but when I get to the Management Portal build, I am struggling...

Do I send the FHIR Response to a EnsLib.Msg.RuleEngine? If so, how do I make sure the Request Source Config Name gets forwarded on so the Rules Engine knows where to send the message?

Any Ideas on how I can make this happen?

讨论 (0)1
登录或注册以继续
InterSystems 官方
· 八月 23, 2024

Anuncio de disponibilidade do Adaptive Analytics 2024.1

A versão 2024.1.3 do InterSystems IRIS Adaptive Analytics já está disponível na página de Distribuição de Software da InterSystems. Esta versão inclui o AtScale 2024.1.3 e um arquivo UDAF (User Defined Aggregate Function) atualizado. Esta versão inclui os seguintes novos recursos de modelagem e BI:

  • Formatação da saída do cálculo com base no campo de entrada em vez de apenas no formato definido no cálculo. Isso é particularmente útil para cálculos que não podem ter um formato de saída padrão, como crescimento ano a ano em dólares, euros ou tempo.
  • Suporte para as seguintes funções MDX: DatesPeriodsToDateDatesMTDDatesQTDDatesWTDDatesYTD.
  • Suporte para a funcionalidade de agrupamento de dimensões de tabela dinâmica personalizada do Microsoft Excel. Isso permite que você crie grupos personalizados no Excel, sem precisar fazer alterações em seus modelos. Essa alteração também inclui suporte para subcubos de sessão, nomeação, totalização, filtragem e desagrupamento.

Para mais detalhes sobre o AtScale 2024.1.3, consulte as Notas de Lançamento

Para mais informações sobre o Adaptive Analytics, consulte a documentação InterSystems e o conteúdo dos serviços de aprendizagem.

#InterSystems Official

讨论 (0)1
登录或注册以继续
问题
· 八月 23, 2024

How to disable renaming of custom schema on VSCode import?

during an upgrade, a customer wants to load custom schemas in a particular order.
For this, they renamed a file EPIC_MDM.HL7 to 1EPIC_MDM.HL7
Upon importing this file into their server using VSCode, the custom schema was renamed to 1EPIC_MDM.HL7 inside the <Category>

This is impacting the upgrade and they are looking for a way to import a custom schema without renaming the schema itself.

2 Comments
讨论 (2)2
登录或注册以继续
问题
· 八月 23, 2024

Linked Stored Procedure Question

Instead of building a BP to execute stored procedures just to insert the data, I figured I would give Linked Stored Procedures a try since all I need to do is insert the data. I have proved in our MS SQL Development environment that it is possible, so I through I could just repoint the Linked Stored Procedure 

set hdbc=$$GetJConnection^%apiGTW("xxxxx")

to the test environment. But when I made the changed in VSCode and compiled the Stored Procedure disappeared from the SQL view in the Management Portal.

So can we not simply update the connection string to point to a different MS SQL Connection?

2 Comments
讨论 (2)2
登录或注册以继续
文章
· 八月 23, 2024 阅读大约需 3 分钟

Como buscar erros de aplicação (^ERRORS) usando um comando

Rubica InterSystems FAQ

Use a consulta ErrorList da classe SYS.ApplicationError.

  • Nota 1: Rode no namespace %SYS.
  • Nota 2: Essa é uma utilidade não armazenada, então usamos a classe %ResultSet ao invés de %SQL.Statement.

Um exemplo de execução de comando é o seguinte:

USER>set $namespace="%SYS"   // igual a zn "%SYS"
%SYS>set rset=##class(%ResultSet).%New()

%SYS>set rset.ClassName="SYS.ApplicationError"
%SYS>set rset.QueryName="ErrorList"
// O primeiro argumento da consulta é o nome do namespace, o segundo é a data (no formato MM/DD/AAAA).
%SYS>do rset.Execute("USER","08/17/2020")

// Para exibir os resultados na tela, execute o método %Display().
%SYS>do rset.%Display()
Error # Error message   Time    Process DisplayPID      Username        Code line
1 <DIVIDE> 02:43:10 2536 2536 irisowner

1 Rows(s) Affected

%SYS>do rset.Close()

A seguir, como retornar valores de coluna de um SELECT enquanto navega por entre as linhas.

Para mover para a próxima linha, use o método Next() (que retorna 1 se a próxima linha existe)

Para buscar uma coluna, use Get("nome da coluna"). Para detalhes nos nomes das colunas, veja a descrição da consulta ErrorList na documentação da classe.

Sobre nomes de colunas de consultas ErrorList.

%SYS>do rset.Execute("USER","08/17/2020")

%SYS>while rset.Next() { write rset.Get("Error #"),"-",rset.Get("Error message"),"-",rset.Get("Time"),"-",rset.Get("Code line"),!}
1-<DIVIDE>-02:43:10-

Para visualização do terminal, use também a rotina ^%ER.

Execute o seguinte quando estiver no namespace que quiser referenciar (o exemplo é executado no namespace USER).

O texto verde em negrito sublinhado indica a área de entrada.

USER>do ^%ER
 
For Date: ?L
Thu 09/17/2020  (T)   2 Errors
Mon 09/07/2020  (T-10) 3 Errors
Mon 08/31/2020  (T-17) 1 Error
Mon 08/24/2020  (T-24) 1 Error

For Date: 09/17/2020  17 Sep 2020   2 Errors

Error: ?L
 1. " *a"  at  9:05 am.   $I=|TRM|:|13484   ($X=0  $Y=15)
     $J=13484  $ZA=0   $ZB=$c(13)   $ZS=262144 ($S=268271680) 
 2. "^%ETN"  at  9:05 am.   $I=|TRM|:|13484   ($X=0  $Y=17)
     $J=13484  $ZA=0   $ZB=$c(13)   $ZS=262144 ($S=268263368)
     %ETN     ;%STACK-related error log

 Error: 1
 1. " *a"  at  9:05 am.   $I=|TRM|:|13484   ($X=0  $Y=15)
     $J=13484  $ZA=0   $ZB=$c(13)   $ZS=262144 ($S=268271680)
Variable:

Error:
 
For Date:
USER>

For Date: especifique a data quando o erro ocorreu em formato mm/dd/aaaa.

For Error: especifique o número do erro.

Quando tiver terminado, aperte Enter para sair. 

讨论 (0)1
登录或注册以继续