go to post José Roberto Pereira · Jan 9 Hi! Don't know if it's your case, but if you are able to generate the global data, you could use the $INCREMENT() function, which automatically stores the array length into global's head: Set ^test($INCREMENT(^test)) = "aa" Set ^test($INCREMENT(^test)) = "aa" Set ^test($INCREMENT(^test)) = "aa" Set ^test($INCREMENT(^test)) = "aa" ZWrite ^test ^test=4 ^test(1)="aa" ^test(2)="aa" ^test(3)="aa" ^test(4)="aa" Write ^test 4 HTH, José
go to post José Roberto Pereira · Dec 11, 2022 Seems to be kind a controversial topic: Stack Overflow temporarily bans answers from OpenAI's ChatGPT chatbot
go to post José Roberto Pereira · Dec 6, 2022 Hi! Have you tried the _count parameter? (https://build.fhir.org/search.html#_count) For instance: https://testserver/csp/healthshare/hsods/fhir/r4/Practitioner?identifier... HTH, José
go to post José Roberto Pereira · Feb 28, 2022 Hi! Please, checkout this post: https://community.intersystems.com/node/498271 HTH
go to post José Roberto Pereira · Jan 7, 2022 For those who are looking for unziping features, Embedded Python (for IRIS 2021.2+) allows you to use zipfile Python lib. For instance: ClassMethod UnZip(pZipFileName As %String, pExtractToDir As %String) [ Language = python ] { #; solution based on this one: https://stackoverflow.com/a/3451150/345422 import zipfile with zipfile.ZipFile(pZipFileName, 'r') as zip_ref: zip_ref.extractall(pExtractToDir) } Or ClassMethod UnZip2(pZipFileName As %String, pExtractToDir As %String) { Set zipfile = $SYSTEM.Python.Import("zipfile") Do zipfile.ZipFile(pZipFileName, "r").extractall(pExtractToDir) } Tested on iris-ml-community:2021.2.0.617.0-zpm
go to post José Roberto Pereira · Dec 14, 2021 Hi! Please, check out if this answer from @Eduard Lebedyuk works for you: https://community.intersystems.com/post/query-result-save-csv#comment-11...
go to post José Roberto Pereira · Aug 11, 2021 Hi Shreya. This server is temporary down... Please, check this post for more information: https://community.intersystems.com/post/temporary-online-documentation-s...