Nueva publicación

Encontrar

Anuncio
· 8 ene, 2025

[Video] Healthcare Use-Case: Patient Portal Messages

Hey Community!

Check out the new video dedicated to Gen AI on our InterSystems Developers YouTube:

⏯ Healthcare Use-Case: Patient Portal Messages

Explore a use case in patient-provider messaging, inspired by a Vanderbilt University study. The study addresses the overwhelming volume of patient messages by using AI to help patients craft better initial messages. An LLM generates follow-up questions based on the patient’s first message, ensuring the provider gets the necessary details upfront and reducing delays in care.  

🗣  Presenter@Don Woodlock, Vice President, Healthcare Solutions Development, InterSystems

Enjoy watching, and look forward to more videos! 👍

Comentarios (0)1
Inicie sesión o regístrese para continuar
Pregunta
· 8 ene, 2025

<MAXSTRING>CompileRtns+295^%occRoutine in SQL execution

I tried executing the SQL JSON_TABLE query with large JSON string(more than 200000 characters) and I got the below error. I'm curious about this under the hood workflow and how does it reach reaches MAXSTRING.

ERROR #5002: ObjectScript error: <MAXSTRING>CompileRtns+295^%occRoutine > ERROR #5030: An error occurred while compiling class '%sqlcq.LEARNING.cls247'

 Thanks!

2 comentarios
Comentarios (2)1
Inicie sesión o regístrese para continuar
Artículo
· 8 ene, 2025 Lectura de 1 min

Qual é a versão da minha imagem?

Se você quer descobrir qual exatamente é a versão da sua imagem (e desde o mais recente esquema de tagging de imagens você não pode mais confiar na tag da imagem; e assumindo que você não quer realmente rodar somente para descobrir) você pode rodar esse comando do docker:

docker inspect irepo.intersystems.com/intersystems/irishealth:latest-preview --format '{{ index .Config.Labels "com.intersystems.platform-version" }}'

(é claro, adapte para a imagem a qual você se refere)

E o output será, por exemplo:

2025.1.0L.152.0

Eu achei isso útil por exemplo para comparar qual versão estou rodando vs. outras possíveis versões disponíveis. Isso seria importante com pequenos lançamentos de manutenções de versões EM e, como no meu exemplo acima, com lançamentos de Developer Preview.

Note que esse comandodocker inspect é uma abordagem similar à que o @Dmitry Maslennikov compartilhou aqui para conseguir as portas padrão que o container usa, e está de acordo com a documentação referente a descobrir padrões das imagens (como no caso do Dmitry).

Comentarios (0)1
Inicie sesión o regístrese para continuar
Pregunta
· 8 ene, 2025

MySQL JDBC connection, Linked Table issue

Hello, community.

I have a problem with running a SQL query on a linked MySQL table.

The connection works fine, but the following query throws an error:

SELECT   TOP 10 * FROM   linkedinternal_test.persons

 [SQLCODE: <-400>:<Fatal error occurred>]

  [%msg: <Remote JDBC error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10 T1.PersonID AS C1,T1.LastName AS C2,T1.FirstName AS C3,T1.Address AS C4,T1.Ci' at line 1. >]

 

Linked table class:

/// Generated by the Link Table wizard on 2025-01-08 16:09:03.  Note that you can access the data in this class only when the external database is accessible.
Class LinkedInternal.test.Persons Extends %Library.Persistent [ Owner = {_SYSTEM}, Not ProcedureBlock, SqlRowIdPrivate, SqlTableName = Persons, StorageStrategy = GSQLStorage ]
{

/// Specifies details for the SQL Gateway Connection that this class uses
Parameter CONNECTION = "test,NOCREATE";

/// Specifies the external database that this class uses
Parameter EXTDBNAME = "MySQL";

/// Determines if INSERT statements for this external table attempt to retrieve auto-generated keys.  Set this to 0 if this external table does not support auto generated keys.
Parameter EXTERNALGENERATEDKEYS = 1;

/// Specifies the external table to which this class refers
Parameter EXTERNALTABLENAME = "Persons";

Property Address As %String(EXTERNALSQLNAME = "Address", EXTERNALSQLTYPE = 12, MAXLEN = 255) [ ReadOnly, SqlColumnNumber = 5, SqlFieldName = Address ];

Property City As %String(EXTERNALSQLNAME = "City", EXTERNALSQLTYPE = 12, MAXLEN = 255) [ ReadOnly, SqlColumnNumber = 6, SqlFieldName = City ];

Property FirstName As %String(EXTERNALSQLNAME = "FirstName", EXTERNALSQLTYPE = 12, MAXLEN = 255) [ ReadOnly, SqlColumnNumber = 4, SqlFieldName = FirstName ];

Property LastName As %String(EXTERNALSQLNAME = "LastName", EXTERNALSQLTYPE = 12, MAXLEN = 255) [ ReadOnly, SqlColumnNumber = 3, SqlFieldName = LastName ];

Property PersonID As %Integer(EXTERNALSQLNAME = "PersonID", EXTERNALSQLTYPE = 4) [ ReadOnly, Required, SqlColumnNumber = 2, SqlFieldName = PersonID ];

Index MainIndex On PersonID [ IdKey, PrimaryKey ];

Storage GSQLStorage
{
<StreamLocation>^LinkedInternal.test.PersonsS</StreamLocation>
<Type>%Storage.SQL</Type>
}

}


Is there work around this issue?

6 comentarios
Comentarios (6)4
Inicie sesión o regístrese para continuar
Pregunta
· 8 ene, 2025

JDBC - Microsoft Entra Authentication

We connect to MS SQL Databases using the Microsoft JDBC Driver 12.2 using the following URL

jdbc:sqlserver://<server>:<port>;database=<database name>;trustServerCertificate=true;integratedSecurity=true;authenticationScheme=NTLM;domain=osumc;authentication=NotSpecified

They want to migrate the databases to the Azure Cloud and in doing so we need the Authentication to change to go through Microsoft Entra. I was given the following URL

jdbc:sqlserver://<server>:<port>;user=<user>;password=<password>;encrypt=true;trustServerCertificate=true;hostNameInCertificate=<certificate>;loginTimeout=30;Authentication=ActiveDirectoryPassword;

but now I can not connect and get the following errror..

Connection failed.
Remote JDBC error: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication..

From reading about MSAL4J it is another .jar file that I guess I need to install and include in the class path.

Has anyone else ever ran into this issue?

5 comentarios
Comentarios (5)2
Inicie sesión o regístrese para continuar