DO pRequest.SetValueAt($REPLACE(pRequest.GetValueAt("NTE:3"),$C(13,10),$C(32)),"NTE:3")- Log in to post comments
DO pRequest.SetValueAt($REPLACE(pRequest.GetValueAt("NTE:3"),$C(13,10),$C(32)),"NTE:3")Not sure what you want ?
If request is 'request As EnsLib.HL7.Message' then request.DocType.
IF (request.GetValueAt("PID:3.4.1")="CAC")&&(request.GetValueAt("PID:3.5")="JHN")
{
SET PID31=request.GetValueAt("PID:3.1")
}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?
Role control seems to me the most logical solution.
That is his goal!
Your goal is to check the syntax of Sql?
I’m not sure I understand your request correctly.
But 'FindInFilesRegex' exists.
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?!?
You can manipulate object.city, for example like a string :
w $E(object.city,5,*) w object.city_"*"
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.
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?
s=9999999999999999999
![]()
![]()
The '%FromJSON' class is only available in IRIS ?.png)
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.
Does the field 'MRSUB_Desc' accept ‘multilines’?
Strange, the %IO class belongs to our production/development namespace.
We use 'Cache for Windows 2018.1.4'.
.png)
When and how will the HL7 message be purged ? Shell batch ?
Thanks.
I will use :
&SQL(SELECT Category INTO :itemCat FROM Ens_Config.Item WHERE Name=:%Ensemble("ConfigName"))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.
Currently I can find out with this SQL query :
Select Category
From Ens_Config.Item
Where ClassName Like 'citadelle.labo.bs.FileXmlTransLaboIn%'
I would like to do this using the existing classes of 'Ens' or 'EnsLib'.
Thank you for your answer.
But what I want to have as a result is: by giving a class name (..%ClassName()) or package name ($CLASSNAME()), the name of the portal category is provided to me.
How to know the ID?
Thank you for your answer.
But what I want to have as a result is: by giving a class name (..%ClassName()) or package name ($CLASSNAME()), the name of the portal category is provided to me.
How to know the ID?
OS/Shell specific wildcard characters such as * and ? for fetching files.
Is not possible!!!
I don't think it's a CSV limit.
Device's limit : yes; CSV's limit : no.
The glitch is related with the browser and probably also the Ensemble's version.
If I use another browser, I got :
.png)
If I read the HTML source, I can see my data. So, I have a solution. ![]()
I like. ![]()
How to do the close ? I don't see any method for that.
Snippet of the code:
SET lineStream = ##class(%Stream.FileCharacter).%New()
...
SET streamCont=##class(Ens.StreamContainer).%New(lineStream)
$$$TOE(sc,..SendRequestSync(..TargetConfigName, streamCont))
In the process for example:
I modified the process to:
Class ??? Extends (Ens.BusinessProcess, %XML.Adaptor)
Unfortunately, it does not work. ![]()
Thanks.