Pesquisar

Discussão (0)1
Entre ou crie uma conta para continuar
Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Dez. 19, 2024

Looks Like Grinch Stole Our Recap!

Dear Developer Community,

It seems the Grinch got a little mischievous and swiped our recap before it could make its grand debut! 🎄💚 But don’t worry — our developer elves are hard at work tracking it down, and the full recap will be online shortly.

Hang tight, and we promise to have it back in time to spread all the holiday cheer (and the details you’re waiting for). Thanks for your patience, and keep an eye out for the return of our festive recap!

1 Comment
Discussão (1)1
Entre ou crie uma conta para continuar
Pergunta
· Dez. 19, 2024

Article "Ansible modules and IRIS demo" qlist bug

Has anyone tried the Ansible module for qlist in the article "Ansible modules and IRIS demo"?

There appears to be a bug in the qlist code as it assumes that the qlist output has an undocumented field.

I do not have the undocumented field in the output.when I run qlist so I keep getting the error "Unexpected IRIS qlist output format".

I assume that in most cases there is no undocumented field in the output.

In this module:
"iris_qlist.py"
in this test:
"if len(items) != len(IRIS_INSTANCE_DETAILS):
    module.fail_json(msg="Unexpected IRIS qlist output format", output=stdout)"
should be:
"if len(items) < len(IRIS_INSTANCE_DETAILS):
    module.fail_json(msg="Unexpected IRIS qlist output format", output=stdout)"
as this array
"IRIS_INSTANCE_DETAILS"
has an extra member that usually does not exist
"iris_qlist_extra_field_not_in_documentation"

What does everyone think?

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

ERROR <Ens>ErrException: <MAX $ZF STRING> zPrepareW+1^%Library.SQLGatewayConnection.1

Every time I try to update an SQL table using odbc connection, I'm getting: ERROR <Ens>ErrException: <MAX $ZF STRING>zPrepareW+1^%Library.SQLGatewayConnection.1

Set sqlStatement = "UPDATE dbo.Table1 SET OriginalMessageText="_OriginalMessageText_"WHERE Id='"_Id_"'"
$$$TRACE("SQL Statement: "_sqlStatement)

I know that the problem is with the length of the ORU HL7 message  (that contains OBX base64 PDF file ) I'm trying to update in the table, but is there a way to fix this? other than truncating the message ?

I also tried this statement but it didn't work as well


Set sql = "UPDATE dbo.Table1 SET OriginalMessageText=?  WHERE Id=?"
Set status = ##class(%SQL.Statement).%Prepare(sql)
Do statement.%Execute(OriginalMessageText, Id)

Discussão (0)1
Entre ou crie uma conta para continuar