Hi.
When I try to insert a date in a Informix DB table with the destination:
INSERT IGNORE INTO table1(date1) VALUES(DATE(${cod_date}));
and the transformer:
the mirth doesn´t work (there is a syntax error).
How can I insert a date with Mirth to an Informix DB table?
When I try to insert a date in a Informix DB table with the destination:
INSERT IGNORE INTO table1(date1) VALUES(DATE(${cod_date}));
and the transformer:
Code:
var date_aux1=hl7_xml['ORU_R01.PATIENT_RESULT']['ORU_R01.ORDER_OBSERVATION']['OBR']['OBR.7']['TS.1']; var date_aux2; date_aux2=date_aux1.substring(6,8)+'/'+date_aux1.substring(4,6)+'/'+date_aux1.substring(0,4); localMap.put('cod_date',date_aux2);
How can I insert a date with Mirth to an Informix DB table?
Comment