Hi Community,
I need to remove first tag from a XML file in service and send file to the process ,how do i remove line from the File and process it
Thanks,
Smythee
Hi Community,
I need to remove first tag from a XML file in service and send file to the process ,how do i remove line from the File and process it
Thanks,
Smythee
Hi Community,
I have installed python from https://www.python.org/downloads/
and the installed path of this application is my local C:\Users\data\AppData\Local\Programs\Python
and i am trying to run C:\InterSystems\IRIS_SANDBOX\bin>irispip install in command prompt and getting the below error
'pip' is not recognized as an internal or external command,
operable program or batch file
is there anything else i am missing here please add
Hi Team,
I am converting xml message into HL7 message but the input XML message contains pdf which is converting into base 64 and getting mapped to OBX:5.5 in HL7 message and sending it to downstream
In Downstream service i am using normal HL7 TCP class EnsLib.HL7.Service.TCPService but the message looks like below i am not sure why stream is taking as another segment in HL7 message,.png)
Any thoughts on this?
Thanks,
Smythee
Hi Community ,
I have a csv file to read and validate the data in the file
How can i ready only 1st line from the file using Readline()
Thanks,
smythee
Hi Community,
Is there a way to call HL7 Data transformation directly from Business service without using Rule functionality in the production
In this scenario i need to call a data transformation in directly in business service and give the transformed message to Business operation
Please share if you have any ideas to implement this.
Thanks,
Smythee
Hi Community,
I have SDA file as Ens.StreamContainer Message using pRequest As Ens.StreamContainer
SDA file structure looks like this
<Name><FamilyName>Lucy</FamilyName><GivenName>Hale</GivenName><MiddleName>Park</MiddleName></Name><Gender><Code>F</Code><Description>F</Description></Gender><BirthTime>2023-09-07T00:00:00</BirthTime>
How can i change individual value from the Steam and then save changed value into the stream?
Hi Community ,
I am using %Date Property for defining one csv source message class .Please refer below class
Class CSVtoHL7.Inputfile.Record Extends ,(%XML.Adaptor, Ens.Request, EnsLib.RecordMap.Base) [ Inheritance = right, ProcedureBlock ]
{
Property ID As %Integer;
Property LastName As %String;
Property FirstName As %String;
Property MiddleName As %String;
Property DOB As %Date;
Property Gender As %String;
}
Please refer to data transformation class
Hi community,
I am trying to map <assign value='source.{ORCgrp(1).RXE:7.1}' property='target.{ORCgrp(1).RXE:7.1}' action='set' /> in data transformation
My input value for source RXE isRXE:7.1 will be like Keep orders~New orders ~ ~ new orders
After mapping i am getting only First repetition value i,e is only Keep orders value
I have tried using $EXTRACT like this <assign value='$EXTRACT(source.{ORCgrp(1).RXE:7.1},1,*)' property='target.{ORCgrp(1).RXE:7.1}' action='set' /> in data transformation still getting First repetition value in target message
Hi Community,
I need to convert date 1997-08-09 10:38:39.700000000 into this format 1997-08-09T10:38:39Z
I have tried using all date function $ZDH,$ZDT no luck can anyone help me to convert this into required format.
Thanks,
Smythee
Hi Community,
I am new to CDA to CDA transformation in ensemble, Can anyone explain how Match,Select,Varibel,Attribute,Copy,Method Will work in CDA transformation using xslt stylesheets
Smythee
Hi Community,
I am trying to save data into SQL table but each entry getting saved twice in the SQL table. Is there any reason data is saving Twice in the SQL table
I have created a %Persistent class for the fields
Please find the business operation below
Class Patient.DBOperation Extends Ens.BusinessOperation
{
Parameter ADAPTER = "EnsLib.SQL.OutboundAdapter";
Property Adapter As EnsLib.SQL.OutboundAdapter;
Parameter INVOCATION = "Queue";
Hi Community,
Can anyone explain how to apply early binding and late binding to a transformation.
Example:
I have DOB value as 12/12/2000
In transformation i need to format DOB value to 20001212-->this value i can achieve by using $E(DOB,7,10)_$E(DOB,4,5)_$E(DOB,1,2)
<assign value='source.{MSH:7}' property='target.{MSH:7}' action='set' />
But how can i apply early binding and late binding to the above Data tranformation?
Hi Community,
I need to convert HL7 Message into FHIR Format.Can anyone share basic reference for FHIR ADT^A01 message?
For converting HL7 message to FHIR we need to convert HL7 to SDA3 format and then converting SDA3 to FHIR format.
Please Share few basics steps for converting SDA3 to FHIR message?
Thanks
Smythee
Hi,
I
want to get the values from a serial property because my code depends upon the class serial class.
For example
Serial class
Class Data.Serial Extends %SerialObject
{
Property FirstName as %String;
Property LastName as %String;
}
Persistent class
Class Data.Persistent Extends %Persistent
{
Property MPID as %Integer;
Property Name as Name.Serial;
}
Now i need save MPID and Name(Serial class property into SQL Table ) so i am trying the below class
Class Data.TestUtil Extends %RegisteredObject
{
Method Savedata(MPID,FirstName,LastName)
{
Set tSC=0
Set Obj=##Class(Data.Persistent).%New()
Set Obj.MPID=MPID
Hi Community,
I am configuring new SSL Configuration for Gmail (For sending errors to gmail in ensemble production) by following the below steps.
Step1:
Step2:Giving the server address smtp.gmail.com
Step3:Giving the port number , I have tried giving 465,587,25 as port number still is not connecting
Can anyone please tell me where i am doing wrong on configuration?
Thanks,
Saroja.A
Hi Community,
I am working on sending Gmail with error details when any errors occurs in the ensemble production.
I am facing the below issues while doing it
1.I have Ens.Alert (Business process) using the class Ens.Alerting.AlertManager and Emailoperation (Business operation) using the class EnsLib.EMail.AlertOperation. here my business process is not sending the Alarm request to business operation eventhough i am using rule to connect the business operation
2.What are SMTP server details needs to given for Gmail?
Please let me know how to resolve these issues
Thanks,
Smythee
Hi Community ,
Can anyone please explain how to use EnsLib.EMail.AlertOperation operation to send notification to my email id when any error occurs in my production?
Please give any example how to use EnsLib.EMail.AlertOperation operation class
Thanks,
Smythee
Hi ,
Still a newbie for ensemble, I am trying to convert XML message to HL7 Message. I am using Custom schema for XML structure which includes MSH and PID segments from HL7 Message.
These are the service, process, Operation classes i am using
Business service-EnsLib.EDI.XML.Service.FileService
Business Process-EnsLib.MsgRouter.RoutingEngine
Business operation -EnsLib.HL7.Operation.FileOperation
I am using data transformation to convert XML message to HL7 message and data transformation is working fine and im getting this in the business operation.
Hi ,
I am Converting HL7 message into SDA3 format by using Ens.DataTransform Class but transformation is not happening while using this class and throwing the below error
ERROR <Ens>ErrException: <UNDEFINED>zTransform+1^Hosiptal.SDA3.DataTrans.1 *target -- logged as '-' number - @' Set target.Patient.Name=source.GetValueAt("PID:5")'
Let me know if any mistake please refer the below code
Class Hosiptal.SDA3.DataTrans Extends Ens.DataTransform
{
Hi ,
I am trying to transform CSV file into SDA3 format by using Studio code. I am getting "No Stream contained in StreamContainer Request" Error at the business operation after converting CSV file to SDA3 Format but not able to generate the file in business operation
Hi ,
How to Convert Excel message into a SDA3 format in Ensemble?
Hi All,
Can you help me how to extract SQL table data into a text file and generate the text file in a particular file path
Thanks,
Smythee
Hi,
When i am using $$$LOGERROR("Message is Discarded") in the class i am getting "Referenced Macro Not defined" error
Can you help me how to use $$$LOGERROR in a class
Thanks,
Smythee
Hi,
I am receiving a JSON File as Stream container Using pRequest As Ens.StreamContainer and output as Output pResponse As %Persistent in a Custom Business Operation
Please find the code below
Method OnMessage(pRequest As Ens.StreamContainer, Output pResponse As %Persistent) As %Status
{
Set tFilename=..Adapter.CreateFilename(##class(%File).GetFilename(pRequest.OriginalFilename),..Filename)
Set tSC=..Adapter.PutStream(tFilename, pRequest.Stream)
Quit tSC
}
Question:How can i extract name,DOB,SSN from the pRequest and save the same values in SQL persistant table?
Can you help meHow to Convert HL7 input message into JSON Object Output Message.In conversion can you please tell how to use convert a input HL7 message into Dynamic Object Output
Hi Team,
I am Working on one data transformation, In the data transformation the data transformation data needs to be saved in the globals.
Can you please help me to save the data into the globals in a Persistent class.
Thanks in advance
Hi Team,
I am working on data transformation ADT^A01 from ADT^A01 ,In both source and target MRG segment is not available. How can i create a new MRG segment in Target. Kindly share your ideas how to create a new segment in Data transformation.
Thanks in advance
Hi Team,
I am trying to call Datetime in CUSTOM.Training.Functions class please refer the below line.
<assign value='##class(CUSTOM.Training.Functions).DateTime(source.{PIDgrpgrp().PIDgrp.PID:7.1})' property='target.{PID:7.1}' action='set' />
My Datetime method
ClassMethod DateTime(DateTime As %Integer)
{
Set Year = msg.SetValueAt(,"PIDgrpgrp().PIDgrp.PID:7.1","set")
Q Year
}
But i am not able to get the value of date of birth into the Datetime method, Kindly help how to get data of date of birth value into the method.
Thanks in advance