Find

Announcement
· Aug 30, 2024

[Vidéo] Exploitation sécurisée d'un entrepôt de données démographiques FHIR au CHU de Toulouse

Salut la Communauté!

Profitez de regarder la nouvelle vidéo sur la chaîne Youtube d'InterSystems France :

📺 Exploitation sécurisée d'un entrepôt de données démographiques FHIR au CHU de Toulouse

Plongez dans l'univers de l'interopérabilité des données avec le CHU de Toulouse et ses partenaires. Découvrez comment notre plateforme FHIR transforme la façon dont les informations sont échangées, sécurisées et utilisées pour offrir des soins de santé plus efficaces et personnalisés. Rejoignez-nous pour façonner ensemble l'avenir de la médecine connectée.

Abonnez-vous à notre chaîne youtube pour plus de vidéos et restez à l'écoute !

Discussion (0)0
Log in or sign up to continue
Question
· Aug 29, 2024

Create PDF and transfer it via REST

Hello, I want to create PDF from HTML source. I found pandoc. I installed pandoc on IRIS container image. I created Interoperability production. I have setup REST service to receive HTML file in request body. I call pandoc command pandoc -o output.pdf input.html  from a BPL process. I copy output.pdf file stream into response body. I save the response at the source. I get a file named output.pdf but it does not load in Acrobat. I suspect I am doing something wrong with headers (accept-encoding?) or maybe do I need to base64 encode the pdf file to transfer it via REST?

7 Comments
Discussion (7)2
Log in or sign up to continue
Article
· Aug 29, 2024 2m read

第十一章 创建和使用策略 - 在运行时指定策略

第十一章 创建和使用策略 - 在运行时指定策略

在运行时指定策略

对于 IRIS Web 客户端,可以指定运行时要使用的策略;这将覆盖任何策略配置类。要在运行时指定策略,请设置 Web 客户端实例的 PolicyConfiguration 属性。该值必须具有以下形式:

Configuration class name:Configuration name

其中,配置类名称是策略配置类的完整包和类名,如本主题前面所述,配置名称是该类中策略的 <configuration> 元素的 name 属性的值

抑制不支持的策略的编译错误

默认情况下,当编译配置类时,如果配置包含 IRIS 不支持的任何策略表达式, IRIS 会发出错误。要避免此类错误,请在配置类中包含以下内容:

Discussion (0)1
Log in or sign up to continue
Announcement
· Aug 29, 2024

[Video] Setting Up Your Generative AI Development Environment

Hi, Community!

Ready to create a retrieval-augmented generation (RAG) architecture for your next GenAI application? See how to get started:

Setting Up Your Generative AI Development Environment

In this interview, InterSystems Sales Engineer @Elijah Cotterrell offers insights about:

  • Considerations for choosing an IDE
  • Which Python libraries are useful in development
  • How to instantiate a basic interaction with a large language model
1 Comment
Discussion (1)1
Log in or sign up to continue
Article
· Aug 29, 2024 1m read

How to programmatically read a CSV file line by line

InterSystems FAQ rubric

This can be achieved by using the CSV() procedure of the %SQL.Util.Procedures class.
Below is an example of usage code. (Assuming that the file test.csv is in c:\temp.)

 Set rowtype="Name VARCHAR(50),UID VARCHAR(50), PHONE VARCHAR(50)"
 Set filename="c:\temp\test.csv"
 Set result=##class(%SQL.Statement).%ExecDirect(,"call %SQL_Util.CSV(,?,?)",.rowtype,.filename)
 Set rset =result.%NextResult()
 
 // To display all results, use do rset.%Display()
 While rset.%Next() {
     Write "Name:",rset.%GetData(1)," UID:",rset.%GetData(2)," PHONE:",rset.%GetData(3),!
     }

 Set rset="",result=""
 Quit

By executing the above, you can access each row and field as a result set. Example execution:

USER>do ^CSV
Name    UID     PHONE
aaa     0001    080-1111-1111
bbb     0003    090-2222-2222
ccc     0009    050-3333-3333
ddd     0010    0120-17-1972
4 Rows(s) Affected

Please also see the class reference for the %SQL.Util.Procedures class.
Class reference:%SQL.Util.Procedures.CSV()

8 Comments
Discussion (8)4
Log in or sign up to continue