It looks the error showing class does not exist, Here NS is defined in Uppercase letters and using the class name in different. Can you try like this..
Set sc = ##class(BNA.Utils.Sql).SelectFirstColsInArray(query, .userIds)
You can try like Set len=$$$MaxStringLength instead of 1000. The above example reading text upto 1000 characters so message is truncated while printing the message.
I tried to send the Patient resource to FHIR repository through HS.FHIRServer.API.Data.Request object and now the above error disappear but my request not send to the repository and see the Operation log displays and I can send the data from Postman. I couldn't see any request coming through from interface in HTTP Access log.
ERROR #5770: Object open failed because 'ServiceIdIdx' key value of '' was not found error. Could you please suggest why this error occurs.
#dim patient AS HS.FHIR.DTL.vR4.Model.Base.Resource #dim interopRequest AS HS.FHIRServer.Interop.Request Set apiRequest = ##class(HS.FHIRServer.API.Data.Request).%New() Set apiRequest.QueryString="" Set apiRequest.BaseURL="/csp/healthshare/fhirdemo/fhir/r4" Set apiRequest.RequestMethod="POST" Set apiRequest.RequestFormatCode="JSON" Set apiRequest.ResponseFormatCode="JSON" Set apiRequest.RequestPath="/Patient"
go to post
Thank you for providing step by step process!
go to post
Congratulations!
go to post
Thank you so much for the article. It is really helpful.
go to post
Yes, the issue was resolved.
go to post
Hi Bhargava,
the link can provide you some code for FHIR transformations
https://openexchange.intersystems.com/package/iris-healthtoolkit-service
git clone https://github.com/grongierisc/iris-healthtoolkit-service.git
Thanks,
go to post
Thank you Eduard.
go to post
Hi Tani,
Thanks for your details, While set up analysis part it is throwing "Connection Refused.
go to post
go to post
Yeah, the records are exists in the repository
go to post
Hi Christine,
You can try this
Set yesterday = $zdt($h-1,3)
Write yesterday
go to post
deleted
go to post
Hi Prasanth,
Here is the link https://community.intersystems.com/post/implementing-basic-auth-rest-api use it for your requirement.
go to post
Hi Joshua,
It allows DNS name instead of multiple IP addresses.
go to post
Hi Pierre,
It looks the error showing class does not exist, Here NS is defined in Uppercase letters and using the class name in different. Can you try like this..
Set sc = ##class(BNA.Utils.Sql).SelectFirstColsInArray(query, .userIds)
go to post
Hi Bing,
I have defined the SessionApplication property for "HS.FHIRServer.API.Data.Request" object
Set request.SessionApplication="/csp/healthshare/<namespace>/fhir/r4".
BaseURL looks not referring ServiceIdIdx value. After I debug my code, added the command and tried. It worked for me.
go to post
Hi Nimisha,
Here is the link to follow the server setup in the VsCode, It helps to understand from beginning
https://intersystems-community.github.io/vscode-objectscript/configuration/
go to post
Hi Abhishek,
Please check the below link to use the sample code for FHIR conversion
https://github.com/grongierisc/iris-healthtoolkit-service.git
go to post
You can try like Set len=$$$MaxStringLength instead of 1000. The above example reading text upto 1000 characters so message is truncated while printing the message.
go to post
Hi All,
Thank you for your support,
I could able to find the issue and corrected. Now I can able to publish the data to FHIR repository URL.
Thank you all for your thoughts,
go to post
I tried to send the Patient resource to FHIR repository through HS.FHIRServer.API.Data.Request object and now the above error disappear but my request not send to the repository and see the Operation log displays and I can send the data from Postman. I couldn't see any request coming through from interface in HTTP Access log.
ERROR #5770: Object open failed because 'ServiceIdIdx' key value of '' was not found error. Could you please suggest why this error occurs.
#dim interopRequest AS HS.FHIRServer.Interop.Request
Set apiRequest = ##class(HS.FHIRServer.API.Data.Request).%New()
Set apiRequest.QueryString=""
Set apiRequest.BaseURL="/csp/healthshare/fhirdemo/fhir/r4"
Set apiRequest.RequestMethod="POST"
Set apiRequest.RequestFormatCode="JSON"
Set apiRequest.ResponseFormatCode="JSON"
Set apiRequest.RequestPath="/Patient"