Nueva publicación

查找

Artículo
· 15 ago, 2023 Lectura de 2 min

Using NativeAPI Extension from Python

In my previous articles, I described my Command Line Extension to NativeAPI.
Of course, this is also available for any other NativeAPI package.
So I created this example in Python as a demo.

The package contains also an IRIS server in Docker for the demo
It is evident that it also works with any remote IRIS server.
You just have to provide it with my NativeAPI CommandLine Extension.

I think this demo is easy to follow and shows the essential features.

  • First, you install the package and start the container
  • then you start the demo
    docker-compose exec iris python3 src/rcc.py
  • Next, you connect  to your IRIS server defaults refer to the ádde IRIS server in the container
    >>> serverIP [127.0.0.1]:
    >>> serverPORT [1972]:
    >>> namespace [USER]:
    >>> username [_SYSTEM]:
    >>> password [SYS]:
    Connected to Instance IRIS on Server 1C09927CAE60 
  • Now, you get into the demo menu
    Select Demo to exercise 
     0 = free ObjectScript
     1 = $ZV from Server
     2 = Actual Time in Server
     3 = TimeZone Offset of Server
     4 = Server ArchitectureVendorModel
     5 = List Global in ZWRITE style
     * = Terminate demo
    >>> take a choice [1]:  
  • And this is the result when you run through all 5 examples
    >>> take a choice [1]:
     IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2023.2 (Build 227U) Mon Jul 31 2023 18:04:28 EDT 
    
    >>> take a choice [1]: 2
     2023-08-15 07:42:16 
    
    >>> take a choice [1]: 3
     0 
    
    >>> take a coice [1]: 4
     x86_64 * Intel * Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz 
    
    >>> take a choice [1]: 0 
    >>> Your ObjectScript [ quit "?"]: quit $ZTS
     66701,27813.678790226 
    
    >>> take a choice [1]: 0 
    >>> Your ObjectScript [ quit "?"]: quit 17/4
     4.250000000000000000 
    
    >>> take a choice [1]: 0 
    >>> Your ObjectScript [ quit "?"]: quit 17/0
     <DIVIDE> 18 x^%ZX 
    
    >>> take a choice [1]: 5 
    >>> Your Global [^dc.MultiD]:
     ^dc.MultiD = 5
     ^dc.MultiD(1) = $lb("Braam,Ted Q.",51353)
     ^dc.MultiD(1,"mJSON") = "{}"
     ^dc.MultiD(2) = $lb("Klingman,Uma C.",62459)
     ^dc.MultiD(2,2,"Multi","a") = 1
     ^dc.MultiD(2,2,"Multi","rob",1) = "rcc"
     ^dc.MultiD(2,2,"Multi","rob",2) = 2222
     ^dc.MultiD(2,"Multi","a") = 1
     ^dc.MultiD(2,"Multi","rob",1) = "rcc"
     ^dc.MultiD(2,"Multi","rob",2) = 2222
     ^dc.MultiD(2,"mJSON") = "{""A"":""ahahah"",""Rob"":""VIP"",""Rob2"":1111,""Rob3"":true}"
     ^dc.MultiD(3) = $lb("Goldman,Kenny H.",45831)
     ^dc.MultiD(3,"mJSON") = "{}"
     ^dc.MultiD(4) = $lb("","")
     ^dc.MultiD(4,"mJSON") = "{""rcc"":122}"
     ^dc.MultiD(5) = $lb("","")
     ^dc.MultiD(5,"mJSON") = "{}"
     **** done ***
    
     >>> take a choice [1]: *
       Thank you for trying the demo

If you prefer to test it with embedded Python use

docker-compose exec iris iris session iris "##class(nacl.rcc).py()"

 

Video

GitHub

3 comentarios
Comentarios (3)2
Inicie sesión o regístrese para continuar
Pregunta
· 9 ago, 2023

Reports roadmap

We are about to embark on a development where we'll be taking HL7 messages and generating PDF reports from them. We are wanting to future proof our development efforts within the constraints of our currently deployed platform and future upgrade options. We are currently running on Ensemble 2018, though an upgrade to Iris is anticipated - at some indeterminate point in the future. We are aware of Zen Reports and InterSystems Reports (Logi) as technology options, but are also unclear on some details. A roadmap and guidance from those who've done this kind of thing before would be great!

  • Are InterSystems Reports available on Ensemble, or only on Iris? (ie could we use InterSystems reports from the start?)
  • We are aware of the end-of-life announcement (Zen Reports to be removed from InterSystems IRIS and IRIS for Health) for Zen, so would prefer any new developments not depend on Zen. Its not yet clear what version of Iris we'd move to at point of upgrade. 
  • Any other options for HL7 -> PDF generation?

Specific application is a labs results ORU message to PDF report, if that makes any difference.

Thanks!

3 comentarios
Comentarios (3)1
Inicie sesión o regístrese para continuar
Anuncio
· 8 ago, 2023

Last chance to give your feedback on IRIS SQL exams

Hello Everyone,

Last month, we asked for input from the IRIS community regarding exam topics for our InterSystems IRIS SQL Specialist and Expert exams. We will close the window for providing feedback on the exam topics on Thursday, August 31st, 2023. Thus, if you would like to have your say in what topics are covered on the exam, this is your last chance!

To show our appreciation for helping us validate our exam design, we will hold a raffle where 15 survey respondents will be chosen to receive a $50 gift card. The gift card is a Tango Card that can be redeemed at any number of online retailers. The raffle is available for US-based, non-InterSystems, employees. VA employees are not eligible.

You can access the surveys here:

InterSystems IRIS SQL Specialist Exam

InterSystems IRIS SQL Expert Exam

Here are the exam titles and definitions:

InterSystems IRIS SQL Specialist Exam

An IT professional who has:

• Experience with standard ANSI SQL.

• 1 to 2 years of experience in designing and managing InterSystems IRIS SQL applications or expertise in other SQL platforms.

• 1-year experience in managing InterSystems IRIS SQL applications.

InterSystems IRIS SQL Expert Exam

A Developer or Solutions Architect who has the following:

• 4 to 6 years of experience developing and managing InterSystems IRIS SQL applications.

• 2 years of experience working with ObjectScript and globals in InterSystems IRIS.

So, how can you help? If you have 20-30 minutes to fill out a task survey, you can help us rate each exam topic based on your experience.

Thank you!

Ali Nasser, Certification Exam Developer, InterSystems

1 Comentario
Comentarios (1)1
Inicie sesión o regístrese para continuar
Anuncio
· 7 ago, 2023

Developer Roundtable: Generative AI Use Cases in Healthcare

Hi Everyone,

Join us at the online Developer Roundtable to discuss Generative AI Use Cases in Healthcare on August 31, 10 am ET. 
Learn Use Cases + Reference Architecture in Healthcare, and witness the demo of LLMs. We will have time for Q&A and open discussion as usual.

Speaker: @Nicholai Mitchko , Manager, Solution Partner Sales Engineer, InterSystems

Background: Nicholai runs a team of 10 solution engineers at InterSystems that help healthcare companies design, develop, and deliver solutions at enormous scale. In his free time, Nicholai works on large language models, including developing his own models which appear on the Huggingface OpenLLM leaderboard.

See the recording on our YouTube channel:

    

Not a Global Masters member yet? Sign in using your InterSystems SSO credentials.  

4 comentarios
Comentarios (4)2
Inicie sesión o regístrese para continuar
Artículo
· 5 ago, 2023 Lectura de 3 min

第十三章 配置Production - 添加HL7业务操作

第十三章 配置Production - 添加HL7业务操作

添加HL7业务操作

要从production中发送HL7消息,必须添加HL7业务操作。要将HL7业务操作添加到production品中,必须创建它,将其集成到production中,并根据需要对其进行配置。以下小节提供详细信息。

创建HL7业务操作

HL7业务操作添加到production中:

1 Comentario
Comentarios (1)2
Inicie sesión o regístrese para continuar