¿Podrías ejecutar la subconsulta independientemente en ambas situaciones para comprobar si es PREDICT o PROBABILITY el responsable de la tardanza?

Es decir, esta consulta por si sola:

Select cast(PEDL_MatrizDR as Integer) as Matriz,
cast(Decode(PEDL_LongitudCorte,PEDL_LongitudCorteFabricar,0,1) as INTEGER) as LlevaCorte,
CAST(PEDLPrensaPrevisibleDR as VARCHAR) as Prensa,
CAST(PEDL_ColorAcabadoDR->ACA_ClaseAcabado as VARCHAR) as ClaseAcabado, 
Sistema.Util_ObtenerNombreMesFecha(PEDL_PED_RowPR->PED_FechaEntregaInt) as MesAceptacion from SqlUser.VTA_PedidoLinea where PEDL_RowID='2021000278||1'

Y su equivalente que no usa el RowID.

¡Buenas @Kurro Lopez ! Por mi experiencia con la versión Community, no es necesario definir los entornos virtuales de Python, si quieres, echa un vistazo a este ejemplo que está trabajando con InterSystems IRIS Community:

https://github.com/intersystems-ib/inquisidor/blob/main/iris/Dockerfile

Básicamente es esto:

RUN apt-get update && apt-get install -y python3 && apt-get -y install curl

# install required packages
COPY --chown=$ISC_PACKAGE_MGRUSER:$ISC_PACKAGE_IRISGROUP /requirements.txt /
RUN chmod 777 /requirements.txt

RUN pip3 install -r /requirements.txt --break-system-packages

Como ves, instalamos previamente python3 y a continuación ejecutamos un pip3. Si miras el docker-compose de dicho proyecto no estamos configurando ningún entorno virtual. Prueba a adaptar tu código como el de este proyecto y nos comentas.

Pueden probar la versión community de IRIS for Health para el desarrollo de backend de aplicaciones. Si necesita algún ejemplo tenemos multitud en nuestro OpenExchange (accesible desde las opciones en la parte superior de la pagina).

Te sugeriría que añadas a tu código un try/catch y unas cuantas trazas para identificar el punto exacto que te genera el problema. Hace no mucho me pasó algo parecido, aunque en mi caso el problema era un fallo con la última versión de sentence-transformers.

Si puedes, añade a la declaración del método el tipo de datos de salida.

IRIS doesn't have specific libraries to work with health standards like HL7 or DICOM, you need IRIS for Health distribution.

Sometimes IRIS doesn't work very well when there are too many abstract syntax defined for a DICOM configuration, I suggest to you to create a new DICOM configuration with a new name for IRIS and add the abstract syntax configuration that is failing.

I guess that you are using a Enslib.HL7.Service that uses EnsLib.File.InboundAdapter as Adapter. The problem is that the name of the file is not a property of Enslib.HL7.Message class, so you have to follow these steps:

  1. Create your own service that extends to Enslib.HL7.Service.
  2. Overwritte OnProcessInput process to get the name of the readed stream:
    Set tFileName=pInput.Attributes("Filename")
    set sessionID = $$$JobSessionId
    set ^GlobalName("Session", sessionID) = tFileName
    do ##super()
  3. From DTL use code to get the global that you created before getting the ID session from Enslib.HL7.Message and assign it to MSH property:
  4. Set globalValue = $GET(^GlobalName("Session", sessionID))
    
  5. And finally assign globalValue variable to the MSH propery (using SET from the DTL):
    target.{MSH.PropertyName} = globalValue

     

I saw this in a film...a self-consciousness IA that take a nap...or it was the world? Anyway, John Connor will save us.

You could create your own adapter based using Embedded Python. Here you can find an example of connection with Python and here an example of a similar adapter that I created for connection with Firebase.

You could create your own adapter based using Embedded Python. Here you can find an example of connection with Python and here an example of a similar adapter that I created for connection with Firebase.

I'm not very sure that you should extend EnsLib.REST.Service to define a REST service with URLMap, but anyway, EnsLib.REST.Service is using EnsLib.HTTPInbound.Adapter so you can get the input data from OnProcessInput like this:

Method OnProcessInput(pInput As %GlobalCharacterStream, Output pOutput As %RegisteredObject) As %Status
{
     set authorization = pInput.Attributes("authorization")
...

Here is the doc related: https://docs.intersystems.com/healthconnect20251/csp/docbook/DocBook.UI…

If the class of the message extends Ens.Request you can send whatever you want. To validate the class of the message you only need $CLASSNAME method.