go to post Adrian Zeeman · Sep 20, 2021 Hi Thomas, You can write to a file by using the %File library class as follows: set tTempFile=##class(%FileCharacterStream).%New() set tTempFile.Filename=filename set tSC=tTempFile.CopyFrom(tStream) set returnValue=tTempFile.%Save() You will be able to get the file name that was read in the service from the Ens.StreamContainer. It has a property called OriginalFilename that has the absolute filename saved. If the business service managed to pick up the type of file that it processed it will be populated in the Type property.
go to post Adrian Zeeman · Jan 22, 2021 There should be a flag in your business service config "Use ACK Commit Codes" that it by default ticked. Remove the tick and try again
go to post Adrian Zeeman · Sep 23, 2020 You can use the contains operator "[" IF ",A39,A40,O01,O11,O09,R01,"'[(","_msgType_",") {return pHL7.GetValueAt("PID:SSNNumberPatient")}