Need to send HL7 and Non HL7 messages in single TCP operation
Hi All,
I have a query:
Is it possible to send HL7 messages and Non HL7 Message such like Record Maps in a single TCP operation in ensemble?
Many Thanks,
Archunan K
Comments
Archunan,
Can you give some more details about your use case? I'm having trouble picturing what the downstream system should receive.
Should the receiving system just receive a single message that combines the HL7 and flat records together like this?
MSH|^~\&||HC6|||||MDM^T02|||2.5 EVN|T02|20180117094500 PID|||LD572046^^^HC6^MR||Smith^John||19301019|M|||1 Memorial Drive^^Cambridge^MA^02142||||||||063070516 PV1||O|||||ISCGP001^Moore^James|||||||EO|||||HSVN00006|||||||||||||||||||||||||20180117094500|20180117094500 TXA||Progress note||201801170945|JJ021^James^John||||ISCGP001^Moore^James|||19815952^TRANS OBX||FT|RTF^TRANS||Patient complaining of pain in right big toe. Toe red in colour. To commence on antibiotics.||||||R FlatFileRow1Field1,FlatFileRow1Field2,FlatFileRow1Field3 FlatFileRow2Field1,FlatFileRow2Field2,FlatFileRow2Field3 FlatFileRow3Field1,FlatFileRow3Field2,FlatFileRow3Field3
Hello Marc,
Yes . You are correct.
I will sent a HL7 message from a router and Flat records from another router. These two routers points to a single TCP Operation.
Receiving system will receive a HL7 message and a Flat record as you mentioned in a single TCP service.
Ex:
MSH|^~\&||HC6|||||MDM^T02|||2.5 EVN|T02|20180117094500 PID|||LD572046^^^HC6^MR||Smith^John||19301019|M|||1 Memorial Drive^^Cambridge^MA^02142||||||||063070516 PV1||O|||||ISCGP001^Moore^James|||||||EO|||||HSVN00006|||||||||||||||||||||||||20180117094500|20180117094500 TXA||Progress note||201801170945|JJ021^James^John||||ISCGP001^Moore^James|||19815952^TRANS OBX||FT|RTF^TRANS||Patient complaining of pain in right big toe. Toe red in colour. To commence on antibiotics.||||||R
FlatFileRow1Field1,FlatFileRow1Field2,FlatFileRow1Field3
MSH|^~\&||HC6|||||MDM^T02|||2.5 EVN|T02|20180117094500 PID|||LD572046^^^HC6^MR||Smith^John||19301019|M|||1 Memorial Drive^^Cambridge^MA^02142||||||||063070516 PV1||O|||||ISCGP001^Moore^James|||||||EO|||||HSVN00006|||||||||||||||||||||||||20180117094500|20180117094500 TXA||Progress note||201801170945|JJ021^James^John||||ISCGP001^Moore^James|||19815952^TRANS OBX||FT|RTF^TRANS||Patient complaining of pain in right big toe. Toe red in colour. To commence on antibiotics.||||||R
FlatFileRow1Field1,FlatFileRow1Field2,FlatFileRow1Field3
FlatFileRow1Field1,FlatFileRow1Field2,FlatFileRow1Field3
FlatFileRow1Field1,FlatFileRow1Field2,FlatFileRow1Field3
...etc
Receiving system accepts both HL7 Messages and Flat records in a single TCP service.
Please let me know if need more information.
Many Thanks,
Archunan K
One option to consider is to have separate business operations, but have StayConnected=false. If the receiving service could support reconnecting each time, this would be a simple solution.
Thanks David and Marc.
I will implement as per David suggestion.
Hi Marc,
I gone through TCP outbound adapter , using that I will send Flats records through TCP.
Many Thanks,
Archunan K
I just read Dave Loveluck's suggestion below and that sounds like a much better option.
Thanks for clarifying.
Have a look at this documentation for the TCP outbound adapters.