Nova postagem

検索

Resumo
· Mar. 10

InterSystems Developers Publications, Week March 03 - 09, 2025, Digest

Articles
Announcements
#InterSystems IRIS
#IRIS contest
#Other
#Learning Portal
#Developer Community Official
Questions
#InterSystems IRIS
#Caché
#InterSystems IRIS for Health
#Ensemble
March 03 - 09, 2025Week at a GlanceInterSystems Developer Community
Artigo
· Mar. 10 2min de leitura

Construyendo agentes de IA con InterSystems IRIS: ¿Qué queremos decir?

¡Hola, colegas!

Como podéis ver, el nuevo tema del concurso de programación es Agentes de IA.

Recientemente, este tema ha sido muy mencionado en Internet y tiene diferentes significados. Es posible que tengáis curiosidad sobre qué queremos decir con Agentes de IA en el contexto del concurso de programación de InterSystems.

En efecto, creemos que los agentes de IA pueden cambiar radicalmente el panorama de las soluciones de TI en casi todos los ámbitos, aumentando significativamente su eficiencia y, a menudo, transformando la gestión, el consumo y la operación.

En términos generales, los agentes de IA permiten la automatización de diferentes procesos empresariales, incluyendo la toma de decisiones basada en cualquiera de los motores de GenAI disponibles en el mercado, como OpenAI, Claude o Grok, que pueden utilizarse junto con IRIS Vector Search en soluciones RAG.

Por lo general, la construcción de agentes de IA implica el uso de motores de automatización de escenarios, como Zapier, Make, N8N y/o la interoperabilidad de InterSystems IRIS.

¿Qué pueden hacer los agentes de IA? Bueno, podemos preguntarle a ChatGPT ahora mismo, pero algunas de las prácticas más habituales son:

  • Revisar, filtrar y responder correos electrónicos.
  • Buscar eventos de un tipo específico y reservar entradas.
  • Responder tickets de soporte.
  • Monitorizar bases de datos/servicios y realizar tareas de limpieza o mantenimiento operativo.

Así que, en este concurso, consideraremos como Agente de IA una solución que utilice:

- Cualquier motor LLM para la toma de decisiones (por ejemplo, OpenAI, Anthropic, Grok).

- Cualquier motor de automatización o interoperabilidad (por ejemplo, Zapier, Make, N8N, IRIS Interoperability).

- El uso obligatorio de IRIS Database, IRIS Interoperability o IRIS Vector Search.

¡Buena suerte! Estoy deseando ver más agentes de IA útiles de cualquier tipo, impulsados por InterSystems IRIS.

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Mar. 10

Webinar de lanzamiento para el Concurso de Programación de IA de InterSystems

¡Hola, comunidad!

Nos complace invitaros a todos los desarrolladores al próximo webinar de lanzamiento del Concurso de Programación de IA de InterSystems.

Descubrid los emocionantes desafíos y oportunidades que esperan a los entusiastas de Vector Search, GenAI y Agentes de IA en este concurso. Hablaremos sobre los temas que esperamos de los participantes y os mostraremos cómo desarrollar, construir y desplegar aplicaciones utilizando la plataforma de datos InterSystems IRIS.

Fecha y hora: Lunes, 17 de marzo – 11 a. m. EST | 5 p. m. CET

Ponentes:  
🗣 @Thomas Dyar, Product Manager
🗣 ​​​@Dean Andrews, Head of Developer Relations
🗣 ​​​@Derek Gervais, Developer Relations Evangelist

✅ Registraros hoy para el webinar de lanzamiento!

Discussão (0)1
Entre ou crie uma conta para continuar
Artigo
· Mar. 10 5min de leitura

FHIR SQL Builder: step by step

The FHIR standard establishes a powerful but flexible data model that can smoothly adapt to the complexities of operational healthcare data management. This flexibility comes at the cost of a data model with many tables and relationships, even for simple data such as the patient's record of telephone numbers, addresses, and emails. It would easily require querying 4 different tables. However, FHIR SQL Builder eliminates this problem, allowing you to create visual projections (mappings) in web wizards. It lets you consolidate data from 4 or more tables into just 1 and gives you the advantage of defining your table and field names yourself. This technique is essential for creating an analytical view of your FHIR repository without having to design ETL flows and stage/intermediate repositories. Other use cases that run better with FHIR SQL builder also include the following (source: https://www.intersystems.com/br/resources/introduction-to-fhir-sql-builder):

  1. Population Health analysis;
  2. Reports;
  3. Public Health surveillance;
  4. Anonymized research data sets;
  5. Building machine learning models – predictive analytics;
  6. HEDIS measures (Healthcare effectiveness data and information set);
  7. Silver data layer for a FHIR data lake (Medallion Architecture).

The complexity of the FHIR Data Model

To understand how fundamental FHIR Builder looks like, check the following diagram showing the high-level view of FHIR data entities (source: https://hl7.org/fhir/R4/):


This diagram illustrates the intricacy of the FHIR model (157 data entities/resources) and the healthcare business scope. Every healthcare business topic has data entities that handle it, including clinical, diagnosis, medications, workflows, financial, patient, practitioner, care team, organization, locations and healthcare services, security, compliance, terminology, etc.
This figure demonstrates the sophistication of obtaining patient data (1 parent table with 5 more associated tables), meaning that you must access the patient resources and several other associated resources (source: https://www.hl7.org/fhir/patient.html):


The FHIR SQL Builder has a visual web tool for selecting various resources (patient, contact, etc.), setting different names, and consolidating everything into 1 or 2 tables using IRIS SQL projections. This article will walk you through the implementation of this solution.

Install an InterSystems FHIR Server to run FHIR SQL Builder

Let's install a sample FHIR repository from InterSystems' free application catalog, Open Exchange. To do that, follow the steps mentioned below:

1. Go to https://openexchange.intersystems.com/package/iris-fhir-template and complete the installation procedures as directed.

2. If you already have an active IRIS for Health, use IPM:

USER>zpm "install fhir-server"

3. If /you do not have IRIS for Health, get an IRIS Community (for trial testing purposes only) with FHIR enabled utilizing Git and Docker:
a. Clone the example project: git clone https://github.com/intersystems-community/iris-fhir-template.git.
b. Proceed to the application directory and run the next line:

docker-compose up -d

4. The article employed the Docker option run from the VSCode terminal, which after a few minutes presented the following result:


Accessing and learning about the FHIR SQL Builder UI

1. To access the FHIR SQL Build UI, go to http://[hostname]:[iris web port]/csp/fhirsql/index.html (for this FHIR template project, it is http://localhost:32783/csp/fhirsql/index.html).
2. Fill out the Login page (Username: _SYSTEM and Password: SYS):


Interface gráfica do usuário, Aplicativo O conteúdo gerado por IA pode estar incorreto.

3. The home page will be displayed as illustrated below:


Interface gráfica do usuário, Aplicativo O conteúdo gerado por IA pode estar incorreto.

4. On the top left, access the menu icon to see the next options:

  • Home: go to the initial page.
  • Repository Configuration: configure the connection with the FHIR Repository and the credentials to access it.
  • Documentation: get detailed documentation online.
  • Logout: end the web session.


Interface gráfica do usuário, Aplicativo O conteúdo gerado por IA pode estar incorreto.

Configure the credentials and FHIR repository connection

1. Go to the Repository Configuration:


Interface gráfica do usuário, Aplicativo O conteúdo gerado por IA pode estar incorreto.

2. Click the button New (second button) in the section Credentials:


Padrão do plano de fundo O conteúdo gerado por IA pode estar incorreto.

3. Fill in the Credentials form with the data shown below:

  • Name: SQLBuilderCreds
  • Username: SuperUser
  • Password: SYS

Interface gráfica do usuário, Texto, Aplicativo O conteúdo gerado por IA pode estar incorreto.

4. Click the Save button:

5. Now, click the first New button in the section FHIR Repository Configurations:

6. Fill out the form with the following information:

  • Name: SQLBuilderConfig
  • Host: localhost
  • Port: 52773
  • URL Prefix and SSL Configuration: do not fill it
  • Credentials: SQLBuilderCreds
  • FHIR Repository URL: /fhir/r4


Interface gráfica do usuário, Texto, Aplicativo O conteúdo gerado por IA pode estar incorreto.


Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

7. Click the button Save:

Interface gráfica do usuário, Texto, Aplicativo O conteúdo gerado por IA pode estar incorreto.

 

Create analyses, transformation specifications, and projections

1. Proceed to the Home:

Interface gráfica do usuário, Aplicativo O conteúdo gerado por IA pode estar incorreto.

2. Click the button New in the section Analyses:

Interface gráfica do usuário, Aplicativo, Word O conteúdo gerado por IA pode estar incorreto.

3. Set the form as demonstrated below:

  • FHIR Repository: SQLBuilderConfig
  • Selectivity Percentage: 100

Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

4. Click the button Launch Analysis Task:

Uma imagem contendo Interface gráfica do usuário O conteúdo gerado por IA pode estar incorreto.

5. Click the button New in the section Transformation Specifications:

6. Configure the form with the next information:

  • Name: SQLBuilderTransformation
  • Analysis: SQLBuilderConfig

Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

7. Click the button Create Transformation Specification to access the visual mapping editor for the modifications:


Interface gráfica do usuário, Aplicativo, Word O conteúdo gerado por IA pode estar incorreto.

8. We will create a transformation for the Patient.
9. Click the Patient and select "name" from a drop-down menu. Tick family (String) as and given (String) as, and add the values LastName and FirstName respectively:


Interface gráfica do usuário, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

10. Click the button Add to Projection and check out the created mappings:



11. Now select "telecom", and type the value PatientPhone in the Column name:


Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

12. Click Add To Projection:

13. At this point, pick "gender" and add the value PatientGender to the Column name:

Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

14. Click Add To Projection:

15.Choose "birthDate" and type PatientBirthDate in the Column name:

Interface gráfica do usuário, Texto, Aplicativo O conteúdo gerado por IA pode estar incorreto.

16. Click Add To Projection:

17. Click Address and add Subtable name: PatientAddress. Fill in the following lines as mentioned below:

  • latitude.valueDecimal: AddressLat
  • longitude.valueDecimal: AddressLong
  • line: Street
  • city: City
  • state: State
  • postalCode: PostalCode
  • country: Country

Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

18. Click Add To Projection:




19. Click the Done button to make the transformations:

20.Click the New button in the Projections section:

21. Set the form with the next data:

  • FHIR Repository: SQLBuilderConfig
  • Transformation Specification: SQLBuilderTransformation
  • Package Name: patientdata
  • Package Users: click the button Add Entry and grant access to _SYSTEM and SuperUser

Interface gráfica do usuário, Texto, Aplicativo O conteúdo gerado por IA pode estar incorreto.

22. Click the button Launch Projection:

 

Accessing the projection data
 

1. Proceed to the Management Portal to the namespace FHIRSERVER(http://localhost:32783/csp/sys/UtilHome.csp?$NAMESPACE=FHIRSERVER) > System Explorer > SQL:


Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

2. Pick the schema "patientdata":


Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

3. Expand Tables to see the created projections:


Interface gráfica do usuário, Texto, Aplicativo, Email O conteúdo gerado por IA pode estar incorreto.

4. Now, in the Execute Query tab, input the following line:
 

SELECT
Patient->PatientNames->FirstName, Patient->PatientNames->LastName, Patient->PatientGender, Patient->PatientBirthDate, Patient->PatientPhone, AddressLong, AdressLat, City, Country, PatientAddresssNumber, PostalCode, State, Street
FROM patientdata.PatientAddresss

Interface gráfica do usuário, Aplicativo O conteúdo gerado por IA pode estar incorreto.

5. Execute the query and witness the results.
6. Enjoy!

2 Comments
Discussão (2)2
Entre ou crie uma conta para continuar
Resumo
· Mar. 10

Publications des développeurs d'InterSystems, semaine Mars 03 - 09, 2025, Résumé