go to post Michel Bruyère · Nov 2, 2021 DO pRequest.SetValueAt($REPLACE(pRequest.GetValueAt("NTE:3"),$C(13,10),$C(32)),"NTE:3")
go to post Michel Bruyère · Oct 28, 2021 Not sure what you want ? If request is 'request As EnsLib.HL7.Message' then request.DocType.
go to post Michel Bruyère · Oct 28, 2021 IF (request.GetValueAt("PID:3.4.1")="CAC")&&(request.GetValueAt("PID:3.5")="JHN") { SET PID31=request.GetValueAt("PID:3.1") }
go to post Michel Bruyère · Oct 26, 2021 When you use 'Studio', you are recognised like an administrator (nt authority\system) and not a local user.Don't use $ZF(-1) : $ZF(-1) is a deprecated function. All new code development should use $ZF(-100).What about your python with the new recommendation?
go to post Michel Bruyère · Oct 20, 2021 Role control seems to me the most logical solution.That is his goal!
go to post Michel Bruyère · Oct 14, 2021 I’m not sure I understand your request correctly.But 'FindInFilesRegex' exists.
go to post Michel Bruyère · Oct 14, 2021 I use 'Cache for Windows 2018.1.4'. The 'SetTraceMask' method of '%Net.SSH.Session' does not seem to exist: it is not in my documentation, nor proposed when encoding in VS. Although in the console, it is accepted?!?
go to post Michel Bruyère · Oct 13, 2021 You can manipulate object.city, for example like a string : w $E(object.city,5,*) w object.city_"*"
go to post Michel Bruyère · Oct 13, 2021 If the string variable 'stra' contains the XData bloc. $E(stra,$F(stra,"<p>"),$F(stra,"</p>")-5) The tags '<p>' and '</p>' must be in lowercase.
go to post Michel Bruyère · Oct 12, 2021 If this change is to be made in a multitude of classes, I advise writing a computer program that will perform this task.But is it necessary to do it?
go to post Michel Bruyère · Oct 7, 2021 I see 'Multi-Line Options'.What can we specify ? I guess it's related to CR and/or LF. Try it with the different options.
go to post Michel Bruyère · Oct 6, 2021 Strange, the %IO class belongs to our production/development namespace. We use 'Cache for Windows 2018.1.4'.
go to post Michel Bruyère · Oct 6, 2021 The idea being that we would than implement an OnDelete that would remove the file when the HL7 message is purged. When and how will the HL7 message be purged ? Shell batch ?
go to post Michel Bruyère · Oct 5, 2021 Thanks.I will use : &SQL(SELECT Category INTO :itemCat FROM Ens_Config.Item WHERE Name=:%Ensemble("ConfigName"))
go to post Michel Bruyère · Oct 1, 2021 The class can be ' citadelle.labo.bs.FileXmlTransLaboIn ' in COS. In case of a problem, an email is sent to the IT cell and currently, the category is a parameter of the connector. Sample code (in French) : SET msg.Body = msg.Body_"<br/><u>Infos pour le service EAI</u> :<br/>Le connecteur de 'Service' en charge de cette tâche est répertorié dans la catégorie '"_.."Catégorie"_"'.<br/>" SET msg.Body = msg.Body_"Il se dénomme '"_..%ClassName()_"' et le package/classe : '"_$CLASSNAME()_"'.<br/><br/>" I want to stop using this parameter.
go to post Michel Bruyère · Oct 1, 2021 Currently I can find out with this SQL query : Select CategoryFrom Ens_Config.ItemWhere ClassName Like 'citadelle.labo.bs.FileXmlTransLaboIn%' I would like to do this using the existing classes of 'Ens' or 'EnsLib'.