Hi,
I am using MIRTH Connect 3.1.1.7).
I want to communicate our Pathology system (send HL7 v2) with the our Biobank (receive an URL with the relevant parameters) using HTTP Connector.
For this I am trying to build the URL in the Source Transformer where in the Inbound Message Template I included a HL7 v2 message.
Inbound Message Template (Data Type: HL7 v.2):
MSH|^~\&|PATHOX|TESI|ISLINK|ACCAMARGO|201410201219 20||ORU^R01|bc222416-dea0-4a8b-b10c-318976fb21b7|P|2.3.1||||||8859/1
PID|||13149570^^^CSH&&||PATIENT NAME^^^^^^||19550707|F
ORC|CM||1559121|45875375|||1^once^^20140814^^^^^^^ ^
OBR|1||1559121||||20140814|||||||||||||||20140814| ||F||1^once^^20140814^^^^^^^^|||||999^GENERIC^PHYS ICIAN
OBX|1|ST|LINE^REPORT||||||||F|||20140814133800||^^ ^|\\FAP79\TESI\PDF\V4_2014\10\20\00002898_00002868 \00002706.PDF
and in the Outbound Message Template I try to built the URL as Data Type - Raw.
Outbound Message Template (Data Type: Raw):
var urlParams = '?sendApp=' + $('messageHeader_sendingApplication_namespaceId');
urlParams += '&sendFac=' + $('messageHeader_sendingFacility_namespaceId');
urlParams += '&recFac=' + $('messageHeader_receivingFacility_namespaceId');
urlParams += '&mesTime=' + $('messageHeader_dateOrTimeOfMessage_timeOfAnEvent ');
urlParams += '&patID=' + $('patientIdentification_patientIdentifierList_id' );
urlParams += '&patName=' + $('patientIdentification_patientName_familyLastNam e');
urlParams += '&orderNum=' + $('commonOrder_fillerOrderNumber_entityIdentifier' );
channelMap.put('urlParams',urlParams);
I deployed the channel however when I send the message the URL is not built correctly.
What is wrong? How can I make this transformation (HL7 v2 to URL)?
Here is my channel.
Thanks.
I am using MIRTH Connect 3.1.1.7).
I want to communicate our Pathology system (send HL7 v2) with the our Biobank (receive an URL with the relevant parameters) using HTTP Connector.
For this I am trying to build the URL in the Source Transformer where in the Inbound Message Template I included a HL7 v2 message.
Inbound Message Template (Data Type: HL7 v.2):
MSH|^~\&|PATHOX|TESI|ISLINK|ACCAMARGO|201410201219 20||ORU^R01|bc222416-dea0-4a8b-b10c-318976fb21b7|P|2.3.1||||||8859/1
PID|||13149570^^^CSH&&||PATIENT NAME^^^^^^||19550707|F
ORC|CM||1559121|45875375|||1^once^^20140814^^^^^^^ ^
OBR|1||1559121||||20140814|||||||||||||||20140814| ||F||1^once^^20140814^^^^^^^^|||||999^GENERIC^PHYS ICIAN
OBX|1|ST|LINE^REPORT||||||||F|||20140814133800||^^ ^|\\FAP79\TESI\PDF\V4_2014\10\20\00002898_00002868 \00002706.PDF
and in the Outbound Message Template I try to built the URL as Data Type - Raw.
Outbound Message Template (Data Type: Raw):
var urlParams = '?sendApp=' + $('messageHeader_sendingApplication_namespaceId');
urlParams += '&sendFac=' + $('messageHeader_sendingFacility_namespaceId');
urlParams += '&recFac=' + $('messageHeader_receivingFacility_namespaceId');
urlParams += '&mesTime=' + $('messageHeader_dateOrTimeOfMessage_timeOfAnEvent ');
urlParams += '&patID=' + $('patientIdentification_patientIdentifierList_id' );
urlParams += '&patName=' + $('patientIdentification_patientName_familyLastNam e');
urlParams += '&orderNum=' + $('commonOrder_fillerOrderNumber_entityIdentifier' );
channelMap.put('urlParams',urlParams);
I deployed the channel however when I send the message the URL is not built correctly.
What is wrong? How can I make this transformation (HL7 v2 to URL)?
Here is my channel.
Thanks.
Trasform HL7v2 to URL
0 commentaires:
Enregistrer un commentaire