go to post Smythe Smythee · Dec 6, 2024 Do you know any native api i can install for python installation
go to post Smythe Smythee · Dec 5, 2024 Thank you, do we have any documentation where i can install python from scratch
go to post Smythe Smythee · Nov 18, 2024 In Service class(by using record map as input) i am converting pdf to base 64 using below code and the same source.encodedpdf is getting converted to HL7 in data transformation Set pInput.LineTerminator = $C(10)Set tMax=$$$MaxLocalLength*.5\1Set tMax=tMax-(tMax#57)If $IsObject(pInput) {$$$TRACE("pInput = object")Set tCurrLineLen = 0Set tStream = ##class(%Stream.FileBinary).%New()While 'pInput.AtEnd { $$$TRACE("Reading filestream")Set tData = pInput.Read(tMax)Set tValue = $SYSTEM.Encryption.Base64Encode(tData)Set tSC = tStream.Write(tValue)If 'pInput.AtEnd {Set tSC = tStream.Write($C(10))$$$TRACE("Adding terminator.")}
go to post Smythe Smythee · Nov 17, 2024 screenshot of base64 converted stream which has CRLF at the end
go to post Smythe Smythee · Nov 15, 2024 My transformation is pretty much simple actually <assign value='"Procedure notes"' property='target.{OBXgrp(1).OBX:5.2}' action='set' /><assign value='"PDF"' property='target.{OBXgrp(1).OBX:5.3}' action='set' /><assign value='"base64"' property='target.{OBXgrp(1).OBX:5.4}' action='set' /><assign value='source.EncodedPdf.Read(9999999999)' property='target.{OBXgrp(1).OBX:5.5}' action='set' /> how do i avoid line breaks
go to post Smythe Smythee · Nov 15, 2024 hi , this is how i am converting pdf to base 64 Set pInput.LineTerminator = $C(10)Set tMax=$$$MaxLocalLength*.5\1Set tMax=tMax-(tMax#57)If $IsObject(pInput) {$$$TRACE("pInput = object")Set tCurrLineLen = 0Set tStream = ##class(%Stream.FileBinary).%New()While 'pInput.AtEnd { $$$TRACE("Reading filestream")Set tData = pInput.Read(tMax)Set tValue = $SYSTEM.Encryption.Base64Encode(tData)Set tSC = tStream.Write(tValue) If 'pInput.AtEnd {Set tSC = tStream.Write($C(10)) $$$TRACE("Adding terminator.")}
go to post Smythe Smythee · Jun 10, 2024 Try below steps 1.Abort the queue in Business operation 2.Go to Business service and apply the filter for the message type you need and resend all the messages
go to post Smythe Smythee · Feb 17, 2024 Hi In my scenario i need to use only business service and Business Operation for implementation In the above code do ##class(myDt).Transform(dataEntry, .dataTransform) In myDt i will be using data transformation class What i need to use in the dataEntry, .dataTransform in these varibles Thanks,Smythee
go to post Smythe Smythee · Sep 5, 2023 Yes it is Converting to YYYY-MM-DDT00:00:00Z this format For some reason it is stripping of Z at the end Target message i am using HS.SDA3.Container and Birthtime i am using as target It is only accepting length upto 19 only
go to post Smythe Smythee · Sep 4, 2023 Hi , I am able to execute the above date conversion in Ensemble data transformation when i am trying to do the same in IRIS i am only getting output upto 1974-11-01T00:00:00 Please refer to the below code i am using <assign value='$translate($ZDT($ZDTH(source.MemberDOB),3)," ","T")_"Z"' property='target.Patient.BirthTime' action='set' /> Is there any difference i need to know in IRIS date and time conversions?
go to post Smythe Smythee · Aug 24, 2023 Any idea how to convert date from MM-DD-YYYY to YYYY-MM-DDT00:00:00Z without changing the property of DOB which is %Date in Data transformation?
go to post Smythe Smythee · Aug 24, 2023 Hi , I am able to execute this code in terminal but not able use the same conversion in Data transformation still for me it is throwing Datatype validation error The reason why cannot change property of DOB to %String the many classes are dependent on the Source message class Is there any other way i can convert DOB form MM/DD/YYYY to YYYY-MM-DDT00:00:00Z ?
go to post Smythe Smythee · Aug 24, 2023 Hi, Is there any way i can Convert MM/DD/YYYY to YYYY-MM-DDT00:00:00Z format in data transformation by using Property for DOB as %date
go to post Smythe Smythee · Jun 30, 2023 Thank you Can you help me understand Why we used $ZDT($ZDTH(timeAndDate,3,9),3,7) 3,9 and 3,7 while converting Thanks, Smythee
go to post Smythe Smythee · Jun 23, 2023 Yes thank you, Can we do that by using date function $ZDATE,$ZDATEH,$ZDATETIMEH?