Hi John the diference between the operators &, && are
And (& or &&)
And tests whether both its operands have a truth value of TRUE (1). If both operands are TRUE (that is, have nonzero values when evaluated numerically), ObjectScript produces a value of TRUE (1). Otherwise, ObjectScript produces a value of FALSE (0).
There are two forms to And:
- The & operator evaluates both operands and returns a value of FALSE (0) if either operand evaluates to a value of zero. Otherwise it returns a value of TRUE (1).
- The && operator evaluates the left operand and returns a value of FALSE (0) if it evaluates to a value of zero. Only if the left operand is nonzero does the && operator then evaluate the right operand. It returns a value of FALSE (0) if the right operand evaluates to a value of zero. Otherwise it returns a value of TRUE (1).
The following examples evaluate two nonzero-valued operands as TRUE and produces a value of TRUE (1).
Try to eclousere all expression in parentehsis:
(
(
(
(
HL7.{MSH:SendingApplication.NamespaceID}="Epic_Cupid"
)
&&
(
HL7.{ORCgrp(1).ORC:OrderControl} IN "NW,CA"
)
)
)
&&
(
(
(
HL7.{PIDgrp.PV1grp.PV1:AssignedPatientLocation(1).Facility.NamespaceID} NotIn "105,205"
)
&&
(
HL7.{ORCgrp(1).OBRuniongrp.OBRunion.OBR:UniversalServiceIdentifier.Identifier} NotIn "CATH01,EP22"
)
)
)
)
The operator & in Business Rule e Editor is string concatenation operator. Take care.
I was accessing the Open Exchange portal in a remote machine on Finland. When I access in my local machine in Brazil works fine.







If you are talking about HL7 messages, you can use the property FullSize in a SQL statement:
SELECT ID FROM EnsLib_HL7.Message WHERE FullSize > ?
Take care because this is a calulated proprety and doesn't have a index.