Pesquisar

Pergunta
· Ago. 1, 2024

Exporting all Patient SDA to file

Hi fellows,

How can I query all Patient SDA from a Regestry and export to file? Exist some table when I can query all Patient?

To export, I found the class HS.SDA3.QuickXML and method ToQuickXMLStream, but I can't find a table where query all Patient, by update date for example.

Thanks in advanced!

2 Comments
Discussão (2)3
Entre ou crie uma conta para continuar
Artigo
· Ago. 1, 2024 3min de leitura

Caché/M 数据库系统 InterSystems IRIS 的 Windows 安装

针对 InterSystems IRIS 数据库的一些基本概念。

InterSystems IRIS 是什么

InterSystems IRIS 是基于 Caché/M 语言开发的一个数据库,这个数据库被大量使用在医疗系统中,也是北美地区医疗系统病历和文件管理中默认使用的事实标准。

Caché/M 是什么

Caché/M 是 MUMPS 程序语言 开发的数据库,Caché/M 提供了代码接口,可以直接使用 Caché/M 对数据库来进行操作。

Caché 是一个法语单词,但是又非常容易和英语使用的 Cache 搞混,所以大部分时候使用的是 Caché/M 来表达。

M 表达的意思是 Mumps 程序语言,简称 M 语言,Caché 使用 M 语言构建了不少函数。

InterSystems IRIS 不是开源数据库

因为涉及到医疗系统数据的使用,所以 InterSystems IRIS 并不是一个开源的数据库,你可以使用下面的链接:Evaluate InterSystems Products 8 来下载评估版本。

本文就是根据下载的链接来进行 Windows 安装的教程。

上面的页面在下载之前,你需要进行注册,并且提供你的信息。

双击运行

当下载完成后,可以双击运行安装程序。

我们会看到下面的安装界面:

InterSystems-IRIS-Windows-Install-01

同意许可协议后,单击下一步继续安装。

配置实例名

我们在这里使用默认的就可以,通常使用的 IRIS。

InterSystems-IRIS-Windows-Install-02

选择安装目录

我们使用默认的安装目录就可以了。
InterSystems-IRIS-Windows-Install-03

选择安装类型

因为我是需要安装这个测试工具,并且不不仅仅安装客户端。

我们还需要在我们的本地计算机上跑 IRIS 实例,所以我们就进行了完全的安装,这个和 MySQL 的安装差不多,可以在本地安装 MySQL 的实例和开发工具。

InterSystems-IRIS-Windows-Install-04

安全配置

这个地方和 MySQL 也是一样的,需要初始化安装配置,因为我们是使用的本地开发环境,我们也不需要为我们的服务器配置用户名和密码,所以我们就使用最低配置就可以了。

InterSystems-IRIS-Windows-Install-05

安装校验

在进行具体安装之前,你可以可以对配置进行一些修改。

因为我们是评估版本,所以我们这里是不会有许可证的。
InterSystems-IRIS-Windows-Install-06

安装进程

这里需要耐心等待下,根据计算机的不同,通常安装进程在 5 分钟左右。

InterSystems-IRIS-Windows-Install-07

安装完成

当看到下图界面时候,安装就已经完成了。

InterSystems-IRIS-Windows-Install-08

启动

当安装完成后,数据库服务器的进程是自动启动的。
Web 页面的地址为:http://localhost/iris/csp/sys/UtilHome.csp 6

在这个界面中,通常可以看到服务器的一些配置信息。

InterSystems-IRIS-Windows-Install-09

如果你能够看到上面的界面,就说明你的服务器已经安装完成并且正常启动了。

总结

根据我们第一次安装 InterSystems IRIS 的经验, InterSystems IRIS 数据库的安装和 Windows 下安装 MySQL 的方法类似。

不仅仅会安装数据库服务器进程,同时还会安装相关的开发工具和 Web 管理界面。

整体安装过程比较简单,也没有遇到什么重要的问题,安装后直接用就可以了。

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Ago. 1, 2024

Can't access CSP pages

Hi Guys,

I've created a website and set the path to my csp pages in Web application setting and can populate all my .cls zen pages with no issues but when it comes to CSP pages I always get sent back to login page am I missing something in  security ? 

 

Thanks 

2 Comments
Discussão (2)2
Entre ou crie uma conta para continuar
Anúncio
· Ago. 1, 2024

Recapitulação do InterSystems Developer Community, Julho 2024

Olá e bem-vindo ao Recapitulação da comunidade de desenvolvedores Julho 2024.
Estatísticas gerais
27 novas postages publicadas em Julho:
 12 novos artigos
 13 novos anúncios
 1 nova pergunta
 1 nova discussão
4 novos membros ingressaram em Julho
1,122 postagens publicadas ao todo
585 membros ingressaram ao todo
Principais publicações
Principais autores do mês
Artigos
#InterSystems IRIS
 
#Caché
 
#VSCode
 
#InterSystems IRIS for Health
 
Anúncios
#InterSystems IRIS
 
#VSCode
 
#Developer Community Oficial
 
#Portal de Aprendizagem
 
#HealthShare
 
#InterSystems IRIS for Health
 
#InterSystems Oficial
 
#Supply Chain Orchestrator
 
Perguntas
#Caché
Responsividade de dados em aplicações no terminal.
Por Paulo Henrique Ziemer dos Santos
 
Discussões
Julho, 2024Month at a GlanceInterSystems Developer Community
Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Ago. 1, 2024

Task running but not executing the code

Hi guys,

Stange problem that I'm facing, when running the below code is inside system task scheduled to run every 5 mins it execute till check("gg")=3, stops at While Rs.Next() and you might thing that's because there no records but yest there records because If I run the same task from the terminal it run fine and process all records, also if I copy the whole code into a classMethod and run the classmethod from the terminal it run fine as well, its only if it runs through the scheduling process or by click run in SMP that runs till check point 3 and doesn't go any further !?   

^check("gg",0)=1_"|"_$J_"|"_$ZU(61)_"|"_$zt($P($h,",",2))
$$$DebugLog("GetJobs","getJobs start onTask "_$G(^STOPGNJ, 0),"")
Quit:$G(^STOPGNJ, 0) $$$OK
Set ^STOPGNJ=1
^check("gg")=1
try{
Set SQL = "Select top 1000 tl.ID,tl.SensorId,tl.SensorType, tl.Loc as Loc from "_
" MSDS_Common.ScheduleTaskList tl"_
" left join MSDS_Common.ScheduleTaskListHistory th on th.ScheduleTask = tl.ID"_
" where %Internal(tl.ScheduledTask)='O' and %Internal(tl.Status)='A' and (%Internal(tl.State)='S' or %Internal(tl.State)='Q')"_
" group by tl.id "_
" order by tl.id desc"

^check("gg2018")=SQL
^check("gg")=2

Set Rs=##class(%ResultSet).%New()
Do Rs.Prepare(SQL)
Do Rs.Execute()
^check("gg")=3
While Rs.Next(){
^check("gg")=4
Set ID=Rs.Get("ID")
Set SensorTag=Rs.Get("SensorId")
Set SensorType=Rs.Get("SensorType")
  Continue:$G(ID,"")="" Continue:$ZCVT(SensorType,"U")="TPROBE" Continue:$G(^StoreJob(ID),"")'="" //Continue:TryCount>=5 //&SQL(SELECT count(*) Set ^StoreJob(ID)=SensorTag_"||"_$zdt($zts,3)
}
}
Catch
{
$$$DebugLog("PushNQL","Exception happened in getjobs task: "_$ZERROR,"")
Stream=##class(%GlobalCharacterStream).%New()
Stream.WriteLine("Something went wrong, error in Get_New_Jobs task, Please have a look.")
Stream.WriteLine("Error Message : "_$ZERROR)
Stream.WriteLine("Error Code : "_$ECODE)
Stream.WriteLine("")
Stream.WriteLine("Thanks,")
Stream.WriteLine("SX3 Support")
MailStatus=##class(SX3.Production.HTTP.GetRequest).SendErrorMail(Stream)
Set ^STOPGNJ=0 } Set ^STOPGNJ=0
 

Thanks

5 Comments
Discussão (5)2
Entre ou crie uma conta para continuar