検索

ディスカッション
· 2024年7月18日

[Water Cooler Talk] Developer Copilots: yay or nay?

Hi Community!

I was recently asked my opinion of the GitHub Copilot. Since I haven't tried it myself, I decided to do some research 😀 And what better place to do it other than on the Developer Community 😜 

So, I get the idea in general. AI and machine learning algorithms offer real-time code suggestions, automate repetitive tasks, and help developers write code more efficiently. That sounds pretty good. It should increase productivity, reduce the number of errors, and help in learning. But there is definitely a dark side to this. Sometimes, even code completion makes me blow a gasket. What will the copilot do? And who decides if it's the best approach to writing code? 

So, who has actual experience with developer copilots? What are your thoughts? Which one did you try? Did you like it? Did it make you tick? Any input is welcome!

ディスカッション (0)3
続けるにはログインするか新規登録を行ってください
お知らせ
· 2024年7月18日

[Video] Generative AI in Use

Hi, Community!

Do you think Generative AI can make your life easier? See some potential use cases for GenAI in the latest video from Learning Services:

Generative AI in Use

Find out how GenAI is impacting everything from healthcare to software development, and how it can be used to improve productivity and increase efficiency.​

👩‍💻 Ready to try it yourself? Learn how to improve your prompt writing abilities to get the most out of generative AI (exercise, 40m).

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2024年7月18日

[Video] Cenário de Criptografia para Dados em repouso

Olá Desenvolvedores,

Assista a este vídeo para descobrir uma abordagem analítica à criptografia do InterSystems IRIS e como ela interage com a compactação e desduplicação de armazenamento em comparação com a criptografia em nível de armazenamento:

⏯ Encryption Landscape for Data at Rest @ Global Summit 2023

🗣  Aprentadora: @Can (Jon) Gencler, Technical Specialist, InterSystems

Inscreva-se no nosso canal do YouTube InterSystems Developers para ficar atualizado!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年7月18日

Generating a HealthShare Ens.Request with Proper XML Representation: Issue with Transformation

Hello,

First of all thanks for your help, and thank you for your time.

We have the following task:

To generate by hand the Ens.Request with the properties and inner Data Schemes which represent this XML, in HealthShare, by hand; the XML is this one:

<DSPortal360 xmlns="http://tempuri.org/DSPortal360.xsd">
	<Paciente>
		<NumExpediente>6258338</NumExpediente>
		<Informes>
			<Fecha_Creacion>2024-07-17T11:30:05+01:00</Fecha_Creacion>
			<Id_Visita>8177822</Id_Visita>
			<Titulo>Visita 17/07/2024</Titulo>
			<Desc_Tipo_Plant>99</Desc_Tipo_Plant>
			<NumExpediente>6258338</NumExpediente>
		</Informes>
	</Paciente>
</DSPortal360>

We have created in HealthShare the following classes which extends from Ens.Request to represent the mentioned XML:

Class Mensajes.Request.DragoAP.Portal360.InformeVisitaRequest Extends (Ens.Request, %XML.Adaptor) [ ProcedureBlock ]
{

Property Paciente As EsquemasDatos.DragoAP.Portal360.Paciente;
}
Class EsquemasDatos.DragoAP.Portal360.Paciente Extends (%Persistent, %XML.Adaptor) [ ProcedureBlock ]
{

Property NumExpediente As %String(MAXLEN = "");
Property Informes As list Of EsquemasDatos.DragoAP.Portal360.Informes(XMLNAME = "Informes");
}
Class EsquemasDatos.DragoAP.Portal360.Informes Extends (%Persistent, %XML.Adaptor) [ ProcedureBlock ]
{

Property "Fecha_Creacion" As %String(MAXLEN = "");
Property "Id_Visita" As %String(MAXLEN = "");
Property Titulo As %String(MAXLEN = "");
Property "Desc_Tipo_Plant" As %String(MAXLEN = "");
Property NumExpediente As %String(MAXLEN = "");
}

 

Then we have developed a Transformation where we would need to get the XML properties and create a certain URL inside an OBX.5 into an ORU_R01 message.

The Transformation code until now is:

Class Transformaciones.DragoAP.Portal360.InformeVisitaRequestToORUEnlacePDF Extends Ens.DataTransformDTL [ DependsOn = (Mensajes.Request.DragoAP.Portal360.InformeVisitaRequest, EnsLib.HL7.Message) ]
{

Parameter IGNOREMISSINGSOURCE = 1;
Parameter REPORTERRORS = 1;
Parameter TREATEMPTYREPEATINGFIELDASNULL = 0;
XData DTL [ XMLNamespace = "http://www.intersystems.com/dtl" ]
{
<transform sourceClass='Mensajes.Request.DragoAP.Portal360.InformeVisitaRequest' targetClass='EnsLib.HL7.Message' targetDocType='2.5:ORU_R01' create='new' language='objectscript' >
<assign value='##class(Util.TablasMaestras).getValorMaestra("VISOR360.PARAMETROS","url")' property='url' action='set' />
<foreach property='source.Paciente.Informes()' key='k1' >
<assign value='$REPLACE(url, "[nombreDocumento]", source.Paciente.Informes.(k1).Titulo)' property='url' action='set' />
</foreach>
<assign value='url' property='target.{PIDgrpgrp(1).ORCgrp(1).OBXgrp(1).OBX:ObservationValue()}' action='set' />
</transform>
}

}

But when we try to Test it from the Data Transformation Language Editor in the Studio:

ERROR #6237: Unexpected tag in XML input: “Informes” (ends on line 6, character 20)

We are testing with this Request:

<test>
  <InformeVisitaRequest>
    <Paciente>
        <NumExpediente>6258338</NumExpediente>
        <Informes>
            <Fecha_Creacion>2024-07-17T11:30:05+01:00</Fecha_Creacion>
            <Id_Visita>8177822</Id_Visita>
            <Titulo>Visita 17/07/2024</Titulo>
            <Desc_Tipo_Plant>99</Desc_Tipo_Plant>
            <NumExpediente>6258338</NumExpediente>
        </Informes>
    </Paciente>
  </InformeVisitaRequest>
</test>

 

How could we solve it? Could you give some documentation or advice to solve it?

Thanks for your time.

Thanks for your replies.

Thanks for your help.

🎯🔎☯️🔍🎯

2 Comments
ディスカッション (2)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年7月18日

Can't connect VSCode to IRIS4Health 2024.1

Hi

With this servers definition in VSCode:

"intersystems.servers": {
        "iris4health202312_local": {
            "webServer": {
                "scheme": "http",
                "host": "localhost",
                "port": 52773
            },
            "username": "_system"
        },
        "iris4health20241_local": {
            "webServer": {
                "scheme": "http",
                "host": "localhost",
                "port": 80
            },
            "username": "_system"
        }
    },

Access to 2023.1.2 works just fine, 2024.1 stubbornly refuses to connect ("Unavailable at <time>", says "server could not be accessed by <user>" - I tried several users, all with the %All and %Development roles).

I can access the SMP just fine, even from the "Open Management Portal in External Browser" button in VSCode, which proves the configuration is correct. I can access the 2024.1 instance from Studio (2024.1) just fine, and the terminal works (for what it's worth). So all is good, except VSCode won't connect.

This is a plain vanilla, fresh install of 2024.1. I checked the CSP app definitions, I can see no difference from 2023.1. I checked resources, services, user privileges, etc. Nothing jumps out. And the instance works just fine as far as I can tell. The only difference is that 2023.1 is using the internal web server, 2024.1 is using an external Apache (no choice there in 2024). The Apache web server is a local XAMPP install, which I use for CSP, simple HTML, REST etc. I all works just fine. I compared the Web Gateway settings between 2023.1 and 2024.1, they are virtually identical.

I think I've exhausted my options here. Any ideas anyone?

Thanks in advance.

16 Comments
ディスカッション (16)3
続けるにはログインするか新規登録を行ってください