In addition to @Julius Kavay answer, there's also another similar question to yours here.
- Log in to post comments
In addition to @Julius Kavay answer, there's also another similar question to yours here.
But the way that this IA understands and creates text is impressive, no doubts. I think this is something we'll learn how to deal with our daily tasks.
As the zdnet article says, Stack Overflow removes **temporarily**, so it may be a matter of time until we get handed by IA in our development tasks, with services like GitHub copilot.
So thank you for bringing this topic to discussion! ![]()
Seems to be kind a controversial topic: Stack Overflow temporarily bans answers from OpenAI's ChatGPT chatbot
Hi!
Have you tried the _count parameter? (https://build.fhir.org/search.html#_count)
For instance:
https://testserver/csp/healthshare/hsods/fhir/r4/Practitioner?identifie…
HTH,
José
Hi Edmara!
Which IRIS version are you trying?
I did a test using the version "IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2022.2 (Build 368U) Fri Oct 21 2022 17:18:04 EDT" and all worked fine.
Please, checkout the example below on your IRIS version. It shows the index global value (^dado.TblTesteI) in order to get more visibility of what is going on.
dado.TblTeste:
Spoiler
dado.TblFieldOne:
Spoiler
dado.TblFieldTwo:
Spoiler
dado.TblFieldThree:
Spoiler
Output of OpenCompositeIndexTest() method:
IRISAPP>d ##class(dado.TblTeste).OpenCompositeIndexTest()
IRIS version: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2022.2 (Build 368U) Fri Oct 21 2022 17:18:04 EDT
Cleaning up tables...
Populating tables...
---
Test with FieldThreeId using SQL DML:
Ok
Index global:
^dado.TblTesteI("idxFieldOneFieldTwoFieldThree",1,2,3,1)=""
---
Test with no FieldThreeId using SQL DML:
Ok
Index global:
^dado.TblTesteI("idxFieldOneFieldTwoFieldThree",1,2,-100000000000000,2)=""
^dado.TblTesteI("idxFieldOneFieldTwoFieldThree",1,2,3,1)=""
---
Test with no FieldThreeId using object:
Ok
Index global:
^dado.TblTesteI("idxFieldOneFieldTwoFieldThree",1,2,-100000000000000,2)=""
^dado.TblTesteI("idxFieldOneFieldTwoFieldThree",1,2,3,1)=""
^dado.TblTesteI("idxFieldOneFieldTwoFieldThree",2,1,-100000000000000,3)=""
HTH,
José
Hi @Evgeny Shvarov !
I've create the module.xml but forgot to publish it to OEX... ![]()
Done: https://openexchange.intersystems.com/portal/package/iris-grpc-example ![]()
Thank you for letting me know!
Also there are a plenty of examples in OpenExchange, which you can try via ZPM (IRIS package manager): https://openexchange.intersystems.com/?search=REST&sort=d.desc
Glad you liked @Ben Spead! :)
Thanks!
Hi guys!
Could you please add the 1st article bonus for python-globals-serializer-example?
Article: https://community.intersystems.com/post/serializing-python-objects-glob…
Thanks!
Thanks Vitaliy! The example was handy!
Thank you Eduard!
Hi Vitaliy,
Thank you for that valuable information! I'll take it into account.
But let's assume that I do a partial rebuild. Is it OK to use this partially rebuilt index if I don't care about data that isn't indexed? Did you do this before?
Thanks
Really nice apps in this contest, I'm learning a lot! Congrats to all participants!
@Henrique Dias
True story!
And let's go 2022!
Congratulations community!
Thank you @Muhammad Waseem!
Thank you Henrique! ![]()
Thank you @Henry.HamonPereira! ![]()
Thank you Yuri!
Thank you @Robert Cemper! ![]()
Hi @Ben Spead!
Thank you for warning me! :)
Fixed! I usually double check my English writings in text editors like Google Docs, but I missed to check the title...
A little explanation here, I'm Brazilian, so a Portuguese native speaker. But it's OK, Portuguese is a kind of brother of Spanish! =)
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
Hi!
Thanks for your code, but I tried it and can't get a file in the directory in the end. In order to get it working, I had to call the method %Save() before the %Close() one:
...
d file.CopyFrom(request.HttpResponse.Data)
d file.%Save()
w file.%Close()I found that by this article by @Gevorg Arutiunian: https://community.intersystems.com/post/save-file-using-nethttprequest
It was the first time that I joined and could see how difficult the challenges are!! So, congratulations for all winners and other participants as well.
Hi @Henry.HamonPereira!
Thanks, glad you liked it! ![]()
Hi!
Please, check out if this answer from @Eduard Lebedyuk works for you: https://community.intersystems.com/post/query-result-save-csv#comment-1…
Hi Shreya.
This server is temporary down... Please, check this post for more information: https://community.intersystems.com/post/temporary-online-documentation-…
Thanks Jon, I'll check it out.
My JBL Flip 5 has just arrived!! Great sound quality!!! 🎶🤘
Thanks GM!! ![]()
