Yes, i tried by checking the SSLv3 box still facing the same error.
Do i need to give any details in "Enabled ciphersuites" in Crytographic settings
- Log in to post comments
Yes, i tried by checking the SSLv3 box still facing the same error.
Do i need to give any details in "Enabled ciphersuites" in Crytographic settings
thank you for sharing the example ,Can you please share how they configured gmail in SSL In SSL only i am getting the error "ERROR #989: SSL connection failed, make sure server address and port (not url) is specified"
Can you please SSL Configuration for Gmail
Hi Lexi,
I have followed the same steps but i am getting "ERROR #6031: Unable to open TCP/IP connection." error in Ens.Alert Business operation
Hi ,
I have gone through the previous post replies and i am able to configure the Business operation but i didnt mention my exact problem in the post.
I am getting "Unable to open TCP/IP connection" error so i thought i made any mistakes in SMTP connection settings
Yes thank you
but i am getting different error after transforming the message. I think the error is the way i defined the my custom schema and getting error in this class "EnsLib.EDI.XML.Document".let me know any mistake while defining the schema please
<PROPERTY DOES NOT EXIST>zTransform+7^CSTOM.TXML.XMLToHL7.1 *MSH,EnsLib.EDI.XML.Document -- logged as '-' number - @' Set tSC1=target.SetValueAt(source.MSH.EncodingCharacters,"MSH:EncodingCharacters","set","")'
Transformation is working fine. I am getting output from my transformation but when i am using same transformation in Business process.
Let me know any changes do i need to make in transformation
{
<transform sourceClass='CUSTOM.TXML.MainSchema' targetClass='EnsLib.HL7.Message' targetDocType='2.5:ADT_A01' create='new' language='objectscript' >
<assign value='source.FieldSeparator' property='target.{MSH:FieldSeparator}' action='set' />
<assign value='source.EncodingCharacters' property='target.{MSH:EncodingCharacters}' action='set' />
<assign value='source.SendingApplication' property='target.{MSH:SendingApplication}' action='set' />
<assign value='source.PatientID' property='target.{PID:SetIDPID}' action='set' />
<assign value='source.FamilyName' property='target.{PID:PatientName().FamilyName}' action='set' />
<assign value='source.GivenName' property='target.{PID:PatientName().GivenName}' action='set' />
</transform>
}
.png)
For incoming XML i have custom schema which looks like the below
{
Property FieldSeparator As %String;
Property EncodingCharacters As %String;
Property SendingApplication As %String;
Property SendingFacility As %String;
}
Let me know any mistakes that i have made in this class please?
Thanks,
Smythee
i am getting below swizzle object error
ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zNewRequestMessage+4^Ens.MessageHeader.1 *%GetSwizzleObject,HS.SDA3.Container -- logged as '-' number - @' Set:(''tSC) tSC=pMessageBody.%GetSwizzleObject(0,.tOID)
Thank you can i convert the output from GetSDA method into stream output
because my business operation will only accepts stream as input?
Hi,
Can you please explain the need of passing xml value into HS.Gateway.HL7.HL7ToSDA3 class
ClassMethod Transform(source As EnsLib.HL7.Message, ByRef target As HS.SDA3.Container, aux) As %Status {
#Dim sc As %Status = $$$OK
Set sc = ##class(HS.Gateway.HL7.HL7ToSDA3).GetSDA(source, .xml) Quit:$$$ISERR(sc) sc
Set target = ##class(HS.SDA3.Container).%New()
Set sc = target.InitializeXMLParse(.xml)
Quit sc
Thank you,
Smythee
}
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?
hi,
Do i need make any changes in the Business process
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
{
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)
}
}
I am getting ERROR <Ens>ErrNotImplemented: Method Hosiptal.SDA3.DataTrans.Transform() not implemented error
Please find the method i am using
{
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=$$$OK
do {
$$$ASSERT(0) // Subclass Responsibility
Set tSC = $$$EnsError($$$EnsErrNotImplemented,$$$CurrentClass,$$$CurrentMethod)
} while (0)
Exit
Quit tSC
Trap
Set $ZT="",tSC=$$$EnsSystemError
Goto Exit
} }
Can you please give me an example so that i can learn from the example?
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
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
.png)
Hi ,
How can i get individual values from the stream like name,DOB,SSN
I have define the new globals for this use case
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
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: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
Thank you for your help, now i can able to resolve my problem.