Trying to map two repeatable fields from a record mapper. The fields are separated by a ^. I've tried a fore each, but still getting an error when testing in the transform.
When a X12 message comes into Ensemble as a Whole Batch how do you search on a segment within the body of the message? For example, a REF segment. It appears the only way is to set the Service to a single session batch, but this doesn't allow you to send the message as a Whole Batch to the Operation.
What does Ens.Debug("LogETN") show and where are you see it in Management Portal? Does is show only errors, successful messages, etc?
I would like to know if there is a built in function that checks a value in the rule editor to see if it is numeric.
Trying to save a message to memory from terminal. The following is not working as I know I'm missing something.
Set HL7Msg=##class(EnsLib.HL7.Message).Identifier(XXXX)
Is it possible to save HL7 messages to a csv file? Record Mapper appears to allow a service to import a csv and convert to HL7, but can you reverse that and save to a csv?
After creating a ClassMethod for a routing rule is it possible to test an HL7 message within Studio rather than using Management portal? It would make it easier to debug the custom function to see where the rule is failing.
Is there a way in the routing rule to compare two fields in two different segments? For example, for the message below we need to compare one Identifier in PID-3 (uiytr5678906^^^^CKS)against another in MRG-1 (uiytr5678A06^^^^CKS). Both will always have the same IdentifierTypeCode (PID-3.5/MRG-1.5), but the ID number can be different. Just to clarify, we only want to compare the CKS IdentifierID, not the entire field or all the identifiers in the MRG-1 or PID-3 field.
Is it possible to use an intersect lookup table on a repeating field in a routing rule from management portal.
Is it possible to use a Contains clause using the IntersectLookup function?