I would like to see this as an important and useful Tutorial!
And definitely more useful than copying the use of Class queries 3 times at least.
- Log in to post comments
I would like to see this as an important and useful Tutorial!
And definitely more useful than copying the use of Class queries 3 times at least.
if you take a look to method ##class(EnsLib.HL7.Segment).getAtFromArray(...)
you see that the segment data is assembled in row 1008 of the class by
without checking the size.
So it is designed to fail with large documents as your Base64 encoded PDF (~+33% of original)
So just using a reference to an external stored file as you suggested should work.
BTW datatype %VarString is just a shortcut of %String(MAXLEN="") and a sometimes appropriate SQLTYPE.
At your own risk!
You can set the Code DB of your namespace to R/W.
Oh Dear!
but Memory was expensive.
But my first DSM-like OS on VAX was only ~ 80KB code at run time. (40+ years back)
All the rest for Partitions and Buffers, .
Fully with you.
But in migration, you have no choice.
With several thousands of Globals, there is no chance to find out
if some crazy chap had used it decades ago.
When I saw it the first time I must have looked like Kong Kong.
Ah!
so I have to learn yum and other differences
Does it work if you call your class with full reference? I mean not for Login?
NOT found is suspicious somehow
Sorry, HL7 is not my world.
Another idea:
Just to see that the port is open and you are on IRIS you may try to access
over ODBC/JDBC gateway any table in %SYS
if you insist on that line you need
Set Jsonobj="{""Doctype"":""ADT^A01"",""PatientId"":""123"",""PatientName"":""Alex""}"
ODBC/JDBC QUERY tools connect to 1972
no Idea which runs on Linux
by using {} your Jsonobj is already a %Library.DynamicObject
USER> ZWRITE Jsonobj
Jsonobj=<OBJECT REFERENCE>[1@%Library.DynamicObject]
no need for
Set Dynjsonobj=##class(%Library.DynamicObject).%FromJSON(Jsonobj)
yeah. total outside
You are correct it is working inside docker in the container.
But I asked for the external real IP of my (Windows) Host.
I know that is wrong for my purpose, as I sit just in front of it
and use it some 100 times daily. So I really know it.
It's an odd situation: IRIS -> Ubuntu in container -> Docker -> WSL -> Windows.
I didn't add NAT and Port mapping used by Windows.
I did the test, but it failed.
C:\GitHub\_my\SSH-for-IRIS-container>docker-compose exec iris iris session iris
Node: f386a88482f2, Instance: IRIS
USER>Set ip = $SYSTEM.INetInfo.HostNameToAddr("host.docker.internal")
USER>zw ip
ip="192.168.65.2"
The correct IP = 192.168.0.9
it's also not the IP-Address of WSL-2 shell 172.21.225.243
It's not even in the DHCP range of my router, nor in the WLAN range
Sorry
BUT: this is an excellent use case for my recent Proposal
thanks - so it's a somewhat larger exercise ![]()
Hi @Iryna Mykhailova and welcome to the Tutorials Contest.
I was waiting for you.
I feel honored that you took the same subject as me %QUERY (officially Class Query)
In addition, I appreciate that you confirmed by your screenshots, my statement that
the Studio wizard is the most comfortable way to start with the subject.
The idea to simulate a virtual table is a very nice idea.
But there is a point in your example that I don't understand:
Did I miss something?
I found an acceptable workaround.
.png)
You may raise all concerns on Security and Container Isolation. Accepted! And ignored!
Since THIS solves my issues on optical verification of the user interface.
That works somehow.
But this is the wrong direction.
I need to access my IRIS instance over TELNET .
AND THIS IS THE REASON
.png)
sometimes it is an advantage to read to the end of the line !!![]()
it is just not implemented outside Windows.
it's $zhex("A3") or $c(163) according to this source
Check your version of module.xml against the official module.xml of OEX on GitHub:
that one just has 1 <Document....>.......</Document>
The error message indicates you just lost the slash </ of the closing tag.
I just hope- for the sake of fairness -
that the one that did the practical work
gets some points as well ???
short add on
ASCETIC - there is no minor trace of any comfort around
SPOOKY - it's been around since ever but is rather unknown and invisible in Docs