User bio
404 bio not found
Member since Jan 27, 2023
Replies:

 This is how I am doing :

---------
 
Class PKG.ObservationWrapper Extends %Persistent
{

Property bundleReq As HS.FHIR.DTL.vR4.Model.Resource.Bundle;

}

-------

Set wrapperBundleObj =  ##class(PKG.ObservationWrapper).%New() 
Set wrapperBundleObj.bundleReq = ##class(HS.FHIR.DTL.vR4.Model.Resource.Bundle).FromJSON(reqStream,"vR4")
Set tSC = BusinessService.SendRequestSync("SAMPLE_ROUTER", wrapperBundleObj.bundleReq)

 expection :
 
 ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zNewRequestMessage+4^Ens.MessageHeader.1 *%GetSwizzleObject,HS.FHIR.DTL.vR4.Model.Resource.Bundle -- logged as '-' number - @''
 
 =======================================

I have similar requirement ; I would like to send bundle object to a router and then
 perform a DTL with in the routing rule ( this BundleObject as a souce to my DTL).
 during this process , I get below expection 
 
 reqStream = json content in a stream
 
 Set BundleObject=##class(HS.FHIR.DTL.vR4.Model.Resource.Bundle).FromJSON(reqStream,"vR4")
 
 Set tSC = BusinessService.SendRequestSync("SAMPLE_ROUTER", BundleObj)
 
 expection :
 
 ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zNewRequestMessage+4^Ens.MessageHeader.1 *%GetSwizzleObject,HS.FHIR.DTL.vR4.Model.Resource.Bundle -- logged as '-' number - @''

Certifications & Credly badges:
Krishnaveni has no Certifications & Credly badges yet.
Global Masters badges:
Krishnaveni has no Global Masters badges yet.
Followers:
Krishnaveni has no followers yet.
Following:
Krishnaveni has not followed anybody yet.