go to post Smythe Smythee · Sep 29, 2022 Hi David, It is not a typo, I have used the same name in data transform class i am not getting the value from the data transform class or Do i need to make any changes in my Business process class,Can you suggest do i need to make any changes?
go to post Smythe Smythee · Sep 28, 2022 Ok thank you I have done the same in my studio but in custom business process i m not getting the value of transformed message my business process looks like this Method OnRequest(pRequest As Ens.Request, Output pResponse As Ens.Response) As %Status{ Set tSC=##class(Hosiptal.SDA3.DataTrans).Transform(pRequest) Set NewObj=##class(%Library.GlobalCharacterStream).%New() Set pRequest=##class(Ens.StreamContainer).%New(NewObj) Set tOneTarget=..TargetConfigNames Set tSC=$$$OK $$$LOGINFO("tSC"_tSC) For iTarget=1:1:$L(..TargetConfigNames, ",") { Set tOneTarget=$ZStrip($P(..TargetConfigNames,",",iTarget),"<>W") Continue:""=tOneTarget Set tSC1=..SendRequestAsync(tOneTarget,pRequest) Quit:$$$ISERR(tSC) Set:$$$ISERR(tSC1) tSC=$$$ADDSC(tSC,tSC1) }}
go to post Smythe Smythee · Sep 28, 2022 I am getting ERROR <Ens>ErrNotImplemented: Method Hosiptal.SDA3.DataTrans.Transform() not implemented error Please find the method i am using ClassMethod Transform(source As EnsLib.HL7.Message, ByRef target As HS.SDA3.Container) As %Status{ Set sc= ##class(HS.Gateway.HL7.HL7ToSDA3).GetSDA(source, .xml) Set target=##class(HS.SDA3.Container).%New() Do target.InitializeXMLParse(.xml) Set target.Patient.Name=source.GetValueAt("PID:5") Set target.Patient.BirthGender=source.GetValueAt("PID:8") Set $ZT="Trap",tSC=$$$OKdo {$$$ASSERT(0) // Subclass ResponsibilitySet tSC = $$$EnsError($$$EnsErrNotImplemented,$$$CurrentClass,$$$CurrentMethod)} while (0)ExitQuit tSCTrapSet $ZT="",tSC=$$$EnsSystemErrorGoto Exit} }
go to post Smythe Smythee · Sep 28, 2022 Can you please give me an example so that i can learn from the example?
go to post Smythe Smythee · Sep 20, 2022 Hi Julian , I am using Record Map as an input. Can you help me what are the classes i need to use for business process and Business Operation. Thanks, Smythee
go to post Smythe Smythee · Aug 10, 2022 Thank you i am able to change HL7 file to JSON by using custom Process and Custom Operation But after the file is passed from the Business Process the file returning to the Business Process from the Business operation with a null Output. If you know why this Scenario happens please let me know
go to post Smythe Smythee · Aug 10, 2022 Hi , How can i get individual values from the stream like name,DOB,SSN
go to post Smythe Smythee · Apr 26, 2022 Yes another application will take the date from the saved globals About my user story 1.Store the patient information in Cache database 2.Store the patient information coming in ADT Message in Persistent class
go to post Smythe Smythee · Apr 26, 2022 Hi, I need the save the value getting in my target message into the globals. please find the example for my data transformation <assign value='source.{MSH:1}' property='target.{MSH:1}' action='set' /><assign value='source.{MSH:2}' property='target.{MSH:2}' action='set' /><assign value='"{target.{MSH:3.1}' property='target.{MSH:3.1}' action='set' /><assign value='"{target.{MSH.4.1}"' property='target.{MSH:4.1}' action='set' /> The value in the target message needs to stored in the globals. Can you please share any example so i can proceed further. Thank you in advance
go to post Smythe Smythee · Apr 1, 2022 Thank you for your help, now i can able to resolve my problem.