I am creating a parameter map for a value that is in an incoming JSON message using a look-up table:
var tableOrg = qie.doTableLookup('m:/Organization', '', 'Org', 'source', 'destination');
var parameterMap = qie.newParameterMap();
parameterMap.put('Org', tableOrg);
I am then using the parameter {p:org} in the message header receiving organization in the outbound HL7 message created in a template.
MSH|^\&~|Sender|{p:org}|
However, the org is always null in the outbound message.
Am I using the source table lookup correctly ? (currently have m:/Organization') - here is the JSON snippet for Organization that I am recieving:
{
"Organization": "14",
or is there another reason the output is null.
Thanks.